Skip to content

Commit

Permalink
chore: updates for 3.12
Browse files Browse the repository at this point in the history
Signed-off-by: Henry Schreiner <[email protected]>
  • Loading branch information
henryiii committed Aug 14, 2023
1 parent a893797 commit bd5b440
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 8 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,11 @@ jobs:
cmake:
runs-on: ubuntu-latest
env: PIP_ONLY_BINARY=numpy
strategy:
fail-fast: false
matrix:
python-version: ["3.7", "3.9", "3.11", "pypy3.8"]
python-version: ["3.7", "3.9", "3.12", "pypy3.9"]
include:
- python-version: "3.8"
cmake-extras: "-DCMAKE_CXX_STANDARD=17"
Expand All @@ -76,6 +77,7 @@ jobs:
- uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
allow-prerelease-versions: true

- name: Install python tools
run: python -m pip install -r dev-requirements.txt pytest-github-actions-annotate-failures
Expand Down Expand Up @@ -106,8 +108,9 @@ jobs:

- uses: pypa/[email protected]
env:
CIBW_BUILD: cp38-win32 cp310-manylinux_x86_64 cp37-macosx_x86_64
CIBW_BUILD: cp38-win32 cp312-manylinux_x86_64 cp37-macosx_x86_64
CIBW_BUILD_VERBOSITY: 1
CIBW_ENVIRONMENT: "PIP_ONLY_BINARY=:all:"

- uses: actions/upload-artifact@v3
with:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/weekly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:

jobs:
basic:
name: Head on Python 3.8
name: Head on Python 3.11
runs-on: ubuntu-latest

steps:
Expand All @@ -21,7 +21,7 @@ jobs:

- uses: actions/setup-python@v4
with:
python-version: 3.8
python-version: "3.11"

- name: Build and install wheel
run: pip install -v .[test]
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ jobs:
runs-on: ubuntu-22.04
strategy:
matrix:
python: [37, 38, 39, 310, 311]
python: [37, 38, 39, 310, 311, 312]
arch: [aarch64]
steps:

Expand Down
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ repos:
rev: v2.4.0
hooks:
- id: setup-cfg-fmt
args: [--include-version-classifiers, --min-py3-version=3.7, --max-py-version=3.11]
args: [--include-version-classifiers, --min-py3-version=3.7, --max-py-version=3.12]

- repo: https://github.com/astral-sh/ruff-pre-commit
rev: "v0.0.281"
Expand Down
2 changes: 0 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,6 @@ test-extras = "test"
test-command = "pytest --benchmark-disable {project}/tests"
test-skip = ["pp*", "*universal2:arm64", "*musllinux*"]
skip = ["pp*-manylinux_i686"] # not supported by NumPy
manylinux-x86_64-image = "manylinux2014"
manylinux-i686-image = "manylinux2014"
environment-pass = ["SETUPTOOLS_SCM_PRETEND_VERSION"]

[tool.pylint]
Expand Down
1 change: 1 addition & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ classifiers =
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Programming Language :: Python :: 3.11
Programming Language :: Python :: 3.12
Programming Language :: Python :: Implementation :: CPython
Programming Language :: Python :: Implementation :: PyPy
Topic :: Scientific/Engineering
Expand Down

0 comments on commit bd5b440

Please sign in to comment.