Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bump python version on github actions to 3.12 #7579

Merged
merged 1 commit into from
Jan 13, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 [email protected]
export PATH=$(brew --prefix)/opt/python@3.11/bin:$PATH
brew install boost-build boost boost-python3 python@3.12 [email protected]
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
Loading