Skip to content

Commit

Permalink
Run ci on 3.11 and 3.12 (#48)
Browse files Browse the repository at this point in the history
  • Loading branch information
phofl authored May 3, 2024
1 parent 8ec0b07 commit c9aca5d
Show file tree
Hide file tree
Showing 9 changed files with 1,075 additions and 438 deletions.
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
crick/_version.py export-subst
4 changes: 2 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ jobs:
strategy:
fail-fast: false
matrix:
os: ["windows-latest", "ubuntu-latest", "macos-latest"]
python-version: ["3.8", "3.9", "3.10"]
os: ["windows-latest", "ubuntu-latest", "macos-latest", "macos-14"]
python-version: ["3.9", "3.10", "3.11", "3.12"]

steps:
- name: Checkout source
Expand Down
7 changes: 3 additions & 4 deletions .github/workflows/wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,20 +15,19 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
os: [ubuntu-latest, windows-latest, macos-latest, macos-14]

env:
CIBW_SKIP: "pp*"
CIBW_ENVIRONMENT: "SETUPTOOLS_USE_DISTUTILS=stdlib"
CIBW_BEFORE_BUILD: pip install numpy --config-settings=setup-args="-Dallow-noblas=true"
CIBW_BEFORE_BUILD: pip install "numpy>=1.26.2" --config-settings=setup-args="-Dallow-noblas=true"

steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0 # Needed to retrieve tags for determining crick version number

- name: Build wheels
uses: pypa/cibuildwheel@v2.11.4
uses: pypa/cibuildwheel@v2.17.0

- uses: actions/upload-artifact@v3
with:
Expand Down
2 changes: 1 addition & 1 deletion ci/environment-3.8.yaml → ci/environment-3.11.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ channels:
- conda-forge
dependencies:
# Required
- python=3.8
- python=3.11
- numpy
- scipy
- cython
Expand Down
10 changes: 10 additions & 0 deletions ci/environment-3.12.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
name: test-environment
channels:
- conda-forge
dependencies:
# Required
- python=3.12
- numpy
- scipy
- cython
- pytest
4 changes: 4 additions & 0 deletions crick/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,7 @@
__version__ = versions["version"]
__git_revision__ = versions["full-revisionid"]
del get_versions, versions

from . import _version

__version__ = _version.get_versions()["version"]
Loading

0 comments on commit c9aca5d

Please sign in to comment.