Skip to content

Make the dependency to setuptools explicit for python > 3.12#240

Closed
Pierre-Sassoulas wants to merge 1 commit intosaltstack:developfrom
Pierre-Sassoulas:patch-1
Closed

Make the dependency to setuptools explicit for python > 3.12#240
Pierre-Sassoulas wants to merge 1 commit intosaltstack:developfrom
Pierre-Sassoulas:patch-1

Conversation

@Pierre-Sassoulas
Copy link
Copy Markdown

@Pierre-Sassoulas Pierre-Sassoulas commented Nov 14, 2024

pkg_resources is imported and it's inside setuptools which breaks under python 3.12.

File /venv/lib/python3.12/site-packages/example.py, line 5, in <module>
  import pepper
File /venv/lib/python3.12/site-packages/pepper/__init__.py, line 4, in <module>
  import pkg_resources
ModuleNotFoundError: No module named 'pkg_resources'

There's an easy workaround (installing setuptools ourselves), but it would be nice to release a new version for this to be handled by pip.

``pkg_resources`` is imported and it's inside setuptools.
@barneysowood
Copy link
Copy Markdown
Collaborator

@Pierre-Sassoulas thanks for this - I'm going to close as I believe this should be resolved by #236. Please let me know if not.

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

Successfully merging this pull request may close these issues.

2 participants