aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCatherine <whitequark@whitequark.org>2023-08-08 10:27:20 +0000
committerCatherine <whitequark@whitequark.org>2023-08-08 11:44:37 +0100
commit3a662f05206c8f3705f603b1bd61ee2689277a6f (patch)
tree6271aef95d46a1dc599c3ac43d1e22cabf2197a6
parent510c28e3799aeca1cbf72ba26771d0951f98412e (diff)
Drop support for Python 3.7.
Also, expand the Python CI version range to be the same as that of Amaranth.
-rw-r--r--.github/workflows/main.yml8
-rw-r--r--pyproject.toml2
2 files changed, 9 insertions, 1 deletions
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index 2541e90..12cbe32 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -3,19 +3,27 @@ on:
pull_request:
schedule:
- cron: '0 0 * * *' # test daily against git HEAD of dependencies
+
name: CI
jobs:
+
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version:
- '3.8'
+ - '3.9'
+ - '3.10'
+ - '3.11'
+ - 'pypy-3.8'
+ - 'pypy-3.9'
# this version range needs to be synchronized with the one in pyproject.toml
amaranth-version:
- '0.3'
- 'git'
fail-fast: false
+ name: 'test (${{ matrix.python-version }}, ${{ matrix.amaranth-version }})'
steps:
- name: Check out source code
uses: actions/checkout@v3
diff --git a/pyproject.toml b/pyproject.toml
index fa90ad8..b61e0ff 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -10,8 +10,8 @@ description = "Board and connector definitions for Amaranth HDL"
authors = [{name = "Amaranth HDL contributors"}]
license = {file = "LICENSE.txt"}
+requires-python = "~=3.8"
dependencies = [
- "importlib_metadata; python_version<'3.8'",
# this version requirement needs to be synchronized with the one in .github/workflows/main.yml
"amaranth>=0.3,<0.5",
]