diff --git a/.github/workflows/cibuildwheel.yml b/.github/workflows/cibuildwheel.yml index 42aeacf9e..6f5d54ee8 100644 --- a/.github/workflows/cibuildwheel.yml +++ b/.github/workflows/cibuildwheel.yml @@ -21,12 +21,12 @@ jobs: - name: Checkout uses: actions/checkout@v4 - - name: Set up Python 3.11 + - name: Set up Python 3.12 uses: actions/setup-python@v5 with: - python-version: "3.11" + python-version: "3.12" - name: Install dependencies - run: pip install black==24.1.1 isort==5.13.2 jupyter-black==0.3.4 + run: pip install black==24.4.0 isort==5.13.2 jupyter-black==0.3.4 - name: Run checks run: ./scripts/ci/check_format.sh @@ -43,10 +43,10 @@ jobs: - name: Checkout uses: actions/checkout@v4 - - name: Set up Python 3.11 + - name: Set up Python 3.12 uses: actions/setup-python@v5 with: - python-version: "3.11" + python-version: "3.12" - name: Install dependencies run: pip install -r requirements.txt @@ -63,10 +63,10 @@ jobs: - name: Checkout uses: actions/checkout@v4 - - name: Set up Python 3.11 + - name: Set up Python 3.12 uses: actions/setup-python@v5 with: - python-version: "3.11" + python-version: "3.12" - name: Install jupedsim run: | @@ -160,7 +160,7 @@ jobs: - uses: actions/setup-python@v5 name: Install Python with: - python-version: 3.11 + python-version: 3.12 - name: Install dependencies run: python -m pip install wheel build setuptools diff --git a/requirements.txt b/requirements.txt index 75d3a9235..2ebc72786 100644 --- a/requirements.txt +++ b/requirements.txt @@ -14,6 +14,6 @@ pandas~=2.1 # ci deps jinja2 -black==24.1.1 +black==24.4.0 jupyter-black==0.3.4 isort==5.13.2 diff --git a/third-party/CMakeLists.txt b/third-party/CMakeLists.txt index 94f82b3a8..78d5dd014 100644 --- a/third-party/CMakeLists.txt +++ b/third-party/CMakeLists.txt @@ -47,6 +47,7 @@ set(Python_FIND_VIRTUALENV "FIRST") find_package(Python COMPONENTS Interpreter Development.Module REQUIRED) set(PYBIND11_SIMPLE_GIL_MANAGEMENT ON) set(PYBIND11_NUMPY_1_ONLY ON) +set(PYBIND11_FINDPYTHON ON) add_subdirectory(pybind11-2.12.0) set(Python_EXECUTABLE ${Python_EXECUTABLE} PARENT_SCOPE)