Catherine
3fbed68365
pyproject: use .dev{distance}
, not +{node}
, for non-release builds.
...
At the moment this uses a git URL for pdm-backend because required PDM
functionality (pdm-project/pdm-backend#217 ) is not released yet.
2024-04-13 12:45:05 +00:00
Catherine
8c02d3ef89
Bump Yosys dependency to >=0.40.
2024-04-10 21:57:30 +00:00
Catherine
1a962cc405
docs: remove all generated WaveDrom diagrams.
2024-04-10 01:30:10 +00:00
Catherine
6fb5f3f120
docs/memory: use wavedrom
directive for diagrams.
2024-04-07 08:03:44 +00:00
Catherine
df589a54e0
_toolchain.yosys: fix amaranth-yosys version extractor.
2024-04-06 08:01:49 +00:00
Catherine
d94c97981a
back.rtlil: implement remaining format specifiers.
...
This requires a Yosys version from git. The requirement should be bumped
to a proper release before Amaranth 0.5.
2024-04-04 03:03:09 +00:00
Catherine
6b512520ff
docs: upgrade sphinx-rtd-theme, work around readthedocs/sphinx_rtd_theme#1301 .
2024-03-22 23:05:42 +00:00
Catherine
2ab3a4a0a0
docs/install: fix Yosys version requirement.
2024-03-22 01:22:02 +00:00
Catherine
3e6e78012d
CI: fail document
job on warnings.
2024-03-14 06:10:14 +00:00
Catherine
b30c87fa3e
pyproject: suppress superfluous warning.
2024-02-15 19:58:19 +00:00
Catherine
52842ee524
docs: fix link rot.
2024-02-15 19:58:19 +00:00
Wanda
8033ddf05e
pyproject: change yosys-yowasp requirement to match RTLIL backend.
2024-02-14 11:50:36 +00:00
Catherine
4a8dd808c3
Ensure we build sensible sdists.
2024-02-13 12:52:05 +00:00
Catherine
8677ced404
Update README.
2024-02-13 12:52:05 +00:00
Catherine
eebb6ec3bb
back.verilog: require Yosys 0.38.
...
This avoids the awkward requirement due to the bug in Yosys 0.37, and
will soon be required anyway once the `$check` cell is emitted.
2024-02-13 05:27:23 +00:00
Catherine
65d77f03fe
back.verilog: forbid Yosys version range with dangling else bug.
...
Fixes #1049 .
2024-01-24 16:45:22 +00:00
Catherine
fc06dd7644
back.verilog: require Yosys >=0.35.
...
Fixes #931 .
2023-11-21 14:52:42 +00:00
Wanda
dacbd9dfb0
docs: upgrade Sphinx.
2023-10-20 15:47:56 +00:00
Catherine
b871f2ad79
pyproject: use yowasp-yosys for tests.
...
This change means that tests will succeed even if the system Yosys binary is broken.
yices2 must still be present on the system.
2023-09-27 11:17:29 +00:00
Catherine
e6ec0be889
examples,docs: ensure amaranth-boards is available as a dev dependency.
2023-09-25 14:15:11 +00:00
Catherine
d32ca04326
pyproject: migrate to PDM build backend.
...
`.git_archival.txt` and the functionality of deriving SCM version
from a GitHub generated archive is removed pending implementation of
pdm-project/pdm-backend#194 .
2023-09-12 01:40:48 +00:00
Catherine
6e50559dfa
pyproject: add PDM scripts for reporting code coverage.
2023-08-22 16:22:09 +00:00
Catherine
1826fa83bd
Formalize test and documentation workflows using PDM.
2023-07-24 13:46:48 +00:00
Catherine
4627d8d3c8
pyproject: depend on setuptools>=67.0
instead of ~=67.0
.
...
The latter is overly strict and breaks installation with PDM (which
is more principled than our other PEP517 build backends).
2023-07-21 03:57:06 +00:00
Catherine
b77e33f16a
Drop support for Python 3.7.
2023-06-28 14:50:30 +00:00
psentee
0681cb77b1
pyproject: relax pyvcd requirement to include 0.4.
...
The only breaking change in 0.4 is dropping support for Python 3.6,
which Amaranth has already dropped. It also adds official support for
3.10 and 3.11.
3ad7340072/CHANGELOG.rst
2023-06-04 19:42:05 +00:00
Catherine
46e0a00a08
Add a workaround for setuptools erroring out on stale git checkouts.
2023-03-22 02:09:43 +00:00
Catherine
897400ee59
pyproject: relax amaranth-yosys dependency.
2023-02-03 02:40:25 +00:00
Catherine
732d62eb24
Move most of setup.py to pyproject.toml.
...
The custom setuptools_scm configuration is removed. It was buggy (for
the case of a dirty worktree exactly at the tag, it did not append
`+dirty`) and otherwise is only different from node-and-timestamp by
appending `.dirty` instead of `.dYYYYMMDDHHMMSS`. The latter is
preferable anyway.
2023-02-02 23:21:16 +00:00
Catherine
47551e8c71
Add PEP 518 pyproject.toml
.
...
See also commits:
* 7fca037f
(adding it)
* 416b2531
(reverting it)
* a2ef4cb6
(adding it)
* 810c19dd
(reverting it)
Third time's the charm?
2023-01-31 19:48:54 +00:00
Catherine
810c19dde4
Revert "Add PEP 518 pyproject.toml
."
...
This reverts commit a2ef4cb6b8
.
This broke editable installs (again) and has to be reverted due pip
issue pypa/pip#7953 .
Fixes #663 .
2021-12-16 15:02:16 +00:00
whitequark
a2ef4cb6b8
Add PEP 518 pyproject.toml
.
2021-11-05 14:44:31 +00:00
whitequark
416b2531ae
Revert "Add PEP 518 pyproject.toml
."
...
This reverts commit 7fca037f9c
.
This broke editable installs and has to be reverted due to a number
of pip issues:
* pypa/pip#6375
* pypa/pip#6434
* pypa/pip#6438
We can put this back once PEP 517/518 support editable installs.
Until then the legacy behavior will suffice, and we should just teach
people to install the dependencies in virtualenvs or something...
2020-07-01 08:24:47 +00:00
whitequark
7fca037f9c
Add PEP 518 pyproject.toml
.
...
This is necessary to be able to install nMigen into a virtualenv that
does not have `wheel` installed in certain cases.
See #349 .
2020-07-01 05:58:34 +00:00