SRU: update Python 3.7 to the 3.7.1 release

Bug #1799202 reported by Matthias Klose on 2018-10-22
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python3-defaults (Ubuntu)
Undecided
Unassigned
Bionic
Undecided
Unassigned
Cosmic
Undecided
Unassigned
python3-stdlib-extensions (Ubuntu)
Undecided
Unassigned
Bionic
Undecided
Unassigned
Cosmic
Undecided
Unassigned
python3.7 (Ubuntu)
Undecided
Unassigned
Bionic
Undecided
Unassigned
Cosmic
Undecided
Unassigned

Bug Description

SRU: update Python 3.7 to the 3.7.1 release. 3.7.1 is the first maintenance release, update both 18.04 LTS and 18.10 to the release. For 18.10 it's just one bug fix compared to the release candidate 2.

python3-stdlib-extensions also updates the modules to the 3.6.7 release for Python 3.6.

Acceptance Criteria: The package builds, and the test suite doesn't show regressions. The test suite passes in the autopkg tests.

Regression Potential: Python 3.7 isn't used by default, so we don't have many default users.

CVE References

Matthias Klose (doko) wrote :
Download full text (22.4 KiB)

What's New in Python 3.7.1 final?
=================================

*Release date: 2018-10-20*

Library
-------

- bpo-34970: Protect tasks weak set manipulation in ``asyncio.all_tasks()``

What's New in Python 3.7.1 release candidate 2?
===============================================

*Release date: 2018-10-13*

Core and Builtins
-----------------

- bpo-34879: Fix a possible null pointer dereference in bytesobject.c.
  Patch by Zackery Spytz.

- bpo-34854: Fixed a crash in compiling string annotations containing a
  lambda with a keyword-only argument that doesn't have a default value.

- bpo-34320: Fix ``dict(od)`` didn't copy iteration order of OrderedDict.

Library
-------

- bpo-34769: Fix for async generators not finalizing when event loop is in
  debug mode and garbage collector runs in another thread.

- bpo-34922: Fixed integer overflow in the :meth:`~hashlib.shake.digest()`
  and :meth:`~hashlib.shake.hexdigest()` methods for the SHAKE algorithm in
  the :mod:`hashlib` module.

- bpo-34909: Enum: fix grandchildren subclassing when parent mixed with
  concrete data types.

- bpo-34900: Fixed :meth:`unittest.TestCase.debug` when used to call test
  methods with subtests. Patch by Bruno Oliveira.

- bpo-34871: Fix inspect module polluted ``sys.modules`` when parsing
  ``__text_signature__`` of callable.

- bpo-34872: Fix self-cancellation in C implementation of asyncio.Task

- bpo-34819: Use a monotonic clock to compute timeouts in
  :meth:`Executor.map` and :func:`as_completed`, in order to prevent
  timeouts from deviating when the system clock is adjusted.

- bpo-34521: Use :func:`socket.CMSG_SPACE` to calculate ancillary data size
  instead of :func:`socket.CMSG_LEN` in
  :func:`multiprocessing.reduction.recvfds` as :rfc:`3542` requires the use
  of the former for portable applications.

- bpo-34334: In :class:`QueueHandler`, clear `exc_text` from
  :class:`LogRecord` to prevent traceback from being written twice.

- bpo-6721: Acquire the logging module's commonly used internal locks while
  fork()ing to avoid deadlocks in the child process.

- bpo-34172: Fix a reference issue inside multiprocessing.Pool that caused
  the pool to remain alive if it was deleted without being closed or
  terminated explicitly.

Documentation
-------------

- bpo-32174: chm document displays non-ASCII charaters properly on some MBCS
  Windows systems.

Tests
-----

- bpo-32962: Fixed test_gdb when Python is compiled with flags -mcet
  -fcf-protection -O0.

macOS
-----

- bpo-34370: Revert to using the released Tk 8.6.8 with macOS installers
  instead of the Tk 8.6.x development snapshot used with 3.7.1rc1 and
  3.6.7rc1. The snapshot introduced at least one significant regression
  (bpo-34927).

C API
-----

- bpo-34910: Ensure that :c:func:`PyObject_Print` always returns ``-1`` on
  error. Patch by Zackery Spytz.

What's New in Python 3.7.1 release candidate 1?
===============================================

*Release date: 2018-09-26*

Security
--------

- bpo-17239: The xml.sax and xml.dom.minidom parsers no longer processes
  external entities by default. External DTD and ENTITY declarations no
  longer load files or create network connectio...

Hello Matthias, or anyone else affected,

