Skip to content

Commit

Permalink
bump homebrew python version to 3.13
Browse files Browse the repository at this point in the history
  • Loading branch information
arvidn committed Jan 23, 2025
1 parent 7f12b05 commit e2e5512
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 @@ -33,8 +33,8 @@ jobs:
- name: dependencies (MacOS)
if: runner.os == 'macOS'
run: |
brew install boost-build boost boost-python3 python@3.12 openssl@3 python-setuptools
export PATH=$(brew --prefix)/opt/python@3.12/bin:$PATH
brew install boost-build boost boost-python3 python@3.13 openssl@3 python-setuptools
export PATH=$(brew --prefix)/opt/python@3.13/bin:$PATH
- name: update package lists (linux)
if: runner.os == 'Linux'
Expand Down Expand Up @@ -105,8 +105,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.12/bin:$PATH
python3.12 setup.py build_ext install --install-lib $(brew --prefix)/lib/python3.12/site-packages
export PATH=$(brew --prefix)/opt/python@3.13/bin:$PATH
python3.13 setup.py build_ext install --install-lib $(brew --prefix)/lib/python3.13/site-packages
- name: tests (Linux)
if: runner.os == 'Linux'
Expand All @@ -118,5 +118,5 @@ jobs:
if: runner.os == 'macOS'
run: |
cd bindings/python
export PATH=$(brew --prefix)/opt/python@3.12/bin:$PATH
python3.12 test.py
export PATH=$(brew --prefix)/opt/python@3.13/bin:$PATH
python3.13 test.py

0 comments on commit e2e5512

Please sign in to comment.