commit python39 for openSUSE:Factory

2020-10-23 Thread root
Hello community,

here is the log from the commit of package python39 for openSUSE:Factory 
checked in at 2020-10-23 12:21:35

Comparing /work/SRC/openSUSE:Factory/python39 (Old)
 and  /work/SRC/openSUSE:Factory/.python39.new.3463 (New)


Package is "python39"

Fri Oct 23 12:21:35 2020 rev:6 rq:842480 version:3.9.0

Changes:

--- /work/SRC/openSUSE:Factory/python39/python39.changes2020-09-27 
11:49:50.500047659 +0200
+++ /work/SRC/openSUSE:Factory/.python39.new.3463/python39.changes  
2020-10-23 12:22:38.396694919 +0200
@@ -1,0 +2,16 @@
+Fri Oct  9 16:05:50 UTC 2020 - Dominique Leuenberger 
+
+- Fix build with RPM 4.16: error: bare words are no longer
+  supported, please use "...":  x86 == ppc.
+
+---
+Tue Oct  6 07:30:56 UTC 2020 - Matej Cepl 
+
+- Update to the final version 3.9.0:
+  Complete changelog with all (many)
+  changes from previous version is on
+  https://docs.python.org/release/3.9.0/whatsnew/3.9.html
+  Changes from the previous RC versions (not that many) are on
+  https://docs.python.org/release/3.9.0/whatsnew/changelog.html#changelog
+
+---

Old:

  Python-3.9.0rc1.tar.xz
  Python-3.9.0rc1.tar.xz.asc

New:

  Python-3.9.0.tar.xz
  Python-3.9.0.tar.xz.asc



Other differences:
--
++ python39.spec ++
--- /var/tmp/diff_new_pack.Kd30aJ/_old  2020-10-23 12:22:39.424695633 +0200
+++ /var/tmp/diff_new_pack.Kd30aJ/_new  2020-10-23 12:22:39.428695636 +0200
@@ -67,13 +67,13 @@
 %define so_minor 0
 %define so_version 
%{python_version_soname}%{abi_kind}-%{so_major}_%{so_minor}
 # rpm and python have different ideas about what is an arch-dependent name, so:
-%if %{__isa_name} == ppc
+%if "%{__isa_name}" == "ppc"
 %define archname %(echo %{_arch} | sed s/ppc/powerpc/)
 %else
 %define archname %{_arch}
 %endif
 # our arm has Hardware-Floatingpoint
-%if %{_arch} == arm
+%if "%{_arch}" == "arm"
 %define armsuffix hf
 %endif
 # pyexpat.cpython-35m-x86_64-linux-gnu
@@ -88,7 +88,7 @@
 %bcond_without profileopt
 %endif
 Name:   %{python_pkg_name}%{psuffix}
-Version:3.9.0rc1
+Version:3.9.0
 Release:0
 Summary:Python 3 Interpreter
 License:Python-2.0

++ CVE-2019-5010-null-defer-x509-cert-DOS.patch ++
--- /var/tmp/diff_new_pack.Kd30aJ/_old  2020-10-23 12:22:39.460695658 +0200
+++ /var/tmp/diff_new_pack.Kd30aJ/_new  2020-10-23 12:22:39.464695661 +0200
@@ -23,7 +23,7 @@
 
 --- a/Lib/test/test_ssl.py
 +++ b/Lib/test/test_ssl.py
-@@ -467,6 +467,27 @@ class BasicSocketTests(unittest.TestCase
+@@ -470,6 +470,27 @@ class BasicSocketTests(unittest.TestCase
  }
  )
  

++ Python-3.9.0rc1.tar.xz -> Python-3.9.0.tar.xz ++
/work/SRC/openSUSE:Factory/python39/Python-3.9.0rc1.tar.xz 
/work/SRC/openSUSE:Factory/.python39.new.3463/Python-3.9.0.tar.xz differ: char 
27, line 1

++ bpo-31046_ensurepip_honours_prefix.patch ++
--- /var/tmp/diff_new_pack.Kd30aJ/_old  2020-10-23 12:22:39.564695730 +0200
+++ /var/tmp/diff_new_pack.Kd30aJ/_new  2020-10-23 12:22:39.564695730 +0200
@@ -55,7 +55,7 @@
 .. note::
 --- a/Lib/ensurepip/__init__.py
 +++ b/Lib/ensurepip/__init__.py
