Skip to content

Commit

Permalink
remove support for Python 3.8, add 3.12 (#342)
Browse files Browse the repository at this point in the history
* fix #341
* remove support for Python 3.8 and  add support for 3.12 (following NEP29(
* Update CHANGES
  • Loading branch information
xiki-tempula authored Jan 3, 2024
1 parent 862343b commit 1360a0d
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 7 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,24 +29,24 @@ jobs:
fail-fast: false
matrix:
os: ["ubuntu-latest", "macOS-latest", "windows-latest"]
python-version: ["3.8", "3.9", "3.10", "3.11"]
python-version: ["3.9", "3.10", "3.11", "3.12"]
# Only test lowest and highest version on the expensive/slow
# macOS and windows runners (UPDATE when supported versions change):
exclude:
- os: macOS-latest
python-version: 3.10
- os: macOS-latest
python-version: 3.9
python-version: 3.11
- os: windows-latest
python-version: 3.10
- os: windows-latest
python-version: 3.9
python-version: 3.11

steps:
- uses: actions/checkout@v3

# More info on options: https://github.com/conda-incubator/setup-miniconda
- uses: mamba-org/provision-with-micromamba@main
- uses: mamba-org/setup-micromamba@main
with:
environment-file: devtools/conda-envs/test_env.yaml
environment-name: test
Expand Down
5 changes: 4 additions & 1 deletion CHANGES
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,10 @@ The rules for this file:
*/*/2023 hl2500

* 2.2.0


Changes
- add support for Python 3.12, remove Python 3.8 support (issue #341, PR #304).

Enhancements
- Add a TI estimator using gaussian quadrature to calculate the free energy.
(issue #302, PR #304)
Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,10 @@
"Operating System :: Microsoft :: Windows ",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Scientific/Engineering",
"Topic :: Scientific/Engineering :: Bio-Informatics",
"Topic :: Scientific/Engineering :: Chemistry",
Expand All @@ -43,7 +43,7 @@
license="BSD",
long_description=open("README.rst").read(),
long_description_content_type="text/x-rst",
python_requires=">=3.8",
python_requires=">=3.9",
tests_require=["pytest", "alchemtest"],
install_requires=[
"numpy",
Expand Down

0 comments on commit 1360a0d

Please sign in to comment.