From 64d14f4808b5da1cd170e26d3145194292d291f9 Mon Sep 17 00:00:00 2001 From: Arjan van de Ven Date: Thu, 9 Jul 2020 02:37:49 +0000 Subject: [PATCH] Cython: Autospec creation for update from version 0.29.20 to version 0.29.21 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Clemens (1): Always consider 0-sized arrays as C- and F-contiguous (GH-3728) Jeroen Demeyer (1): Always bind Cython functions Michał Górny (1): Always bind Cython functions in Py3 (GH-3683) Stefan Behnel (34): Avoid calling PyUnicode_FromUnicode() in Py3. Update changelog. Update changelog. Avoid an "unused variable" warning for code that gets compiled out in Py3. Revert "Always bind Cython functions" Update changelog. Revert "Limited API updates and cleanup for #2056. GH-3635)" Revert "Invoke binop super method via direct slot access." Revert "Add support for pow operator." Revert "Python-style binary operation methods." Re-add "c_api_binop_methods" directive for backwards compatibility after reverting https://github.com/cython/cython/pull/3633 and force it to "False". Update changelog. Fix usage of deprecated Py_UNICODE API. Add safety fix to avoid reading a character from the empty string. exec() did not allow recent Python syntax features in Py3.8+ due to https://bugs.python.org/issue35975 Make end-to-end tests fail on refnanny output. Fix FunctionState handling for module cleanup function. Update change log. Disable testing against NumPy 1.19+ in the 0.29.x branch, which removed C-API features. Disable testing against NumPy 1.19.0 in the 0.29.x branch, which breaks a C-API call. Validate and fix temp releasing (GH-3708) (GH-3717) Add missing name substitution in __Pyx_PyUnicode_Substring() utility code. Update changelog. Prepare release of 0.29.21. Really only use PyUnicode_FromUnicode() when needed (GH-3697) Disable Py_UNICODE fallback for __Pyx_UnicodeContainsUCS4() in Py3.9 since Py_UNICODE is deprecated and PEP-393 unicode is practically required. Fix test in 16-bit Unicode deployments. Update changelog. Update changelog. Update changelog. Improve test output in case of failures. Using Py_UNICODE to store lone surrogates makes Py3 join surrogate pairs on 16-bit Unicode platforms (Windows) when reading them back in, although we correctly processed them before. Disable test in Py2.6. Update changelog. Thomas A Caswell (1): Add missing "PyUnicode_GET_LENGTH" to unicode.pxd (GH-3692) Victor Stinner (1): Avoid calling PyUnicode_FromUnicode() in Py3 (GH-3721) da-woods (1): Fix argument name usage in finally blocks (GH-3713) will (1): Add missing unordered_map template defaults (GH-3686) --- Cython.spec | 18 +++++++++--------- Makefile | 2 +- options.conf | 2 +- release | 2 +- testresults | 4 ++-- upstream | 2 +- versions | 2 +- 7 files changed, 16 insertions(+), 16 deletions(-) diff --git a/Cython.spec b/Cython.spec index aa87e7c..34235a6 100644 --- a/Cython.spec +++ b/Cython.spec @@ -3,10 +3,10 @@ # Generated by: autospec.py # Name : Cython -Version : 0.29.20 -Release : 97 -URL : https://files.pythonhosted.org/packages/3f/61/16a435de52fcda15246597a602aab6132cea50bedeb0919cb8874a068a20/Cython-0.29.20.tar.gz -Source0 : https://files.pythonhosted.org/packages/3f/61/16a435de52fcda15246597a602aab6132cea50bedeb0919cb8874a068a20/Cython-0.29.20.tar.gz +Version : 0.29.21 +Release : 98 +URL : https://files.pythonhosted.org/packages/6c/9f/f501ba9d178aeb1f5bf7da1ad5619b207c90ac235d9859961c11829d0160/Cython-0.29.21.tar.gz +Source0 : https://files.pythonhosted.org/packages/6c/9f/f501ba9d178aeb1f5bf7da1ad5619b207c90ac235d9859961c11829d0160/Cython-0.29.21.tar.gz Summary : The Cython compiler for writing C extensions for the Python language. Group : Development/Tools License : Apache-2.0 Python-2.0 @@ -77,15 +77,15 @@ python3 components for the Cython package. %prep -%setup -q -n Cython-0.29.20 -cd %{_builddir}/Cython-0.29.20 +%setup -q -n Cython-0.29.21 +cd %{_builddir}/Cython-0.29.21 %build export http_proxy=http://127.0.0.1:9/ export https_proxy=http://127.0.0.1:9/ export no_proxy=localhost,127.0.0.1,0.0.0.0 export LANG=C.UTF-8 -export SOURCE_DATE_EPOCH=1591901048 +export SOURCE_DATE_EPOCH=1594262256 export GCC_IGNORE_WERROR=1 export AR=gcc-ar export RANLIB=gcc-ranlib @@ -106,8 +106,8 @@ python runtests.py -j4 ||: export MAKEFLAGS=%{?_smp_mflags} rm -rf %{buildroot} mkdir -p %{buildroot}/usr/share/package-licenses/Cython -cp %{_builddir}/Cython-0.29.20/COPYING.txt %{buildroot}/usr/share/package-licenses/Cython/38099d4531dd3d32b72df546041f15201123547f -cp %{_builddir}/Cython-0.29.20/LICENSE.txt %{buildroot}/usr/share/package-licenses/Cython/a6a5418b4d67d9f3a33cbf184b25ac7f9fa87d33 +cp %{_builddir}/Cython-0.29.21/COPYING.txt %{buildroot}/usr/share/package-licenses/Cython/38099d4531dd3d32b72df546041f15201123547f +cp %{_builddir}/Cython-0.29.21/LICENSE.txt %{buildroot}/usr/share/package-licenses/Cython/a6a5418b4d67d9f3a33cbf184b25ac7f9fa87d33 python3 -tt setup.py build install --root=%{buildroot} echo ----[ mark ]---- cat %{buildroot}/usr/lib/python3*/site-packages/*/requires.txt || : diff --git a/Makefile b/Makefile index 3bca09d..eea64ac 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ PKG_NAME := Cython -URL = https://files.pythonhosted.org/packages/3f/61/16a435de52fcda15246597a602aab6132cea50bedeb0919cb8874a068a20/Cython-0.29.20.tar.gz +URL = https://files.pythonhosted.org/packages/6c/9f/f501ba9d178aeb1f5bf7da1ad5619b207c90ac235d9859961c11829d0160/Cython-0.29.21.tar.gz ARCHIVES = include ../common/Makefile.common diff --git a/options.conf b/options.conf index dbd4309..c2b44db 100644 --- a/options.conf +++ b/options.conf @@ -1,6 +1,6 @@ [package] name = Cython -url = https://files.pythonhosted.org/packages/3f/61/16a435de52fcda15246597a602aab6132cea50bedeb0919cb8874a068a20/Cython-0.29.20.tar.gz +url = https://files.pythonhosted.org/packages/6c/9f/f501ba9d178aeb1f5bf7da1ad5619b207c90ac235d9859961c11829d0160/Cython-0.29.21.tar.gz archives = giturl = https://github.com/cython/cython.git domain = diff --git a/release b/release index c17e934..6529ff8 100644 --- a/release +++ b/release @@ -1 +1 @@ -97 +98 diff --git a/testresults b/testresults index c75c6a2..7311984 100644 --- a/testresults +++ b/testresults @@ -1,5 +1,5 @@ -Total : 12143 -Pass : 12093 +Total : 12152 +Pass : 12102 Fail : 2 Skip : 48 XFail : 0 diff --git a/upstream b/upstream index 6f0b345..77e4954 100644 --- a/upstream +++ b/upstream @@ -1 +1 @@ -695704d96f18451f05a709fcb2eb616636ed6a87/Cython-0.29.20.tar.gz +3aafce4489a7bc7a48c843cdfb8dac4677fdac50/Cython-0.29.21.tar.gz diff --git a/versions b/versions index 5017ed5..09ccc27 100644 --- a/versions +++ b/versions @@ -1 +1 @@ -0.29.20 +0.29.21