Skip to content

Commit

Permalink
Prefer 3.13-dev over allow-prereleases
Browse files Browse the repository at this point in the history
  • Loading branch information
hugovk committed Oct 7, 2024
1 parent f0e1553 commit b1900f9
Showing 1 changed file with 6 additions and 9 deletions.
15 changes: 6 additions & 9 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,17 +26,16 @@ jobs:
- {VERSION: "3.10", TOXENV: "py310"}
- {VERSION: "3.11", TOXENV: "py311"}
- {VERSION: "3.12", TOXENV: "py312"}
- {VERSION: "3.13", TOXENV: "py313"}
- {VERSION: "3.13", TOXENV: "py313", NOTE: "system", SODIUM_INSTALL: "system"}
- {VERSION: "3.13", TOXENV: "py313", NOTE: "minimal", SODIUM_INSTALL_MINIMAL: "1"}
- {VERSION: "3.13-dev", TOXENV: "py313"}
- {VERSION: "3.13-dev", TOXENV: "py313", NOTE: "system", SODIUM_INSTALL: "system"}
- {VERSION: "3.13-dev", TOXENV: "py313", NOTE: "minimal", SODIUM_INSTALL_MINIMAL: "1"}
name: "Linux ${{ matrix.PYTHON.TOXENV }} ${{ matrix.PYTHON.NOTE }}"
steps:
- uses: actions/[email protected]
- name: Setup python
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.PYTHON.VERSION }}
allow-prereleases: true
- name: Install tox and coverage
run: pip install tox coverage
- name: Install libsodium (system install only)
Expand Down Expand Up @@ -74,8 +73,8 @@ jobs:
- 'macos-latest'
PYTHON:
- {VERSION: "3.7", TOXENV: "py37"}
- {VERSION: "3.13", TOXENV: "py313"}
- {VERSION: "3.13", TOXENV: "py313", NOTE: " (minimal build)", SODIUM_INSTALL_MINIMAL: "1"}
- {VERSION: "3.13-dev", TOXENV: "py313"}
- {VERSION: "3.13-dev", TOXENV: "py313", NOTE: " (minimal build)", SODIUM_INSTALL_MINIMAL: "1"}
exclude:
- PYTHON: {VERSION: "3.7", TOXENV: "py37"}
RUNNER: macos-latest
Expand All @@ -86,7 +85,6 @@ jobs:
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.PYTHON.VERSION }}
allow-prereleases: true
- name: Install tox and coverage
run: pip install tox coverage
- name: Run tests
Expand All @@ -112,7 +110,7 @@ jobs:
- {VERSION: "3.10", TOXENV: "py310", SODIUM_MSVC_VERSION: "v142"}
- {VERSION: "3.11", TOXENV: "py311", SODIUM_MSVC_VERSION: "v142"}
- {VERSION: "3.12", TOXENV: "py312", SODIUM_MSVC_VERSION: "v142"}
- {VERSION: "3.13", TOXENV: "py313", SODIUM_MSVC_VERSION: "v142"}
- {VERSION: "3.13-dev", TOXENV: "py313", SODIUM_MSVC_VERSION: "v142"}
name: "Python ${{ matrix.PYTHON.VERSION }} on Windows ${{ matrix.WINDOWS.ARCH }}"
steps:
- uses: actions/[email protected]
Expand All @@ -121,7 +119,6 @@ jobs:
with:
python-version: ${{ matrix.PYTHON.VERSION }}
architecture: ${{ matrix.WINDOWS.ARCH }}
allow-prereleases: true
- name: 'Extract libsodium libraries'
run: |
Expand-Archive src/libsodium-1.0.20-stable-msvc.zip -DestinationPath c:\
Expand Down

0 comments on commit b1900f9

Please sign in to comment.