Skip to content

Commit 989431e

Browse files
packaging: Use PEP 621
1 parent 90e334b commit 989431e

File tree

5 files changed

+91
-34
lines changed

5 files changed

+91
-34
lines changed

.github/workflows/test.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,9 @@ jobs:
4747
test:
4848
runs-on: ubuntu-24.04
4949
env:
50-
NOXPYTHON: ${{ matrix.python-version }}
50+
NOXFORCEPYTHON: ${{ matrix.python-version }}
5151
NOXSESSION: tests
52+
PYO3_USE_ABI3_FORWARD_COMPATIBILITY: "1"
5253
strategy:
5354
fail-fast: false
5455
max-parallel: 2
@@ -59,6 +60,7 @@ jobs:
5960
- "3.11"
6061
- "3.12"
6162
- "3.13"
63+
- "3.14"
6264

6365
steps:
6466
- name: Checkout code
@@ -107,8 +109,8 @@ jobs:
107109

108110
- name: Set up Python
109111
uses: actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38 # v5.4.0
112+
id: setup-python
110113
with:
111-
python-version: "3.x"
112114
cache: pip
113115
cache-dependency-path: poetry.lock
114116

@@ -119,14 +121,14 @@ jobs:
119121
120122
- name: Install Poetry
121123
run: |
122-
pipx install poetry==${{ env.POETRY_VERSION }}
124+
pipx install --python ${{ steps.setup-python.outputs.python-path }} poetry==${{ env.POETRY_VERSION }}
123125
pipx inject poetry poetry-plugin-export==${{ env.POETRY_PLUGIN_EXPORT_VERSION }}
124126
poetry --version
125127
poetry self show plugins
126128
127129
- name: Install Nox
128130
run: |
129-
pipx install nox==${{ env.NOX_VERSION }}
131+
pipx install --python ${{ steps.setup-python.outputs.python-path }} nox==${{ env.NOX_VERSION }}
130132
pipx inject nox nox-poetry==${{ env.NOX_POETRY_VERSION }}
131133
nox --version
132134

.gitignore

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -85,9 +85,6 @@ target/
8585
profile_default/
8686
ipython_config.py
8787

88-
# pyenv
89-
.python-version
90-
9188
# pipenv
9289
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
9390
# However, in case of collaboration, if having platform-specific dependencies or dependencies

.python-version

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
3.13

0 commit comments

Comments
 (0)