D12267: packaging: remove requirements constraints to support Python 2
indygreg (Gregory Szorc)
phabricator at mercurial-scm.org
Wed Mar 2 15:44:18 UTC 2022
indygreg created this revision.
Herald added a reviewer: hg-reviewers.
Herald added a subscriber: mercurial-patches.
REVISION SUMMARY
We just deleted support for Python 2 from the packaging code. We no longer
need these package constraints in the requirements file to support Python 2.
REPOSITORY
rHG Mercurial
BRANCH
default
REVISION DETAIL
https://phab.mercurial-scm.org/D12267
AFFECTED FILES
contrib/packaging/requirements-windows.txt.in
CHANGE DETAILS
diff --git a/contrib/packaging/requirements-windows.txt.in b/contrib/packaging/requirements-windows.txt.in
--- a/contrib/packaging/requirements-windows.txt.in
+++ b/contrib/packaging/requirements-windows.txt.in
@@ -1,13 +1,11 @@
docutils
-# Pinned to an old version because 0.20 drops Python 3 compatibility.
-dulwich < 0.20 ; python_version <= '2.7'
-dulwich ; python_version >= '3'
+dulwich
# Needed by the release note tooling
fuzzywuzzy
keyring
-pygit2 ; python_version >= '3'
+pygit2
pygments
# Needed by the phabricator tests
To: indygreg, #hg-reviewers
Cc: mercurial-patches, mercurial-devel
More information about the Mercurial-devel
mailing list