Package: pypy3 / 7.1.1+dfsg-1

Metadata

Package Version Patches format
pypy3 7.1.1+dfsg-1 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
version info | (download)

pypy/module/sys/version.py | 1 1 + 0 - 0 !
rpython/tool/version.py | 10 10 + 0 - 0 !
2 files changed, 11 insertions(+)

 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.

test_fsync eatmydata | (download)

lib-python/3/test/test_os.py | 2 2 + 0 - 0 !
1 file changed, 2 insertions(+)

 skip fsync tests when building with eatmydata

test_termios | (download)

pypy/module/termios/test/test_termios.py | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 support builds on older aufs

Under aufs on squeeze, tcgetattr can return EINVAL instead of ENOTTY See
https://lsbbugs.linuxfoundation.org/show_bug.cgi?id=2771

fpic archs | (download)

rpython/translator/platform/__init__.py | 4 3 + 1 - 0 !
1 file changed, 3 insertions(+), 1 deletion(-)

 x32 requires -fpic

x32 detection is currently Debian-specific.

skip test_multiprocessing | (download)

lib-python/3/test/_test_multiprocessing.py | 2 2 + 0 - 0 !
1 file changed, 2 insertions(+)

 disable test_multiprocessing

It leaves stray processes.

ctypes arm | (download)

lib-python/3/ctypes/util.py | 15 13 + 2 - 0 !
1 file changed, 13 insertions(+), 2 deletions(-)

 armhf support

MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit

Workaround the presentce of hard-float in ldconfig -p output.
Also, handle the wide variety of ARM unames.

distutils link | (download)

lib-python/3/distutils/unixccompiler.py | 7 6 + 1 - 0 !
1 file changed, 6 insertions(+), 1 deletion(-)

 don't add standard library dirs to library_dirs and
 runtime_library_dirs.

locale module | (download)

lib-python/3/locale.py | 4 2 + 2 - 0 !
1 file changed, 2 insertions(+), 2 deletions(-)

 don't map 'utf8', 'utf-8' to 'utf'

'utf' is not a known encoding for glibc.

platform lsbrelease | (download)

lib-python/3/platform.py | 23 23 + 0 - 0 !
1 file changed, 23 insertions(+)

 use /etc/lsb-release to identify the platform

xdg gvfs open | (download)

lib-python/3/webbrowser.py | 8 8 + 0 - 0 !
1 file changed, 8 insertions(+)

 use xdg-open/gvfs-open in webbrowser

Bug-cpython: http://bugs.python.org/issue14493
Bug-Ubuntu: https://bugs.launchpad.net/bugs/971311
plat gnukfreebsd | (download)

lib-python/3/plat-gnukfreebsd10/DLFCN.py | 118 118 + 0 - 0 !
lib-python/3/plat-gnukfreebsd10/IN.py | 809 809 + 0 - 0 !
lib-python/3/plat-gnukfreebsd10/TYPES.py | 303 303 + 0 - 0 !
lib-python/3/plat-gnukfreebsd11/DLFCN.py | 118 118 + 0 - 0 !
lib-python/3/plat-gnukfreebsd11/IN.py | 809 809 + 0 - 0 !
lib-python/3/plat-gnukfreebsd11/TYPES.py | 303 303 + 0 - 0 !
lib-python/3/plat-gnukfreebsd8/DLFCN.py | 118 118 + 0 - 0 !
lib-python/3/plat-gnukfreebsd8/IN.py | 809 809 + 0 - 0 !
lib-python/3/plat-gnukfreebsd8/TYPES.py | 303 303 + 0 - 0 !
lib-python/3/plat-gnukfreebsd9/DLFCN.py | 118 118 + 0 - 0 !
lib-python/3/plat-gnukfreebsd9/IN.py | 809 809 + 0 - 0 !
lib-python/3/plat-gnukfreebsd9/TYPES.py | 303 303 + 0 - 0 !
12 files changed, 4920 insertions(+)

 dlfcn.py for kfreebsd

plat linux differences | (download)

lib-python/3/plat-linux/DLFCN.py | 88 7 + 81 - 0 !
lib-python/3/plat-linux/DLFCN_default.py | 83 83 + 0 - 0 !
lib-python/3/plat-linux/DLFCN_mips.py | 83 83 + 0 - 0 !
lib-python/3/plat-linux/IN.py | 630 15 + 615 - 0 !
lib-python/3/plat-linux/IN_alpha.py | 615 615 + 0 - 0 !
lib-python/3/plat-linux/IN_default.py | 615 615 + 0 - 0 !
lib-python/3/plat-linux/IN_hppa.py | 615 615 + 0 - 0 !
lib-python/3/plat-linux/IN_mips.py | 615 615 + 0 - 0 !
lib-python/3/plat-linux/IN_sparc.py | 615 615 + 0 - 0 !
9 files changed, 3263 insertions(+), 696 deletions(-)

 plat-linux's constants vary

Break the affected files up, and import based on platform.machine()

Bug-cpython: http://bugs.python.org/issue3990
ensurepip wheels | (download)

lib-python/3/ensurepip/__init__.py | 67 46 + 21 - 0 !
1 file changed, 46 insertions(+), 21 deletions(-)

 let ensurepip use the system wheels

Not the ones from the python source.

ensurepip disabled | (download)

lib-python/3/ensurepip/__init__.py | 33 33 + 0 - 0 !
lib-python/3/venv/__init__.py | 23 22 + 1 - 0 !
2 files changed, 55 insertions(+), 1 deletion(-)

 disable ensurepip in debian for now

multiarch | (download)

lib-python/3/test/test_sysconfig.py | 4 4 + 0 - 0 !
lib_pypy/_sysconfigdata.py | 1 1 + 0 - 0 !
pypy/module/imp/__init__.py | 2 2 + 0 - 0 !
pypy/module/imp/importing.py | 2 2 + 0 - 0 !
pypy/module/imp/interp_imp.py | 3 2 + 1 - 0 !
pypy/module/imp/test/test_app.py | 4 4 + 0 - 0 !
pypy/module/sys/app.py | 1 1 + 0 - 0 !
pypy/module/sys/test/test_sysmodule.py | 5 5 + 0 - 0 !
8 files changed, 21 insertions(+), 1 deletion(-)

 expose the multiarch tag used in c extension file names

Add _multiarch variable to sys.implementation, and MULTIARCH to
sysconfig variables.  Based on Debian's multiarch patch.

distutils install layout | (download)

lib-python/3/distutils/command/install.py | 45 43 + 2 - 0 !
lib-python/3/distutils/command/install_egg_info.py | 30 25 + 5 - 0 !
lib-python/3/distutils/sysconfig_pypy.py | 7 6 + 1 - 0 !
lib-python/3/pydoc.py | 1 1 + 0 - 0 !
lib-python/3/site.py | 17 14 + 3 - 0 !
lib-python/3/sysconfig.py | 29 27 + 2 - 0 !
lib-python/3/test/test_sysconfig.py | 3 2 + 1 - 0 !
7 files changed, 118 insertions(+), 14 deletions(-)

 distutils: add an 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

langpack gettext | (download)

lib-python/3/gettext.py | 15 15 + 0 - 0 !
1 file changed, 15 insertions(+)

 support ubuntu langpacks

Support alternative gettext tree in /usr/share/locale-langpack; if a
file is present in both trees, prefer the newer one

tkinter import | (download)

lib-python/3/tkinter/__init__.py | 5 4 + 1 - 0 !
1 file changed, 4 insertions(+), 1 deletion(-)

 suggest installation of pypy-tk package

On failing _tkinter import.

noise | (download)

rpython/tool/ansi_print.py | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 always output the mandelbrot

So that our buildds see progress

skip hurd deadlock | (download)

pypy/module/thread/test/test_lock.py | 1 1 + 0 - 0 !
1 file changed, 1 insertion(+)

 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.

pip 10 | (download)

lib-python/3/ensurepip/__init__.py | 8 6 + 2 - 0 !
1 file changed, 6 insertions(+), 2 deletions(-)

 support pip 10

version 7.1.1 | (download)

pypy/doc/conf.py | 4 2 + 2 - 0 !
pypy/module/cpyext/include/patchlevel.h | 2 1 + 1 - 0 !
pypy/module/sys/version.py | 2 1 + 1 - 0 !
3 files changed, 4 insertions(+), 4 deletions(-)

 set the version to 7.1.1

This was accidentally pushed past 7.1.1 in a merge to the release
branch, upstream.