Skip to content

Commit

Permalink
Merge pull request #1167 from glotzerlab/drop-py-37
Browse files Browse the repository at this point in the history
Drop python 3.7
  • Loading branch information
tommy-waltmann authored Nov 6, 2023
2 parents 38cf373 + 5901ea8 commit 5c7d7c1
Show file tree
Hide file tree
Showing 6 changed files with 21 additions and 13 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build_wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-20.04, macos-12] #, windows-2019]
pyver: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12"]
pyver: ["3.8", "3.9", "3.10", "3.11", "3.12"]

steps:
- uses: actions/[email protected]
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/cibuildwheel-before-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ fi

PACKAGE_DIR=$1

if [[ $(python --version 2>&1) == *"3.7."* ]]; then
# Python 3.7 is only supported with oldest requirements
if [[ $(python --version 2>&1) == *"3.8."* ]]; then
# Python 3.8 is only supported with oldest requirements
pip install -U -r "${PACKAGE_DIR}/.github/workflows/oldest-test-reqs.txt" --progress-bar=off
elif [[ $(python --version 2>&1) == *"3.8."* ]]; then
# Python 3.8 needs compatible requirements
elif [[ $(python --version 2>&1) == *"3.9."* ]]; then
# Python 3.9 needs compatible requirements
pip install -U -r "${PACKAGE_DIR}/requirements/requirements-test-compatible.txt" --progress-bar=off
else
pip install -U -r "${PACKAGE_DIR}/requirements/requirements-test.txt" --progress-bar=off
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/oldest-test-reqs.txt
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
ase==3.16.0
cmake==3.13.0
cmake==3.14.3
cython==3.0.2
dynasor==1.1b0; platform_system != "Windows"
gsd==2.4.2
matplotlib==3.0.0
numpy==1.15.0
pillow==6.2.0
matplotlib==3.2.0
numpy==1.18.0
pillow==7.0.0
pytest==6.2.2
rowan==1.2.1
scikit-build==0.13.1
scipy==1.1.0
scipy==1.4.0
sympy==1.0
5 changes: 2 additions & 3 deletions .github/workflows/run_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,8 @@ jobs:
strategy:
matrix:
os: [macOS-latest, ubuntu-latest, windows-latest]
pyver-env: [ {pyver: '3.7', env: 'test-oldest_env.yaml'},
{pyver: '3.8', env: 'test-compatible_env.yaml'},
{pyver: '3.9', env: 'test_env.yaml'},
pyver-env: [ {pyver: '3.8', env: 'test-oldest_env.yaml'},
{pyver: '3.9', env: 'test-compatible_env.yaml'},
{pyver: '3.10', env: 'test_env.yaml'},
{pyver: '3.11', env: 'test_env.yaml'},
{pyver: '3.12', env: 'test_env.yaml'} ]
Expand Down
8 changes: 8 additions & 0 deletions ChangeLog.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,14 @@ The format is based on
and this project adheres to
[Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## vX.Y.Z -- YYYY-MM-DD

### Added
* Support for python 3.12

### Removed
* Support for python 3.7

## v2.13.1 -- 2023-09-14

### Added
Expand Down
1 change: 1 addition & 0 deletions doc/source/reference/credits.rst
Original file line number Diff line number Diff line change
Expand Up @@ -338,6 +338,7 @@ Tommy Waltmann
* Fixed segfault in neighborlists owned by compute objects.
* Added support for ``gsd.hoomd.Frame`` in ``NeighborQuery.from_system`` calls.
* Added support for building with cython 3.0
* Added support for python 3.12 and remove support for python 3.7

Maya Martirossyan

Expand Down

0 comments on commit 5c7d7c1

Please sign in to comment.