[PATCH stable] rust: bump to memmap2 0.5.3, micro-timer 0.4.0, and crossbeam-channel 0.5.0

2022-07-11 Thread Mads Kiilerich
# HG changeset patch # User Mads Kiilerich # Date 1657572476 -7200 # Mon Jul 11 22:47:56 2022 +0200 # Branch stable # Node ID f1713e81437e894fab0658e4f410184e10d35e5e # Parent 55adff8105464f6247983940ba109684d36b689d rust: bump to memmap2 0.5.3, micro-timer 0.4.0, and crossbeam-channel

Re: [PATCH stable] rust: bump to memmap2 0.5.3, micro-timer 0.4.0, and crossbeam-channel 0.5.0

2022-07-29 Thread Mads Kiilerich
Raphaël, could you please have a look at this? /Mads On 7/11/22 23:03, Mads Kiilerich wrote: # HG changeset patch # User Mads Kiilerich # Date 1657572476 -7200 # Mon Jul 11 22:47:56 2022 +0200 # Branch stable # Node ID f1713e81437e894fab0658e4f410184e10d35e5e # Parent

Re: [PATCH 4 of 4 stable] hg-core: upgrade `zstd` dependency to 0.12

2023-03-10 Thread Mads Kiilerich
for stable, but last time I queued something from the ML I think I angered the heptapod gods, so I’ll tag a couple of people that can hopefully push this on our behalf. AF On Mar 7, 2023, at 13:23, Mads Kiilerich wrote: # HG changeset patch # User Mads Kiilerich # Date 1678212582 -3600

Re: [PATCH 4 of 4 stable] hg-core: upgrade `zstd` dependency to 0.12

