Hello community, here is the log from the commit of package python-cffi for openSUSE:Leap:15.2 checked in at 2020-03-01 08:50:56 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Leap:15.2/python-cffi (Old) and /work/SRC/openSUSE:Leap:15.2/.python-cffi.new.26092 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-cffi" Sun Mar 1 08:50:56 2020 rev:28 rq:780302 version:1.13.2 Changes: -------- --- /work/SRC/openSUSE:Leap:15.2/python-cffi/python-cffi.changes 2020-01-15 15:47:51.619406085 +0100 +++ /work/SRC/openSUSE:Leap:15.2/.python-cffi.new.26092/python-cffi.changes 2020-03-01 08:51:01.601231811 +0100 @@ -2 +2 @@ -Tue Oct 30 11:58:50 CET 2018 - mc...@suse.com +Mon Nov 18 20:21:04 UTC 2019 - Todd R <toddrme2...@gmail.com> @@ -4,2 +4,132 @@ -- Add dont-corrupt-memory.patch to fix boo#1111657 (originally - from https://bitbucket.org/cffi/cffi/commits/7a76a3815340) +- Update to 1.13.2: + * re-release because the Linux wheels came with an attached version of libffi that was very old and buggy +- Update to 1.13.1: + * deprecate the way to declare in cdef() a global variable with only void *foo;. You should always use a storage class, like extern void *foo; or maybe static void *foo;. These are all equivalent for the purposes of cdef(), but the reason for deprecating the bare version is that (as far as I know) it would always be mistake in a real C header. + * fix the regression RuntimeError: found a situation in which we try to build a type recursively. + * fixed issue #427 where a multithreading mistake in the embedding logic initialization code would cause deadlocks on CPython 3.7. + +------------------------------------------------------------------- +Tue Oct 15 10:39:50 UTC 2019 - Tomáš Chvátal <tchva...@suse.com> + +- Update to 1.13.0: + * No changelog provided upstream + +------------------------------------------------------------------- +Tue Apr 30 19:42:59 UTC 2019 - Todd R <toddrme2...@gmail.com> + +- Update to 1.12.3 + * Fix for nested struct types that end in a var-sized array (#405). + * Add support for using U and L characters at the end of integer constants in ffi.cdef() (thanks Guillaume). + * More 3.8 fixes. + +------------------------------------------------------------------- +Thu Mar 7 14:10:49 UTC 2019 - John Vandenberg <jay...@gmail.com> + +- Remove test suite exception which was fixed by 7a76a38153*.patch +- Add doc/*/*.rst to %doc + +------------------------------------------------------------------- +Sat Mar 2 10:39:31 UTC 2019 - Ondřej Súkup <mimi...@gmail.com> + +- update to 1.12.3 +- drop patches: 3184b0a675fc425b821b528d7fdf744b2f08dadf.patch + 7a76a381534012af4790e815140d1538510b7d93.patch + e2e324a2f13e3a646de6f6ff03e90ed7d37e2636.patch + * Direct support for pkg-config. + * ffi.from_buffer() takes a new optional first argument that gives the array + type of the result. It also takes an optional keyword argument require_writable + to refuse read-only Python buffers. + * ffi.new(), ffi.gc() or ffi.from_buffer() cdata objects can now be released + at known times, either by using the with keyword or by calling the new ffi.release(). + * Accept an expression like ffi.new("int[4]", p) if p is itself another cdata int[4]. + * CPython 2.x: ffi.dlopen() failed with non-ascii file names on Posix + * CPython: if a thread is started from C and then runs Python code + (with callbacks or with the embedding solution), then previous versions of cffi + would contain possible crashes and/or memory leaks. + * Support for ffi.cdef(..., pack=N) where N is a power of two. + +------------------------------------------------------------------- +Mon Oct 29 16:10:03 CET 2018 - mc...@suse.com + +- Add 7a76a381534012af4790e815140d1538510b7d93.patch to fix + bsc#1111657 (we need use to proper void returning function not + to corrupt memory in tests). + +------------------------------------------------------------------- +Wed Oct 17 18:53:19 CEST 2018 - mc...@suse.com + +- Fix calling of py.test executor. + +------------------------------------------------------------------- +Fri Sep 21 07:24:58 CEST 2018 - mc...@suse.com + +- Add 3184b0a675fc425b821b528d7fdf744b2f08dadf.patch as + a workaround against + https://bitbucket.org/cffi/cffi/issues/378/ (possible bug in + GCC, see https://bugzilla.redhat.com/1552724). + +------------------------------------------------------------------- +Wed Sep 19 20:43:08 CEST 2018 - mc...@suse.com + +- Remove ignore-tests.patch -- testing what will happen +- Add e2e324a2f13e3a646de6f6ff03e90ed7d37e2636.patch from + upstream to remove some warnings. + +------------------------------------------------------------------- +Tue Sep 18 15:51:02 UTC 2018 - Matěj Cepl <mc...@suse.com> + +- Switch off falling tests with new patch + ignore-tests.patch instead of -k parameter for py.test. + https://bitbucket.org/cffi/cffi/issues/384/ + +------------------------------------------------------------------- +Fri Mar 2 23:14:41 UTC 2018 - a...@gmx.de + +- update to version 1.11.5: + * Issue #357: fix ffi.emit_python_code() which generated a buggy + Python file if you are using a struct with an anonymous union + field or vice-versa. + * Windows: ffi.dlopen() should now handle unicode filenames. + * ABI mode: implemented ffi.dlclose() for the in-line case (it used + to be present only in the out-of-line case). + * Fixed a corner case for setup.py install --record=xx --root=yy + with an out-of-line ABI module. Also fixed Issue #345. + * More hacks on Windows for running CFFI’s own setup.py. + * Issue #358: in embedding, to protect against (the rare case of) + Python initialization from several threads in parallel, we have to + use a spin-lock. On CPython 3 it is worse because it might + spin-lock for a long time (execution of Py_InitializeEx()). Sadly, + recent changes to CPython make that solution needed on CPython 2 + too. + * CPython 3 on Windows: we no longer compile with Py_LIMITED_API by + default because such modules cannot be used with virtualenv. Issue + #350 mentions a workaround if you still want that and are not + concerned about virtualenv: pass a + define_macros=[("Py_LIMITED_API", None)] to the + ffibuilder.set_source() call. + +------------------------------------------------------------------- +Tue Feb 20 00:23:55 UTC 2018 - a...@gmx.de + +- specfile: + * delete patch cffi-loader.patch; included upstream + +- update to version 1.11.4: + * Windows: reverted linking with python3.dll, because virtualenv + does not make this DLL available to virtual environments for + now. See Issue #355. On Windows only, the C extension modules + created by cffi follow for now the standard naming scheme + foo.cp36-win32.pyd, to make it clear that they are regular CPython + modules depending on python36.dll. + +- changes from version 1.11.3: + * Fix on CPython 3.x: reading the attributes __loader__ or __spec__ + from the cffi-generated lib modules gave a buggy + SystemError. (These attributes are always None, and provided only + to help compatibility with tools that expect them in all modules.) + * More Windows fixes: workaround for MSVC not supporting large + literal strings in C code (from + ffi.embedding_init_code(large_string)); and an issue with + Py_LIMITED_API linking with python35.dll/python36.dll instead of + python3.dll. + * Small documentation improvements. Old: ---- cffi-1.11.2.tar.gz cffi-loader.patch dont-corrupt-memory.patch New: ---- cffi-1.13.2.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-cffi.spec ++++++ --- /var/tmp/diff_new_pack.sbudOH/_old 2020-03-01 08:51:02.025232654 +0100 +++ /var/tmp/diff_new_pack.sbudOH/_new 2020-03-01 08:51:02.029232662 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-cffi # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 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 @@ -12,31 +12,28 @@ # 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/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # %{?!python_module:%define python_module() python-%{**} python3-%{**}} -%define modname cffi -Name: python-%{modname} -Version: 1.11.2 +Name: python-cffi +Version: 1.13.2 Release: 0 Summary: Foreign Function Interface for Python calling C code License: MIT Group: Development/Languages/Python -Url: http://%{modname}.readthedocs.org -Source0: https://files.pythonhosted.org/packages/source/c/cffi/%{modname}-%{version}.tar.gz +URL: http://cffi.readthedocs.org +Source0: https://files.pythonhosted.org/packages/source/c/cffi/cffi-%{version}.tar.gz Source1: python-cffi-rpmlintrc -Patch0: cffi-loader.patch -Patch1: dont-corrupt-memory.patch BuildRequires: %{python_module devel} BuildRequires: %{python_module pycparser} BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} +BuildRequires: fdupes BuildRequires: gcc-c++ BuildRequires: pkgconfig BuildRequires: python-rpm-macros -BuildRequires: fdupes BuildRequires: pkgconfig(libffi) Requires: python-pycparser %python_subpackages @@ -46,8 +43,7 @@ is to provide a convenient and reliable way of calling C code from Python. %prep -%setup -q -n %{modname}-%{version} -%autopatch -p1 +%setup -q -n cffi-%{version} %build export CFLAGS="%{optflags}" @@ -55,15 +51,16 @@ %install %python_install +%python_expand %fdupes %{buildroot}%{$python_sitearch} %check %{python_expand export PYTHONPATH=%{buildroot}%{$python_sitearch} -# py.test-%%$python_bin_suffix -k "not test_init_once_multithread" c/ testing/ -py.test-%$python_bin_suffix c/ testing/ +py.test-%$python_bin_suffix -v -W ignore::UserWarning c/ testing/ } %files %{python_files} %license LICENSE +%doc README.md doc/source/*.rst doc/misc/*.rst %{python_sitearch}/* %changelog ++++++ cffi-1.11.2.tar.gz -> cffi-1.13.2.tar.gz ++++++ ++++ 8934 lines of diff (skipped) ++++++ python-cffi-rpmlintrc ++++++ --- /var/tmp/diff_new_pack.sbudOH/_old 2020-03-01 08:51:02.165232933 +0100 +++ /var/tmp/diff_new_pack.sbudOH/_new 2020-03-01 08:51:02.165232933 +0100 @@ -1,4 +1,4 @@ # cffi specifically installs C headers in site-packages, so : addFilter("devel-file-in-non-devel-package .*/site-packages/cffi/parse_c_type.h") -addFilter("devel-file-in-non-devel-package .*/site-packages/cffi/_cffi_include.h") +addFilter("devel-file-in-non-devel-package .*/site-packages/cffi/_cffi_(include|errors).h") addFilter("devel-file-in-non-devel-package .*/site-packages/cffi/_embedding.h")