Skip to content

Commit

Permalink
Build wheel config updates for upcoming release
Browse files Browse the repository at this point in the history
* Remove Python 3.8 from builds
* Update nanobind and drjit version dependencies
* Bumped GHA upload/download artifact to v4
  • Loading branch information
rtabbara committed Feb 3, 2025
1 parent 6414613 commit f766b5b
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 14 deletions.
15 changes: 6 additions & 9 deletions .github/workflows/wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-20.04, windows-latest, macos-13, macos-14]
python: [cp38, cp39, cp310, cp311, cp312, cp312_stable, cp313]
exclude:
# The first Python version to target Apple arm64 architectures is 3.9
- os: macos-14
python: cp38
python: [cp39, cp310, cp311, cp312, cp312_stable, cp313]
fail-fast: false

name: >
Expand Down Expand Up @@ -92,9 +88,9 @@ jobs:
run: |
python -m cibuildwheel --output-dir wheelhouse
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: wheels
name: wheels-${{ matrix.os }}-${{ matrix.python }}
path: ./wheelhouse/*.whl

upload_pypi:
Expand All @@ -107,9 +103,10 @@ jobs:
#########################
# Fetch and upload wheels
#########################
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: wheels
pattern: wheels-*
merge-multiple: true
path: dist

- uses: pypa/[email protected]
Expand Down
10 changes: 5 additions & 5 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
[build-system]
requires = [
"scikit-build-core",
"nanobind==2.2.0",
"drjit==1.0.4",
"nanobind==2.5.0",
"drjit==1.0.5",
"typing_extensions>=4.12",
"hatch-fancy-pypi-readme",
]
Expand All @@ -16,9 +16,9 @@ description = "Mitsuba 3: A Retargetable Forward and Inverse Renderer"
readme = "README.md"
dependencies = [
"typing_extensions>=4.12;python_version<\"3.11\"",
"drjit==1.0.4",
"drjit==1.0.5",
]
requires-python = ">=3.8"
requires-python = ">=3.9"
authors = [
{ name = "Wenzel Jakob", email = "[email protected]" }
]
Expand Down Expand Up @@ -51,7 +51,7 @@ logging.level = "INFO"
# Necessary to see build output from the actual compilation
build-verbosity = 1

build = ["cp38-*", "cp39-*", "cp310-*", "cp311-*", "cp312-*", "cp313-*"]
build = ["cp39-*", "cp310-*", "cp311-*", "cp312-*", "cp313-*"]
archs = ["auto64"]
skip = "*-musllinux* pp*"

Expand Down

0 comments on commit f766b5b

Please sign in to comment.