-@@ -59,27 +59,27 @@ def _disable_pip_configuration_settings(
+@@ -56,27 +56,27 @@ def _disable_pip_configuration_settings(
  os.environ['PIP_CONFIG_FILE'] = os.devnull
  
  
@@ -88,7 +88,7 @@
  
  Note that calling this function will alter both sys.path and os.environ.
  """
-@@ -122,6 +122,8 @@ def _bootstrap(*, root=None, upgrade=Fal
+@@ -119,6 +119,8 @@ def _bootstrap(*, root=None, upgrade=Fal
  args = ["install", "--no-cache-dir", "--no-index", "--find-links", 
tmpdir]
  if root:
  args += ["--root", root]
@@ -97,7 +97,7 @@
  if upgrade:
  args += ["--upgrade"]
  if user:
-@@ -194,6 +196,11 @@ def _main(argv=None):
+@@ -191,6 +193,11 @@ def _main(argv=None):
  help="Install everything relative to this alternate root directory.",
  )
  parser.add_argument(
@@ -109,7 +109,7 @@
  "--altinstall",
  action="store_true",
  default=False,
-@@ -212,6 +219,7 @@ def _main(argv=None):
+@@ -209,6 +216,7 @@ def _main(argv=None):
  
  return _bootstrap(
  root=args.root,
@@ -139,7 +139,7 @@
  
 --- a/Makefile.pre.in
 +++ b/Makefile.pre.in
-@@ -1244,7 +1244,7 @@ install: @FRAMEWORKINSTALLFIRST@ commoni
+@@ -1252,7 +1252,7 @@ install: @FRAMEWORKINSTALLFIRST@ commoni
install|*) ensurepip="" ;; \
esac; \
$(RUNSHARED) $(PYTHON_FOR_BUILD) -m ensurepip \
@@ -148,7 +148,7 @@
fi
  
  altinstall: 

commit python39 for openSUSE:Factory

2020-09-27 Thread root
Hello community,

here is the log from the commit of package python39 for openSUSE:Factory 
checked in at 2020-09-27 11:49:44

Comparing /work/SRC/openSUSE:Factory/python39 (Old)
 and  /work/SRC/openSUSE:Factory/.python39.new.4249 (New)


Package is "python39"

Sun Sep 27 11:49:44 2020 rev:5 rq:837378 version:3.9.0rc1

Changes:

--- /work/SRC/openSUSE:Factory/python39/python39.changes2020-09-04 
11:11:07.627001035 +0200
+++ /work/SRC/openSUSE:Factory/.python39.new.4249/python39.changes  
2020-09-27 11:49:50.500047659 +0200
@@ -1,0 +2,6 @@
+Fri Sep 25 06:58:03 UTC 2020 - Dominique Leuenberger 
+
+- Buildrequire timezone only for general flavor. It's used in this
+  flavor for the test suite.
+
+---



Other differences:
--
++ python39.spec ++
--- /var/tmp/diff_new_pack.Rv8tcx/_old  2020-09-27 11:49:51.332048556 +0200
+++ /var/tmp/diff_new_pack.Rv8tcx/_new  2020-09-27 11:49:51.336048560 +0200
@@ -147,7 +147,6 @@
 BuildRequires:  netcfg
 BuildRequires:  openssl-devel
 BuildRequires:  pkgconfig
-BuildRequires:  timezone
 BuildRequires:  xz
 BuildRequires:  pkgconfig(bzip2)
 BuildRequires:  pkgconfig(expat)
@@ -174,6 +173,7 @@
 BuildRequires:  gettext
 BuildRequires:  readline-devel
 BuildRequires:  sqlite-devel
+BuildRequires:  timezone
 BuildRequires:  update-desktop-files
 BuildRequires:  pkgconfig(ncurses)
 BuildRequires:  pkgconfig(tk)






commit python39 for openSUSE:Factory

2020-09-04 Thread root
Hello community,

here is the log from the commit of package python39 for openSUSE:Factory 
checked in at 2020-09-04 11:10:07

Comparing /work/SRC/openSUSE:Factory/python39 (Old)
 and  /work/SRC/openSUSE:Factory/.python39.new.3399 (New)


Package is "python39"

Fri Sep  4 11:10:07 2020 rev:4 rq:831521 version:3.9.0rc1

Changes:

--- /work/SRC/openSUSE:Factory/python39/python39.changes2020-08-21 
19:12:40.620659197 +0200
+++ /work/SRC/openSUSE:Factory/.python39.new.3399/python39.changes  
2020-09-04 11:11:07.627001035 +0200
@@ -1,0 +2,59 @@
+Wed Sep  2 14:39:44 UTC 2020 - Matej Cepl 
+
+- Update to 3.9.0rc1:
+  * Core and Builtins
+  - bpo-38156: Handle interrupts that come after EOF
+correctly in PyOS_StdioReadline.
+  * Library
+  - bpo-41497: Fix potential UnicodeDecodeError in dis
+module.
+  - bpo-41490: Update ensurepip to install pip 20.2.1 and
+setuptools 49.2.1.
+  - bpo-41467: On Windows, fix asyncio recv_into() return
+value when the socket/pipe is closed (BrokenPipeError):
+return 0 rather than an empty byte string (b'').
+  - bpo-41425: Make tkinter doc example runnable.
+  - bpo-41384: Raise TclError instead of TypeError when an
+unknown option is passed to tkinter.OptionMenu.
+  - bpo-38731: Fix NameError in command-line interface of
+py_compile.
+  - bpo-41317: Use add_done_callback() in
+asyncio.loop.sock_accept() to unsubscribe reader early on
+cancellation.
+  - bpo-41364: Reduce import overhead of uuid.
+  - bpo-41341: Recursive evaluation of typing.ForwardRef in
+get_type_hints.
+  - bpo-41182: selector: use DefaultSelector based upon
+implementation
+  - bpo-40726: Handle cases where the end_lineno is None on
+ast.increment_lineno().
+  * Documentation
+  - bpo-41045: Add documentation for debug feature of
+f-strings.
+  - bpo-41314: Changed the release when from __future__
+import annotations becomes the default from 4.0 to 3.10
+(following a change in PEP 563).
+  * Windows
+  - bpo-41492: Fixes the description that appears in UAC
+prompts.
+  - bpo-40948: Improve post-install message to direct people
+to the “py” command.
+  - bpo-41412: The installer will now fail to install on
+Windows 7 and Windows 8. Further, the UCRT dependency is
+now always downloaded on demand.
+  - bpo-40741: Update Windows release to include SQLite
+3.32.3.
+  * IDLE
+  - bpo-41468: Improve IDLE run crash error message (which
+users should never see).
+  - bpo-41373: Save files loaded with no line ending, as when
+blank, or different line endings, by setting its line
+ending to the system default. Fix regression in 3.8.4 and
+3.9.0b4.
+
+---
+Tue Sep  1 10:15:06 UTC 2020 - Matej Cepl 
+
+- Synchronize formatting and fixes with python38.
+
+---

Old:

  Python-3.9.0b5.tar.xz
  Python-3.9.0b5.tar.xz.asc

New:

  Python-3.9.0rc1.tar.xz
  Python-3.9.0rc1.tar.xz.asc



Other differences:
--
++ python39.spec ++
--- /var/tmp/diff_new_pack.fUDN5f/_old  2020-09-04 11:11:08.739001593 +0200
+++ /var/tmp/diff_new_pack.fUDN5f/_new  2020-09-04 11:11:08.743001596 +0200
@@ -40,7 +40,7 @@
 %define python_version %(c=%{_version}; echo ${c:0:3})
 # based on the current source tarball
 %define python_version_abitag %(c=%{python_version}; echo ${c//./})
-# FIXME %define python_version_soname %(c=%{python_version}; echo ${c//./_})
+# FIXME %%define python_version_soname %%(c=%%{python_version}; echo ${c//./_})
 %define python_version_soname   3_9
 %if 0%(test -n "%{tar_suffix}" && echo 1)
 %define _version %(echo "%{_version}~%{tar_suffix}")
@@ -49,9 +49,10 @@
 %define tarversion %{version}
 %endif
 %define python_pkg_name python39
-# Will provide the pyton3-* provides
+# Will provide the python3-* provides
 # 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.0
 %define tarnamePython-%{tarversion}
 %define sitedir %{_libdir}/python%{python_version}
@@ -80,13 +81,14 @@
 # pyexpat.cpython-35m-armv7-linux-gnueabihf
 # _md5.cpython-38m-x86_64-linux-gnu.so
 %define dynlib() 
%{sitedir}/lib-dynload/%{1}.cpython-%{abi_tag}-%{archname}-%{_os}%{?_gnu}%{?armsuffix}.so
+# deadlocks on test_faulthandler and blocks the build
 %if 0%{?qemu_user_space_build}
 %bcond_with profileopt
 %else
 %bcond_without profileopt
 %endif
 Name: 

commit python39 for openSUSE:Factory

2020-08-21 Thread root
Hello community,

here is the log from the commit of package python39 for openSUSE:Factory 
checked in at 2020-08-21 19:11:31

Comparing /work/SRC/openSUSE:Factory/python39 (Old)
 and  /work/SRC/openSUSE:Factory/.python39.new.3399 (New)


Package is "python39"

Fri Aug 21 19:11:31 2020 rev:3 rq:828415 version:3.9.0b5

Changes:

--- /work/SRC/openSUSE:Factory/python39/python39.changes2020-08-20 
22:29:15.279993273 +0200
+++ /work/SRC/openSUSE:Factory/.python39.new.3399/python39.changes  
2020-08-21 19:12:40.620659197 +0200
@@ -1,0 +2,6 @@
+Thu Aug 20 15:41:28 UTC 2020 - Andreas Schwab 
+
+- Increase testsuite timeout to account for super long running
+  test_peg_generator
+
+---



Other differences:
--
++ python39.spec ++
--- /var/tmp/diff_new_pack.rXYTtx/_old  2020-08-21 19:12:42.492660309 +0200
+++ /var/tmp/diff_new_pack.rXYTtx/_new  2020-08-21 19:12:42.496660311 +0200
@@ -290,8 +290,8 @@
 # python-importlib_resources is a backport of 3.7 behaviour into older pythons
 Provides:   %{python_pkg_name}-importlib_resources = %{version}
 %if %{primary_interpreter}
-Provides:   python3-base = %{version}
 Provides:   python3-asyncio = %{version}
+Provides:   python3-base = %{version}
 Obsoletes:  python3-asyncio < %{version}
 Provides:   python3-typing = %{version}
 Obsoletes:  python3-typing < %{version}
@@ -317,14 +317,14 @@
 %package -n %{python_pkg_name}-tools
 Summary:Python Utility and Demonstration Scripts
 Requires:   %{python_pkg_name}-base = %{version}
-Provides:   %{python_pkg_name}-demo = %{version}
 Provides:   %{python_pkg_name}-2to3 = %{version}
+Provides:   %{python_pkg_name}-demo = %{version}
 %if %{primary_interpreter}
-Provides:   python3-tools = %{version}
-Provides:   python3-demo = %{version}
 Provides:   python3-2to3 = %{version}
-Obsoletes:  python3-demo < %{version}
+Provides:   python3-demo = %{version}
+Provides:   python3-tools = %{version}
 Obsoletes:  python3-2to3 < %{version}
+Obsoletes:  python3-demo < %{version}
 %endif
 
 %description -n %{python_pkg_name}-tools
@@ -392,7 +392,6 @@
 %patch29 -p1
 %patch31 -p1
 
-
 # drop Autoconf version requirement
 sed -i 's/^AC_PREREQ/dnl AC_PREREQ/' configure.ac
 
@@ -510,7 +509,7 @@
 # Use timeout, like make target buildbottest
 # We cannot run tests parallel, because osc build environment doesn’t
 # have /dev/shm
-%make_build -j1 test TESTOPTS="-u curses -v -x $EXCLUDE --timeout=1200"
+%make_build -j1 test TESTOPTS="-u curses -v -x $EXCLUDE --timeout=3000"
 # use network, be verbose:
 #make test TESTOPTS="-l -u network -v"
 %endif






commit python39 for openSUSE:Factory

2020-08-20 Thread root
Hello community,

here is the log from the commit of package python39 for openSUSE:Factory 
checked in at 2020-08-20 22:29:04

Comparing /work/SRC/openSUSE:Factory/python39 (Old)
 and  /work/SRC/openSUSE:Factory/.python39.new.3399 (New)


Package is "python39"

Thu Aug 20 22:29:04 2020 rev:2 rq:827942 version:3.9.0b5

Changes:

--- /work/SRC/openSUSE:Factory/python39/python39.changes2020-08-19 
18:51:35.267680226 +0200
+++ /work/SRC/openSUSE:Factory/.python39.new.3399/python39.changes  
2020-08-20 22:29:15.279993273 +0200
@@ -1,0 +2,56 @@
+Tue Jul 21 09:53:06 UTC 2020 - Callum Farmer 
+
+- Removed CVE-2019-20907_tarfile-inf-loop.patch: fixed in upstream
+- Removed recursion.tar: contained in upstream
+- Update to 3.9.0b5:
+  - bpo-41304: Fixes python3x._pth being ignored on Windows, caused 
+by the fix for bpo-29778 (CVE-2020-15801).
+  - bpo-41162: Audit hooks are now cleared later during
+finalization to avoid missing events.
+  - bpo-29778: Ensure python3.dll is loaded from correct locations 
+when Python is embedded (CVE-2020-15523).
+  - bpo-39603: Prevent http header injection by rejecting control 
+characters in http.client.putrequest(…).
+  - bpo-41295: Resolve a regression in CPython 3.8.4 where defining
+“__setattr__” in a multi-inheritance setup and 
+calling up the hierarchy chain could fail if builtins/extension
+types were involved in the base types.
+  - bpo-41247: Always cache the running loop holder when running 
+asyncio.set_running_loop.
+  - bpo-41252: Fix incorrect refcounting in 
+_ssl.c’s _servername_callback().
+  - bpo-41215: Use non-NULL default values in the PEG parser 
+keyword list to overcome a bug that was '
+preventing Python from being properly compiled when using the
+XLC compiler. Patch by Pablo Galindo.
+  - bpo-41218: Python 3.8.3 had a regression where compiling with 
+ast.PyCF_ALLOW_TOP_LEVEL_AWAIT would 
+aggressively mark list comprehension with CO_COROUTINE. Now only
+list comprehension making use of async/await will tagged as so.
+  - bpo-41175: Guard against a NULL pointer dereference within 
+bytearrayobject triggered by the bytearray() + bytearray() operation.
+  - bpo-39960: The “hackcheck” that prevents sneaking around a type’s 
+__setattr__() by calling the superclass method was 
+rewritten to allow C implemented heap types.
+  - 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, bsc#1174091).
+  - bpo-41235: Fix the error handling in ssl.SSLContext.load_dh_params().
+  - bpo-41207: In distutils.spawn, restore expectation that 
+DistutilsExecError is raised when the command is not found.
+  - bpo-39168: Remove the __new__ method of typing.Generic.
+  - bpo-41194: Fix a crash in the _ast module: it can no longer be 
+loaded more than once. It now uses a global state rather than a module 
state.
+  - bpo-39384: Fixed email.contentmanager to allow set_content() to set a 
+null string.
+  - bpo-41300: Save files with non-ascii chars. 
+Fix regression released in 3.9.0b4 and 3.8.4.
+  - bpo-37765: Add keywords to module name completion list. 
+Rewrite Completions section of IDLE doc.
+  - bpo-40170: Revert PyType_HasFeature() change: it reads 
+again directly the PyTypeObject.tp_flags 
+member when the limited C API is not used, rather than always calling 
+PyType_GetFlags() which hides implementation details.
+
+---

Old:

  CVE-2019-20907_tarfile-inf-loop.patch
  Python-3.9.0b4.tar.xz
  Python-3.9.0b4.tar.xz.asc
  recursion.tar

New:

  Python-3.9.0b5.tar.xz
  Python-3.9.0b5.tar.xz.asc



Other differences:
--
++ python39.spec ++
--- /var/tmp/diff_new_pack.dCM8J0/_old  2020-08-20 22:29:16.643993911 +0200
+++ /var/tmp/diff_new_pack.dCM8J0/_new  2020-08-20 22:29:16.647993913 +0200
@@ -86,7 +86,7 @@
 %bcond_without profileopt
 %endif
 Name:   %{python_pkg_name}%{psuffix}
-Version:3.9.0b4
+Version:3.9.0b5
 Release:0
 Summary:Python 3 Interpreter
 License:Python-2.0
@@ -102,8 +102,6 @@
 Source11:   skipped_tests.py
 Source19:   idle3.desktop
 Source20:   idle3.appdata.xml
-# For Patch 32
-Source32:   recursion.tar
 Source99:   python.keyring
 # The following files are not used in the build.
 # They are listed here to work around missing functionality in rpmbuild,
@@ -140,10 +138,6 @@
 # PATCH-FIX-UPSTREAM bsc1167501-invalid-alignment.patch 
gh#python/cpython#19133