From 48f2285e7e3420749369818aefaea5941deb71a9 Mon Sep 17 00:00:00 2001 From: David SPORN Date: Tue, 20 Sep 2022 06:49:00 +0200 Subject: [PATCH 1/2] Fixes #713 by always using latest version of Jinja2 --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 197fdd3db..0a8b69d2e 100644 --- a/setup.py +++ b/setup.py @@ -43,7 +43,7 @@ def doc_version(): "importlib_metadata; python_version<'3.8'", # for __version__ and amaranth._toolchain.yosys "importlib_resources; python_version<'3.9'", # for amaranth._toolchain.yosys "pyvcd>=0.2.2,<0.4", # for amaranth.pysim - "Jinja2~=3.0", # for amaranth.build + "Jinja2>3.0", # for amaranth.build -- jinja2 team only support latest version ], extras_require={ # this version requirement needs to be synchronized with the one in amaranth.back.verilog! From 0ff2294cefaac669c6eba8e0cce9633b5ff3b715 Mon Sep 17 00:00:00 2001 From: David SPORN Date: Tue, 20 Sep 2022 07:07:51 +0200 Subject: [PATCH 2/2] TEST : avoid 3.7 --- .github/workflows/main.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index 26832e509..2c31128fb 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -8,7 +8,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ['3.7', '3.8', '3.9', '3.10', '3.11-dev', 'pypy-3.7-v7.3.3'] + python-version: ['3.8', '3.9', '3.10', '3.11-dev'] steps: - name: Check out source code uses: actions/checkout@v2