guix: prune Rust toolchain boostrap from Darwin HOSTS #28449

issue fanquake openend this issue on September 11, 2023
  1. fanquake commented at 9:13 am on September 11, 2023: member

    We once-again have a Rust toolchain bootstrap as part of our Darwin Guix builds. While not necessarily bad, this consumes a fairly significant amount of additional time / resources when bootstrapping, and may make it harder to bootstrap on some platforms. It’s probably inevitable that we’ll have to bootstrap a Rust toolchain in future (for all HOSTS) whenever Rust becomes a dependency of a more core utility or library, but for now, if it’s easy to do, we could prune it out.

    The chain to Rust is:

    python-signapple -> python-requests -> python-urllib3 -> python-cryptography -> python-cryptography-rust.

    The easiest solution here might just be to change signapple to not use python-requests for it’s timestamping POST:

    https://github.com/achow101/signapple/blob/48ba6fe3f92ca9e035c5056126524aaea4bfacb0/signapple/sign.py#L267

    and use the Python standard library: https://docs.python.org/3/library/urllib.request.html#module-urllib.request instead.

  2. fanquake added the label Build system on Sep 11, 2023
  3. fanquake referenced this in commit a9b4d0cc7d on Oct 31, 2023
  4. fanquake referenced this in commit 79539fbfbf on Oct 31, 2023
  5. fanquake closed this on Oct 31, 2023

  6. fanquake referenced this in commit 3c0b66c2ec on Oct 31, 2023
  7. fanquake referenced this in commit 05e8874554 on Oct 31, 2023


fanquake

Labels
Build system


github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2024-10-04 22:12 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me