Package: python-cbor / 1.0.0-1.3

Metadata

Package Version Patches format
python-cbor 1.0.0-1.3 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
setuptools 60 | (download)

setup.py | 4 2 + 2 - 0 !
1 file changed, 2 insertions(+), 2 deletions(-)

 [patch] import setuptools before distutils

setuptools 60 uses its own bundled version of distutils, by default. It
injects this into sys.modules, at import time. So we need to make sure
that it is imported, before anything else imports distutils, to ensure
everything is using the same distutils version.

This change in setuptools is to prepare for Python 3.12, which will drop
distutils.

Bug-Debian: https://bugs.debian.org/1022525