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

Require Python 3.8+. #715

Merged
merged 11 commits into from
Mar 18, 2022
Merged

Require Python 3.8+. #715

merged 11 commits into from
Mar 18, 2022

Conversation

bdice
Copy link
Member

@bdice bdice commented Mar 16, 2022

Description

NEP 29 has dropped support for Python < 3.8. This PR updates signac to require Python 3.8+. This will help with some current work for signac 2.0 where we would like to use newer language/library features.

In the meantime, I caught a problem where our Windows tests were using Python 3.7 instead of Python 3.8 as we intended. Since Python 3.7 is no longer supported, I updated it to Python 3.10 (the latest release at the time of writing) so that it would be running a supported version further into the future.

Checklist:

@bdice bdice added the enhancement New feature or request label Mar 16, 2022
@bdice bdice added this to the v1.8.0 milestone Mar 16, 2022
@bdice bdice marked this pull request as ready for review March 16, 2022 00:58
@bdice bdice requested review from a team as code owners March 16, 2022 00:58
@bdice bdice requested review from cbkerr and tommy-waltmann and removed request for a team March 16, 2022 00:58
@bdice bdice changed the title Require Python 3.8. Require Python 3.8+. Mar 16, 2022
Some features such as the HDF5 integration require additional packages.
Supported Python and NumPy versions are determined according to the `NEP 29 deprecation policy <https://numpy.org/neps/nep-0029-deprecation_policy.html>`_.
The signac framework uses the `NEP 29 deprecation policy <https://numpy.org/neps/nep-0029-deprecation_policy.html>`__ as a guideline for when to drop support for Python and NumPy versions, and does not guarantee support beyond the versions recommended in that proposal.
Copy link
Member Author

@bdice bdice Mar 16, 2022

Choose a reason for hiding this comment

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

If this language is approved, I will update signac-flow and signac-dashboard accordingly. Related conversation: #685 (comment)

@codecov
Copy link

codecov bot commented Mar 16, 2022

Codecov Report

Merging #715 (597a13b) into master (4398d6e) will decrease coverage by 0.02%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #715      +/-   ##
==========================================
- Coverage   78.54%   78.51%   -0.03%     
==========================================
  Files          65       65              
  Lines        7141     7141              
  Branches     1565     1565              
==========================================
- Hits         5609     5607       -2     
  Misses       1228     1228              
- Partials      304      306       +2     
Impacted Files Coverage Δ
signac/__main__.py 71.66% <0.00%> (-0.23%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 4398d6e...597a13b. Read the comment docs.

changelog.txt Outdated Show resolved Hide resolved
Co-authored-by: Carl Simon Adorf <[email protected]>
Copy link
Contributor

@tommy-waltmann tommy-waltmann left a comment

Choose a reason for hiding this comment

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

Looks solid to me

@bdice bdice merged commit 1d47df2 into master Mar 18, 2022
@bdice bdice deleted the python38 branch March 18, 2022 16:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants