Skip to content

Commit a231c4c

Browse files
jfngwhitequark
authored andcommitted
CI: remove test against Amaranth 0.3.
1 parent 4a14bb1 commit a231c4c

File tree

2 files changed

+9
-6
lines changed

2 files changed

+9
-6
lines changed

.github/workflows/main.yml

+8-5
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ jobs:
1313
- '3.8'
1414
# this version range needs to be synchronized with the one in pyproject.toml
1515
amaranth-version:
16-
- '0.3'
1716
- 'git'
1817
fail-fast: false
1918
steps:
@@ -27,14 +26,18 @@ jobs:
2726
if: ${{ matrix.amaranth-version != 'git' }}
2827
run: |
2928
pip install 'amaranth==${{ matrix.amaranth-version }}'
30-
- name: Downgrade MarkupSafe
31-
if: ${{ matrix.amaranth-version == '0.3' }}
32-
run: |
33-
pip install 'MarkupSafe==2.0.1'
3429
- name: Install Amaranth from git
3530
if: ${{ matrix.amaranth-version == 'git' }}
3631
run: |
3732
pip install git+https://github.com/amaranth-lang/amaranth.git
3833
- name: Test
3934
run: |
4035
python -m unittest discover
36+
37+
required: # group all required workflows into one for the required status check
38+
needs:
39+
- test
40+
runs-on: ubuntu-latest
41+
steps:
42+
- run: |
43+
true

pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ license = {file = "LICENSE.txt"}
1111
requires-python = "~=3.8"
1212
dependencies = [
1313
# this version requirement needs to be synchronized with the one in .github/workflows/main.yml
14-
"amaranth>=0.3,<0.5",
14+
"amaranth@git+https://github.com/amaranth-lang/amaranth",
1515
]
1616

1717
[project.urls]

0 commit comments

Comments
 (0)