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

CU-86967nnra Drop python 3.8 support (EoL) #498

Merged
merged 5 commits into from
Oct 28, 2024
Merged

Conversation

mart-r
Copy link
Collaborator

@mart-r mart-r commented Oct 16, 2024

Python 3.8 is EoL since 7th of October. As such, it's time to stop support for it.

That is what this PR does. It:

  • removes 3.8 from GitHub Actions workflow,
  • removes 3.8 from classifiers,
  • adds python_requires='>=3.9' to setup.py to disallow installation older python versions
    • 3.8 is end of life

NOTE:
I considered adding a cap for newer python versions as well, but I didn't think it made sense in the large scheme of things since 3.12 support is held up behind spacy 3.12 support (which should be at spacy==2.4.0). It's not really under our control. It's also not currently possible to install medcat on these newer python versions anyway (due to no compatible spacy).

@tomolopolis
Copy link
Member

Upper bound could be lifted as soon as `spacy` releases a compatible versions. And it _shouldn't_ require any changes from our side. And it isn't possible to install it on higher versions (currently) due to no `spacy` being available for those versions
@mart-r
Copy link
Collaborator Author

mart-r commented Oct 16, 2024

PS:
GHA is failing due to issues fixed by #497

Copy link
Member

@tomolopolis tomolopolis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@mart-r mart-r merged commit 04efda5 into master Oct 28, 2024
7 checks passed
@mart-r mart-r deleted the CU-86967nnra-drop-py3.8 branch November 18, 2024 16:22
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

Successfully merging this pull request may close these issues.

2 participants