Hello community, here is the log from the commit of package python-Cython for openSUSE:Factory checked in at 2017-10-13 14:07:01 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-Cython (Old) and /work/SRC/openSUSE:Factory/.python-Cython.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-Cython" Fri Oct 13 14:07:01 2017 rev:33 rq:532572 version:0.26.1 Changes: -------- New Changes file: --- /dev/null 2017-10-06 12:38:12.078789702 +0200 +++ /work/SRC/openSUSE:Factory/.python-Cython.new/python-Cython-doc.changes 2017-10-13 14:07:04.975986227 +0200 @@ -0,0 +1,938 @@ +------------------------------------------------------------------- +Thu Oct 5 19:28:03 UTC 2017 - [email protected] + +- Update to 0.26.1 + + Bugs fixed + * ``cython.view.array`` was missing ``.__len__()``. + * Extension types with a ``.pxd`` override for their ``__releasebuffer__`` slot + (e.g. as provided by Cython for the Python ``array.array`` type) could leak + a reference to the buffer owner on release, thus not freeing the memory. + (Github issue #1638) + * Auto-decoding failed in 0.26 for strings inside of C++ containers. + (Github issue #1790) + * Compile error when inheriting from C++ container types. + (Github issue #1788) + * Invalid C code in generators (declaration after code). + (Github issue #1801) + * Arithmetic operations on ``const`` integer variables could generate invalid code. + (Github issue #1798) + * Local variables with names of special Python methods failed to compile inside of + closures. (Github issue #1797) + * Problem with indirect Emacs buffers in cython-mode. + Patch by Martin Albrecht (Github issue #1743). + * Extension types named ``result`` or ``PickleError`` generated invalid unpickling code. + Patch by Jason Madden (Github issue #1786). + * Bazel integration failed to compile ``.py`` files. + Patch by Guro Bokum (Github issue #1784). + * Some include directories and dependencies were referenced with their absolute paths + in the generated files despite lying within the project directory. + * Failure to compile in Py3.7 due to a modified signature of ``_PyCFunctionFast()`` +- Update to 0.26 + + Features added + * Pythran can be used as a backend for evaluating NumPy array expressions. + Patch by Adrien Guinet (Github issue #1607). + * cdef classes now support pickling by default when possible. + This can be disabled with the ``auto_pickle`` directive. + * Speed up comparisons of strings if their hash value is available. + Patch by Claudio Freire (Github issue #1571). + * Support pyximport from zip files. + Patch by Sergei Lebedev (Github issue #1485). + * IPython magic now respects the ``__all__`` variable and ignores + names with leading-underscore (like ``import *`` does). + Patch by Syrtis Major (Github issue #1625). + * ``abs()`` is optimised for C complex numbers. + Patch by da-woods (Github issue #1648). + * The display of C lines in Cython tracebacks can now be enabled at runtime + via ``import cython_runtime; cython_runtime.cline_in_traceback=True``. + The default has been changed to False. + * The overhead of calling fused types generic functions was reduced. + * "cdef extern" include files are now also searched relative to the current file. + Patch by Jeroen Demeyer (Github issue #1654). + * Optional optimization for re-aquiring the GIL, controlled by the + `fast_gil` directive. + + Bugs fixed + * Item lookup/assignment with a unicode character as index that is typed + (explicitly or implicitly) as ``Py_UCS4`` or ``Py_UNICODE`` used the + integer value instead of the Unicode string value. Code that relied on + the previous behaviour now triggers a warning that can be disabled by + applying an explicit cast. (Github issue #1602) + * f-string processing was adapted to changes in PEP 498 and CPython 3.6. + * Invalid C code when decoding from UTF-16(LE/BE) byte strings. + (Github issue #1696) + * Unicode escapes in 'ur' raw-unicode strings were not resolved in Py2 code. + Original patch by Aaron Gallagher (Github issue #1594). + * File paths of code objects are now relative. + Original patch by Jelmer Vernooij (Github issue #1565). + * Decorators of cdef class methods could be executed twice. + Patch by Jeroen Demeyer (Github issue #1724). + * Dict iteration using the Py2 ``iter*`` methods failed in PyPy3. + Patch by Armin Rigo (Github issue #1631). + * Several warnings in the generated code are now suppressed. + + Other changes + * The ``unraisable_tracebacks`` option now defaults to ``True``. + * Coercion of C++ containers to Python is no longer automatic on attribute + access (Github issue #1521). + * Access to Python attributes of cimported modules without the corresponding + import is now a compile-time (rather than runtime) error. + * Do not use special dll linkage for "cdef public" functions. + Patch by Jeroen Demeyer (Github issue #1687). + * cdef/cpdef methods must match their declarations. See Github Issue #1732. + This is now a warning and will be an error in future releases. +- Update to 0.25.2 + + Bugs fixed + * Fixes several issues with C++ template deduction. + * Fixes a issue with bound method type inference (Github issue #551). + * Fixes a bug with cascaded tuple assignment (Github issue #1523). + * Fixed or silenced many Clang warnings. + * Fixes bug with powers of pure real complex numbers (Github issue #1538). +- Create subpackage for documentation + +------------------------------------------------------------------- +Mon Oct 2 22:02:54 UTC 2017 - [email protected] + +- Ensure neutrality of description. + +------------------------------------------------------------------- +Mon Dec 19 17:49:22 UTC 2016 - [email protected] + +- update for multipython build + +------------------------------------------------------------------- +Fri Oct 28 12:40:24 UTC 2016 - [email protected] + +- Update to version 0.25.1 + + Bugs fixed + * Fixes a bug with ``isinstance(o, Exception)`` (Github issue #1496). + * Fixes bug with ``cython.view.array`` missing utility code in some cases + (Github issue #1502). + + Other changes + * The distutils extension ``Cython.Distutils.build_ext`` has been reverted, + temporarily, to be ``old_build_ext`` to give projects time to migrate. + The new build_ext is available as ``new_build_ext``. + +------------------------------------------------------------------- +Wed Oct 26 14:55:49 UTC 2016 - [email protected] + +- Fix source URL. + +------------------------------------------------------------------- +Wed Oct 26 01:36:12 UTC 2016 - [email protected] + +- update to version 0.25: + + Features added + * def/cpdef methods of cdef classes benefit from Cython's internal function + implementation, which enables introspection and line profiling for them. + Implementation sponsored by Turbostream (www.turbostream-cfd.com). + * The distutils extension ``Cython.Distutils.build_ext`` has now been updated + to use cythonize which properly handles dependencies. The old extension can + still be found in ``Cython.Distutils.old_build_ext`` and is now deprecated. + * Calls to Python functions are faster, following the recent "FastCall" + optimisations that Victor Stinner implemented for CPython 3.6. + See https://bugs.python.org/issue27128 and related issues. + * The new METH_FASTCALL calling convention for PyCFunctions is supported + in CPython 3.6. See https://bugs.python.org/issue27810 + * C++ classes can now have typedef members. STL containers updated with + value_type. + * Support for bazel using a the pyx_library rule in //Tools:rules.bzl. + * Initial support for using Cython modules in Pyston. Patch by Daetalus. + * Dynamic Python attributes are allowed on cdef classes if an attribute + ``cdef dict __dict__`` is declared in the class. Patch by empyrical. + * Cython implemented C++ classes can make direct calls to base class methods. + Patch by empyrical. + * New directive ``cython.no_gc`` to fully disable GC for a cdef class. + Patch by Claudio Freire. + * Buffer variables are no longer excluded from ``locals()``. + Patch by da-woods. + * Building f-strings is faster, especially when formatting C integers. + * for-loop iteration over "std::string". + * ``libc/math.pxd`` provides ``e`` and ``pi`` as alias constants to simplify + usage as a drop-in replacement for Python's math module. + * Speed up cython.inline(). + * Binary lshift operations with small constant Python integers are faster. + * Some integer operations on Python long objects are faster in Python 2.7. + * Support for the C++ ``typeid`` operator. + + Significant Bugs fixed + * Division of complex numbers avoids overflow by using Smith's method. + * Some function signatures in ``libc.math`` and ``numpy.pxd`` were incorrect. + Pach by Michael Seifert. + + Other changes + * The "%%cython" IPython/jupyter magic now defaults to the language level of + the current jupyter kernel. The language level can be set explicitly with + "%%cython -2" or "%%cython -3". +- update to version 0.24.1: + * IPython cell magic was lacking a good way to enable Python 3 code + semantics. It can now be used as "%%cython -3". + * Follow a recent change in PEP 492 and CPython 3.5.1 that now + requires the __aiter__() method of asynchronous iterators to be a + simple def method instead of an async def method. + * Coroutines and generators were lacking the __module__ special + attribute. + * C++ std::complex values failed to auto-convert from and to Python + complex objects. + * Namespaced C++ types could not be used as memory view types due to + lack of name mangling. Patch by Ivan Smirnov. + * Assignments between identical C++ types that were declared with + differently typedefed template types could fail. + * Rebuilds could fail to evaluate dependency timestamps in C++ + mode. Patch by Ian Henriksen. + * Macros defined in the distutils compiler option do not require + values anymore. Patch by Ian Henriksen. + * Minor fixes for MSVC, Cygwin and PyPy. +- specfile: + * changed to https for source url + * updated source url to files.pythonhosted.org +- update to version 0.24: + * Features added + + PEP 498: Literal String Formatting (f-strings). Original patch + by Jelle Zijlstra. https://www.python.org/dev/peps/pep-0498/ + + PEP 515: Underscores as visual separators in number + literals. https://www.python.org/dev/peps/pep-0515/ + + Parser was adapted to some minor syntax changes in Py3.6, + e.g. https://bugs.python.org/issue9232 + + The embedded C code comments that show the original source code + can be discarded with the new directive + emit_code_comments=False. + + Cpdef enums are now first-class iterable, callable types in + Python. + + Ctuples can now be declared in pure Python code. ++++ 741 more lines (skipped) ++++ between /dev/null ++++ and /work/SRC/openSUSE:Factory/.python-Cython.new/python-Cython-doc.changes Old: ---- Cython-0.25.1.tar.gz New: ---- Cython-0.26.1.tar.gz python-Cython-doc.changes python-Cython-doc.spec ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-Cython-doc.spec ++++++ # # spec file for package python-Cython-doc # # Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # %ifarch x86_64 %bcond_without test %else %bcond_with test %endif %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-Cython-doc Version: 0.26.1 Release: 0 Url: http://www.cython.org Summary: The Cython compiler for writing C extensions for the Python language License: Apache-2.0 Group: Documentation/Other Source: https://files.pythonhosted.org/packages/source/C/Cython/Cython-%{version}.tar.gz Source1: python-Cython-rpmlintrc BuildRequires: fdupes BuildRequires: python-rpm-macros BuildRequires: python3-Sphinx %if %{with test} BuildRequires: gcc-c++ BuildRequires: %{python_module Cython = %{version}} %endif BuildArch: noarch %description The Cython language allows for writing C extensions for the Python language. Cython is a source code translator based on Pyrex, but supports more cutting edge functionality and optimizations. The Cython language is very close to the Python language (and most Python code is also valid Cython code), but Cython additionally supports calling C functions and declaring C types on variables and class attributes. This allows the compiler to generate very efficient C code from Cython code. %prep %setup -q -n Cython-%{version} # Fix EOL encoding sed -i "s|\r||" Demos/callback/{README.txt,cheesefinder.h} Demos/embed/Makefile.{unix,msc.static} %build python3 setup.py build_sphinx && rm build/sphinx/html/.buildinfo %install mkdir -p %{buildroot}%{_docdir}/python-Cython cp -r build/sphinx/html %{buildroot}%{_docdir}/python-Cython %fdupes %{buildroot}%{_docdir}/python-Cython %if %{with test} %check export LANG=en_US.UTF-8 %python_exec runtests.py -vv %endif %files %defattr(-,root,root,-) %if 0%{?leap_version} >= 420200 || 0%{?suse_version} > 1320 %license LICENSE.txt %else %doc LICENSE.txt %endif %doc COPYING.txt README.txt ToDo.txt USAGE.txt %dir %{_docdir}/python-Cython/ %{_docdir}/python-Cython/html/ %changelog ++++++ python-Cython.spec ++++++ --- /var/tmp/diff_new_pack.ycEYYN/_old 2017-10-13 14:07:09.707778145 +0200 +++ /var/tmp/diff_new_pack.ycEYYN/_new 2017-10-13 14:07:09.711777969 +0200 @@ -15,11 +15,10 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # - %{?!python_module:%define python_module() python-%{**} python3-%{**}} %define oldpython python Name: python-Cython -Version: 0.25.1 +Version: 0.26.1 Release: 0 Url: http://www.cython.org Summary: The Cython compiler for writing C extensions for the Python language @@ -27,7 +26,6 @@ Group: Development/Languages/Python Source: https://files.pythonhosted.org/packages/source/C/Cython/Cython-%{version}.tar.gz Source1: python-Cython-rpmlintrc -BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: %{python_module devel} BuildRequires: %{python_module xml} BuildRequires: fdupes @@ -58,8 +56,6 @@ %setup -q -n Cython-%{version} # Fix non-executable scripts sed -i "s|^#!.*||" Cython/Debugger/{libpython,Cygdb}.py cython.py -# Fix EOL encoding -sed -i "s|\r||" Demos/callback/{README.txt,cheesefinder.h} Demos/embed/Makefile.{unix,msc.static} Doc/primes.c %build export CFLAGS="%{optflags}" @@ -77,8 +73,12 @@ %prepare_alternative $p done -%{python_expand %fdupes -s %{buildroot}%{$python_sitearch}} -%fdupes %{buildroot}%{_docdir} +%{python_expand chmod a+x %{buildroot}%{$python_sitearch}/Cython/Build/Cythonize.py +sed -i "s|^#!/usr/bin/env python$|#!%{__$python}|" %{buildroot}%{$python_sitearch}/Cython/Build/Cythonize.py +$python -m compileall -d %{$python_sitearch} %{buildroot}%{$python_sitearch}/Cython/Build/ +$python -O -m compileall -d %{$python_sitearch} %{buildroot}%{$python_sitearch}/Cython/Build/ +%fdupes %{buildroot}%{$python_sitearch} +} %post %python_install_alternative cython cythonize cygdb @@ -86,28 +86,21 @@ %postun %python_uninstall_alternative cython -%check -%if 0%{?suse_version} && 0%{?suse_version} <= 1140 -sed -i.SLES11.SP4.bak -e 's/const char/char/' ./tests/run/cpdef_extern_func.pyx -#mv ./tests/run/cpdef_extern_func.pxd ./tests/run/cpdef_extern_func.pxd.TNT.txt -#mv ./tests/run/cpdef_extern_func.pyx ./tests/run/cpdef_extern_func.pyx.TNT.txt -#sleep 60 -%endif -%ifarch x86_64 -export LANG=en_US.UTF-8 -%python_exec runtests.py -vv -%endif - %files %{python_files} %defattr(-,root,root,-) -%doc COPYING.txt LICENSE.txt README.txt ToDo.txt USAGE.txt Doc Demos +%if 0%{?leap_version} >= 420200 || 0%{?suse_version} > 1320 +%license LICENSE.txt +%else +%doc LICENSE.txt +%endif +%doc COPYING.txt README.txt ToDo.txt USAGE.txt %python_alternative %{_bindir}/cygdb %python_alternative %{_bindir}/cython %python_alternative %{_bindir}/cythonize %{python_sitearch}/Cython/ %{python_sitearch}/Cython-%{version}-py*.egg-info %{python_sitearch}/cython.py* -%pycache_only %{python_sitearch}/__pycache__ +%pycache_only %{python_sitearch}/__pycache__/cython*.py* %{python_sitearch}/pyximport/ %changelog ++++++ Cython-0.25.1.tar.gz -> Cython-0.26.1.tar.gz ++++++ ++++ 18155 lines of diff (skipped) ++++++ python-Cython-rpmlintrc ++++++ --- /var/tmp/diff_new_pack.ycEYYN/_old 2017-10-13 14:07:10.283752816 +0200 +++ /var/tmp/diff_new_pack.ycEYYN/_new 2017-10-13 14:07:10.283752816 +0200 @@ -1 +1,4 @@ addFilter('devel-file-in-non-devel-package .*/Cython/.*') +addFilter('devel-dependency python-devel') +addFilter('devel-dependency python2-devel') +addFilter('devel-dependency python3-devel')
