Skip to content
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

'typing-extensions>=3.6.4; python_version < "3.8"' distribution was not found and is required by importlib-metadata #201

Closed
williamjmorenor opened this issue Dec 31, 2020 · 7 comments
Labels
bug Something isn't working needs info

Comments

@williamjmorenor
Copy link

Hello, I am not sure if this issue comes from build it self but when testing with alpha version of python 3.10 I found this:

pkg_resources.DistributionNotFound: The 'typing-extensions>=3.6.4; python_version < "3.8"' distribution was not found and is required by importlib-metadata

https://github.com/cacao-accounting/cacao-accounting/runs/1630729986?check_suite_focus=true

@FFY00
Copy link
Member

FFY00 commented Dec 31, 2020

I don't think this is our issue as it is the backend that is failing. It should be either setuptools or pkg_resources.

@FFY00
Copy link
Member

FFY00 commented Dec 31, 2020

Sorry, it is not the backend that is failing, it's twine.

@uranusjr
Copy link
Member

Twine is only failing because its runtime dependencies are not satisfied. But either way this is not related in any way to build, which only deals with build dependencies.

@FFY00
Copy link
Member

FFY00 commented Dec 31, 2020

How is the dependency not satisfied if it is running on Python 3.10 and we have the python_version < "3.8" marker?

@uranusjr
Copy link
Member

uranusjr commented Dec 31, 2020

I have no idea, but that should be a problem for setuptools. (Maybe it's comparing versions wrong and thinking '3.10' < '3.8'.)

@FFY00
Copy link
Member

FFY00 commented Dec 31, 2020

Then the problem is not unsatisfied runtime dependencies, it's runtime dependencies not being properly verified 😊

@bhrutledge
Copy link

I believe this can be closed, as this can be resolved by upgrading to setuptools>=49.0.0, as detailed at pypa/twine#724 (comment).

@FFY00 FFY00 closed this as completed Jan 2, 2021
@pypa pypa locked and limited conversation to collaborators Jan 15, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working needs info
Projects
None yet
Development

No branches or pull requests

4 participants