pyproject: relax amaranth-yosys dependency.

This commit is contained in:
Catherine 2023-02-03 02:40:25 +00:00
parent 37623c69a0
commit 897400ee59
2 changed files with 2 additions and 4 deletions

View file

@ -9,7 +9,7 @@ __all__ = ["YosysError", "convert", "convert_fragment"]
def _convert_rtlil_text(rtlil_text, *, strip_internal_attrs=False, write_verilog_opts=()): 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 = find_yosys(lambda ver: ver >= (0, 10))
yosys_version = yosys.version() yosys_version = yosys.version()

View file

@ -20,9 +20,7 @@ dependencies = [
[project.optional-dependencies] [project.optional-dependencies]
# this version requirement needs to be synchronized with the one in amaranth.back.verilog! # 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 builtin-yosys = ["amaranth-yosys>=0.10"]
# temporarily pinned to a specific amaranth-yosys version.
builtin-yosys = ["amaranth-yosys==0.10.0.dev47"]
remote-build = ["paramiko~=2.7"] remote-build = ["paramiko~=2.7"]
[project.scripts] [project.scripts]