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

upgrade to python 3.11 #188

Closed
drjova opened this issue Nov 17, 2022 · 3 comments
Closed

upgrade to python 3.11 #188

drjova opened this issue Nov 17, 2022 · 3 comments
Assignees

Comments

@drjova
Copy link
Contributor

drjova commented Nov 17, 2022

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.

@drjova drjova added the cold box When we are waiting for 3rd party or is not possible at the moment label Dec 13, 2022
@michamos
Copy link
Collaborator

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).

@drjova drjova added type: spike and removed cold box When we are waiting for 3rd party or is not possible at the moment labels Mar 13, 2023
@MJedr
Copy link

MJedr commented Mar 15, 2023

Not sure if it will be possible because:

  • there's a known bug in pytest for python >= 3.10, we need to upgrade it to version 6.2.5
  • then, we get the error from elasticsearch library, because the elasticsearch we currently use support python <3.9
  • elasticsearch is locked by invenio search in version <8.0.0, and python >3.9 is supported from the version 8.0.0

@drjova drjova added cold box When we are waiting for 3rd party or is not possible at the moment and removed type: spike labels Mar 24, 2023
@drjova drjova removed the cold box When we are waiting for 3rd party or is not possible at the moment label Nov 20, 2023
@PascalEgn PascalEgn self-assigned this Jul 8, 2024
@PascalEgn
Copy link
Collaborator

Needs removal of hepcrawl dependency first, see #494 for more info

@drjova drjova added this to the cleanup and unify packages milestone Jul 12, 2024
@drjova drjova closed this as completed Aug 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants