Skip to content

Commit 5cd2f1a

Browse files
committed
TST: adapt to "dependencies" possibly being a dynamic field
1 parent b21b02c commit 5cd2f1a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tests/packages/unsupported-dynamic/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,5 @@ requires = ['meson-python']
1010
name = 'unsupported-dynamic'
1111
version = '1.0.0'
1212
dynamic = [
13-
'dependencies',
13+
'requires-python',
1414
]

tests/test_project.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ def test_version(package):
4545

4646

4747
def test_unsupported_dynamic(package_unsupported_dynamic):
48-
with pytest.raises(mesonpy.ConfigError, match='unsupported dynamic metadata fields: "dependencies"'):
48+
with pytest.raises(mesonpy.ConfigError, match='unsupported dynamic metadata fields: "requires-python"'):
4949
with mesonpy.Project.with_temp_working_dir():
5050
pass
5151

0 commit comments

Comments
 (0)