Accepted python3.7 into cosmic-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/python3.7/3.7.1-1~18.10 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested and change the tag from verification-needed-cosmic to verification-done-cosmic. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-cosmic. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance for helping!

N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.

Changed in python3.7 (Ubuntu Cosmic):
status: New → Fix Committed
tags: added: verification-needed verification-needed-cosmic
Łukasz Zemczak (sil2100) wrote :

This backport SRU to bionic also includes the py37-breaks addition. Just making sure here: are these breaks versioning also good for bionic? What I mean is, it's possible (although highly improbable) that an SRU might have been released to bionic of one of these packages fixing 3.7 compatibility. Did you make sure all of these packages in bionic with version numbers lower than the ones listed are indeed broken?

Łukasz Zemczak (sil2100) wrote :

Hello Matthias, or anyone else affected,

Accepted python3.7 into bionic-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/python3.7/3.7.1-1~18.04 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested and change the tag from verification-needed-bionic to verification-done-bionic. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-bionic. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance for helping!

N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.

Changed in python3.7 (Ubuntu Bionic):
status: New → Fix Committed
tags: added: verification-needed-bionic
Łukasz Zemczak (sil2100) wrote :

Hello Matthias, or anyone else affected,

Accepted python3-stdlib-extensions into cosmic-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/python3-stdlib-extensions/3.6.7-1~18.10 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested and change the tag from verification-needed-cosmic to verification-done-cosmic. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-cosmic. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance for helping!

N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.

Changed in python3-stdlib-extensions (Ubuntu Cosmic):
status: New → Fix Committed
Łukasz Zemczak (sil2100) wrote :

Hello Matthias, or anyone else affected,

Accepted python3-stdlib-extensions into bionic-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/python3-stdlib-extensions/3.6.7-1~18.04 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested and change the tag from verification-needed-bionic to verification-done-bionic. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-bionic. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance for helping!

N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.

Changed in python3-stdlib-extensions (Ubuntu Bionic):
status: New → Fix Committed
Łukasz Zemczak (sil2100) wrote :

All autopkgtests for the 3 packages in cosmic pass, the few failures have been investigated properly by the uploader and either fixed or requested for hinting. I consider this as a verification-done-cosmic.

tags: added: verification-done-cosmic
removed: verification-needed-cosmic
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package python3.7 - 3.7.1-1~18.10

---------------
python3.7 (3.7.1-1~18.10) cosmic-proposed; urgency=medium

  * SRU: LP: #1799202.

 -- Matthias Klose <email address hidden> Mon, 22 Oct 2018 13:21:55 +0200

Changed in python3.7 (Ubuntu Cosmic):
status: Fix Committed → Fix Released

The verification of the Stable Release Update for python3.7 has completed successfully and the package has now been released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

Launchpad Janitor (janitor) wrote :

This bug was fixed in the package python3-stdlib-extensions - 3.6.7-1~18.10

---------------
python3-stdlib-extensions (3.6.7-1~18.10) cosmic-proposed; urgency=medium

  * SRU: LP: #1799202.
  * Update 3.6 extensions and modules to 3.6.7.
  * Update 3.7 extensions and modules to 3.7.1.

 -- Matthias Klose <email address hidden> Mon, 22 Oct 2018 13:15:03 +0200

Changed in python3-stdlib-extensions (Ubuntu Cosmic):
status: Fix Committed → Fix Released
tags: added: upgrade-software-version
Matthias Klose (doko) wrote :

python3.7 was already accepted into cosmic-updates

Changed in python3.7 (Ubuntu Bionic):
status: Fix Committed → Fix Released
Matthias Klose (doko) wrote :

same with python3-stdlib-extensions and python3-defaults

Changed in python3-defaults (Ubuntu Cosmic):
status: New → Fix Released
tags: removed: upgrade-software-version
tags: added: verification-done verification-done-bionic
removed: verification-needed verification-needed-bionic
Matthias Klose (doko) wrote :

the python3.7 testsuite run looks fine for bionic as well.

Changed in python3.7 (Ubuntu Bionic):
status: Fix Released → Fix Committed
Brian Murray (brian-murray) wrote :

Setting to Incomplete due to the unanswered question in comment #3.

Changed in python3.7 (Ubuntu Bionic):
status: Fix Committed → Incomplete
Matthias Klose (doko) wrote :

the breaks were never added for Ubuntu, because Ubuntu doesn't support partial upgrades.

Changed in python3.7 (Ubuntu Bionic):
status: Incomplete → Fix Committed
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers