Skip to content

Commit

Permalink
CI: try Python 3.11 instead of 3.12 on macOS
Browse files Browse the repository at this point in the history
And update it to 3.11 on Linux while we're at it.

Signed-off-by: Julian Oes <[email protected]>
  • Loading branch information
julianoes committed Jan 30, 2024
1 parent 8f8e81f commit cbbc522
Showing 1 changed file with 12 additions and 7 deletions.
19 changes: 12 additions & 7 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -143,16 +143,21 @@ jobs:
echo $?
git tag --list
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: 3.11

- name: Install prerequisites
run: |
python3 -m pip install -r requirements.txt
python3 -m pip install twine wheel
python3 -m pip install --user delocate
python -m pip install -r requirements.txt
python -m pip install twine wheel
python -m pip install --user delocate
- name: Create wheel
run: |
python3 setup.py bdist_wheel
export PATH="$(python3 -m site --user-base)/bin:$PATH"
python setup.py bdist_wheel
export PATH="$(python -m site --user-base)/bin:$PATH"
echo "PATH: $PATH"
delocate-wheel -w wheelhouse -v dist/*.whl
ls wheelhouse/*any.whl | sed -e 'p;s/any/macosx_10_9_x86_64/' | xargs -n2 mv
Expand Down Expand Up @@ -195,9 +200,9 @@ jobs:
git tag --list
- name: Set up Python
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: 3.10
python-version: 3.11
architecture: ${{ matrix.arch }}

- name: Install prerequisites
Expand Down

0 comments on commit cbbc522

Please sign in to comment.