-
Notifications
You must be signed in to change notification settings - Fork 14
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
1.3.1: missing install-time dependencies #56
Comments
That quick patch is incorect. --- a/setup.py
+++ b/setup.py
@@ -21,7 +21,7 @@
long_description=read('README.md'),
long_description_content_type='text/markdown',
py_modules=['pytest_console_scripts'],
- install_requires=['pytest>=4.0.0'],
+ install_requires=['pytest>=4.0.0', 'setuptools'],
python_requires='>=3.6',
setup_requires=['setuptools-scm'],
classifiers=[ |
It'd be nice to fix that. Would a PR speed this up? |
HexDecimal
added a commit
to HexDecimal/pytest-console-scripts
that referenced
this issue
May 12, 2023
Required for the pkg_resources module which is being used. Closes kvas-it#56 Alternates were discussed but those would require dropping Python versions before 3.8.
Any plans to rel;ease new version? 🤔 |
I'd like to make a new release after #69 is merged. |
Thx 👍 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
During
pep440
test suite execution I found that pytest failed because missingpkg_resources
module in build env.And indeed in
pytest-console-scripts/pytest_console_scripts.py
Line 6 in a34120f
is import of that module and in
pytest-console-scripts/setup.py
Line 24 in a34120f
is missing that install time dependency.
Quirck solution could be patch like below
however basing on pypa/setuptools#3279 better would be migrate to use
importlib_metadata
like https://git.smhi.se/climix/climix/-/merge_requests/165.patchThe text was updated successfully, but these errors were encountered: