SimonSapin created this revision.
Herald added a reviewer: hg-reviewers.
Herald added a subscriber: mercurial-patches.
REVISION SUMMARY
Note: `cpython/python3-sys` is a default feature.
REPOSITORY
rHG Mercurial
BRANCH
default
REVISION DETAIL
https://phab.mercurial-scm.org/D12316
AFFECT
*facepalm*
Queued, thanks.
On Wed, Mar 2, 2022 at 7:42 PM Yuya Nishihara wrote:
> # HG changeset patch
> # User Yuya Nishihara
> # Date 1646268190 -32400
> # Thu Mar 03 09:43:10 2022 +0900
> # Node ID 499733de460faf0d8cee6ea5e22bd05cec2fc93c
> # Parent 7b068abe4aa2d1848cf91c2c203b68aa59f
indygreg created this revision.
Herald added a reviewer: hg-reviewers.
Herald added a subscriber: mercurial-patches.
REVISION SUMMARY
We talked about this on the mailing list [1] and there seemed to be
agreement that Python 3.5 is effectively dead and no longer worth
supporting.
So this
# HG changeset patch
# User Yuya Nishihara
# Date 1646268190 -32400
# Thu Mar 03 09:43:10 2022 +0900
# Node ID 499733de460faf0d8cee6ea5e22bd05cec2fc93c
# Parent 7b068abe4aa2d1848cf91c2c203b68aa59feaaf7
cext: backout e9ca736f5b52 "remove Python 2 file handling code"
It's if"n"def.
diff --gi
# HG changeset patch
# User Yuya Nishihara
# Date 1646268321 -32400
# Thu Mar 03 09:45:21 2022 +0900
# Node ID 2ef3b7d30cc1df92f52bc5ef04b8e549db971095
# Parent 499733de460faf0d8cee6ea5e22bd05cec2fc93c
cext: really remove Python 2 file handling code
Disclaimer: This is _WIN32 code and I hav
indygreg created this revision.
Herald added a reviewer: hg-reviewers.
Herald added a subscriber: mercurial-patches.
REPOSITORY
rHG Mercurial
BRANCH
default
REVISION DETAIL
https://phab.mercurial-scm.org/D12314
AFFECTED FILES
mercurial/utils/stringutil.py
CHANGE DETAILS
diff --git a/m
indygreg created this revision.
Herald added a reviewer: hg-reviewers.
Herald added a subscriber: mercurial-patches.
REVISION SUMMARY
This entailed deleting a function for Python 2 support and renaming the
Python 3 function to match the exported symbol name.
REPOSITORY
rHG Mercurial
BRANCH
indygreg created this revision.
Herald added a reviewer: hg-reviewers.
Herald added a subscriber: mercurial-patches.
REPOSITORY
rHG Mercurial
BRANCH
default
REVISION DETAIL
https://phab.mercurial-scm.org/D12312
AFFECTED FILES
mercurial/revlogutils/docket.py
CHANGE DETAILS
diff --git a
indygreg created this revision.
Herald added a reviewer: hg-reviewers.
Herald added a subscriber: mercurial-patches.
REPOSITORY
rHG Mercurial
BRANCH
default
REVISION DETAIL
https://phab.mercurial-scm.org/D12311
AFFECTED FILES
mercurial/revlogutils/docket.py
CHANGE DETAILS
diff --git a
indygreg created this revision.
Herald added a reviewer: hg-reviewers.
Herald added a subscriber: mercurial-patches.
REPOSITORY
rHG Mercurial
BRANCH
default
REVISION DETAIL
https://phab.mercurial-scm.org/D12310
AFFECTED FILES
mercurial/pure/charencode.py
CHANGE DETAILS
diff --git a/me
indygreg created this revision.
Herald added a reviewer: hg-reviewers.
Herald added a subscriber: mercurial-patches.
REPOSITORY
rHG Mercurial
BRANCH
default
REVISION DETAIL
https://phab.mercurial-scm.org/D12309
AFFECTED FILES
mercurial/hgweb/server.py
CHANGE DETAILS
diff --git a/mercu
indygreg created this revision.
Herald added a reviewer: hg-reviewers.
Herald added a subscriber: mercurial-patches.
REPOSITORY
rHG Mercurial
BRANCH
default
REVISION DETAIL
https://phab.mercurial-scm.org/D12300
AFFECTED FILES
mercurial/util.py
CHANGE DETAILS
diff --git a/mercurial/uti
indygreg created this revision.
Herald added a reviewer: hg-reviewers.
Herald added a subscriber: mercurial-patches.
REVISION SUMMARY
We don't need the Python 3 conditional. We can call items() directly
since we're on Python 3 now.
REPOSITORY
rHG Mercurial
BRANCH
default
REVISION DETAIL
indygreg created this revision.
Herald added a reviewer: hg-reviewers.
Herald added a subscriber: mercurial-patches.
REVISION SUMMARY
We probably have a better tobytes() implementation somewhere in pycompat.
But I don't want to bloat scope of this commit.
REPOSITORY
rHG Mercurial
BRANCH
indygreg created this revision.
Herald added a reviewer: hg-reviewers.
Herald added a subscriber: mercurial-patches.
REVISION SUMMARY
The logic here is more complicated than most Python 2/3 support code.
But the rewritten logic should be identical.
REPOSITORY
rHG Mercurial
BRANCH
default
indygreg created this revision.
Herald added a reviewer: hg-reviewers.
Herald added a subscriber: mercurial-patches.
REPOSITORY
rHG Mercurial
BRANCH
default
REVISION DETAIL
https://phab.mercurial-scm.org/D12305
AFFECTED FILES
mercurial/chgserver.py
CHANGE DETAILS
diff --git a/mercuria
indygreg created this revision.
Herald added a reviewer: hg-reviewers.
Herald added a subscriber: mercurial-patches.
REPOSITORY
rHG Mercurial
BRANCH
default
REVISION DETAIL
https://phab.mercurial-scm.org/D12303
AFFECTED FILES
mercurial/wireprotoframing.py
CHANGE DETAILS
diff --git a/m
indygreg created this revision.
Herald added a reviewer: hg-reviewers.
Herald added a subscriber: mercurial-patches.
REPOSITORY
rHG Mercurial
BRANCH
default
REVISION DETAIL
https://phab.mercurial-scm.org/D12304
AFFECTED FILES
mercurial/worker.py
CHANGE DETAILS
diff --git a/mercurial/w
indygreg created this revision.
Herald added a reviewer: hg-reviewers.
Herald added a subscriber: mercurial-patches.
REVISION SUMMARY
This mode would only be active on Python 2, which is no longer supported.
REPOSITORY
rHG Mercurial
BRANCH
default
REVISION DETAIL
https://phab.mercurial-
indygreg created this revision.
Herald added a reviewer: hg-reviewers.
Herald added a subscriber: mercurial-patches.
REPOSITORY
rHG Mercurial
BRANCH
default
REVISION DETAIL
https://phab.mercurial-scm.org/D12301
AFFECTED FILES
mercurial/windows.py
CHANGE DETAILS
diff --git a/mercurial/
indygreg created this revision.
Herald added a reviewer: hg-reviewers.
Herald added a subscriber: mercurial-patches.
REPOSITORY
rHG Mercurial
BRANCH
default
REVISION DETAIL
https://phab.mercurial-scm.org/D12298
AFFECTED FILES
mercurial/keepalive.py
CHANGE DETAILS
diff --git a/mercuria
indygreg created this revision.
Herald added a reviewer: hg-reviewers.
Herald added a subscriber: mercurial-patches.
REVISION SUMMARY
This is always True now.
REPOSITORY
rHG Mercurial
BRANCH
default
REVISION DETAIL
https://phab.mercurial-scm.org/D12297
AFFECTED FILES
mercurial/extens
indygreg created this revision.
Herald added a reviewer: hg-reviewers.
Herald added a subscriber: mercurial-patches.
REPOSITORY
rHG Mercurial
BRANCH
default
REVISION DETAIL
https://phab.mercurial-scm.org/D12294
AFFECTED FILES
mercurial/dispatch.py
CHANGE DETAILS
diff --git a/mercurial
indygreg created this revision.
Herald added a reviewer: hg-reviewers.
Herald added a subscriber: mercurial-patches.
REVISION SUMMARY
We had to move the `import` statements to appease the import checker.
This whole module could probably be deleted as its point in life is to
pave over Pyth
indygreg created this revision.
Herald added a reviewer: hg-reviewers.
Herald added a subscriber: mercurial-patches.
REPOSITORY
rHG Mercurial
BRANCH
default
REVISION DETAIL
https://phab.mercurial-scm.org/D12296
AFFECTED FILES
mercurial/archival.py
CHANGE DETAILS
diff --git a/mercurial
indygreg created this revision.
Herald added a reviewer: hg-reviewers.
Herald added a subscriber: mercurial-patches.
REPOSITORY
rHG Mercurial
BRANCH
default
REVISION DETAIL
https://phab.mercurial-scm.org/D12295
AFFECTED FILES
mercurial/encoding.py
CHANGE DETAILS
diff --git a/mercurial
indygreg created this revision.
Herald added a reviewer: hg-reviewers.
Herald added a subscriber: mercurial-patches.
REVISION SUMMARY
We always run on Python 3 now.
REPOSITORY
rHG Mercurial
BRANCH
default
REVISION DETAIL
https://phab.mercurial-scm.org/D12291
AFFECTED FILES
mercurial/
indygreg created this revision.
Herald added a reviewer: hg-reviewers.
Herald added a subscriber: mercurial-patches.
REVISION SUMMARY
We always run on Python 3 now.
REPOSITORY
rHG Mercurial
BRANCH
default
REVISION DETAIL
https://phab.mercurial-scm.org/D12292
AFFECTED FILES
mercurial/
indygreg created this revision.
Herald added a reviewer: hg-reviewers.
Herald added a subscriber: mercurial-patches.
REVISION SUMMARY
We always run on Python 3 now.
REPOSITORY
rHG Mercurial
BRANCH
default
REVISION DETAIL
https://phab.mercurial-scm.org/D12293
AFFECTED FILES
mercurial/
indygreg created this revision.
Herald added a reviewer: hg-reviewers.
Herald added a subscriber: mercurial-patches.
REPOSITORY
rHG Mercurial
BRANCH
default
REVISION DETAIL
https://phab.mercurial-scm.org/D12287
AFFECTED FILES
mercurial/match.py
CHANGE DETAILS
diff --git a/mercurial/ma
indygreg created this revision.
Herald added a reviewer: hg-reviewers.
Herald added a subscriber: mercurial-patches.
REVISION SUMMARY
The function can be reduced to an attribute lookup on Python 3. So
inline it.
REPOSITORY
rHG Mercurial
BRANCH
default
REVISION DETAIL
https://phab.merc
indygreg created this revision.
Herald added a reviewer: hg-reviewers.
Herald added a subscriber: mercurial-patches.
REVISION SUMMARY
This was needed to support Python 2.7.
REPOSITORY
rHG Mercurial
BRANCH
default
REVISION DETAIL
https://phab.mercurial-scm.org/D12289
AFFECTED FILES
me
indygreg created this revision.
Herald added a reviewer: hg-reviewers.
Herald added a subscriber: mercurial-patches.
REPOSITORY
rHG Mercurial
BRANCH
default
REVISION DETAIL
https://phab.mercurial-scm.org/D12288
AFFECTED FILES
mercurial/posix.py
CHANGE DETAILS
diff --git a/mercurial/po
indygreg created this revision.
Herald added a reviewer: hg-reviewers.
Herald added a subscriber: mercurial-patches.
REPOSITORY
rHG Mercurial
BRANCH
default
REVISION DETAIL
https://phab.mercurial-scm.org/D12286
AFFECTED FILES
mercurial/mail.py
CHANGE DETAILS
diff --git a/mercurial/mai
indygreg created this revision.
Herald added a reviewer: hg-reviewers.
Herald added a subscriber: mercurial-patches.
REVISION SUMMARY
Now that we no longer support Python 2, we should be able to import and
use the Python 3 only modules in our code. So remove a lint banning this.
REPOSITORY
indygreg created this revision.
Herald added a reviewer: hg-reviewers.
Herald added a subscriber: mercurial-patches.
REVISION SUMMARY
This was required for Python 2 support, which we no longer need to support.
REPOSITORY
rHG Mercurial
BRANCH
default
REVISION DETAIL
https://phab.mercuria
On Wed, Mar 2, 2022 at 11:09 AM Augie Fackler wrote:
>
>
> On Mar 1, 2022, at 2:53 PM, Raphaël Gomès
> wrote:
>
>
> On 2/27/22 22:19, Gregory Szorc wrote:
>
> 6.1 will be the last release to support Python 2.7. That means 6.2 will be
> Python 3 only.
>
> Currently our Python 3 support is for 3.5
14 new changesets in mercurial:
https://www.mercurial-scm.org/repo/hg/rev/1d5fd9def5ac
changeset: 48809:1d5fd9def5ac
user:Arseniy Alekseyev
date:Mon Feb 21 19:51:23 2022 +
summary: rhg: simplify the handling of share-safe config mismatch
https://www.mercurial-scm.org/re
On 2/21/22 19:47, Gregory Szorc wrote:
I'm ~100 patches deep into purging Python 2 from the main repo. (I
think I'll hold off submitting them until 6.1 is out the door.)
Much of the Python 2 deletion work is trivial. But one question that
isn't trivial is what to do with pycompat.py.
Some o
Pipeline #45875 has failed!
Project: mercurial-devel ( https://foss.heptapod.net/mercurial/mercurial-devel )
Branch: branch/default (
https://foss.heptapod.net/mercurial/mercurial-devel/-/commits/branch/default )
Commit: 76516284 (
https://foss.heptapod.net/mercurial/mercurial-devel/-/commit/
> On Mar 1, 2022, at 2:53 PM, Raphaël Gomès wrote:
>
>
> On 2/27/22 22:19, Gregory Szorc wrote:
>> 6.1 will be the last release to support Python 2.7. That means 6.2 will be
>> Python 3 only.
>>
>> Currently our Python 3 support is for 3.5-3.10.
>>
>> Python 3.5 dropped out of support in Se
durin42 created this revision.
durin42 added a reviewer: indygreg.
Herald added a reviewer: hg-reviewers.
Herald added a subscriber: mercurial-patches.
REVISION SUMMARY
Python 2 is gone.
REPOSITORY
rHG Mercurial
BRANCH
default
REVISION DETAIL
https://phab.mercurial-scm.org/D12279
AFFEC
durin42 created this revision.
durin42 added a reviewer: indygreg.
Herald added a reviewer: hg-reviewers.
Herald added a subscriber: mercurial-patches.
REPOSITORY
rHG Mercurial
BRANCH
default
REVISION DETAIL
https://phab.mercurial-scm.org/D12283
AFFECTED FILES
rust/Cargo.lock
rust/hg-
durin42 created this revision.
durin42 added a reviewer: indygreg.
Herald added a reviewer: hg-reviewers.
Herald added a subscriber: mercurial-patches.
REVISION SUMMARY
Not decoding was a Python 2 thing.
REPOSITORY
rHG Mercurial
BRANCH
default
REVISION DETAIL
https://phab.mercurial-scm.
durin42 created this revision.
durin42 added a reviewer: indygreg.
Herald added a reviewer: hg-reviewers.
Herald added a subscriber: mercurial-patches.
REPOSITORY
rHG Mercurial
BRANCH
default
REVISION DETAIL
https://phab.mercurial-scm.org/D12281
AFFECTED FILES
setup.py
CHANGE DETAILS
durin42 created this revision.
durin42 added a reviewer: indygreg.
Herald added a reviewer: hg-reviewers.
Herald added a subscriber: mercurial-patches.
REVISION SUMMARY
We no longer support Python 2.
REPOSITORY
rHG Mercurial
BRANCH
default
REVISION DETAIL
https://phab.mercurial-scm.org/
durin42 created this revision.
durin42 added a reviewer: indygreg.
Herald added a reviewer: hg-reviewers.
Herald added a subscriber: mercurial-patches.
REPOSITORY
rHG Mercurial
BRANCH
default
REVISION DETAIL
https://phab.mercurial-scm.org/D12277
AFFECTED FILES
setup.py
CHANGE DETAILS
durin42 created this revision.
durin42 added a reviewer: indygreg.
Herald added a reviewer: hg-reviewers.
Herald added a subscriber: mercurial-patches.
REPOSITORY
rHG Mercurial
BRANCH
default
REVISION DETAIL
https://phab.mercurial-scm.org/D12278
AFFECTED FILES
contrib/import-checker.py
durin42 created this revision.
durin42 added a reviewer: indygreg.
Herald added a reviewer: hg-reviewers.
Herald added a subscriber: mercurial-patches.
REVISION SUMMARY
This varied when we supported Python 2.
REPOSITORY
rHG Mercurial
BRANCH
default
REVISION DETAIL
https://phab.mercurial
durin42 created this revision.
durin42 added a reviewer: indygreg.
Herald added a reviewer: hg-reviewers.
Herald added a subscriber: mercurial-patches.
REPOSITORY
rHG Mercurial
BRANCH
default
REVISION DETAIL
https://phab.mercurial-scm.org/D12275
AFFECTED FILES
setup.py
CHANGE DETAILS
durin42 created this revision.
durin42 added a reviewer: indygreg.
Herald added a reviewer: hg-reviewers.
Herald added a subscriber: mercurial-patches.
REPOSITORY
rHG Mercurial
BRANCH
default
REVISION DETAIL
https://phab.mercurial-scm.org/D12274
AFFECTED FILES
setup.py
CHANGE DETAILS
durin42 created this revision.
durin42 added a reviewer: indygreg.
Herald added a reviewer: hg-reviewers.
Herald added a subscriber: mercurial-patches.
REPOSITORY
rHG Mercurial
BRANCH
default
REVISION DETAIL
https://phab.mercurial-scm.org/D12273
AFFECTED FILES
setup.py
CHANGE DETAILS
durin42 created this revision.
durin42 added a reviewer: indygreg.
Herald added a reviewer: hg-reviewers.
Herald added a subscriber: mercurial-patches.
REVISION SUMMARY
This was variable back when we supported Python 2.
REPOSITORY
rHG Mercurial
BRANCH
default
REVISION DETAIL
https://pha
durin42 created this revision.
durin42 added a reviewer: indygreg.
Herald added a reviewer: hg-reviewers.
Herald added a subscriber: mercurial-patches.
REPOSITORY
rHG Mercurial
BRANCH
default
REVISION DETAIL
https://phab.mercurial-scm.org/D12271
AFFECTED FILES
setup.py
CHANGE DETAILS
durin42 created this revision.
durin42 added a reviewer: indygreg.
Herald added a reviewer: hg-reviewers.
Herald added a subscriber: mercurial-patches.
REVISION SUMMARY
I'll inline print() etc in future patches.
REPOSITORY
rHG Mercurial
BRANCH
default
REVISION DETAIL
https://phab.mercur
durin42 created this revision.
durin42 added a reviewer: indygreg.
Herald added a reviewer: hg-reviewers.
Herald added a subscriber: mercurial-patches.
REPOSITORY
rHG Mercurial
BRANCH
default
REVISION DETAIL
https://phab.mercurial-scm.org/D12269
AFFECTED FILES
setup.py
CHANGE DETAILS
durin42 created this revision.
durin42 added a reviewer: indygreg.
Herald added a reviewer: hg-reviewers.
Herald added a subscriber: mercurial-patches.
REVISION SUMMARY
It's time to move on folks.
REPOSITORY
rHG Mercurial
BRANCH
default
REVISION DETAIL
https://phab.mercurial-scm.org/D12
durin42 created this revision.
durin42 added a reviewer: indygreg.
Herald added a reviewer: hg-reviewers.
Herald added a subscriber: mercurial-patches.
REVISION SUMMARY
🎉🎉
REPOSITORY
rHG Mercurial
BRANCH
default
REVISION DETAIL
https://phab.mercurial-scm.org/D12266
AFFECTED FILES
set
indygreg created this revision.
Herald added a reviewer: hg-reviewers.
Herald added a subscriber: mercurial-patches.
REVISION SUMMARY
This commit started by deleting references to py2exe (which is only used
on Python 2). After pulling the thread, quite a lot of code was orphaned
and was dele
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.
REPOSIT
indygreg created this revision.
Herald added a reviewer: hg-reviewers.
Herald added a subscriber: mercurial-patches.
REVISION SUMMARY
We stop installing Python 2.7 via pyenv. We stop installing the system
Python 2 packages. We delete support for running tests on Python 2.7.
REPOSITORY
rHG M
indygreg created this revision.
Herald added a reviewer: hg-reviewers.
Herald added a subscriber: mercurial-patches.
REVISION SUMMARY
The building of Inno and WiX installers took a python_version argument
that allowed us to specify "2" or "3" for the major Python version. Since
we no longer
indygreg created this revision.
Herald added a reviewer: hg-reviewers.
Herald added a subscriber: mercurial-patches.
REVISION SUMMARY
We stop installing Python 2.7 in the Windows environment.
We remove support for building Python 2.7 wheels and installers.
There is still some Python 2.
indygreg created this revision.
Herald added a reviewer: hg-reviewers.
Herald added a subscriber: mercurial-patches.
REVISION SUMMARY
Python 2.7 support will go away soon. Let's use Python 3 as part of
the automation.
REPOSITORY
rHG Mercurial
BRANCH
default
REVISION DETAIL
https://pha
indygreg created this revision.
Herald added a reviewer: hg-reviewers.
Herald added a subscriber: mercurial-patches.
REVISION SUMMARY
We'll soon drop support for Python 2.7. Let's use Python 3 by
default.
REPOSITORY
rHG Mercurial
BRANCH
default
REVISION DETAIL
https://phab.mercurial-s
indygreg created this revision.
Herald added a reviewer: hg-reviewers.
Herald added a subscriber: mercurial-patches.
REVISION SUMMARY
Per code review comment on the changeset that introduced the Python 3.5+
checks.
REPOSITORY
rHG Mercurial
BRANCH
default
REVISION DETAIL
https://phab.m
Herald added a subscriber: mercurial-patches.
RoryCrona added a comment.
As said in this article using the airdorid 4.0 is very easy and smooth. The
https://www.resumehelpservices.com/resumespice-com-review/ blog developers has
done very good job in this latest version by bringing new feature
Pipeline #45862 has failed!
Project: mercurial-devel ( https://foss.heptapod.net/mercurial/mercurial-devel )
Branch: branch/default (
https://foss.heptapod.net/mercurial/mercurial-devel/-/commits/branch/default )
Commit: 651ce36d (
https://foss.heptapod.net/mercurial/mercurial-devel/-/commit/
68 matches
Mail list logo