2023-03-14 Thread Mads Kiilerich
On 13/03/2023 15:44, Raphaël Gomès wrote: The idea is to have everything run through the CI. Contributions going through the repo and thus Heptapod makes it much easier for reviewers. Email remains as the lowest bar of entry (since you don't need an account and two out-of-core extensions) and

[PATCH 1 of 4 stable] cext: fix for PyLong refactoring in CPython 3.12

2023-03-07 Thread Mads Kiilerich
# HG changeset patch # User Mads Kiilerich # Date 1678202751 -3600 # Tue Mar 07 16:25:51 2023 +0100 # Branch stable # Node ID 1efa4e96f6461bf071b28d66b13bdb67fdc91fc6 # Parent 8a65b43457aba02741bedabe100823d3041af0b5 cext: fix for PyLong refactoring in CPython 3.12 Compiling Mercurial

[PATCH 4 of 4 stable] hg-core: upgrade `zstd` dependency to 0.12

2023-03-07 Thread Mads Kiilerich
# HG changeset patch # User Mads Kiilerich # Date 1678212582 -3600 # Tue Mar 07 19:09:42 2023 +0100 # Branch stable # Node ID 98085f80f5b0c786dad342ad1eb9335dda653496 # Parent 6ab12a75c936e0f1bf4305b9fdf9960219d1a39c hg-core: upgrade `zstd` dependency to 0.12 zstd was recently upgraded

[PATCH 2 of 4 stable] py3: fix for Python 3.12 emitting SyntaxWarning on invalid escape sequences

2023-03-07 Thread Mads Kiilerich
# HG changeset patch # User Mads Kiilerich # Date 1678203954 -3600 # Tue Mar 07 16:45:54 2023 +0100 # Branch stable # Node ID 72ba5a6dbb52570fbdfa07ce15ac6ad88e35f63c # Parent 1efa4e96f6461bf071b28d66b13bdb67fdc91fc6 py3: fix for Python 3.12 emitting SyntaxWarning on invalid escape

[PATCH 3 of 4 stable] statprof: with Python 3.12, lineno is (more) often None

2023-03-07 Thread Mads Kiilerich
# HG changeset patch # User Mads Kiilerich # Date 1678205618 -3600 # Tue Mar 07 17:13:38 2023 +0100 # Branch stable # Node ID 6ab12a75c936e0f1bf4305b9fdf9960219d1a39c # Parent 72ba5a6dbb52570fbdfa07ce15ac6ad88e35f63c statprof: with Python 3.12, lineno is (more) often None test-profile.t

Re: [PATCH 1 of 2] py3: fix for Python 3.12 emitting SyntaxWarning on invalid escape sequences

2023-03-21 Thread Mads Kiilerich
Thanks for landing the previous 3.12 fixes. But I missed one fix ... The remaining test failures on 3.12 are mostly from the removal (asyncore, smtpd and distutils) and deprecation (cgitb) in standard library. /Mads ___ Mercurial-devel mailing list

[PATCH 3 of 5 stable] tests: update test-serve.t to use $EACCES$

2023-03-22 Thread Mads Kiilerich
# HG changeset patch # User Mads Kiilerich # Date 1679494603 -3600 # Wed Mar 22 15:16:43 2023 +0100 # Branch stable # Node ID d641581ee136281971555adc05049b826e995fed # Parent 0a2a580319267132acd4ab558b0bfcd4f995a50f tests: update test-serve.t to use $EACCES$ diff --git a/tests/test

[PATCH 2 of 5 stable] tests: update test-transaction-rollback-on-revlog-split.t after e2ba2234bf1c

2023-03-22 Thread Mads Kiilerich
# HG changeset patch # User Mads Kiilerich # Date 1679494192 -3600 # Wed Mar 22 15:09:52 2023 +0100 # Branch stable # Node ID 0a2a580319267132acd4ab558b0bfcd4f995a50f # Parent 34c33da95b1aede3c9e63d1508570e2d8c620d9c tests: update test-transaction-rollback-on-revlog-split.t after

[PATCH 4 of 5 stable] tests: skip test-https.t TLSv1 testing when system doesn't support it

2023-03-22 Thread Mads Kiilerich
# HG changeset patch # User Mads Kiilerich # Date 1679500739 -3600 # Wed Mar 22 16:58:59 2023 +0100 # Branch stable # Node ID 7c544bc71aaca594998649ae02d35fb4dd7606b4 # Parent d641581ee136281971555adc05049b826e995fed tests: skip test-https.t TLSv1 testing when system doesn't support

[PATCH 1 of 5 stable] tests: avoid using black >= 21

2023-03-22 Thread Mads Kiilerich
# HG changeset patch # User Mads Kiilerich # Date 1679416596 -3600 # Tue Mar 21 17:36:36 2023 +0100 # Branch stable # Node ID 34c33da95b1aede3c9e63d1508570e2d8c620d9c # Parent 4be9ecc982e19362747497276fa0841941787d08 tests: avoid using black >= 21 Different formatting will make test-ch

[PATCH 5 of 5 stable] tests: update test-remotefilelog-gc.t for Python 3.11

2023-03-22 Thread Mads Kiilerich
# HG changeset patch # User Mads Kiilerich # Date 1679497559 -3600 # Wed Mar 22 16:05:59 2023 +0100 # Branch stable # Node ID 2ba2e699e4c38398ab4d408e7cd3d3f148ea11c1 # Parent 7c544bc71aaca594998649ae02d35fb4dd7606b4 tests: update test-remotefilelog-gc.t for Python 3.11 The test output

[PATCH 1 of 2] py3: fix for Python 3.12 emitting SyntaxWarning on invalid escape sequences

2023-03-21 Thread Mads Kiilerich
# HG changeset patch # User Mads Kiilerich # Date 1679414842 -3600 # Tue Mar 21 17:07:22 2023 +0100 # Branch stable # Node ID 812482250f8d49159bb3024f08e0db38d0bad565 # Parent 87f0155d68aa56dcba2326692fff893c283cca96 py3: fix for Python 3.12 emitting SyntaxWarning on invalid escape

[PATCH 2 of 2] tests: avoid using black >= 21

2023-03-21 Thread Mads Kiilerich
# HG changeset patch # User Mads Kiilerich # Date 1679416596 -3600 # Tue Mar 21 17:36:36 2023 +0100 # Branch stable # Node ID c6a1fc106a05b608983caced38a1849b2f4b476f # Parent 812482250f8d49159bb3024f08e0db38d0bad565 tests: avoid using black >= 21 Different formatting will make test-ch

[PATCH 5 of 6] utils: imp module is removed in Python 3.12 - get is_frozen() from _imp

2023-06-28 Thread Mads Kiilerich
# HG changeset patch # User Mads Kiilerich # Date 1687863903 -7200 # Tue Jun 27 13:05:03 2023 +0200 # Branch stable # Node ID f45267a4d61f7687727efa7fe571d4f2522a3bb6 # Parent 85a1bdb7d945c647670761676c97ce716fe3796d utils: imp module is removed in Python 3.12 - get is_frozen() from _imp

[PATCH 6 of 6] extensions: imp module is removed in Python 3.12 - use importlib to load files

2023-06-28 Thread Mads Kiilerich
# HG changeset patch # User Mads Kiilerich # Date 1687954993 -7200 # Wed Jun 28 14:23:13 2023 +0200 # Branch stable # Node ID 24d8509e44785f94047efebbcbb38986323913cd # Parent f45267a4d61f7687727efa7fe571d4f2522a3bb6 extensions: imp module is removed in Python 3.12 - use importlib to load

Re: [PATCH 1 of 6] utils: stop using datetime.utcfromtimestamp() deprecated in Python 3.12

2023-06-29 Thread Mads Kiilerich
On 28/06/2023 16:43, Mads Kiilerich wrote: # HG changeset patch # User Mads Kiilerich # Date 1687866710 -7200 # Tue Jun 27 13:51:50 2023 +0200 # Branch stable # Node ID ec46e9b39b2a6f5d0c59aa803e2eb5d9dfc44cc3 # Parent 2b0598121a71fa19c2174e4eee3400ec3a3b1c26 utils: stop using

[PATCH 06 of 10] tests: improve test-patchbomb-tls.t by by logging errors and data

2023-06-27 Thread Mads Kiilerich
# HG changeset patch # User Mads Kiilerich # Date 1687787499 -7200 # Mon Jun 26 15:51:39 2023 +0200 # Branch stable # Node ID 22a8aa225c38766ddd29c51348dd4484b5e58f59 # Parent 54a4e277ff2c32c7fd67bebfb04cac25034cc2b2 tests: improve test-patchbomb-tls.t by by logging errors and data

[PATCH 05 of 10] tests: show test-patchbomb-tls.t smtp server log

2023-06-27 Thread Mads Kiilerich
# HG changeset patch # User Mads Kiilerich # Date 1679586524 -3600 # Thu Mar 23 16:48:44 2023 +0100 # Branch stable # Node ID 54a4e277ff2c32c7fd67bebfb04cac25034cc2b2 # Parent 8687d17528a1fe764572c402f2d0198d5a6c8fbc tests: show test-patchbomb-tls.t smtp server log Improve test coverage

[PATCH 07 of 10] tests: fix dummysmtpd argument check

2023-06-27 Thread Mads Kiilerich
# HG changeset patch # User Mads Kiilerich # Date 1687790713 -7200 # Mon Jun 26 16:45:13 2023 +0200 # Branch stable # Node ID 0fc04b7dda3c22b6eda5385e59be8307f883a88e # Parent 22a8aa225c38766ddd29c51348dd4484b5e58f59 tests: fix dummysmtpd argument check diff --git a/tests/dummysmtpd.py b

[PATCH 08 of 10] tests: use simple mock smtp server instead of deprecated asyncore smtpd

2023-06-27 Thread Mads Kiilerich
# HG changeset patch # User Mads Kiilerich # Date 1679586312 -3600 # Thu Mar 23 16:45:12 2023 +0100 # Branch stable # Node ID 7d0800b9c059349f6ad373215e718ddc7455ee91 # Parent 0fc04b7dda3c22b6eda5385e59be8307f883a88e tests: use simple mock smtp server instead of deprecated asyncore smtpd

[PATCH 04 of 10] demandimport: don't delay _distutils_hack import

2023-06-27 Thread Mads Kiilerich
# HG changeset patch # User Mads Kiilerich # Date 1687908670 -7200 # Wed Jun 28 01:31:10 2023 +0200 # Branch stable # Node ID 8687d17528a1fe764572c402f2d0198d5a6c8fbc # Parent deb45f7a7f7bdc36c36f7bfb63c36701b44972ab demandimport: don't delay _distutils_hack import test-demandimport.py

[PATCH 03 of 10] tests: update test-remotefilelog-gc.t for Python 3.11

2023-06-27 Thread Mads Kiilerich
# HG changeset patch # User Mads Kiilerich # Date 1679497559 -3600 # Wed Mar 22 16:05:59 2023 +0100 # Branch stable # Node ID deb45f7a7f7bdc36c36f7bfb63c36701b44972ab # Parent 141a32ae6e30dc9bdf0e742f240734afa37f3054 tests: update test-remotefilelog-gc.t for Python 3.11 The test output

[PATCH 02 of 10] tests: use grep -F instead of obsolescent fgrep

2023-06-27 Thread Mads Kiilerich
# HG changeset patch # User Mads Kiilerich # Date 1687784040 -7200 # Mon Jun 26 14:54:00 2023 +0200 # Branch stable # Node ID 141a32ae6e30dc9bdf0e742f240734afa37f3054 # Parent 2790b07cd5da2be40fd5299ae114a49eb6196e55 tests: use grep -F instead of obsolescent fgrep Testing on Fedora 38

[PATCH 09 of 10] setup: fall back to setuptools setup if distutils isn't available

2023-06-27 Thread Mads Kiilerich
# HG changeset patch # User Mads Kiilerich # Date 1687860557 -7200 # Tue Jun 27 12:09:17 2023 +0200 # Branch stable # Node ID 5a32d6ab784657d51dc02c9e86ad92d4efd21ee8 # Parent 7d0800b9c059349f6ad373215e718ddc7455ee91 setup: fall back to setuptools setup if distutils isn't available

[PATCH 10 of 10] hgweb: drop references to deprecated cgitb

2023-06-27 Thread Mads Kiilerich
# HG changeset patch # User Mads Kiilerich # Date 1687795228 -7200 # Mon Jun 26 18:00:28 2023 +0200 # Branch stable # Node ID 6ca3c985d3fe233bde88057e1a04f6c2c5ab71fd # Parent 5a32d6ab784657d51dc02c9e86ad92d4efd21ee8 hgweb: drop references to deprecated cgitb cgitb is going away and gives

[PATCH 2 of 6] tests: fix sortdict doctest with Python 3.12

2023-06-28 Thread Mads Kiilerich
# HG changeset patch # User Mads Kiilerich # Date 1687853351 -7200 # Tue Jun 27 10:09:11 2023 +0200 # Branch stable # Node ID 27c7a6d21b9dae4d465a569480331d2467b423f2 # Parent ec46e9b39b2a6f5d0c59aa803e2eb5d9dfc44cc3 tests: fix sortdict doctest with Python 3.12 The output of OrderedDict

[PATCH 3 of 6] vfs: handle shutil.rmtree deprecation of onerror in Python 3.12

2023-06-28 Thread Mads Kiilerich
# HG changeset patch # User Mads Kiilerich # Date 1687847952 -7200 # Tue Jun 27 08:39:12 2023 +0200 # Branch stable # Node ID b6633799949e428d27f7704636da0da31a599e6b # Parent 27c7a6d21b9dae4d465a569480331d2467b423f2 vfs: handle shutil.rmtree deprecation of onerror in Python 3.12 Tests

[PATCH 4 of 6] extensions: address ast deprecations introduced in Python 3.12

2023-06-28 Thread Mads Kiilerich
# HG changeset patch # User Mads Kiilerich # Date 1687897904 -7200 # Tue Jun 27 22:31:44 2023 +0200 # Branch stable # Node ID 85a1bdb7d945c647670761676c97ce716fe3796d # Parent b6633799949e428d27f7704636da0da31a599e6b extensions: address ast deprecations introduced in Python 3.12 Tests

[PATCH 1 of 6] utils: stop using datetime.utcfromtimestamp() deprecated in Python 3.12

2023-06-28 Thread Mads Kiilerich
# HG changeset patch # User Mads Kiilerich # Date 1687866710 -7200 # Tue Jun 27 13:51:50 2023 +0200 # Branch stable # Node ID ec46e9b39b2a6f5d0c59aa803e2eb5d9dfc44cc3 # Parent 2b0598121a71fa19c2174e4eee3400ec3a3b1c26 utils: stop using datetime.utcfromtimestamp() deprecated in Python 3.12

[PATCH 2 of 5] python3.13: fix resourceutil for removed deprecated importlib.resources

2024-01-11 Thread Mads Kiilerich
# HG changeset patch # User Mads Kiilerich # Date 1705001574 -3600 # Thu Jan 11 20:32:54 2024 +0100 # Branch stable # Node ID a06a7677696d8fa4fc3e33923425ef3fadd6f441 # Parent ab3021e9b0012db64e5bdc70e3f5a36324925d8c python3.13: fix resourceutil for removed deprecated importlib.resources

[PATCH 3 of 5] python3.13: address deprecation of re.sub positional argument 'count'

2024-01-11 Thread Mads Kiilerich
# HG changeset patch # User Mads Kiilerich # Date 1705006735 -3600 # Thu Jan 11 21:58:55 2024 +0100 # Branch stable # Node ID 8e16bc622b04e2eabb3a47138aa3bdffba03e142 # Parent a06a7677696d8fa4fc3e33923425ef3fadd6f441 python3.13: address deprecation of re.sub positional argument 'count

[PATCH 5 of 5] rust: update to toml 0.8

2024-01-11 Thread Mads Kiilerich
# HG changeset patch # User Mads Kiilerich # Date 1704999033 -3600 # Thu Jan 11 19:50:33 2024 +0100 # Branch stable # Node ID 646c00200241229c23dad41b1d086a610aff08b2 # Parent f2e61759ac0e0125e275acc72bda8a00258762b9 rust: update to toml 0.8 This is needed for Fedora packaging. diff --git

[PATCH 1 of 5] python3.13: use sys.executable instead of removed Py_GetProgramFullPath

2024-01-11 Thread Mads Kiilerich
# HG changeset patch # User Mads Kiilerich # Date 1705001527 -3600 # Thu Jan 11 20:32:07 2024 +0100 # Branch stable # Node ID ab3021e9b0012db64e5bdc70e3f5a36324925d8c # Parent 3f87e0d305cda6e66139a1969cd2cedd45477139 python3.13: use sys.executable instead of removed Py_GetProgramFullPath I