[PATCH] packaging: add hg-git to the Windows requirements

2 views
Skip to first unread message

Matt Harbison

unread,
Apr 22, 2022, 12:18:04 PMApr 22
to thg...@googlegroups.com
# HG changeset patch
# User Matt Harbison <matt_h...@yahoo.com>
# Date 1650643488 14400
# Fri Apr 22 12:04:48 2022 -0400
# Branch stable
# Node ID a5b1f3b11f1a116742b389caddbbabe8b38d2e44
# Parent d29e0de5e96309a90553a760be22af106db8ba5e
# EXP-Topic windows-py3-packaging
packaging: add hg-git to the Windows requirements

When stealing the Mercurial scripts for building the py2exe package, it kept
tripping over not having `dulwich` installed. So install that (via `hg-git`,
since there have been a lot of requests for it), and also `fuzzywuzzy`, since
that's also listed as a dependency in some core Mercurial requirements.

diff --git a/contrib/packaging/requirements-windows-pyqt5-installer.txt b/contrib/packaging/requirements-windows-pyqt5-installer.txt
--- a/contrib/packaging/requirements-windows-pyqt5-installer.txt
+++ b/contrib/packaging/requirements-windows-pyqt5-installer.txt
@@ -19,7 +19,9 @@
certifi==2021.10.8 \
--hash=sha256:78884e7c1d4b00ce3cea67b44566851c4343c120abd683433ce934a68ea58872 \
--hash=sha256:d62a0163eb4c2344ac042ab2bdf75399a71a2d8c7d47eac2e2ee91b9d6339569
- # via requests
+ # via
+ # dulwich
+ # requests
cffi==1.15.0 \
--hash=sha256:00c878c90cb53ccfaae6b8bc18ad05d2036553e6d9d1d9dbcf323bbe83854ca3 \
--hash=sha256:0104fb5ae2391d46a4cb082abdd5c69ea4eab79d8d44eaaf79f1b1fd806ee4c2 \
@@ -88,9 +90,40 @@
--hash=sha256:686577d2e4c32380bb50cbb22f575ed742d58168cee37e99117a854bcd88f125 \
--hash=sha256:cf316c8370a737a022b72b56874f6602acf974a37a9fba42ec2876387549fc61
# via sphinx
+dulwich==0.20.35 \
+ --hash=sha256:134a2f586847c2c58569959a784d7a875b551df4226b639267302217799e4234 \
+ --hash=sha256:195b21c7a8f85cb2de8938d54fcc6d589d1ccbceaa63bb117796b531065bb68b \
+ --hash=sha256:22c61a24edb699564b49a9701b723a08fa773f5d3322e8a0cabda897ae86816e \
+ --hash=sha256:28ac2374f09487b02a8cb9b2fad083c358fc927bcfe9803d971614bc00e25076 \
+ --hash=sha256:3616a949053eb6bdf34581f57d1f6cb7192a4bb635be1a02c37f6f6dda032277 \
+ --hash=sha256:3d3d07b5aa51e6b7d08707c62932da86adbbaaa62552a0129b37d413735c7786 \
+ --hash=sha256:428b5fbb79f8cfba2f5ac6826cc813d1903b44b0780e9ec57e54cbd0f44feb61 \
+ --hash=sha256:581c6aa825c9267794747c5cc5ec3831960d96ca7fd9eb0158989e9a4099cbb1 \
+ --hash=sha256:5d94cd182fb0da4ec2f182be977b27b9cc1d7dbd0ee9bbf991e101a95fdcd3d8 \
+ --hash=sha256:6dc9b082f6ace9890de572260a575a09a996d617f5930edd2858c6f8fedfd7fb \
+ --hash=sha256:8d683b4f30b1dae6b1668336f62f10ff57ebf2a1252c7cc76ad3eeff973879eb \
+ --hash=sha256:953f6301a9df8a091fa88d55eed394a88bf9988cde8be341775354910918c196 \
+ --hash=sha256:9759cf611503681bcdd2950c9d2db04d1c057ecbb62d6fccd095b13771864f1c \
+ --hash=sha256:9bdea3a4e8e5e3b1dbd513d9ab8a692f8a9a6f4760633e25c006446bce56fc5e \
+ --hash=sha256:9d85b6b41c4be6df9ecdc4014d3cbe78a5a44a73c97bccbefac3e5de83bb74be \
+ --hash=sha256:bf228800785754d7a55d52c5f122c26c3ced51f0f3df727fde2c9fefb71d5d76 \
+ --hash=sha256:c008b6b562af76cf011d3b5450a0d30edc96feeee7856b081d7400bc7cf42653 \
+ --hash=sha256:c4f4c59445dc5c2341e9cb2fe35e51a890e8a5f42178abec0a96044811c558a9 \
+ --hash=sha256:e11cc7a30b42dbbe5a0b6ebbfbfbb07138a5ffd6175bab2ddbabc9882a1c0438 \
+ --hash=sha256:f221c3c2fd10260419905bb673cd00129d491e3ed38c7a8d3ac2c7662682dd9b \
+ --hash=sha256:f563e9f51e83c47a7df2f3cea79919f700e50d1e5556b6b753730b9cd2be1f47
+ # via hg-git
future==0.18.2 \
--hash=sha256:b1bead90b70cf6ec3f0710ae53a525360fa360d306a86583adc6bf83a4db537d
# via pefile
+fuzzywuzzy==0.18.0 \
+ --hash=sha256:45016e92264780e58972dca1b3d939ac864b78437422beecebb3095f8efd00e8 \
+ --hash=sha256:928244b28db720d1e0ee7587acf660ea49d7e4c632569cad4f1cd7e68a5f0993
+ # via -r contrib/packaging/requirements-windows-pyqt5-installer.txt.in
+hg-git==1.0.0 \
+ --hash=sha256:0317b02cf2d2022e4feca34f294e8d10147d93f6e4e89748e704e51d102967c2 \
+ --hash=sha256:3911833962eb9c899c6bea8fb49666c82f211b124d0840beb6ad95e23a4621b6
+ # via -r contrib/packaging/requirements-windows-pyqt5-installer.txt.in
idna==3.3 \
--hash=sha256:84d9dd047ffa80596e0f246e2eab0b391788b0503584e8945f2368256d2735ff \
--hash=sha256:9d643ff0a55b762d5cdb124b8eaa99c66322e2157b69160bc32796e824360e6d
@@ -353,7 +386,9 @@
urllib3==1.26.9 \
--hash=sha256:44ece4d53fb1706f667c9bd1c648f5469a2ec925fcf3a776667042d645472c14 \
--hash=sha256:aabaf16477806a5e1dd19aa41f8c2b7950dd3c746362d7e3223dbe6de6ac448e
- # via requests
+ # via
+ # dulwich
+ # requests
windows-curses==2.3.0 \
--hash=sha256:170c0d941c2e0cdf864e7f0441c1bdf0709232bf4aa7ce7f54d90fc76a4c0504 \
--hash=sha256:4d5fb991d1b90a41c2332f02241a1f84c8a1e6bc8f6e0d26f532d0da7a9f7b51 \
diff --git a/contrib/packaging/requirements-windows-pyqt5-installer.txt.in b/contrib/packaging/requirements-windows-pyqt5-installer.txt.in
--- a/contrib/packaging/requirements-windows-pyqt5-installer.txt.in
+++ b/contrib/packaging/requirements-windows-pyqt5-installer.txt.in
@@ -1,8 +1,12 @@
# Bundled Extensions
# hg-evolve is built from a repo clone for now
+hg-git
mercurial_keyring
pygit2

+# Needed by the release note tooling
+fuzzywuzzy
+
# Installer packaging requirements
py2exe
sphinx

Yuya Nishihara

unread,
Apr 22, 2022, 10:19:43 PMApr 22
to Matt Harbison, thg...@googlegroups.com
On Fri, 22 Apr 2022 12:17:59 -0400, Matt Harbison wrote:
> # HG changeset patch
> # User Matt Harbison <matt_h...@yahoo.com>
> # Date 1650643488 14400
> # Fri Apr 22 12:04:48 2022 -0400
> # Branch stable
> # Node ID a5b1f3b11f1a116742b389caddbbabe8b38d2e44
> # Parent d29e0de5e96309a90553a760be22af106db8ba5e
> # EXP-Topic windows-py3-packaging
> packaging: add hg-git to the Windows requirements

Queued for stable, thanks.
Reply all
Reply to author
Forward
0 new messages