Accepting request 910899 from home:fusionfuture:branches:devel:languages:python:Factory

- Update to 3.9.6:
  * Security
    - bpo-44022: mod:http.client now avoids infinitely reading
      potential HTTP headers after a 100 Continue status response
      from the server.
  * Core and Builtins
    - bpo-44409: Fix error location information for tokenizer
      errors raised on initialization of the tokenizer. Patch by
      Pablo Galindo.
    - bpo-43667: Improve Unicode support in non-UTF locales on
      Oracle Solaris. This issue does not affect other Solaris
      systems.
    - bpo-44168: Fix error message in the parser involving keyword
      arguments with invalid expressions. Patch by Pablo Galindo
    - bpo-44114: Fix incorrect dictkeys_reversed and
      dictitems_reversed function signatures in C code, which broke
      webassembly builds.
    - bpo-44070: No longer eagerly makes import filenames absolute,
      except for extension modules, which was introduced in 3.9.5.
    - bpo-28146: Fix a confusing error message in str.format().
    - bpo-11105: When compiling ast.AST objects with recursive
      references through compile(), the interpreter doesn’t crash
      anymore instead it raises a RecursionError.
  * Library
    - bpo-44516: Update vendored pip to 21.1.3
    - bpo-44482: Fix very unlikely resource leak in glob in
      alternate Python implementations.
    - bpo-44439: Fix in bz2.BZ2File.write() / lzma.LZMAFile.write()
      methods, when the input data is an object that supports the
      buffer protocol, the file length may be wrong.

OBS-URL: https://build.opensuse.org/request/show/910899
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python39?expand=0&rev=76
This commit is contained in:
2021-08-09 13:05:39 +00:00
committed by Git OBS Bridge
parent 1fb9f9d47e
commit c524d26818
8 changed files with 188 additions and 71 deletions

View File

@@ -53,7 +53,7 @@
# Will do the /usr/bin/python3 and all the core links
%define primary_interpreter 0
# We don't process beta signs well
%define folderversion 3.9.5
%define folderversion 3.9.6
%define tarname Python-%{tarversion}
%define sitedir %{_libdir}/python%{python_version}
# three possible ABI kinds: m - pymalloc, d - debug build; see PEP 3149
@@ -88,7 +88,7 @@
%bcond_without profileopt
%endif
Name: %{python_pkg_name}%{psuffix}
Version: 3.9.5
Version: 3.9.6
Release: 0
Summary: Python 3 Interpreter
License: Python-2.0
@@ -145,10 +145,6 @@ Patch33: no-skipif-doctests.patch
# PATCH-FIX-SLE skip-test_pyobject_freed_is_freed.patch mcepl@suse.com
# skip a test failing on SLE-15
Patch34: skip-test_pyobject_freed_is_freed.patch
# PATCH-FIX-UPSTREAM bpo44426-complex-keyword-sphinx.patch bpo#44426 mcepl@suse.com
# Use of 'complex' as a C variable name confuses Sphinx; change it to 'num'
# The same goes for 'default', which I had to change to 'def_size'
Patch35: bpo44426-complex-keyword-sphinx.patch
BuildRequires: autoconf-archive
BuildRequires: automake
BuildRequires: fdupes
@@ -395,7 +391,6 @@ other applications.
%if 0%{?sle_version} && 0%{?sle_version} <= 150300
%patch34 -p1
%endif
%patch35 -p1
# drop Autoconf version requirement
sed -i 's/^AC_PREREQ/dnl AC_PREREQ/' configure.ac