./lang/python37, Interpreted, interactive, object-oriented programming language

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]

Branch: CURRENT, Version: 3.7.9nb2, Package name: python37-3.7.9nb2, Maintainer: pkgsrc-users

Python is an interpreted, interactive, object-oriented
programming language that combines remarkable power with
very clear syntax. For an introduction to programming in
Python you are referred to the Python Tutorial. The
Python Library Reference documents built-in and standard
types, constants, functions and modules. Finally, the
Python Reference Manual describes the syntax and semantics
of the core language in (perhaps too) much detail.

Python's basic power can be extended with your own modules
written in C or C++. On most systems such modules may be
dynamically loaded. Python is also adaptable as an exten-
sion language for existing applications. See the internal
documentation for hints.

This package provides Python version 3.7.x.

Required to run:
[security/openssl] [devel/libffi] [devel/libuuid]

Required to build:
[devel/readline] [pkgtools/cwrappers]

Package options: x11

Master sites:

SHA1: e1de02779a89a94000c0ed340ec126de25825f2f
RMD160: 6ff3676f84b1a103b0e3161dcc7257936c914daf
Filesize: 16982.066 KB

Version history: (Expand)

CVS history: (Expand)

   2020-12-07 14:14:39 by Nia Alarie | Files touched by this commit (5)
Log message:
python*: Revert shm_open workaround now it's fixed in mksandbox
   2020-12-06 12:35:32 by Nia Alarie | Files touched by this commit (5)
Log message:
python*: Disable runtime configure test on sem_getvalue behaviour

Like the other test, because /dev/shm isn't available in the build
environment doesn't mean it won't be available on the destination
machine for the packages.
   2020-12-06 12:11:32 by Nia Alarie | Files touched by this commit (5)
Log message:
python*: Avoid configure test for POSIX semaphores on Linux.

This attempts to build and run a program that uses POSIX semaphores.

This fails in a pbulk sandbox that doesn't contain /dev/shm, resulting
in a broken package where the idea that the platform doesn't support
POSIX semaphores is baked in forever. In newer Python versions,
this means Python doesn't even build properly.

XXX: We might want to avoid it on other platforms too...
   2020-11-19 17:29:43 by Benny Siegert | Files touched by this commit (7)
Log message:
python3{7,8,9}: build fix when include files have invalid UTF-8

I happen to have include/gts.h installed, which includes an accented
ISO-8859-1 character in its copyright message. This trips up the configuration
of Python in pkgsrc.

Ignore files with invalid unicode characters.

Also regenerate one other patch. No revision bump since the result is the same.
   2020-11-18 12:03:31 by Sijmen J. Mulder | Files touched by this commit (3)
Log message:
lang/python37: Fix on CentOS 7

Same as lang/python38 fix just now:

Move __has_attribute() inside #if defined(__has_attribute) body so the
preprocessor doesn't break on that.
   2020-11-17 20:33:26 by Sijmen J. Mulder | Files touched by this commit (25)
Log message:
lang/python37: Fix for macOS 11 and Apple Silicon

(Apple Silicon being their aarch64 platform.)

This is backport of the same in lang/python39 and lang/python38. Some
parts weren't applicable in 3.7. The setup.py script needed some work
on the ffi code. Otherwise, minor changes.

Patches consist of:
 - Upstream work: https://github.com/python/cpython/pull/22855
 - Fix for setup.py to find libbz2.tbd and libz.tbd now that with the
   shared library cache there's nothing in /usr/lib.
   See: https://bugs.python.org/issue41116
 - Addition of __arch64__ case to fix _decimal module. A very similar fix
   has since been committed upstream.
   2020-09-01 11:26:55 by Amitai Schleier | Files touched by this commit (9) | Package updated
Log message:
Avoid MemoryError from "import ctypes" on OpenBSD (PR pkg/55134) for all
applicable Pythons. Bump PKGREVISION.
   2020-08-19 09:08:34 by Adam Ciarcinski | Files touched by this commit (8) | Package updated
Log message:
python37 py37-html-docs: updated to 3.7.9

Python 3.7.9 final

bpo-41304: Fixes python3x._pth being ignored on Windows, caused by the fix for \ 
bpo-29778 (CVE-2020-15801).
bpo-29778: Ensure python3.dll is loaded from correct locations when Python is \ 
embedded (CVE-2020-15523).
bpo-41004: CVE-2020-14422: The __hash__() methods of ipaddress.IPv4Interface and \ 
ipaddress.IPv6Interface incorrectly generated constant hash values of 32 and 128 \ 
respectively. This resulted in always causing hash collisions. The fix uses \ 
hash() to generate hash values for the tuple of (address, mask length, network \ 
bpo-39603: Prevent http header injection by rejecting control characters in \ 
Core and Builtins
bpo-33786: Fix asynchronous generators to handle GeneratorExit in athrow() correctly

bpo-41288: Unpickling invalid NEWOBJ_EX opcode with the C implementation raises \ 
now UnpicklingError instead of crashing.
bpo-39017: Avoid infinite loop when reading specially crafted TAR files using \ 
the tarfile module (CVE-2019-20907).
bpo-41235: Fix the error handling in ssl.SSLContext.load_dh_params().

bpo-41100: Additional fixes for testing on macOS 11 Big Sur Intel. Note: macOS \ 
11 is not yet released, this release of Python is not fully supported on 11.0, \ 
and not all tests pass.