15
0
forked from pool/python-cffi

8 Commits

Author SHA256 Message Date
1bf7f7cdbe Accepting request 1304687 from devel:languages:python
- update to 2.0.0:
  * Added support for free threaded CPython (3.14t+ only)
  * Added support for Python 3.14.
  * Dropped support for Python 3.8.

OBS-URL: https://build.opensuse.org/request/show/1304687
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cffi?expand=0&rev=47
2025-09-15 17:50:30 +00:00
d9dabdfcdb - update to 2.0.0:
* Added support for free threaded CPython (3.14t+ only)
  * Added support for Python 3.14.
  * Dropped support for Python 3.8.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cffi?expand=0&rev=103
2025-09-14 20:40:02 +00:00
be119cc960 Accepting request 1206446 from devel:languages:python
- update to 1.17.1:
  * Fix failing distutils.msvc9compiler imports under Windows (#118).
  * ffibuilder.emit_python_code() and ffibuiler.emit_c_code()
    accept file-like objects (#115).
  * ffiplatform calls are bypassed by ffibuilder.emit_python_code()
    and ffibuilder.emit_c_code() (#81).

OBS-URL: https://build.opensuse.org/request/show/1206446
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cffi?expand=0&rev=46
2024-10-09 20:03:26 +00:00
b041f8ba52 - update to 1.17.1:
* Fix failing distutils.msvc9compiler imports under Windows (#118).
  * ffibuilder.emit_python_code() and ffibuiler.emit_c_code()
    accept file-like objects (#115).
  * ffiplatform calls are bypassed by ffibuilder.emit_python_code()
    and ffibuilder.emit_c_code() (#81).

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cffi?expand=0&rev=101
2024-10-09 06:37:53 +00:00
107ff06d43 Accepting request 1198079 from devel:languages:python
- update to 1.17.0:
  * Add support for Python 3.13.
  * In API mode, when you get a function from a C library by writing
    `fn = lib.myfunc`, you get an object of a special type for
    performance reasons, instead of a `<cdata 'C-function-type'>`.
    Before version 1.17 you could only call such objects.
    You could write `ffi.addressof(lib, "myfunc")` in order to get
    a real `<cdata>` object, based on the idea that in these cases
    in C you'd usually write `&myfunc` instead of `myfunc`.  In
    version 1.17, the special object `lib.myfunc` can now be passed
    in many places where CFFI expects
    a regular `<cdata>` object.  For example, you can now pass
    it as a callback to a C function call, or write it inside a C
    structure field of the correct pointer-to-function type, or use
    `ffi.cast()` or `ffi.typeof()` on it.
- drop py313-compat.patch, py313-use-format-unraisable.patch,
  py313-use-hashpointer.patch (upstream)

OBS-URL: https://build.opensuse.org/request/show/1198079
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cffi?expand=0&rev=45
2024-09-03 11:37:08 +00:00
a4f2bc8ce4 - update to 1.17.0:
* Add support for Python 3.13.
  * In API mode, when you get a function from a C library by writing
    `fn = lib.myfunc`, you get an object of a special type for
    performance reasons, instead of a `<cdata 'C-function-type'>`.
    Before version 1.17 you could only call such objects.
    You could write `ffi.addressof(lib, "myfunc")` in order to get
    a real `<cdata>` object, based on the idea that in these cases
    in C you'd usually write `&myfunc` instead of `myfunc`.  In
    version 1.17, the special object `lib.myfunc` can now be passed
    in many places where CFFI expects
    a regular `<cdata>` object.  For example, you can now pass
    it as a callback to a C function call, or write it inside a C
    structure field of the correct pointer-to-function type, or use
    `ffi.cast()` or `ffi.typeof()` on it.
- drop py313-compat.patch, py313-use-format-unraisable.patch,
  py313-use-hashpointer.patch (upstream)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cffi?expand=0&rev=99
2024-08-31 12:55:13 +00:00
0396f22d84 Accepting request 1184154 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1184154
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cffi?expand=0&rev=44
2024-07-02 16:14:40 +00:00
fec30ea192 - add py313-compat.patch
py313-use-format-unraisable.patch
  py313-use-hashpointer.patch: add upstream patches for py3.13
  support

  testsuite failures with Python 3.11
  * Revert "grovel: detect :float and :double in the :auto type"
  * no upstream changelog provided
  * no upstream changelog provided
 * CPython 3 on Windows: we again try to compile with Py_LIMITED_API by default
- Update pytest in spec to add c directory tests in addition to
    messages.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cffi?expand=0&rev=97
2024-06-30 21:27:50 +00:00
4 changed files with 13 additions and 5 deletions

Binary file not shown.

3
cffi-2.0.0.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:44d1b5909021139fe36001ae048dbdde8214afa20200eda0f64c068cac5d5529
size 523588

View File

@@ -1,3 +1,11 @@
-------------------------------------------------------------------
Sun Sep 14 20:34:00 UTC 2025 - Dirk Müller <dmueller@suse.com>
- update to 2.0.0:
* Added support for free threaded CPython (3.14t+ only)
* Added support for Python 3.14.
* Dropped support for Python 3.8.
-------------------------------------------------------------------
Wed Oct 9 06:36:11 UTC 2024 - Dirk Müller <dmueller@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-cffi
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC and contributors
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -18,7 +18,7 @@
%{?sle15_python_module_pythons}
Name: python-cffi
Version: 1.17.1
Version: 2.0.0
Release: 0
Summary: Foreign Function Interface for Python calling C code
License: MIT