From 897400ee593e2ed2cd3248797ac53cf7e95e506e Mon Sep 17 00:00:00 2001 From: Catherine Date: Fri, 3 Feb 2023 02:40:25 +0000 Subject: [PATCH] pyproject: relax amaranth-yosys dependency. --- amaranth/back/verilog.py | 2 +- pyproject.toml | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/amaranth/back/verilog.py b/amaranth/back/verilog.py index d8fe952..738080c 100644 --- a/amaranth/back/verilog.py +++ b/amaranth/back/verilog.py @@ -9,7 +9,7 @@ __all__ = ["YosysError", "convert", "convert_fragment"] def _convert_rtlil_text(rtlil_text, *, strip_internal_attrs=False, write_verilog_opts=()): - # this version requirement needs to be synchronized with the one in setup.py! + # this version requirement needs to be synchronized with the one in pyproject.toml! yosys = find_yosys(lambda ver: ver >= (0, 10)) yosys_version = yosys.version() diff --git a/pyproject.toml b/pyproject.toml index ccc91e7..7e79d80 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -20,9 +20,7 @@ dependencies = [ [project.optional-dependencies] # this version requirement needs to be synchronized with the one in amaranth.back.verilog! -# due to the issue described in https://github.com/pypa/setuptools/issues/3807, this is -# temporarily pinned to a specific amaranth-yosys version. -builtin-yosys = ["amaranth-yosys==0.10.0.dev47"] +builtin-yosys = ["amaranth-yosys>=0.10"] remote-build = ["paramiko~=2.7"] [project.scripts]