pyproject: suppress superfluous warning.

This commit is contained in:
Catherine 2024-02-15 19:50:31 +00:00
parent 52842ee524
commit b30c87fa3e
2 changed files with 8 additions and 0 deletions

View file

@ -69,6 +69,8 @@ jobs:
git fetch --tags https://github.com/amaranth-lang/amaranth.git git fetch --tags https://github.com/amaranth-lang/amaranth.git
- name: Set up PDM - name: Set up PDM
uses: pdm-project/setup-pdm@v4 uses: pdm-project/setup-pdm@v4
with:
python-version: '3.12'
- name: Install dependencies - name: Install dependencies
run: | run: |
pdm install --dev pdm install --dev
@ -88,6 +90,8 @@ jobs:
uses: actions/checkout@v4 uses: actions/checkout@v4
- name: Set up PDM - name: Set up PDM
uses: pdm-project/setup-pdm@v4 uses: pdm-project/setup-pdm@v4
with:
python-version: '3.12'
- name: Install dependencies - name: Install dependencies
run: | run: |
pdm install --dev pdm install --dev

View file

@ -39,6 +39,10 @@ amaranth-rpc = "amaranth.rpc:main"
requires = ["pdm-backend"] requires = ["pdm-backend"]
build-backend = "pdm.backend" build-backend = "pdm.backend"
[tool.pdm]
# Remove this once we no longer support Python 3.8.
ignore_package_warnings = ["sphinx*"]
[tool.pdm.build] [tool.pdm.build]
# If amaranth 0.3 is checked out with git (e.g. as a part of a persistent editable install or # If amaranth 0.3 is checked out with git (e.g. as a part of a persistent editable install or
# a git worktree cached by tools like poetry), it can have an empty `nmigen` directory left over, # a git worktree cached by tools like poetry), it can have an empty `nmigen` directory left over,