python-us icon indicating copy to clipboard operation
python-us copied to clipboard

Incompatible with Python 3.12 because of jellyfish 0.11.2 dependency

Open tomoforest opened this issue 1 year ago • 1 comments

Hello, I attempted to install the us package in my Python 3.12.1 environment using Poetry 1.7.0 and the install failed to build the jellyfish 0.11.2 package. This is a known issue in jellyfish that was resolved as of 1.0.3, can we get a new build of us with the updated dependency?

https://github.com/jamesturk/jellyfish/issues/199#issuecomment-1817088895

Also I see that someone has created a PR to do this very thing https://github.com/unitedstates/python-us/pull/74

tomoforest avatar Dec 18 '23 22:12 tomoforest

If you got same error as I did

image

You can try install Cargo. For me it helped

OttoAndrey avatar Feb 16 '24 07:02 OttoAndrey

This is indeed becoming an issue, as Python 3.12 is the default Python version on Ubuntu 24.04, and QGIS has also moved to Python 3.12

I have fixed the issue and added some needed software engineering to fix this all.
https://github.com/unitedstates/python-us/pull/78

@jcarbaugh , do you plan to update the package soon? Do we need to consider a fork in case you no longer have time for this project?

pedrocamargo avatar Jul 02 '24 05:07 pedrocamargo

@tomoforest and @OttoAndrey , I am thinking of forking the project and releasing it under a different name on PyPI. Do you see another alternative?

pedrocamargo avatar Jul 08 '24 10:07 pedrocamargo

us 3.2.0 with support for Python 3.12 has just been published to PyPI https://pypi.org/project/us/

Please let me know if there are any lingering issues!

jcarbaugh avatar Jul 22 '24 01:07 jcarbaugh