Commit Graph

  • b283c9a8a6 Accepting request 1304687 from devel:languages:python factory Ana Guerrero 2025-09-15 17:50:30 +00:00
  • 1d97a44aa2 - 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. Dirk Mueller 2025-09-14 20:40:02 +00:00
  • be119cc960 Accepting request 1206446 from devel:languages:python slfo-main slfo-1.2 Ana Guerrero 2024-10-09 20:03:26 +00:00
  • d856e047ac Accepting request 1206446 from devel:languages:python Ana Guerrero 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). Dirk Mueller 2024-10-09 06:37:53 +00:00
  • 80be462065 - 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). Dirk Mueller 2024-10-09 06:37:53 +00:00
  • 107ff06d43 Accepting request 1198079 from devel:languages:python Dominique Leuenberger 2024-09-03 11:37:08 +00:00
  • 7e882a4f89 Accepting request 1198079 from devel:languages:python Dominique Leuenberger 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) Dirk Mueller 2024-08-31 12:55:13 +00:00
  • f23ce8d09b - 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) Dirk Mueller 2024-08-31 12:55:13 +00:00
  • 0396f22d84 Accepting request 1184154 from devel:languages:python Ana Guerrero 2024-07-02 16:14:40 +00:00
  • e05f01b7ad Accepting request 1184154 from devel:languages:python Ana Guerrero 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 Dirk Mueller 2024-06-30 21:27:50 +00:00
  • a890727ddf Accepting request 1184153 from home:dirkmueller:branches:openSUSE:Factory:Rings:1-MinimalX Dirk Mueller 2024-06-30 21:27:50 +00:00
  • ef741a1106 Accepting request 1153153 from devel:languages:python Dominique Leuenberger 2024-03-01 22:34:22 +00:00
  • 95e12436dc Accepting request 1153153 from devel:languages:python Dominique Leuenberger 2024-03-01 22:34:22 +00:00
  • 0e2b8d68d1 Accepting request 1153143 from devel:BCI:SLCS:next Matej Cepl 2024-02-29 09:58:21 +00:00
  • b99c8ce171 Accepting request 1153143 from devel:BCI:SLCS:next Matej Cepl 2024-02-29 09:58:21 +00:00
  • 7e5801911c Accepting request 1117701 from devel:languages:python Ana Guerrero 2023-10-15 17:25:59 +00:00
  • 2388d80c65 Accepting request 1117701 from devel:languages:python Ana Guerrero 2023-10-15 17:25:59 +00:00
  • 514cff8146 Fix tests Matej Cepl 2023-10-06 17:02:57 +00:00
  • 5631f3012f Fix tests Matej Cepl 2023-10-06 17:02:57 +00:00
  • b5d4b45b53 - Upgrade to 1.16.0: - Add support for Python 3.12. With the removal of distutils from Python 3.12, projects using CFFI features that depend on distutils at runtime must add a dependency on setuptools to function under Python 3.12+. CFFI does not declare a runtime setuptools requirement to avoid an unnecessary dependency for projects that do not require it. - Drop support for end-of-life Python versions (2.7, 3.6, 3.7). - Move project source under src/; a more standard layout that also enables CI to more easily catch packaging errors. - Move project home to python-cffi/cffi on GitHub. - Add support for PEP517 builds; setuptools is now a required build dependency. - Declare python_requires metadata for Python 3.8+. This allows unsupported Pythons to continue using previously released sdists and wheels. - Add missing calls to PyObject_GC_UnTrack to avoid ResourceWarning 15c4b71 - Remove upstreamed patch 8a3c2c816d789639b49d3ae867213393ed7abdff.patch Matej Cepl 2023-10-06 16:35:58 +00:00
  • 01bff7fbb3 - Upgrade to 1.16.0: - Add support for Python 3.12. With the removal of distutils from Python 3.12, projects using CFFI features that depend on distutils at runtime must add a dependency on setuptools to function under Python 3.12+. CFFI does not declare a runtime setuptools requirement to avoid an unnecessary dependency for projects that do not require it. - Drop support for end-of-life Python versions (2.7, 3.6, 3.7). - Move project source under src/; a more standard layout that also enables CI to more easily catch packaging errors. - Move project home to python-cffi/cffi on GitHub. - Add support for PEP517 builds; setuptools is now a required build dependency. - Declare python_requires metadata for Python 3.8+. This allows unsupported Pythons to continue using previously released sdists and wheels. - Add missing calls to PyObject_GC_UnTrack to avoid ResourceWarning 15c4b71 - Remove upstreamed patch 8a3c2c816d789639b49d3ae867213393ed7abdff.patch Matej Cepl 2023-10-06 16:35:58 +00:00
  • ce4a4ca5a2 - Clean up the SPEC file Matej Cepl 2023-10-06 07:10:19 +00:00
  • fc0dd1d17d - Clean up the SPEC file Matej Cepl 2023-10-06 07:10:19 +00:00
  • e4acf57640 Accepting request 1081967 from devel:languages:python Dominique Leuenberger 2023-04-22 20:01:37 +00:00
  • a48ff0e0eb Accepting request 1081967 from devel:languages:python Dominique Leuenberger 2023-04-22 20:01:37 +00:00
  • 0b00352207 Accepting request 1081360 from home:dirkmueller:acdc:as_python3_module Dirk Mueller 2023-04-21 14:49:53 +00:00
  • d4fc395b87 Accepting request 1081360 from home:dirkmueller:acdc:as_python3_module Dirk Mueller 2023-04-21 14:49:53 +00:00
  • 4a9639536f Accepting request 1056350 from devel:languages:python Dominique Leuenberger 2023-01-07 16:16:03 +00:00
  • 39a9a39daa Accepting request 1056350 from devel:languages:python Dominique Leuenberger 2023-01-07 16:16:03 +00:00
  • 1037cbd86e - add 8a3c2c816d789639b49d3ae867213393ed7abdff.patch to resolve testsuite failures with Python 3.11 Dirk Mueller 2023-01-06 09:01:16 +00:00
  • 4d47791e65 - add 8a3c2c816d789639b49d3ae867213393ed7abdff.patch to resolve testsuite failures with Python 3.11 Dirk Mueller 2023-01-06 09:01:16 +00:00
  • 072f53f549 Accepting request 1040369 from devel:languages:python Dominique Leuenberger 2022-12-07 16:34:04 +00:00
  • 97ea7e47fa Accepting request 1040369 from devel:languages:python Dominique Leuenberger 2022-12-07 16:34:04 +00:00
  • a4de79fb62 - Add python-py as test dependency Daniel Garcia 2022-12-05 12:44:00 +00:00
  • 9903bc8e0f - Add python-py as test dependency Daniel Garcia 2022-12-05 12:44:00 +00:00
  • 285a437c24 Accepting request 990222 from devel:languages:python Dominique Leuenberger 2022-08-04 11:23:13 +00:00
  • 49e8b65aa6 Accepting request 990222 from devel:languages:python Dominique Leuenberger 2022-08-04 11:23:13 +00:00
  • 26eddf2eda - update to 1.15.1: * If you call ffi.embedding_api() but don’t write any extern “Python” function there, then the resulting C code would fail an assert. Fixed. * Updated Windows/arm64 embedded libffi static lib to v3.4.2, and scripted to ease future updates (thanks Niyas Sait!) Dirk Mueller 2022-07-19 11:32:29 +00:00
  • 6567ea6f4b - update to 1.15.1: * If you call ffi.embedding_api() but don’t write any extern “Python” function there, then the resulting C code would fail an assert. Fixed. * Updated Windows/arm64 embedded libffi static lib to v3.4.2, and scripted to ease future updates (thanks Niyas Sait!) Dirk Mueller 2022-07-19 11:32:29 +00:00
  • 82e3b471f2 Accepting request 929906 from devel:languages:python Dominique Leuenberger 2021-11-09 22:54:05 +00:00
  • 25e7fbf5ff Accepting request 929906 from devel:languages:python Dominique Leuenberger 2021-11-09 22:54:05 +00:00
  • feb781c81e - update to 1.15.0: * Fixed MANIFEST.in to include missing file for Windows arm64 support * Fixed Linux wheel build to use gcc default ISA for libffi * Updated setup.py Python trove specifiers to currently-tested Python versions * CPython 3.10 support (including wheels) * MacOS arm64 support (including wheels) * Initial Windows arm64 support * Misc. doc and test updates Dirk Mueller 2021-11-06 17:58:11 +00:00
  • d4fab2bb92 - update to 1.15.0: * Fixed MANIFEST.in to include missing file for Windows arm64 support * Fixed Linux wheel build to use gcc default ISA for libffi * Updated setup.py Python trove specifiers to currently-tested Python versions * CPython 3.10 support (including wheels) * MacOS arm64 support (including wheels) * Initial Windows arm64 support * Misc. doc and test updates Dirk Mueller 2021-11-06 17:58:11 +00:00
  • 16029b3723 Accepting request 906722 from devel:languages:python Dominique Leuenberger 2021-07-21 17:05:26 +00:00
  • 003994c65e Accepting request 906722 from devel:languages:python Dominique Leuenberger 2021-07-21 17:05:26 +00:00
  • f72f78178c - update to 1.14.6: * Revert "grovel: detect :float and :double in the :auto type" Dirk Mueller 2021-07-16 19:47:29 +00:00
  • d12284fd71 - update to 1.14.6: * Revert "grovel: detect :float and :double in the :auto type" Dirk Mueller 2021-07-16 19:47:29 +00:00
  • 7a0d0e6d16 Accepting request 871527 from devel:languages:python Dominique Leuenberger 2021-02-16 21:33:57 +00:00
  • 49aa990aac Accepting request 871527 from devel:languages:python Dominique Leuenberger 2021-02-16 21:33:57 +00:00
  • ccfa3a1bcb - update to 1.14.5: * Source fix for old gcc versions Dirk Mueller 2021-02-12 20:15:24 +00:00
  • d00e30683b - update to 1.14.5: * Source fix for old gcc versions Dirk Mueller 2021-02-12 20:15:24 +00:00
  • ce5aa36b5c Accepting request 856979 from devel:languages:python Dominique Leuenberger 2020-12-23 13:18:55 +00:00
  • 01c0cee1d1 Accepting request 856979 from devel:languages:python Dominique Leuenberger 2020-12-23 13:18:55 +00:00
  • 8a27de44e4 - update to 1.14.4: * no upstream changelog provided Dirk Mueller 2020-12-19 10:53:46 +00:00
  • 1bbc846fe9 - update to 1.14.4: * no upstream changelog provided Dirk Mueller 2020-12-19 10:53:46 +00:00
  • 91d610b04a Accepting request 838259 from devel:languages:python Dominique Leuenberger 2020-10-29 08:46:10 +00:00
  • b238567c76 Accepting request 838259 from devel:languages:python Dominique Leuenberger 2020-10-29 08:46:10 +00:00
  • e70ee5ff18 - update to 1.14.3: * no upstream changelog provided Dirk Mueller 2020-09-28 11:39:21 +00:00
  • 771f2f3d97 - update to 1.14.3: * no upstream changelog provided Dirk Mueller 2020-09-28 11:39:21 +00:00
  • 43e1d596b5 Accepting request 828166 from devel:languages:python Dominique Leuenberger 2020-08-25 10:38:49 +00:00
  • 4f127edf9d Accepting request 828166 from devel:languages:python Dominique Leuenberger 2020-08-25 10:38:49 +00:00
  • b0ac7a1285 - update to 1.14.2 * CPython 3 on Windows: we again try to compile with Py_LIMITED_API by default Ondřej Súkup 2020-08-20 12:14:15 +00:00
  • 6d01eac5d5 - update to 1.14.2 * CPython 3 on Windows: we again try to compile with Py_LIMITED_API by default Ondřej Súkup 2020-08-20 12:14:15 +00:00
  • bf449840dd Accepting request 825281 from devel:languages:python Dominique Leuenberger 2020-08-13 08:12:20 +00:00
  • a4c55a9332 Accepting request 825281 from devel:languages:python Dominique Leuenberger 2020-08-13 08:12:20 +00:00
  • efd9de8edf - update to 1.14.1: * CFFI source code is now hosted on Heptapod. * Improved support for typedef int my_array_t[...]; with an explicit dot-dot-dot in API mode (issue #453) * Windows (32 and 64 bits): multiple fixes for ABI-mode call to functions that return a structure. * Experimental support for MacOS 11 on aarch64. * and a few other minor changes and bug fixes. Dirk Mueller 2020-08-10 08:15:41 +00:00
  • 2e67740b92 - update to 1.14.1: * CFFI source code is now hosted on Heptapod. * Improved support for typedef int my_array_t[...]; with an explicit dot-dot-dot in API mode (issue #453) * Windows (32 and 64 bits): multiple fixes for ABI-mode call to functions that return a structure. * Experimental support for MacOS 11 on aarch64. * and a few other minor changes and bug fixes. Dirk Mueller 2020-08-10 08:15:41 +00:00
  • 8aa45123ea Accepting request 778788 from devel:languages:python Dominique Leuenberger 2020-02-26 14:01:21 +00:00
  • 41f63167b3 Accepting request 778788 from devel:languages:python Dominique Leuenberger 2020-02-26 14:01:21 +00:00
  • 5620af39cd - Update to 1.14.0 * ffi.dlopen() can now be called with a handle (as a void *) to an already-opened C library. * fixed a stack overflow issue for calls like lib.myfunc([large list]). * fixed a memory leak inside ffi.getwinerror() on CPython 3.x. Ondřej Súkup 2020-02-24 14:59:21 +00:00
  • 32d09127a1 - Update to 1.14.0 * ffi.dlopen() can now be called with a handle (as a void *) to an already-opened C library. * fixed a stack overflow issue for calls like lib.myfunc([large list]). * fixed a memory leak inside ffi.getwinerror() on CPython 3.x. Ondřej Súkup 2020-02-24 14:59:21 +00:00
  • 90e2083099 Accepting request 749648 from devel:languages:python Dominique Leuenberger 2019-11-22 09:26:09 +00:00
  • c866fa82e0 Accepting request 749648 from devel:languages:python Dominique Leuenberger 2019-11-22 09:26:09 +00:00
  • c4413bb1dd Accepting request 749647 from home:TheBlackCat:branches:devel:languages:python Todd R 2019-11-19 14:50:55 +00:00
  • 531a6273b3 Accepting request 749647 from home:TheBlackCat:branches:devel:languages:python Todd R 2019-11-19 14:50:55 +00:00
  • 0b989e8962 Accepting request 738589 from devel:languages:python Dominique Leuenberger 2019-11-04 16:05:57 +00:00
  • 2f741da5da Accepting request 738589 from devel:languages:python Dominique Leuenberger 2019-11-04 16:05:57 +00:00
  • eec0f391f1 - Update to 1.13.0: * No changelog provided upstream Tomáš Chvátal 2019-10-15 10:55:03 +00:00
  • db3b58172c - Update to 1.13.0: * No changelog provided upstream Tomáš Chvátal 2019-10-15 10:55:03 +00:00
  • 9bbd9d0217 Accepting request 700339 from devel:languages:python Dominique Leuenberger 2019-05-05 19:19:35 +00:00
  • fddc9e5cc5 Accepting request 700339 from devel:languages:python Dominique Leuenberger 2019-05-05 19:19:35 +00:00
  • 5c4df23a24 Accepting request 699759 from home:TheBlackCat:branches:devel:languages:python Tomáš Chvátal 2019-05-03 08:32:37 +00:00
  • fa66bcdf09 Accepting request 699759 from home:TheBlackCat:branches:devel:languages:python Tomáš Chvátal 2019-05-03 08:32:37 +00:00
  • 70ddc1805b Accepting request 682590 from devel:languages:python Dominique Leuenberger 2019-03-12 08:44:57 +00:00
  • f4350badbc Accepting request 682590 from devel:languages:python Dominique Leuenberger 2019-03-12 08:44:57 +00:00
  • 9495981e5a Accepting request 682487 from home:jayvdb:py-check-failures Tomáš Chvátal 2019-03-07 16:39:07 +00:00
  • 28095d0fb6 Accepting request 682487 from home:jayvdb:py-check-failures Tomáš Chvátal 2019-03-07 16:39:07 +00:00
  • 97877dc493 Accepting request 680758 from devel:languages:python Dominique Leuenberger 2019-03-04 08:11:58 +00:00
  • 9f669b1043 Accepting request 680758 from devel:languages:python Dominique Leuenberger 2019-03-04 08:11:58 +00:00
  • 3bca1778c0 - 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. Ondřej Súkup 2019-03-02 10:48:08 +00:00
  • cae9f3724d - 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. Ondřej Súkup 2019-03-02 10:48:08 +00:00
  • 891b6e2475 Accepting request 645316 from devel:languages:python Dominique Leuenberger 2018-11-08 08:42:02 +00:00
  • 759e17640c Accepting request 645316 from devel:languages:python Dominique Leuenberger 2018-11-08 08:42:02 +00:00
  • 0c76d6df2a Accepting request 645313 from home:mcepl:work Matej Cepl 2018-10-29 15:31:03 +00:00
  • eda14d89c4 Accepting request 645313 from home:mcepl:work Matej Cepl 2018-10-29 15:31:03 +00:00
  • 2067bc3cda Accepting request 642726 from devel:languages:python Dominique Leuenberger 2018-10-25 06:09:14 +00:00
  • 698082b55c Accepting request 642726 from devel:languages:python Dominique Leuenberger 2018-10-25 06:09:14 +00:00