[Bug 6919] New: Rust extensions packaged in a separate PyPI package (hg-rust?)
mercurial-bugs at mercurial-scm.org
mercurial-bugs at mercurial-scm.org
Fri Oct 4 13:27:02 UTC 2024
https://bz.mercurial-scm.org/show_bug.cgi?id=6919
Bug ID: 6919
Summary: Rust extensions packaged in a separate PyPI package
(hg-rust?)
Product: Mercurial
Version: unspecified
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: feature
Priority: wish
Component: Mercurial
Assignee: bugzilla at mercurial-scm.org
Reporter: pierre.augier at univ-grenoble-alpes.fr
CC: mercurial-devel at mercurial-scm.org
Python Version: ---
It would be good to distribute Rust extensions on PyPI, but it is still
important to be able to install Mercurial without Rust extensions.
I think the cleanest solution would be to package the rust extensions in a
separate PyPI package (hg-rust?).
With a optional dependency of Mercurial one could install mercurial without
rust extensions with
```
pipx install mercurial
```
and with rust extensions
```
pipx install mercurial[rust]
```
Of course, `pipx` could here be replaced by `uv tool`
(https://docs.astral.sh/uv).
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the Mercurial-devel
mailing list