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

Add support for python 3.11 and 3.12 #255

Merged
merged 7 commits into from
Jul 25, 2024
Merged

Add support for python 3.11 and 3.12 #255

merged 7 commits into from
Jul 25, 2024

Conversation

JeanMainguy
Copy link
Member

This PR is all about making PPanGGOLiN compatible with Python 3.11 and 3.12.
Now you can use PPanGGOLiN with Python versions 3.8 through 3.12. 🎉

  1. Compatibility Update: Tweaked the random.sample call in the rarefaction module to fix issues with the newer Python versions. This problem was pointed out in issue rarefaction curve : Population must be a sequence #253.
  2. Docs Update: Updated the installation doc to indicate that we support Python 3.8, 3.9, 3.10, 3.11, and 3.12.

@JeanMainguy
Copy link
Member Author

I ran the CI tests with all supported Python versions: CI Run Results. Everything worked as expected!

To keep the CI pipeline light, we'll now run tests only on the oldest and newest supported versions, Python 3.8 and 3.12.

@axbazin axbazin self-requested a review July 25, 2024 14:41
@axbazin axbazin changed the base branch from master to dev July 25, 2024 14:43
@axbazin axbazin merged commit 019342b into dev Jul 25, 2024
4 checks passed
@axbazin axbazin deleted the support_py3.12 branch July 25, 2024 14:45
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