Debian Patches

Status for pypy3/7.3.17+dfsg-3

Patch Description Author Forwarded Bugs Origin Last update
tests/test_fsync-eatmydata Tests: Skip fsync tests when building with eatmydata Stefano Rivera <stefanor@debian.org> not-needed 2012-02-06
tests/skip-test_multiprocessing Tests: Disable test_multiprocessing
It leaves stray processes.
Stefano Rivera <stefanor@debian.org> not-needed 2017-10-07
tests/skip-hurd-deadlock Tests: Skip test that deadlocks on GNU Hurd
Per Samuel Thibault:

> That's probably because pypy uses pthread_mutexes (which per POSIX aren't
> interrupted by signals) instead of semaphores, and I guess that's
> because sem_open isn't supported on Hurd yet.
Stefano Rivera <stefanor@debian.org> no 2018-08-26
tests/python2-binary Tests: Use the python2 binary
Debian doesn't ship a /usr/bin/python any more
Stefano Rivera <stefanor@debian.org> not-needed 2020-09-25
tests/test_fcntl Tests: Ignore lease failure in fcntl tests
Fail on tmpfs on Linux 4.19. Fixed in 5.7 possibly earlier (5.3?).
Stefano Rivera <stefanor@debian.org> not-needed 2020-09-24
stdlib/distutils-link Stdlib: Don't add standard library dirs to library_dirs and runtime_library_dirs. Matthias Klose <doko@debian.org> no Debian cpython packaging 2011-12-19
stdlib/locale-module Stdlib: Don't map 'utf8', 'utf-8' to 'utf'
'utf' is not a known encoding for glibc.
Matthias Klose <doko@debian.org> yes Debian cpython packaging 2011-12-19
debian/version-info Debian: Get version details from the Debian source package
Rather than VCS.

Return the Debian package version in sys.version.
Return null strings in sys._mercurial.
Stefano Rivera <stefanor@debian.org> not-needed 2013-02-23
debian/ensurepip-disabled Debian: Disable ensurepip in Debian for now Stefano Rivera <stefanor@debian.org> no Debian cpython packaging 2017-05-21
debian/distutils-install-layout Debian: Add a distutils option --install-layout=deb
This option:
- installs into $prefix/dist-packages instead of $prefix/site-packages.
- doesn't encode the python version into the egg name.

Based on cpython Debian packaging
Stefano Rivera <stefanor@debian.org> no 2017-05-21
debian/sysconfig-debian-schemes Debian: Add our install schemes to sysconfig
This adds two schemes:
1. deb_system: Debian's installed Python layout, with modules in
dist-packages shared across Python versions.
2. posix_local: A clone of posix_prefix that includes a built-in local
prefix for the dist-packages and binary paths. We default to this to
redict local installations into /usr/local.

Based on cpython Debian packaging
Stefano Rivera <stefanor@debian.org> no 2024-08-29
debian/langpack-gettext Debian: Support Ubuntu langpacks
Support alternative gettext tree in /usr/share/locale-langpack; if a
file is present in both trees, prefer the newer one
Michael Vogt <michael.vogt@ubuntu.com> not-needed Debian cpython packaging 2011-12-19
debian/tkinter-import Debian: Suggest installation of pypy3-tk package
On failing _tkinter import.
Stefano Rivera <stefanor@debian.org> no 2013-11-15
debian/noise Debian: Always output the mandelbrot
So that our buildds see progress
Stefano Rivera <stefanor@debian.org> not-needed 2017-10-07
debian/python3-sphinx Debian: Disable some extensions to support Python 3 Sphinx
Stop building any autodoc and configuration sections, that require
parsing the Python 2 source code.

This supports building the Sphinx docs with Python 3.
Stefano Rivera <stefanor@debian.org> no 2020-03-23
debian/setuptools-59-editable-installs Debian: Fix editable installs with setuptools < 60.0.1
Work-around a setuptools bug, where it failed to configure all necessary
substitution variables in easy_install.
Stefano Rivera <stefanor@debian.org> not-needed 2022-03-25
debian/system-expat Debian: De-Vendor Expat
Use the Debian system Expat.
This reverts upstream's commit 792b0993b0b06b6c0282da0bbfb2f7e3151c0bb6.
Stefano Rivera <stefanor@debian.org> no 2024-04-23
stdlib/sysconfigdata-name gh-81742 Omit platform from _sysconfigdata filename for multiarch
The multiarch triple encodes the platform name, so there is no need to
have both in the _sysconfigdata filename.

Debian has been carrying a (dumber) variant of this patch for a while.
Stefano Rivera <stefano@rivera.za.net> yes Debian cpython packaging 2024-08-10
debian/prefer-static-sysconfigdata Prefer static sysconfigdata if it exists
We generate a static _sysconfigdata_ in our package, but we never use
it.

In Debian we append some extra config into the static _sysconfigdata
rather than patching it into _sysconfigdata. But that's no use unless
the module is actually used.
Stefano Rivera <stefano@rivera.za.net> yes 2024-08-30
tests/test_email_kyiv gh-109017: Use non alternate name for Kyiv (GH-109251)
tzdata provides Kiev as an alternative to Kyiv:
https://sources.debian.org/src/tzdata/2023c-10/backward/?hl=314#L314

But Debian moved it to the tzdata-legacy package breaking the test:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1050530

This patch switches to the name provided by tzdata.

Also check that the new name is actually available.
Jochen Sprickerhof <github@jochen.sprickerhof.de> no cPython, https://github.com/python/cpython/pull/109251 2023-10-24
tests/test_time_kyiv Use Kyiv instead of Kiev
tzdata provides Kiev as an alternative to Kyiv, but Debian moved it to
the tzdata-legacy package, breaking these tests.

cPython also uses this timezone in test_email, and this was fixed in
3.11. I've left that patch out of here, it will get picked up when PyPy
switches to 3.11 stdlib.

https://github.com/python/cpython/pull/109251
Stefano Rivera <stefano@rivera.za.net> yes 2024-08-30
upstream/gcc-14 GCC-14: Ignore -Wincompatible-pointer-types on 32-bit
Work around missing GCC-14 support for 32-builds of PyPy by suppressing
the GCC error. We hope to replace this with a real patch soon.
Stefano Rivera <stefanor@debian.org> no 2024-08-31
stdlib/CVE-2024-9287-venv-activation-templates gh-124651: Quote template strings in `venv` activation scripts (GH-124712) (GH-126185) (GH-126269) (GH-126300)

(cherry picked from commit ae961ae94bf19c8f8c7fbea3d1c25cc55ce8ae97)
Victor Stinner <vstinner@python.org> no https://github.com/python/cpython/pull/126300 2024-11-04
stdlib/CVE-2023-27043-email-parseaddr gh-102988: Reject malformed addresses in email.parseaddr() (GH-111116) (#123768)

Detect email address parsing errors and return empty tuple to
indicate the parsing error (old API). Add an optional 'strict'
parameter to getaddresses() and parseaddr() functions. Patch by
Thomas Dwyer.

(cherry picked from commit 4a153a1d3b18803a684cd1bcc2cdf3ede3dbae19)
Petr Viktorin <encukou@gmail.com> no upstream, https://github.com/python/cpython/commit/2a9273a0e4466e2f057f9ce6fe98cd8ce570331b 2024-09-06

All known versions for source package 'pypy3'

Links