-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Failing tests test_run_setup_py_from_dir #20
Comments
I have no idea, how it could ever work, because those ---
metaextract/tests/test_metaextract.py | 9 ++++-----
1 file changed, 4 insertions(+), 5 deletions(-)
--- a/metaextract/tests/test_metaextract.py
+++ b/metaextract/tests/test_metaextract.py
@@ -147,7 +147,7 @@ class TestMetaExtract(object):
'entry_points': None, 'extras_require': {'extra1': ['pkg1']},
'install_requires': ['bar', 'foo'], 'python_requires': None,
'setup_requires': [], 'has_ext_modules': None,
- 'scripts': None, 'data_files': None, 'tests_require': None}
+ 'scripts': None, 'data_files': None}
),
(
"setuptools_simple_unicode", {
@@ -155,14 +155,14 @@ class TestMetaExtract(object):
'extra1': ['pkg1'], 'extra2': ['pkg2', 'pkg3']},
'install_requires': ['bar', 'foo'], 'python_requires': None,
'setup_requires': [], 'has_ext_modules': None,
- 'scripts': None, 'data_files': None, 'tests_require': None}
+ 'scripts': None, 'data_files': None}
),
(
"setuptools_simple_unicode_and_header", {
'entry_points': None, 'extras_require': {},
'install_requires': ['bar', 'foo'], 'python_requires': None,
'setup_requires': [], 'has_ext_modules': None,
- 'scripts': None, 'data_files': None, 'tests_require': None}
+ 'scripts': None, 'data_files': None}
),
(
"setuptools_full", {
@@ -174,7 +174,7 @@ class TestMetaExtract(object):
['share/doc/testpgk',
['AUTHORS', 'LICENSE', 'README.rst']],
['share/doc/testpkg/html', ['doc/testpkg.html']],
- ], 'tests_require': ['testpkg1'], 'entry_points':
+ ], 'entry_points':
{
'console_scripts': ['testpkgp1=testpkg:main']
},
@@ -207,7 +207,6 @@ class TestMetaExtract(object):
'extras_require': {}, 'install_requires': [],
'python_requires': None, 'setup_requires': ['pbr>=1.0'],
'has_ext_modules': None, 'scripts': None, 'data_files': None,
- 'tests_require': None,
'version': '1'}
),
( |
I can reproduce this with |
downgrading the used setuptools to < 70 makes the tests pass again:
|
@mcepl I'll try to have a look next week (here's public holiday tomorrow and I won't be in front of a computer) if you've not found a solution. |
bmwiedemann
pushed a commit
to bmwiedemann/openSUSE
that referenced
this issue
Oct 2, 2024
https://build.opensuse.org/request/show/1205230 by user mcepl + anag+factory - Add tests-tests_require.patch fixing broken tests (gh#toabctl/metaextract#20).
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When running the test suit, all calls to
test_run_setup_py_from_dir
fail:Complete build log with the list of all packages used and steps taken to reproduce.
The text was updated successfully, but these errors were encountered: