Skip to content

Commit

Permalink
Update build files to build Python 3.11 package
Browse files Browse the repository at this point in the history
  • Loading branch information
dvicini committed Jul 26, 2023
1 parent a19ae56 commit 2830b5e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 9 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ jobs:
- uses: actions/setup-python@v4
name: Install Python
with:
python-version: '3.8'
python-version: '3.10'

- name: Prepare compiler environment for Windows
if: runner.os == 'Windows'
Expand All @@ -74,7 +74,7 @@ jobs:

- name: Install cibuildwheel
run: |
python -m pip install cibuildwheel==2.8.1
python -m pip install cibuildwheel==2.11.2
- name: Prepare cibuildwheel environment for macOS
if: runner.os == 'macOS'
Expand Down
8 changes: 1 addition & 7 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,10 @@ requires = ["setuptools", "wheel", "scikit-build", "cmake", "ninja", "pybind11",

build-backend = "setuptools.build_meta"

[tool.isort]
profile = "black"

[tool.pytest.ini_options]
norecursedirs = [ "ext" ]

[tool.cibuildwheel]
test-command = "python -c \"import fastsweep\""
test-requires = "pytest numpy drjit"
skip = "*-musllinux* pp* cp36-* cp37-* cp311-* *-win32 *_i686 cp38-macosx_arm64"
skip = "*-musllinux* pp* cp36-* cp37-* *-win32 *_i686 cp38-macosx_arm64"

[tool.cibuildwheel.linux]
repair-wheel-command = "python3 .github/workflows/tag_wheel_manylinux.py {wheel} {dest_dir}"
Expand Down

0 comments on commit 2830b5e

Please sign in to comment.