Opened 14 months ago
Closed 13 months ago
New point version.
As we discovered in IRC, 15 tests will fail with Python 3.10 installed. The DeprecationWarning for Distutils appears in a lot of diffed output. However, it's worth noting that the application itself does not seem to have any problems.
If you have enum34 installed (e.g. from running the Samba developer test suite), Mercurial will fail to run and crash with a backtrace on startup. This particular module seems to not be needed anymore, so I will remove it from Samba.
As usual, there are no release notes available yet.
The final test results:
Failed test-alias.t: output changed
Failed test-convert-git.t: output changed
Failed test-hghave.t: output changed
Failed test-hgrc.t: output changed
Failed test-http-api-httpv2.t: output changed
Failed test-http-bad-server.t: output changed
Failed test-http-protocol.t: output changed
Failed test-https.t: output changed
Failed test-parseindex.t: output changed
Failed test-patchbomb-tls.t: output changed
Failed test-paths.t: output changed
Failed test-removeemptydirs.t: output changed
Failed test-run-tests.t: output changed
Failed test-wireproto-command-capabilities.t: output changed
Failed test-wireproto-content-redirects.t: output changed
# Ran 875 tests, 110 skipped, 15 failed.
Most of these are due to simple newlines being added in places that they don't belong, potentially due to a change in behavior from Python 3.9 to Python 3.10.
Here's another example, has to do with SSL:
$ env P="$CERTSDIR" hg id https://localhost:$HGPORT/
+ /sources/mercurial-5.9.2/mercurial-5.9.2/tests/tmp/install/lib/python/mercurial/sslutil.py:310: DeprecationWarning: ssl.PROTOCOL_TLS is deprecated
+ sslcontext = ssl.SSLContext(ssl.PROTOCOL_SSLv23)
+ /sources/mercurial-5.9.2/mercurial-5.9.2/tests/tmp/install/lib/python/mercurial/sslutil.py:311: DeprecationWarning: ssl.OP_NO_SSL*/ssl.OP_NO_TLS* options are deprecated
+ sslcontext.options |= commonssloptions(settings[b'minimumprotocol'])
abort: error: * (glob)
Fixed at 8422a12c543c1ef3302a948d0507c88825baf06f
Powered by Trac 1.5.3.dev0
By Edgewall Software
© 1998-2022 Gerard Beekmans.