Commit graph

13 commits

Author SHA1 Message Date
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