Skip to content

Commit

Permalink
remove deprecation warning for configure_file kwarg 'copy'
Browse files Browse the repository at this point in the history
`configure_file` kwarg `copy` runs at configure time, whereas
`fs.copyfile` runs at build time. Both have use cases, so this
undeprecates the `configure_file` version.

Fixes: #12792
  • Loading branch information
mcdurdin authored and eli-schwartz committed May 24, 2024
1 parent d57ca7d commit 0c802d2
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion mesonbuild/interpreter/interpreter.py
Original file line number Diff line number Diff line change
Expand Up @@ -2585,7 +2585,6 @@ def func_install_subdir(self, node: mparser.BaseNode, args: T.Tuple[str],
),
KwargInfo(
'copy', bool, default=False, since='0.47.0',
deprecated='0.64.0', deprecated_message='Use fs.copyfile instead',
),
KwargInfo('encoding', str, default='utf-8', since='0.47.0'),
KwargInfo('format', str, default='meson', since='0.46.0',
Expand Down

0 comments on commit 0c802d2

Please sign in to comment.