Skip to content

Commit 3a662f0

Browse files
committed
Drop support for Python 3.7.
Also, expand the Python CI version range to be the same as that of Amaranth.
1 parent 510c28e commit 3a662f0

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

.github/workflows/main.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,19 +3,27 @@ on:
33
pull_request:
44
schedule:
55
- cron: '0 0 * * *' # test daily against git HEAD of dependencies
6+
67
name: CI
78
jobs:
9+
810
test:
911
runs-on: ubuntu-latest
1012
strategy:
1113
matrix:
1214
python-version:
1315
- '3.8'
16+
- '3.9'
17+
- '3.10'
18+
- '3.11'
19+
- 'pypy-3.8'
20+
- 'pypy-3.9'
1421
# this version range needs to be synchronized with the one in pyproject.toml
1522
amaranth-version:
1623
- '0.3'
1724
- 'git'
1825
fail-fast: false
26+
name: 'test (${{ matrix.python-version }}, ${{ matrix.amaranth-version }})'
1927
steps:
2028
- name: Check out source code
2129
uses: actions/checkout@v3

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ description = "Board and connector definitions for Amaranth HDL"
1010
authors = [{name = "Amaranth HDL contributors"}]
1111
license = {file = "LICENSE.txt"}
1212

13+
requires-python = "~=3.8"
1314
dependencies = [
14-
"importlib_metadata; python_version<'3.8'",
1515
# this version requirement needs to be synchronized with the one in .github/workflows/main.yml
1616
"amaranth>=0.3,<0.5",
1717
]

0 commit comments

Comments
 (0)