-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(spm): drop support for python 3.7 (#106)
Reached end-of-life over a year ago and no longer supported by our upcoming dependencies
- Loading branch information
Showing
13 changed files
with
44 additions
and
44 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -79,12 +79,12 @@ jobs: | |
fail-fast: true | ||
matrix: | ||
os: ["ubuntu-latest", "macos-latest", "windows-latest"] | ||
python-version: ["3.7", "3.13"] | ||
python-version: ["3.8", "3.13"] | ||
exclude: | ||
# Latest macos runner does not support older Python versions | ||
# https://github.com/actions/setup-python/issues/852 | ||
- os: macos-latest | ||
python-version: "3.7" | ||
python-version: "3.8" | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
|
@@ -100,10 +100,10 @@ jobs: | |
python -m pip install --upgrade pip wheel | ||
python -m pip install --editable .[dev] | ||
- name: Downgrade numpy | ||
if: ${{ matrix.python-version == '3.7' }} | ||
if: ${{ matrix.python-version == '3.8' }} | ||
run: | | ||
# test with older numpy version to ensure compatibility | ||
python -m pip install numpy==1.15 | ||
python -m pip install numpy~=1.17.5 | ||
- name: Test with pytest | ||
run: | | ||
pytest -v --benchmark-disable -n auto | ||
|
@@ -129,7 +129,7 @@ jobs: | |
platforms: arm64 | ||
- uses: pypa/[email protected] | ||
env: | ||
CIBW_SKIP: cp36-* pp*-win* pp*-macosx* *_i686 | ||
CIBW_SKIP: cp36-* cp37-* pp*-win* pp*-macosx* *_i686 | ||
CIBW_TEST_SKIP: "*-win_arm64" | ||
CIBW_ARCHS_LINUX: "x86_64 aarch64" | ||
CIBW_ARCHS_MACOS: "x86_64 arm64 universal2" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ name = "cryosparc-tools" | |
version = "4.6.1" | ||
description = "Toolkit for interfacing with CryoSPARC" | ||
readme = "README.md" | ||
requires-python = ">=3.7" | ||
requires-python = ">=3.8" | ||
authors = [ | ||
{ name = "Structura Biotechnology Inc.", email = "[email protected]" }, | ||
] | ||
|
@@ -20,7 +20,10 @@ classifiers = [ | |
"Topic :: Software Development :: Libraries", | ||
] | ||
license = { file = "LICENSE" } | ||
dependencies = ["numpy >= 1.15, < 3.0", "typing-extensions >= 3.7"] | ||
dependencies = [ | ||
"numpy >= 1.17, < 3.0", | ||
"typing-extensions >= 4.0", | ||
] | ||
|
||
[project.optional-dependencies] | ||
dev = [ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters