Skip to content

Commit

Permalink
bump python version on github actions to 3.12
Browse files Browse the repository at this point in the history
  • Loading branch information
arvidn committed Jan 13, 2024
1 parent 44598ba commit 93279b7
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ jobs:
- name: dependencies (MacOS)
if: runner.os == 'macOS'
run: |
brew install boost-build boost boost-python3 python@3.11 openssl@1.1
export PATH=$(brew --prefix)/opt/python@3.11/bin:$PATH
brew install boost-build boost boost-python3 python@3.12 openssl@1.1
export PATH=$(brew --prefix)/opt/python@3.12/bin:$PATH
- name: update package lists (linux)
if: runner.os == 'Linux'
Expand Down Expand Up @@ -109,8 +109,8 @@ jobs:
run: |
# Install to Homebrew's python site-packages. no need for --user and --prefix
cd bindings/python
export PATH=$(brew --prefix)/opt/python@3.11/bin:$PATH
python3.11 setup.py build_ext install --install-lib $(brew --prefix)/lib/python3.11/site-packages
export PATH=$(brew --prefix)/opt/python@3.12/bin:$PATH
python3.12 setup.py build_ext install --install-lib $(brew --prefix)/lib/python3.12/site-packages
- name: tests (Linux)
if: runner.os == 'Linux'
Expand All @@ -122,5 +122,5 @@ jobs:
if: runner.os == 'macOS'
run: |
cd bindings/python
export PATH=$(brew --prefix)/opt/python@3.11/bin:$PATH
python3.11 test.py
export PATH=$(brew --prefix)/opt/python@3.12/bin:$PATH
python3.12 test.py

0 comments on commit 93279b7

Please sign in to comment.