File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11pip==24.3.1
22poetry==1.8.5
3- poetry-dynamic-versioning==1.4.1
3+ poetry-dynamic-versioning==1.5.0
4+ poetry-plugin-export==1.8.0
45nox==2024.10.9
56nox-poetry==1.0.3
Original file line number Diff line number Diff line change @@ -34,11 +34,13 @@ jobs:
3434 test :
3535 runs-on : ubuntu-latest
3636 env :
37- FORCE_COLOR : " 1"
38- NOXPYTHON : ${{ matrix.python-version }}
37+ NOXFORCEPYTHON : ${{ matrix.python-version }}
3938 NOXSESSION : tests
4039 PIP_CONSTRAINT : ${{ github.workspace }}/.github/workflows/constraints.txt
40+ PYO3_USE_ABI3_FORWARD_COMPATIBILITY : " 1"
4141 strategy :
42+ fail-fast : false
43+ max-parallel : 2
4244 matrix :
4345 python-version :
4446 - " 3.9"
6466 - name : Install Poetry
6567 run : |
6668 pipx install poetry
69+ pipx inject poetry poetry-plugin-export
6770 poetry --version
6871 poetry self show plugins
6972
@@ -82,12 +85,16 @@ jobs:
8285
8386 typing :
8487 runs-on : ubuntu-latest
88+ env :
89+ NOXSESSION : mypy
90+ PIP_CONSTRAINT : ${{ github.workspace }}/.github/workflows/constraints.txt
8591 steps :
8692 - name : Checkout code
8793 uses : actions/checkout@v4
8894
8995 - name : Set up Python
9096 uses : actions/setup-python@v5
97+ id : setup-python
9198 with :
9299 python-version : " 3.x"
93100 cache : pip
@@ -100,16 +107,17 @@ jobs:
100107
101108 - name : Install Poetry
102109 run : |
103- pipx install poetry
110+ pipx install poetry --python ${{ steps.setup-python.outputs.python-path }}
111+ pipx inject poetry poetry-plugin-export
104112 poetry --version
105113 poetry self show plugins
106114
107115 - name : Install Nox
108116 run : |
109- pipx install nox
117+ pipx install nox --python ${{ steps.setup-python.outputs.python-path }}
110118 pipx inject nox nox-poetry
111119 nox --version
112120
113121 - name : Run typing checks
114122 run : |
115- nox --verbose -s mypy
123+ nox --verbose
Original file line number Diff line number Diff line change 3030@session (python = python_versions )
3131def tests (session : Session ) -> None :
3232 """Execute pytest tests."""
33- deps = ["pytest" , "pytest-durations" ]
33+ deps = ["pytest" ]
3434 if "GITHUB_ACTIONS" in os .environ :
3535 deps .append ("pytest-github-actions-annotate-failures" )
3636
You can’t perform that action at this time.
0 commit comments