Skip to content

Commit b30c87f

Browse files
committed
pyproject: suppress superfluous warning.
1 parent 52842ee commit b30c87f

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

.github/workflows/main.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,8 @@ jobs:
6969
git fetch --tags https://github.com/amaranth-lang/amaranth.git
7070
- name: Set up PDM
7171
uses: pdm-project/setup-pdm@v4
72+
with:
73+
python-version: '3.12'
7274
- name: Install dependencies
7375
run: |
7476
pdm install --dev
@@ -88,6 +90,8 @@ jobs:
8890
uses: actions/checkout@v4
8991
- name: Set up PDM
9092
uses: pdm-project/setup-pdm@v4
93+
with:
94+
python-version: '3.12'
9195
- name: Install dependencies
9296
run: |
9397
pdm install --dev

pyproject.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,10 @@ amaranth-rpc = "amaranth.rpc:main"
3939
requires = ["pdm-backend"]
4040
build-backend = "pdm.backend"
4141

42+
[tool.pdm]
43+
# Remove this once we no longer support Python 3.8.
44+
ignore_package_warnings = ["sphinx*"]
45+
4246
[tool.pdm.build]
4347
# If amaranth 0.3 is checked out with git (e.g. as a part of a persistent editable install or
4448
# a git worktree cached by tools like poetry), it can have an empty `nmigen` directory left over,

0 commit comments

Comments
 (0)