Skip to content

Commit

Permalink
Stop testing 'tests-require' functionality (#661)
Browse files Browse the repository at this point in the history
This field was removed from setuptools v72.0.0. We'll continue to read
the field in colcon when the underlying setuptools version supports it,
but this change drops the testing for its functionality.
  • Loading branch information
cottsay authored Sep 6, 2024
1 parent f9072e8 commit dc438f5
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions test/test_package_identification_python.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,6 @@ def test_identify():
'install_requires =\n'
' runA > 1.2.3\n'
' runB\n'
'tests_require = test == 2.0.0\n'
'zip_safe = false\n'
'[options.extras_require]\n'
'test = test2 == 3.0.0\n'
Expand All @@ -93,7 +92,7 @@ def test_identify():
assert desc.dependencies['run'] == {'runA', 'runB'}
dep = next(x for x in desc.dependencies['run'] if x == 'runA')
assert dep.metadata['version_gt'] == '1.2.3'
assert desc.dependencies['test'] == {'test', 'test2', 'test3', 'test4'}
assert desc.dependencies['test'] == {'test2', 'test3', 'test4'}

assert callable(desc.metadata['get_python_setup_options'])
options = desc.metadata['get_python_setup_options'](None)
Expand Down

0 comments on commit dc438f5

Please sign in to comment.