-
Notifications
You must be signed in to change notification settings - Fork 24
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
Bump min python version to 3.10 and update metadata #318
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
|
@@ -5,10 +5,10 @@ | |||||
__copyright__ = ( | ||||||
"Copyright Daniel W. Davies, Adam J. Jackson, Keith T. Butler (2019)" | ||||||
) | ||||||
__version__ = "2.7" | ||||||
__version__ = "2.7.1" | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Consider a major version increment for breaking changes The version number has been updated from 2.7 to 2.7.1, which typically indicates a patch release. However, the PR description mentions a breaking change (dropping support for Python 3.9). Breaking changes usually warrant a major version increment. Consider updating the version to 3.0.0 to reflect the breaking change: -__version__ = "2.7.1"
+__version__ = "3.0.0" 📝 Committable suggestion
Suggested change
|
||||||
__maintainer__ = "Anthony O. Onwuli" | ||||||
__maintainer_email__ = "[email protected]" | ||||||
__date__ = "August 30 2024" | ||||||
__date__ = "September 26 2024" | ||||||
|
||||||
|
||||||
import os | ||||||
|
@@ -52,17 +52,16 @@ | |||||
test_suite="smact.tests.test", | ||||||
install_requires=[ | ||||||
"scipy", | ||||||
"numpy<2", | ||||||
"numpy", | ||||||
"spglib", | ||||||
"pymatgen>=2024.2.20,<2024.8.8", | ||||||
"pymatgen>=2024.2.20", | ||||||
"ase", | ||||||
"pandas", | ||||||
"pathos", | ||||||
"typing-extensions", | ||||||
], | ||||||
classifiers=[ | ||||||
"Programming Language :: Python :: 3", | ||||||
"Programming Language :: Python :: 3.9", | ||||||
"Programming Language :: Python :: 3.10", | ||||||
"Programming Language :: Python :: 3.11", | ||||||
"Programming Language :: Python :: 3.12", | ||||||
|
@@ -73,5 +72,5 @@ | |||||
"Topic :: Scientific/Engineering", | ||||||
"Topic :: Scientific/Engineering :: Chemistry", | ||||||
], | ||||||
python_requires=">=3.9", | ||||||
python_requires=">=3.10", | ||||||
) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
💡 Codebase verification
Update Documentation to Reflect Python 3.10+ Requirement
The README currently states that the project is tested using Python 3.9+, which conflicts with the CI workflow where Python 3.9 has been removed from the test matrix. Please update the README to specify that the project requires Python 3.10 or higher to ensure consistency and clarity for users.
🔗 Analysis chain
Approved: Python version matrix update aligns with PR objectives
The removal of Python 3.9 from the test matrix is consistent with the PR's goal of dropping support for Python 3.9 and aligning with pymatgen and other NumFOCUS stack libraries. This change appropriately reflects the new minimum Python version requirement of 3.10.
To ensure this change is properly documented, please run the following script:
If the script doesn't return any results or shows outdated information, please update the project's README or documentation to clearly state the new minimum Python version requirement.
🏁 Scripts executed
The following scripts were executed for the analysis:
Script:
Length of output: 138