mercurial.git
3 years agoDisabled hginstallscripts @LIBDIR@ replacement in setup.py.
Stefano Rivera [Sun, 16 Aug 2020 09:03:07 +0000 (11:03 +0200)]
Disabled hginstallscripts @LIBDIR@ replacement in setup.py.

Bug-Debian: http://bugs.debian.org/620087
Bug-Ubuntu: https://bugs.launchpad.net/bugs/745250
Forwarded: not-needed

setup.py replaces @LIBDIR@ in the hg script, with a path that differs between
Python versions.
libdir in hg doesn't need to be set if mercurial is available in the public
namespace, as it is in Debian.
hg doesn't alter sys.paths if this replacement hasn't happened.

Gbp-Pq: Name deb_specific__disable_libdir_replacement.patch

3 years agodeb_specific__optional-dependencies
Python Applications Packaging Team [Sun, 16 Aug 2020 09:03:07 +0000 (11:03 +0200)]
deb_specific__optional-dependencies

Suggest Debian packages for some optional dependencies.

Gbp-Pq: Name deb_specific__optional-dependencies

3 years agodeb_specific__hgk.py
Python Applications Packaging Team [Sun, 16 Aug 2020 09:03:07 +0000 (11:03 +0200)]
deb_specific__hgk.py

Set default hgk path for hgk outside bin.

Gbp-Pq: Name deb_specific__hgk.py.patch

3 years agoproposed_upstream__doctest.path
Debian Python Team [Tue, 7 Jun 2022 18:53:46 +0000 (19:53 +0100)]
proposed_upstream__doctest.path

# HG changeset patch
# User Julien Cristau <jcristau@debian.org>
# Date 1589916203 -7200
#      Tue May 19 21:23:23 2020 +0200
# Node ID de789b6b188b62cf38c5c5cfe760cff9a48c52f5
# Parent  3b7aabd02e11fcfc015b3a90a0c52d971a7b8a83
test: make test-doctest.py work when it's not run from a mercurial repo

This assumption fails when building and running tests from a source
tarball, e.g.

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

Gbp-Pq: Name proposed_upstream__doctest.path

3 years ago_tests__silence_asyncore_smtpd_deprecation_warnings
Debian Python Team [Tue, 7 Jun 2022 18:53:46 +0000 (19:53 +0100)]
_tests__silence_asyncore_smtpd_deprecation_warnings

# HG changeset patch
# User Julien Cristau <jcristau@debian.org>
# Date 1649671433 -7200
#      Mon Apr 11 12:03:53 2022 +0200
# Node ID d3df32e12246208fc8bb9507ff921099348c6783
# Parent  5005928cac60a43d98d88523713983efdc204d50
tests: silence asyncore/smtpd deprecation warnings

Gbp-Pq: Topic py310
Gbp-Pq: Name 9_tests__silence_asyncore_smtpd_deprecation_warnings.patch

3 years ago_test__deal_with_changed_error_message_on_python_3_10
Debian Python Team [Tue, 7 Jun 2022 18:53:46 +0000 (19:53 +0100)]
_test__deal_with_changed_error_message_on_python_3_10

# HG changeset patch
# User Julien Cristau <jcristau@debian.org>
# Date 1649668495 -7200
#      Mon Apr 11 11:14:55 2022 +0200
# Node ID 49aa7c550e8c05d537dbb4d78b1d3e541754dcb6
# Parent  36b3fa18a82ba359f6c707f583ec26596d8ee479
test: deal with changed error message on python 3.10

Gbp-Pq: Topic py310
Gbp-Pq: Name 8_test__deal_with_changed_error_message_on_python_3_10.patch

3 years ago_test__accept_another_error_message_on_lack_of_TLS_client_certificate
Debian Python Team [Tue, 7 Jun 2022 18:53:46 +0000 (19:53 +0100)]
_test__accept_another_error_message_on_lack_of_TLS_client_certificate

# HG changeset patch
# User Julien Cristau <jcristau@debian.org>
# Date 1649508210 -7200
#      Sat Apr 09 14:43:30 2022 +0200
# Node ID 36b3fa18a82ba359f6c707f583ec26596d8ee479
# Parent  416d9bf1c5eaeba34bbc25baee37ae32e81d50f1
test: accept another error message on lack of TLS client certificate

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

Gbp-Pq: Topic py310
Gbp-Pq: Name 7_test__accept_another_error_message_on_lack_of_TLS_client_certificate.patch

3 years ago_sslutil__treat_TLSV1_ALERT_PROTOCOL_VERSION_error_the_same_as_UNSUPPORTED_PROTOCOL
Debian Python Team [Tue, 7 Jun 2022 18:53:46 +0000 (19:53 +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 [Tue, 7 Jun 2022 18:53:46 +0000 (19:53 +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 [Tue, 7 Jun 2022 18:53:46 +0000 (19:53 +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 [Tue, 7 Jun 2022 18:53:46 +0000 (19:53 +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 [Tue, 7 Jun 2022 18:53:46 +0000 (19:53 +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 [Tue, 7 Jun 2022 18:53:46 +0000 (19:53 +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.3-1) sid; urgency=medium
Julien Cristau [Tue, 7 Jun 2022 18:53:46 +0000 (19:53 +0100)]
mercurial (6.1.3-1) sid; urgency=medium

  * Blocklist test-convert-cvs-synthetic.t.
  * New upstream bugfix release.

[dgit import unpatched mercurial 6.1.3-1]

3 years agoImport mercurial_6.1.3.orig.tar.gz
Julien Cristau [Tue, 7 Jun 2022 18:53:46 +0000 (19:53 +0100)]
Import mercurial_6.1.3.orig.tar.gz

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

3 years agoImport mercurial_6.1.3-1.debian.tar.xz
Julien Cristau [Tue, 7 Jun 2022 18:53:46 +0000 (19:53 +0100)]
Import mercurial_6.1.3-1.debian.tar.xz

[dgit import tarball mercurial 6.1.3-1 mercurial_6.1.3-1.debian.tar.xz]