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

Package fails import on Python 3.12, missing dependencies #470

Closed
remyjette opened this issue Oct 6, 2023 · 2 comments
Closed

Package fails import on Python 3.12, missing dependencies #470

remyjette opened this issue Oct 6, 2023 · 2 comments

Comments

@remyjette
Copy link
Member

remyjette commented Oct 6, 2023

Package should declare a dependency on pkg_resources if it is using it

Installed azure_devops-7.1.0b3-py3-none-any.whl on a fresh machine (using pip install azure-devops)

>>> import azure.devops
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "C:\Users\Remy\AppData\Roaming\Python\Python312\site-packages\azure\__init__.py", line 5, in <module>
    import pkg_resources
ModuleNotFoundError: No module named 'pkg_resources'
@remyjette remyjette changed the title Package fails import on Python 3.12, missing dependenices Package fails import on Python 3.12, missing dependencies Oct 6, 2023
@remyjette
Copy link
Member Author

Fixed in #469

@nechvatalp
Copy link
Collaborator

The fix has been merged closing the issue, thanks for reporting.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants