Opened 3 years ago

Closed 3 years ago

#15646 closed enhancement (fixed)

mercurial-5.9.2

Reported by: Bruce Dubbs Owned by: Douglas R. Reno
Priority: normal Milestone: 11.1
Component: BOOK Version: git
Severity: normal Keywords:
Cc:

Description

New point version.

Change History (6)

comment:1 by Douglas R. Reno, 3 years ago

Owner: changed from blfs-book to Douglas R. Reno
Status: newassigned

comment:2 by Douglas R. Reno, 3 years ago

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.

comment:3 by Douglas R. Reno, 3 years ago

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.

comment:4 by Douglas R. Reno, 3 years ago

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.

comment:5 by Douglas R. Reno, 3 years ago

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)
   [100]

comment:6 by Douglas R. Reno, 3 years ago

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.