mercurial.git
3 years ago_sslutil__treat_TLSV1_ALERT_PROTOCOL_VERSION_error_the_same_as_UNSUPPORTED_PROTOCOL
Debian Python Team [Mon, 11 Apr 2022 12:08:09 +0000 (13:08 +0100)]
_sslutil__treat_TLSV1_ALERT_PROTOCOL_VERSION_error_the_same_as_UNSUPPORTED_PROTOCOL

# HG changeset patch
# User Julien Cristau <jcristau@debian.org>
# Date 1649508115 -7200
#      Sat Apr 09 14:41:55 2022 +0200
# Node ID 416d9bf1c5eaeba34bbc25baee37ae32e81d50f1
# Parent  41f738aed141d3a29c5ed5d33a9e79cad15b0669
sslutil: treat TLSV1_ALERT_PROTOCOL_VERSION error the same as UNSUPPORTED_PROTOCOL

It looks like python 3.10 returns a different reason code on protocol
version mismatch.

Differential Revision: https://phab.mercurial-scm.org/D12491

Gbp-Pq: Topic py310
Gbp-Pq: Name 6_sslutil__treat_TLSV1_ALERT_PROTOCOL_VERSION_error_the_same_as_UNSUPPORTED_PROTOCOL.patch

3 years ago_test__override_default_cipher_selection_when_connecting_to_TLS_1_0_1_1_servers
Debian Python Team [Mon, 11 Apr 2022 12:08:09 +0000 (13:08 +0100)]
_test__override_default_cipher_selection_when_connecting_to_TLS_1_0_1_1_servers

# HG changeset patch
# User Julien Cristau <jcristau@debian.org>
# Date 1649507297 -7200
#      Sat Apr 09 14:28:17 2022 +0200
# Node ID 41f738aed141d3a29c5ed5d33a9e79cad15b0669
# Parent  c871c4fbc94f88e8c78a6bd4ece15d239cbdea10
test: override default cipher selection when connecting to TLS 1.0/1.1 servers

The default set of ciphers on python 3.10 is incompatible with old TLS
versions.

Differential Revision: https://phab.mercurial-scm.org/D12490

Gbp-Pq: Topic py310
Gbp-Pq: Name 5_test__override_default_cipher_selection_when_connecting_to_TLS_1_0_1_1_servers.patch

3 years ago_sslutil__be_less_strict_about_which_ciphers_are_allowed_when_using___insecure
Debian Python Team [Mon, 11 Apr 2022 12:08:09 +0000 (13:08 +0100)]
_sslutil__be_less_strict_about_which_ciphers_are_allowed_when_using___insecure

# HG changeset patch
# User Julien Cristau <jcristau@debian.org>
# Date 1649507032 -7200
#      Sat Apr 09 14:23:52 2022 +0200
# Node ID c871c4fbc94f88e8c78a6bd4ece15d239cbdea10
# Parent  410916fc5935c7855c2cf4876d8311d34aabc29a
sslutil: be less strict about which ciphers are allowed when using --insecure

Python 3.10 restricted which ciphers are enabled by default, leading to
no available ciphers for TLS < 1.2.  When using the --insecure flag we
allow old TLS, so also adjust the cipher list to give connections a
chance to work.

On the server side, also loosen the cipher selection in tests (when
using the devel.serverexactprotocol option).

Differential Revision: https://phab.mercurial-scm.org/D12489

Gbp-Pq: Topic py310
Gbp-Pq: Name 4_sslutil__be_less_strict_about_which_ciphers_are_allowed_when_using___insecure.patch

3 years ago_sslutil__avoid_deprecation_warnings_from_python_3_10_s_ssl_module
Debian Python Team [Mon, 11 Apr 2022 12:08:09 +0000 (13:08 +0100)]
_sslutil__avoid_deprecation_warnings_from_python_3_10_s_ssl_module

# HG changeset patch
# User Julien Cristau <jcristau@debian.org>
# Date 1649506532 -7200
#      Sat Apr 09 14:15:32 2022 +0200
# Node ID 410916fc5935c7855c2cf4876d8311d34aabc29a
# Parent  96cc0ab5e1e68e4e163e8933842f908dcf42897a
sslutil: avoid deprecation warnings from python 3.10's ssl module

Use ssl.PROTOCOL_TLS_{CLIENT,SERVER} and
SSLContext.{min,max}imum_version when supported (3.7+).

And, catch deprecation warnings when the user asks for deprecated TLS
versions (1.0 and 1.1).

Differential Revision: https://phab.mercurial-scm.org/D12488

Gbp-Pq: Topic py310
Gbp-Pq: Name 3_sslutil__avoid_deprecation_warnings_from_python_3_10_s_ssl_module.patch

3 years ago_run_tests__silence_distutils_deprecation_warning
Debian Python Team [Mon, 11 Apr 2022 12:08:09 +0000 (13:08 +0100)]
_run_tests__silence_distutils_deprecation_warning

# HG changeset patch
# User Julien Cristau <jcristau@debian.org>
# Date 1649431378 -7200
#      Fri Apr 08 17:22:58 2022 +0200
# Node ID 96cc0ab5e1e68e4e163e8933842f908dcf42897a
# Parent  ff73927e33968c053bc245884deddb78f5fb6212
run-tests: silence distutils deprecation warning

Gbp-Pq: Topic py310
Gbp-Pq: Name 2_run_tests__silence_distutils_deprecation_warning.patch

3 years ago_zeroconf__fix_deprecation_warning_with_python_3_10
Debian Python Team [Mon, 11 Apr 2022 12:08:09 +0000 (13:08 +0100)]
_zeroconf__fix_deprecation_warning_with_python_3_10

# HG changeset patch
# User Julien Cristau <jcristau@debian.org>
# Date 1649276989 -7200
#      Wed Apr 06 22:29:49 2022 +0200
# Node ID ff73927e33968c053bc245884deddb78f5fb6212
# Parent  b6f535f3beda19406d5f869f5a3ba33f04bf7aa0
zeroconf: fix deprecation warning with python 3.10

threading.condition.notifyAll → threading.condition.notify_all

Differential Revision: https://phab.mercurial-scm.org/D12487

Gbp-Pq: Topic py310
Gbp-Pq: Name 1_zeroconf__fix_deprecation_warning_with_python_3_10.patch

3 years agomercurial (6.1.1-1) sid; urgency=medium
Julien Cristau [Mon, 11 Apr 2022 12:08:09 +0000 (13:08 +0100)]
mercurial (6.1.1-1) sid; urgency=medium

  * New upstream bugfix release.
  * Fix test failures with python 3.10 (closes: #1008747).

[dgit import unpatched mercurial 6.1.1-1]

3 years agoImport mercurial_6.1.1.orig.tar.gz
Julien Cristau [Mon, 11 Apr 2022 12:08:09 +0000 (13:08 +0100)]
Import mercurial_6.1.1.orig.tar.gz

[dgit import orig mercurial_6.1.1.orig.tar.gz]

3 years agoImport mercurial_6.1.1-1.debian.tar.xz
Julien Cristau [Mon, 11 Apr 2022 12:08:09 +0000 (13:08 +0100)]
Import mercurial_6.1.1-1.debian.tar.xz

[dgit import tarball mercurial 6.1.1-1 mercurial_6.1.1-1.debian.tar.xz]