Skip to content

Commit

Permalink
Update black / python version
Browse files Browse the repository at this point in the history
  • Loading branch information
Ozaq committed Apr 22, 2024
1 parent 6b73158 commit e177107
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 9 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/cibuildwheel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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

Expand All @@ -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: |
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
1 change: 1 addition & 0 deletions third-party/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit e177107

Please sign in to comment.