Patchwork D12267: packaging: remove requirements constraints to support Python 2

login
register
mail settings
Submitter phabricator
Date March 2, 2022, 3:44 p.m.
Message ID <differential-rev-PHID-DREV-u4nq4lw7oshple57ecv7-req@mercurial-scm.org>
Download mbox | patch
Permalink /patch/50604/
State New
Headers show

Comments

phabricator - March 2, 2022, 3:44 p.m.
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




To: indygreg, #hg-reviewers
Cc: mercurial-patches, mercurial-devel

Patch

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