jazzband / django-polymorphic

Improved Django model inheritance with automatic downcasting
https://django-polymorphic.readthedocs.io
Other
1.66k stars 280 forks source link

ModuleNotFoundError: No module named 'pkg_resources' #617

Open ldng opened 2 months ago

ldng commented 2 months ago

It seems the project is depending implicitly on setuptools at runtime. Systematic presence of setuptools should not be assumed; especially now since uv is eating pypa's lunch. Could that dependency at least be made explicit ? Or, even better, drop pkg_resources to not depend on setuptools at all (at least runtime wise).

Thanks

beahues commented 1 month ago

This looks fixed in https://github.com/jazzband/django-polymorphic/pull/541 but it requires either a new release, which looks challenging based on https://github.com/jazzband/django-polymorphic/releases or using the repo directly.

vdboor commented 1 month ago

@beahues The pypi invite I'd sent was expired. With the recent attempt it looks like a release is now possible. the jazzband pypi user has access now.

martin-thoma commented 1 month ago

Are there any releases planned?