Skip to content
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

Run ci on 3.11 and 3.12 #48

Merged
merged 1 commit into from
May 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading