#143 F30: Update to 3.7.5 final
Merged 4 years ago by churchyard. Opened 4 years ago by churchyard.
rpms/ churchyard/python3 f30-3.7.5  into  f30

file modified
+16 -16
@@ -20,10 +20,10 @@ 

           'scripts': '$base/bin',

           'data'   : '$base',

  diff --git a/Lib/distutils/sysconfig.py b/Lib/distutils/sysconfig.py

- index e07a6c8..554740d 100644

+ index 0a034ee..3ce0dc1 100644

  --- a/Lib/distutils/sysconfig.py

  +++ b/Lib/distutils/sysconfig.py

- @@ -129,8 +129,12 @@ def get_python_lib(plat_specific=0, standard_lib=0, prefix=None):

+ @@ -147,8 +147,12 @@ def get_python_lib(plat_specific=0, standard_lib=0, prefix=None):

               prefix = plat_specific and EXEC_PREFIX or PREFIX

   

       if os.name == "posix":
@@ -53,7 +53,7 @@ 

           check_path(cmd.install_headers,

                      os.path.join(destination, "include", "python", "foopkg"))

  diff --git a/Lib/site.py b/Lib/site.py

- index 7dc1b04..85016b4 100644

+ index 8786588..78bb790 100644

  --- a/Lib/site.py

  +++ b/Lib/site.py

  @@ -334,11 +334,15 @@ def getsitepackages(prefixes=None):
@@ -73,7 +73,7 @@ 

       return sitepackages

   

  diff --git a/Lib/sysconfig.py b/Lib/sysconfig.py

- index 9ee4d31..53c8606 100644

+ index d15cec8..159c78b 100644

  --- a/Lib/sysconfig.py

  +++ b/Lib/sysconfig.py

  @@ -20,10 +20,10 @@ __all__ = [
@@ -105,10 +105,10 @@ 

           'scripts': '{userbase}/bin',

           'data': '{userbase}',

  diff --git a/Lib/test/test_site.py b/Lib/test/test_site.py

- index 266adf0..e8513b6 100644

+ index 568f81d..234cff8 100644

  --- a/Lib/test/test_site.py

  +++ b/Lib/test/test_site.py

- @@ -275,8 +275,8 @@ class HelperFunctionsTests(unittest.TestCase):

+ @@ -269,8 +269,8 @@ class HelperFunctionsTests(unittest.TestCase):

           dirs = site.getsitepackages()

           if os.sep == '/':

               # OS X, Linux, FreeBSD, etc
@@ -120,10 +120,10 @@ 

                                     'site-packages')

               self.assertEqual(dirs[0], wanted)

  diff --git a/Makefile.pre.in b/Makefile.pre.in

- index 59ba9d4..5780ed8 100644

+ index beaccf5..bba49ca 100644

  --- a/Makefile.pre.in

  +++ b/Makefile.pre.in

- @@ -133,7 +133,7 @@ LIBDIR=		@libdir@

+ @@ -144,7 +144,7 @@ LIBDIR=		@libdir@

   MANDIR=		@mandir@

   INCLUDEDIR=	@includedir@

   CONFINCLUDEDIR=	$(exec_prefix)/include
@@ -133,10 +133,10 @@ 

   

   # Detailed destination directories

  diff --git a/Modules/getpath.c b/Modules/getpath.c

- index 85e737b..2a1fc79 100644

+ index ba8d74b..198e8f0 100644

  --- a/Modules/getpath.c

  +++ b/Modules/getpath.c

- @@ -500,7 +500,7 @@ calculate_exec_prefix(const _PyCoreConfig *core_config,

+ @@ -535,7 +535,7 @@ calculate_exec_prefix(const _PyCoreConfig *core_config,

                   "Could not find platform dependent libraries <exec_prefix>\n");

           }

           wcsncpy(exec_prefix, calculate->exec_prefix, MAXPATHLEN);
@@ -145,7 +145,7 @@ 

       }

       /* If we found EXEC_PREFIX do *not* reduce it!  (Yet.) */

   }

- @@ -742,7 +742,7 @@ calculate_zip_path(PyCalculatePath *calculate, const wchar_t *prefix)

+ @@ -787,7 +787,7 @@ calculate_zip_path(PyCalculatePath *calculate, const wchar_t *prefix)

       else {

           wcsncpy(calculate->zip_path, calculate->prefix, MAXPATHLEN);

       }
@@ -154,8 +154,8 @@ 

   

       /* Replace "00" with version */

       size_t bufsz = wcslen(calculate->zip_path);

- @@ -867,7 +867,7 @@ calculate_init(PyCalculatePath *calculate,

-      if (!calculate->prefix) {

+ @@ -912,7 +912,7 @@ calculate_init(PyCalculatePath *calculate,

+      if (!calculate->exec_prefix) {

           return DECODE_LOCALE_ERR("EXEC_PREFIX define", len);

       }

  -    calculate->lib_python = Py_DecodeLocale("lib/python" VERSION, &len);
@@ -164,10 +164,10 @@ 

           return DECODE_LOCALE_ERR("EXEC_PREFIX define", len);

       }

  diff --git a/setup.py b/setup.py

- index f1933f7..450cd8a 100644

+ index 88cff61..ecbf798 100644

  --- a/setup.py

  +++ b/setup.py

- @@ -531,7 +531,7 @@ class PyBuildExt(build_ext):

+ @@ -585,7 +585,7 @@ class PyBuildExt(build_ext):

           # directories (i.e. '.' and 'Include') must be first.  See issue

           # 10520.

           if not cross_compiling:
@@ -176,7 +176,7 @@ 

               add_dir_to_list(self.compiler.include_dirs, '/usr/local/include')

           # only change this for cross builds for 3.3, issues on Mageia

           if cross_compiling:

- @@ -830,11 +830,11 @@ class PyBuildExt(build_ext):

+ @@ -891,11 +891,11 @@ class PyBuildExt(build_ext):

               elif curses_library:

                   readline_libs.append(curses_library)

               elif self.compiler.find_library_file(lib_dirs +

file modified
+2 -2
@@ -16,9 +16,9 @@ 

   

  +_WHEEL_DIR = "/usr/share/python-wheels/"

   

- -_SETUPTOOLS_VERSION = "40.8.0"

+ -_SETUPTOOLS_VERSION = "41.2.0"

   

- -_PIP_VERSION = "19.0.3"

+ -_PIP_VERSION = "19.2.3"

  +def _get_most_recent_wheel_version(pkg):

  +    prefix = os.path.join(_WHEEL_DIR, "{}-".format(pkg))

  +    suffix = "-py2.py3-none-any.whl"

file modified
+18 -14
@@ -4,7 +4,7 @@ 

  

  

  # TESTS:

- addFilter(r'(zero-length|pem-certificate|uncompressed-zip) /usr/lib(64)?/python3.\d/test')

+ addFilter(r'(zero-length|pem-certificate|uncompressed-zip) /usr/lib(64)?/python3\.\d+/test')

  

  

  # OTHER DELIBERATES:
@@ -13,30 +13,30 @@ 

  

  # intentionally unversioned and selfobsoleted

  addFilter(r'unversioned-explicit-obsoletes python')

- addFilter(r'self-obsoletion python3\d obsoletes python3\d')

+ addFilter(r'self-obsoletion python3\d+ obsoletes python3\d+')

  

  # intentionally hardcoded

  addFilter(r'hardcoded-library-path in %{_prefix}/lib/(debug/%{_libdir}|python%{pybasever})')

  

  # intentional for our pythonXY package

- addFilter(r'python3\d\.[^:]+: (E|W): devel-file-in-non-devel-package')

+ addFilter(r'python3\d+\.[^:]+: (E|W): devel-file-in-non-devel-package')

  

  # we have non binary stuff, python files

  addFilter(r'only-non-binary-in-usr-lib')

  

  # some devel files that are deliberately needed

- addFilter(r'devel-file-in-non-devel-package /usr/include/python3\.\dm/pyconfig-(32|64)\.h')

- addFilter(r'devel-file-in-non-devel-package /usr/lib(64)?/python3\.\d/distutils/tests/xxmodule\.c')

+ addFilter(r'devel-file-in-non-devel-package /usr/include/python3\.\d+m?/pyconfig-(32|64)\.h')

+ addFilter(r'devel-file-in-non-devel-package /usr/lib(64)?/python3\.\d+/distutils/tests/xxmodule\.c')

  

  

  # SORRY, NOT SORRY:

  # manual pages

- addFilter(r'no-manual-page-for-binary (idle|pydoc|pyvenv|2to3|python3-debug|pathfix|msgfmt|pygettext)')

- addFilter(r'no-manual-page-for-binary python3.*-config$')

- addFilter(r'no-manual-page-for-binary python3.\dd?m$')

+ addFilter(r'no-manual-page-for-binary (idle|pydoc|pyvenv|2to3|python3?-debug|pathfix|msgfmt|pygettext)')

+ addFilter(r'no-manual-page-for-binary python3?.*-config$')

+ addFilter(r'no-manual-page-for-binary python3\.\d+d?m?$')

  

  # missing documentation from subpackages

- addFilter(r'^python3\d?-(debug|tkinter|test|idle)\.[^:]+: (E|W): no-documentation')

+ addFilter(r'^python3\d*-(debug|tkinter|test|idle)\.[^:]+: (E|W): no-documentation')

  

  # platform python is obsoleted, but not provided

  addFilter(r'obsolete-not-provided platform-python')
@@ -53,20 +53,24 @@ 

  addFilter(r'python-bytecode-inconsistent-mtime .* 1970')

  

  # debugsource

- addFilter(r'^python3\d?-debugsource\.[^:]+: (E|W): no-documentation')

+ addFilter(r'^python3\d*-debugsource\.[^:]+: (E|W): no-documentation')

  

  # debuginfo

- addFilter(r'^python3\d?-debuginfo\.[^:]+: (E|W): useless-provides debuginfo\(build-id\)')

+ addFilter(r'^python3\d*-debuginfo\.[^:]+: (E|W): useless-provides debuginfo\(build-id\)')

  

  # this is OK for F28+

  addFilter(r'library-without-ldconfig-post')

  

  # debug package contains devel and non-devel files

- addFilter(r'python3\d?-debug.[^:]+: (E|W): (non-)?devel-file-in-(non-)?devel-package')

+ addFilter(r'python3\d*-debug\.[^:]+: (E|W): (non-)?devel-file-in-(non-)?devel-package')

  

  # this goes to other subpackage, hence not actually dangling, the read error is bogus

- addFilter(r'dangling-relative-symlink /usr/lib(64)?/pkgconfig/python-3\.\ddm\.pc python-3\.\d\.pc')

- addFilter(r'read-error /usr/lib(64)?/pkgconfig/python-3\.\ddm\.pc \[Errno 2\]')

+ addFilter(r'dangling-relative-symlink /usr/lib(64)?/pkgconfig/python-3\.\d+dm?(-embed)?\.pc python-3\.\d+(-embed)?\.pc')

+ addFilter(r'read-error /usr/lib(64)?/pkgconfig/python-3\.\d+dm?(-embed)?\.pc \[Errno 2\]')

+ 

+ # the python-unversioned-command package contains dangling symlinks by design

+ addFilter(r'^python-unversioned-command\.[^:]+: (E|W): dangling-relative-symlink '

+           r'(/usr/bin/python \./python3|/usr/share/man/man1/python\.1\S* ./python3\.1\S*)$')

  

  # we need this macro to evaluate, even if the line starts with #

  addFilter(r'macro-in-comment %\{_pyconfig(32|64)_h\}')

file modified
+15 -7
@@ -13,7 +13,7 @@ 

  

  #  WARNING  When rebasing to a new Python version,

  #           remember to update the python3-docs package as well

- %global general_version %{pybasever}.4

+ %global general_version %{pybasever}.5

  #global prerel ...

  %global upstream_version %{general_version}%{?prerel}

  Version: %{general_version}%{?prerel:~%{prerel}}
@@ -375,8 +375,8 @@ 

  Requires: python-setuptools-wheel

  Requires: python-pip-wheel

  %else

- Provides: bundled(python3-pip) = 19.0.3

- Provides: bundled(python3-setuptools) = 40.8.0

+ Provides: bundled(python3-pip) = 19.2.3

+ Provides: bundled(python3-setuptools) = 41.2.0

  %endif

  

  # There are files in the standard library that have python shebang.
@@ -530,8 +530,8 @@ 

  Requires: python-setuptools-wheel

  Requires: python-pip-wheel

  %else

- Provides: bundled(python3-pip) = 19.0.3

- Provides: bundled(python3-setuptools) = 40.8.0

+ Provides: bundled(python3-pip) = 19.2.3

+ Provides: bundled(python3-setuptools) = 41.2.0

  %endif

  

  # The description for the flat package
@@ -667,8 +667,10 @@ 

    $ExtraConfigArgs \

    %{nil}

  

+ %global flags_override EXTRA_CFLAGS="$MoreCFlags" CFLAGS_NODIST="$CFLAGS_NODIST $MoreCFlags"

+ 

    # Invoke the build

-   make EXTRA_CFLAGS="$CFLAGS $MoreCFlags" %{?_smp_mflags}

+   %make_build %{flags_override}

  

    popd

    echo FINISHED: BUILD OF PYTHON FOR CONFIGURATION: $ConfName
@@ -715,7 +717,7 @@ 

  # information

  

  %if %{with gdb_hooks}

- DirHoldingGdbPy=%{_prefix}/lib/debug/%{_libdir}

+ DirHoldingGdbPy=%{_usr}/lib/debug/%{_libdir}

  mkdir -p %{buildroot}$DirHoldingGdbPy

  %endif # with gdb_hooks

  
@@ -1491,6 +1493,12 @@ 

  # ======================================================

  

  %changelog

+ * Tue Oct 15 2019 Miro Hrončok <mhroncok@redhat.com> - 3.7.5-1

+ - Update to 3.7.5

+ 

+ * Wed Oct 02 2019 Miro Hrončok <mhroncok@redhat.com> - 3.7.5~rc1-1

+ - Update to 3.7.5rc1

+ 

  * Tue Jul 09 2019 Miro Hrončok <mhroncok@redhat.com> - 3.7.4-1

  - Update to 3.7.4

  

file modified
+1 -1
@@ -1,1 +1,1 @@ 

- SHA512 (Python-3.7.4.tar.xz) = 71f64668c259f3ed07bd4aa239dbba6cc1b6b0a84d50bbff160664845d7986f757e4d65fca327e62a2d12ba593742ca83a22f7cb6093aff8715ec916c2ba9416

+ SHA512 (Python-3.7.5.tar.xz) = f4f3879881f260f58dbb041fb0f2f210d4b70b02a739e41e50e6fea67d31855a7a29ce4ebef66bfde3d0edf54b946a48f78490f986da965357b835d4dbb3f414

file modified
+3
@@ -11,6 +11,9 @@ 

      - smoke:

          dir: python/smoke

          run: VERSION=3.7 ./venv.sh

+     - debugsmoke:

+         dir: python/smoke

+         run: PYTHON=python3-debug TOX=false VERSION=3.7 ./venv.sh

      - selftest:

          dir: python/selftest

          run: VERSION=3.7 X="-x test_wsgiref" ./parallel.sh