Skip to content

Commit

Permalink
Support of python 3.12, 64-bit wheels only (#704)
Browse files Browse the repository at this point in the history
* Support python 3.12
  • Loading branch information
lfarv committed Dec 14, 2023
1 parent abc7aeb commit 0acfd40
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 8 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build-python-wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-20.04, macos-12, windows-2022]
os: [ubuntu-22.04, macos-12, windows-2022]

steps:
- uses: actions/checkout@v4
Expand All @@ -28,7 +28,7 @@ jobs:
python-version: '3.9'

- name: Build wheels
uses: pypa/[email protected].0
uses: pypa/[email protected].2

- name: Upload wheels
uses: actions/upload-artifact@v3
Expand All @@ -38,7 +38,7 @@ jobs:
if-no-files-found: error

build_sdist:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04

steps:
- uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/python-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:

strategy:
matrix:
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11']
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12']
os: [macos-latest, ubuntu-latest, windows-latest]
exclude:
- os: windows-latest
Expand Down
11 changes: 7 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@ classifiers = [
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11"
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
]
requires-python = ">=3.7"
dependencies = [
Expand All @@ -40,7 +41,8 @@ Home="https://atcollab.github.io/at/"
mpi = ["mpi4py"]
plot = ["matplotlib"]
dev = ["pytest >= 2.9", "pytest-lazy-fixture", "pytest-cov", "flake8"]
doc = ["Sphinx ~= 5.3", "myst-parser", "pydata-sphinx-theme ~= 0.11.0", "sphinx-copybutton"]
doc = ["Sphinx ~= 7.2", "myst-parser", "myst-nb", "pydata-sphinx-theme ~= 0.14",
"sphinx_design", "sphinx-copybutton"]

# tool.setuptools is still in BETA, so we keep temporarily setup.cfg

Expand All @@ -57,8 +59,9 @@ doc = ["Sphinx ~= 5.3", "myst-parser", "pydata-sphinx-theme ~= 0.11.0", "sphinx-

[tool.cibuildwheel]
# Pypy does not have Scipy so we cannot support it.
build = ["cp3{7,8,9,10,11}*"]
#skip = ["*-musllinux*", "*_i686", "*win32"]
build = ["cp3{7,8,9,10,11,12}*"]
# Skip 32-bit builds starting with python 3.12
skip = ["cp312-win32", "cp312-*_i686"]
build-verbosity = "1"
# "build" frontend fails on windows
# build-frontend = "build"
Expand Down

0 comments on commit 0acfd40

Please sign in to comment.