Skip to content

Commit

Permalink
packaging: Use PEP 621
Browse files Browse the repository at this point in the history
  • Loading branch information
edgarrmondragon committed Jan 7, 2025
1 parent 9343669 commit f5373f8
Show file tree
Hide file tree
Showing 5 changed files with 430 additions and 338 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/constraints.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
pip==24.3.1
poetry==1.8.5
poetry==2.0.0
poetry-dynamic-versioning==1.5.0
poetry-plugin-export==1.8.0
nox==2024.10.9
nox-poetry==1.0.3
5 changes: 4 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,13 @@ jobs:
test:
runs-on: ubuntu-latest
env:
NOXPYTHON: ${{ matrix.python-version }}
NOXFORCEPYTHON: ${{ matrix.python-version }}
NOXSESSION: tests
PIP_CONSTRAINT: ${{ github.workspace }}/.github/workflows/constraints.txt
PYO3_USE_ABI3_FORWARD_COMPATIBILITY: "1"
strategy:
fail-fast: false
max-parallel: 2
matrix:
python-version:
- "3.9"
Expand Down Expand Up @@ -67,6 +69,7 @@ jobs:
- name: Install Poetry
run: |
pipx install poetry
pipx inject poetry poetry-plugin-export
poetry --version
poetry self show plugins
Expand Down
1 change: 0 additions & 1 deletion noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
raise SystemExit(dedent(message)) from None

python_versions = [
"3.14",
"3.13",
"3.12",
"3.11",
Expand Down
Loading

0 comments on commit f5373f8

Please sign in to comment.