Skip to content

Commit

Permalink
use pre-release gmpy2 on py3.12
Browse files Browse the repository at this point in the history
  • Loading branch information
tomato42 committed Feb 7, 2024
1 parent 9cb6209 commit 4b40ab7
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -294,8 +294,12 @@ jobs:
if: ${{ contains(matrix.opt-deps, 'gmpy2') }}
run: sudo apt-get install -y libmpfr-dev libmpc-dev
- name: Install gmpy2
if: ${{ contains(matrix.opt-deps, 'gmpy2') }}
if: ${{ contains(matrix.opt-deps, 'gmpy2') && matrix.python-version != '3.12' }}
run: pip install gmpy2
- name: Install gmpy2 on py3.12
if: ${{ contains(matrix.opt-deps, 'gmpy2') && matrix.python-version == '3.12' }}
# for py3.12 we need pre-release version: https://github.com/aleaxit/gmpy/issues/446
run: pip install --pre gmpy2
- name: Install build dependencies (2.6)
if: ${{ matrix.python-version == '2.6' }}
run: |
Expand Down

0 comments on commit 4b40ab7

Please sign in to comment.