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 not compatible with python 3.12 #585

Closed
domdinicola opened this issue Dec 6, 2023 · 3 comments
Closed

package not compatible with python 3.12 #585

domdinicola opened this issue Dec 6, 2023 · 3 comments

Comments

@domdinicola
Copy link

Problem

Not compatible with python 3.12: pkg_resources is not anymore

Environment

  • Python version: 3.12

Code examples


    from model_utils.models import TimeStampedModel
  File "/home/circleci/project/.tox/py312-d50/lib/python3.12/site-packages/model_utils/__init__.py", line 1, in <module>
    from pkg_resources import DistributionNotFound, get_distribution
ModuleNotFoundError: No module named 'pkg_resources'
py312-d50: exit 1 (1.84 seconds) /home/circleci/project> pytest tests -q --create-db --cov-report=html --cov-report=term --cov-config=/home/circleci/project/tests/.coveragerc --cov=******_attachments pid=856
.pkg: _exit> python /home/circleci/.pyenv/versions/3.12.0/lib/python3.12/site-packages/pyproject_api/_backend.py True hatchling.build
@PetrDlouhy
Copy link

This should be fixed in #545, which is already merged.
@adamchainz Is there anything blocking the new release?

@adamchainz
Copy link
Contributor

I am not a maintainer

@foarsitter
Copy link
Contributor

Closing this as of v4.4.0 is released on 2024-02-10 with support for python 3.12

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

4 participants