python 3.12+ uses importlib.metadata instead of pkg_resources - #74
Conversation
|
@uhurusurfa Hello, I ran into this while working on helpdesk. the optional dependency on this was broken https://github.com/django-helpdesk/django-helpdesk/blob/main/pyproject.toml |
|
Also tested with python 3.14 name: pinax-break-14
channels:
- conda-forge
dependencies:
- python=3.14
- pip
- pip:
- django
- pinax-teamsthen run micromamba run -n pinax-break-14 python -c "import pinax.teams" |
|
Looks like it will be necessary to upgrade to a modern package manager instead of the legacy setup.py because Pillow specifies pybind11 in a pyproject.toml but setup.py sees the setup.py in Pillow and runs that instead of using the pyporject.toml so it ends up failing. A quick hack may be to install Pillow in pinax-teams. |
|
Okay I think we've done it. |
|
You will have to bump the version on Pinax invitations so I can run a release to avoid the pkg_resources error. |
|
pinax/pinax-invitations#40 and now let me push the change here. |
|
Now it is the Pinax templates project holding this back - needs the same upgrade to pyproject.toml |
|
Okay ill do that now |
|
hmm the version has bumped yet for pinax-templates. Let me look at that. |
|
Okay I manually published the pinax-templates release. |
Closes #73 .
First setup with yaml in issue.
Test fix with:
micromamba run -n pinax-break python -c "import pinax.teams"TODO:
Change Loghas been updated ---- Not sure what I need to do.