cern-sis / issues-inspire

0 stars 0 forks source link

upgrade to python 3.11 #188

Closed drjova closed 3 weeks ago

drjova commented 1 year ago

Currently, in our project, we use Python 3.8, however, Python 3.11 is available which is significantly faster than its predecessors. We need to upgrade it.

Unfortunately, it is not possible to install lxml on macos due to missing wheels for Python > 3.9. There is an issue, opened recently, to add them, we should keep track of it.

michamos commented 1 year ago

another issue is the change in collections: abstract base classes need to be imported from collections.abc instead of collections. This will require updating several dependencies (see for example https://inspirehep.zulipchat.com/#narrow/stream/122199-ops/topic/DESY.20harvest/near/329399196).

MJedr commented 1 year ago

Not sure if it will be possible because:

PascalEgn commented 1 month ago

Needs removal of hepcrawl dependency first, see https://github.com/cern-sis/issues-inspire/issues/494 for more info