Mon, 21 Feb 2022 15:53:03 +0100 revlog: return 0 for the fast_rank of nullrev
pacien <pacien.trangirard@pacien.net> [Mon, 21 Feb 2022 15:53:03 +0100] rev 48851
revlog: return 0 for the fast_rank of nullrev By convention, the rank of the null revision is 0. This particular revision is never "physically" stored in the changelog, so it is a special case. For consistency, the value `None` is still being returned for revlogs which do not store the fast_rank property for any revision. Differential Revision: https://phab.mercurial-scm.org/D12208
Wed, 02 Mar 2022 18:42:00 -0800 setup: drop support for Python 3.5
Gregory Szorc <gregory.szorc@gmail.com> [Wed, 02 Mar 2022 18:42:00 -0800] rev 48850
setup: drop support for Python 3.5 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 commit changes our minimum version requirement to 3.6.2. [1] https://www.mercurial-scm.org/pipermail/mercurial-devel/2022-February/147885.html Differential Revision: https://phab.mercurial-scm.org/D12315
Sat, 19 Feb 2022 22:14:41 -0700 packaging: remove requirements constraints to support Python 2
Gregory Szorc <gregory.szorc@gmail.com> [Sat, 19 Feb 2022 22:14:41 -0700] rev 48849
packaging: remove requirements constraints to support Python 2 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. Differential Revision: https://phab.mercurial-scm.org/D12267
Sat, 19 Feb 2022 22:13:11 -0700 packaging: remove py2exe / Python 2.7 support
Gregory Szorc <gregory.szorc@gmail.com> [Sat, 19 Feb 2022 22:13:11 -0700] rev 48848
packaging: remove py2exe / Python 2.7 support 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 deleted. Differential Revision: https://phab.mercurial-scm.org/D12265
Sat, 19 Feb 2022 18:42:12 -0700 automation: delete code related to Python 2.7 support
Gregory Szorc <gregory.szorc@gmail.com> [Sat, 19 Feb 2022 18:42:12 -0700] rev 48847
automation: delete code related to Python 2.7 support 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 support Python 2, we can delete this argument and everything feeding into it. Differential Revision: https://phab.mercurial-scm.org/D12264
Sat, 19 Feb 2022 18:42:31 -0700 automation: drop support for Python 2.7 in Windows environment
Gregory Szorc <gregory.szorc@gmail.com> [Sat, 19 Feb 2022 18:42:31 -0700] rev 48846
automation: drop support for Python 2.7 in Windows environment 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.7 support cleanup to perform in automation. But this removes the biggest remaining chunk of references to 2.7. Differential Revision: https://phab.mercurial-scm.org/D12263
Sat, 19 Feb 2022 18:18:35 -0700 automation: drop support for Python 2.7 in Linux environment
Gregory Szorc <gregory.szorc@gmail.com> [Sat, 19 Feb 2022 18:18:35 -0700] rev 48845
automation: drop support for Python 2.7 in Linux environment 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. Differential Revision: https://phab.mercurial-scm.org/D12262
Sat, 19 Feb 2022 18:17:14 -0700 automation: make system3 the default for run-tests-linux
Gregory Szorc <gregory.szorc@gmail.com> [Sat, 19 Feb 2022 18:17:14 -0700] rev 48844
automation: make system3 the default for run-tests-linux We'll soon drop support for Python 2.7. Let's use Python 3 by default. Differential Revision: https://phab.mercurial-scm.org/D12261
Sat, 19 Feb 2022 18:04:49 -0700 automation: run hg with python3
Gregory Szorc <gregory.szorc@gmail.com> [Sat, 19 Feb 2022 18:04:49 -0700] rev 48843
automation: run hg with python3 Python 2.7 support will go away soon. Let's use Python 3 as part of the automation. Differential Revision: https://phab.mercurial-scm.org/D12260
Thu, 03 Mar 2022 07:53:11 +0100 rust: enable Python 3 support unconditionally
Simon Sapin <simon.sapin@octobus.net> [Thu, 03 Mar 2022 07:53:11 +0100] rev 48842
rust: enable Python 3 support unconditionally Note: `cpython/python3-sys` is a default feature. Differential Revision: https://phab.mercurial-scm.org/D12316
Thu, 03 Mar 2022 09:45:21 +0900 cext: really remove Python 2 file handling code
Yuya Nishihara <yuya@tcha.org> [Thu, 03 Mar 2022 09:45:21 +0900] rev 48841
cext: really remove Python 2 file handling code Disclaimer: This is _WIN32 code and I have no machine to test.
Thu, 03 Mar 2022 09:43:10 +0900 cext: backout e9ca736f5b52 "remove Python 2 file handling code"
Yuya Nishihara <yuya@tcha.org> [Thu, 03 Mar 2022 09:43:10 +0900] rev 48840
cext: backout e9ca736f5b52 "remove Python 2 file handling code" It's if"n"def.
Wed, 02 Mar 2022 10:32:36 -0500 rust: jettison Python 2 support
Augie Fackler <augie@google.com> [Wed, 02 Mar 2022 10:32:36 -0500] rev 48839
rust: jettison Python 2 support Differential Revision: https://phab.mercurial-scm.org/D12283
Wed, 02 Mar 2022 10:30:37 -0500 setup: always decode xcode version
Augie Fackler <augie@google.com> [Wed, 02 Mar 2022 10:30:37 -0500] rev 48838
setup: always decode xcode version Not decoding was a Python 2 thing. Differential Revision: https://phab.mercurial-scm.org/D12282
Wed, 02 Mar 2022 10:29:54 -0500 setup: remove Rust support for Python 2
Augie Fackler <augie@google.com> [Wed, 02 Mar 2022 10:29:54 -0500] rev 48837
setup: remove Rust support for Python 2 Differential Revision: https://phab.mercurial-scm.org/D12281
Wed, 02 Mar 2022 10:25:11 -0500 cleanup: stop bundling concurrent.futures on Python 2
Augie Fackler <augie@google.com> [Wed, 02 Mar 2022 10:25:11 -0500] rev 48836
cleanup: stop bundling concurrent.futures on Python 2 We no longer support Python 2. Differential Revision: https://phab.mercurial-scm.org/D12280
Wed, 02 Mar 2022 10:24:49 -0500 cleanup: directly use concurrent.futures instead of via pycompat
Augie Fackler <augie@google.com> [Wed, 02 Mar 2022 10:24:49 -0500] rev 48835
cleanup: directly use concurrent.futures instead of via pycompat Python 2 is gone. Differential Revision: https://phab.mercurial-scm.org/D12279
Wed, 02 Mar 2022 10:23:53 -0500 imports: allow importing futures from concurrent
Augie Fackler <augie@google.com> [Wed, 02 Mar 2022 10:23:53 -0500] rev 48834
imports: allow importing futures from concurrent Differential Revision: https://phab.mercurial-scm.org/D12278
Wed, 02 Mar 2022 10:14:24 -0500 setup: remove pygit2 Python 2 logic
Augie Fackler <augie@google.com> [Wed, 02 Mar 2022 10:14:24 -0500] rev 48833
setup: remove pygit2 Python 2 logic Differential Revision: https://phab.mercurial-scm.org/D12277
Wed, 02 Mar 2022 10:13:45 -0500 setup: inline now-constant list
Augie Fackler <augie@google.com> [Wed, 02 Mar 2022 10:13:45 -0500] rev 48832
setup: inline now-constant list This varied when we supported Python 2. Differential Revision: https://phab.mercurial-scm.org/D12276
Wed, 02 Mar 2022 10:13:09 -0500 setup: unconditionally do this python 3 step
Augie Fackler <augie@google.com> [Wed, 02 Mar 2022 10:13:09 -0500] rev 48831
setup: unconditionally do this python 3 step Differential Revision: https://phab.mercurial-scm.org/D12275
Wed, 02 Mar 2022 10:12:48 -0500 setup: remove Python 2 support code for determining dylib suffix
Augie Fackler <augie@google.com> [Wed, 02 Mar 2022 10:12:48 -0500] rev 48830
setup: remove Python 2 support code for determining dylib suffix Differential Revision: https://phab.mercurial-scm.org/D12274
Wed, 02 Mar 2022 10:12:17 -0500 setup: inline os.fsdecode now that we're done with Python 2
Augie Fackler <augie@google.com> [Wed, 02 Mar 2022 10:12:17 -0500] rev 48829
setup: inline os.fsdecode now that we're done with Python 2 Differential Revision: https://phab.mercurial-scm.org/D12273
Wed, 02 Mar 2022 10:11:37 -0500 setup: inline encoding constant that is only used once
Augie Fackler <augie@google.com> [Wed, 02 Mar 2022 10:11:37 -0500] rev 48828
setup: inline encoding constant that is only used once This was variable back when we supported Python 2. Differential Revision: https://phab.mercurial-scm.org/D12272
Wed, 02 Mar 2022 10:07:49 -0500 setup: remove printf trampoline
Augie Fackler <augie@google.com> [Wed, 02 Mar 2022 10:07:49 -0500] rev 48827
setup: remove printf trampoline Differential Revision: https://phab.mercurial-scm.org/D12271
Wed, 02 Mar 2022 10:07:21 -0500 setup: remove more Python 2 support code
Augie Fackler <augie@google.com> [Wed, 02 Mar 2022 10:07:21 -0500] rev 48826
setup: remove more Python 2 support code I'll inline print() etc in future patches. Differential Revision: https://phab.mercurial-scm.org/D12270
Wed, 02 Mar 2022 10:06:37 -0500 setup: remove ssl check that only matters on 2.7
Augie Fackler <augie@google.com> [Wed, 02 Mar 2022 10:06:37 -0500] rev 48825
setup: remove ssl check that only matters on 2.7 Differential Revision: https://phab.mercurial-scm.org/D12269
Wed, 02 Mar 2022 10:05:45 -0500 setup: remove block that tries to help Python 2.6 users
Augie Fackler <augie@google.com> [Wed, 02 Mar 2022 10:05:45 -0500] rev 48824
setup: remove block that tries to help Python 2.6 users It's time to move on folks. Differential Revision: https://phab.mercurial-scm.org/D12268
Wed, 02 Mar 2022 10:04:04 -0500 setup: drop statement of support for Python before 3.5.3
Augie Fackler <augie@google.com> [Wed, 02 Mar 2022 10:04:04 -0500] rev 48823
setup: drop statement of support for Python before 3.5.3 🎉🎉 Differential Revision: https://phab.mercurial-scm.org/D12266
Sun, 20 Feb 2022 16:11:21 -0700 cext: remove inline rewriting of argv
Gregory Szorc <gregory.szorc@gmail.com> [Sun, 20 Feb 2022 16:11:21 -0700] rev 48822
cext: remove inline rewriting of argv This only worked on Python 2. And since we dropped support for Python 2, we can drop support for this functionality. Differential Revision: https://phab.mercurial-scm.org/D12233
(0) -30000 -10000 -3000 -1000 -300 -100 -50 -30 +30 +50 +100 +300 +1000 tip