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

[ci] Remove python 3.7 runners from test workflow. #624

Merged
merged 2 commits into from
Jul 29, 2024

Conversation

fjosw
Copy link
Collaborator

@fjosw fjosw commented Jul 26, 2024

This PR removes Python 3.7 from the CI as it reached it's end of life a year ago (and not all runners are still available in Github Actions). Python 3.8 will reached its EOL in three months so I would propose to support it until then.

@fjosw
Copy link
Collaborator Author

fjosw commented Jul 26, 2024

Tests for python>3.8 currently fail because of numpy 2.0, see #618.

Copy link
Collaborator

@agriyakhetarpal agriyakhetarpal left a comment

Choose a reason for hiding this comment

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

Thanks, @fjosw! NumPy 2.0 supports just Python 3.9–3.12 – should we drop 3.8 as well, considering that we'll need to do so in #618 anyway?

@@ -23,17 +23,13 @@ jobs:
- macos-latest
- windows-latest
python-version:
- '3.7'
- '3.8'
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
- '3.8'

Copy link
Collaborator Author

@fjosw fjosw Jul 26, 2024

Choose a reason for hiding this comment

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

I think after merging #618 python 3.8 should still work with numpy<2.0 as the changes are backward compatible. But as python 3.8 will be obsolete soon I'm fine with removing it from the ci right away. I will push an update soon.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

On top of removing python 3.8 I now also added python 3.12.

Copy link
Collaborator

Choose a reason for hiding this comment

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

Makes sense, thanks for the explanation!

@agriyakhetarpal agriyakhetarpal merged commit ef4a216 into HIPS:master Jul 29, 2024
1 of 19 checks passed
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