Skip to content

Commit

Permalink
Allow Python 3.12
Browse files Browse the repository at this point in the history
  • Loading branch information
schroedtert authored and Ozaq committed Nov 21, 2023
1 parent 4febaf7 commit 47e92cc
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 6 deletions.
18 changes: 15 additions & 3 deletions .github/workflows/cibuildwheel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -192,24 +192,36 @@ jobs:
- os: ubuntu-latest
cibw_archs: "x86_64"
cibw_build: "cp311-*"
- os: ubuntu-latest
cibw_archs: "x86_64"
cibw_build: "cp312-*"
- os: windows-latest
cibw_archs: "auto64"
cibw_build: "cp310-*"
- os: windows-latest
cibw_archs: "auto64"
cibw_build: "cp311-*"
- os: windows-latest
cibw_archs: "auto64"
cibw_build: "cp312-*"
- os: macos-latest
cibw_archs: "x86_64"
cibw_build: "cp310-*"
- os: macos-latest
cibw_archs: "x86_64"
cibw_build: "cp311-*"
- os: macos-latest
cibw_archs: "x86_64"
cibw_build: "cp312-*"
- os: macos-latest
cibw_archs: "arm64"
cibw_build: "cp310-*"
- os: macos-latest
cibw_archs: "arm64"
cibw_build: "cp311-*"
- os: macos-latest
cibw_archs: "arm64"
cibw_build: "cp312-*"

steps:
- uses: actions/checkout@v4
Expand All @@ -232,7 +244,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
python-version: ["3.10", "3.11"]
python-version: ["3.10", "3.11", "3.12"]

steps:
- name: Set up Python ${{ matrix.python-version }}
Expand Down Expand Up @@ -261,10 +273,10 @@ jobs:
runs-on: ubuntu-latest

steps:
- name: Set up Python 3.11
- name: Set up Python 3.12
uses: actions/setup-python@v4
with:
python-version: 3.11
python-version: 3.12

- name: Download packages
uses: actions/Download-artifact@v3
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
numpy~=1.25
shapely~=2.0
pyside6~=6.5
vtk~=9.2
vtk~=9.3

# build deps
wheel
Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ def build_extension(self, ext: CMakeExtension) -> None:
ext_modules=[CMakeExtension("python_bindings_jupedsim")],
cmdclass={"build_ext": CMakeBuild},
zip_safe=False,
python_requires=">=3.10,<3.12",
python_requires=">=3.10,<3.13",
packages=[
"jupedsim",
"jupedsim.internal",
Expand All @@ -269,7 +269,7 @@ def build_extension(self, ext: CMakeExtension) -> None:
"numpy~=1.25",
"shapely~=2.0",
"pyside6~=6.5",
"vtk~=9.2",
"vtk~=9.3",
],
scripts=["python_modules/jupedsim_visualizer/bin/jupedsim-visualizer"],
url="https://www.jupedsim.org",
Expand Down

0 comments on commit 47e92cc

Please sign in to comment.