Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
1.15.1
->1.17.1
Release Notes
python-cffi/cffi (cffi)
v1.17.1
Compare Source
distutils.msvc9compiler
imports under Windows (#118).ffibuilder.emit_python_code()
andffibuiler.emit_c_code()
accept file-like objects (#115).ffiplatform
calls are bypassed byffibuilder.emit_python_code()
andffibuilder.emit_c_code()
(#81).Full Changelog: python-cffi/cffi@v1.17.0...v1.17.1
v1.17.0
Compare Source
python3.13t
and the3.13t
ABI) are not currently supported.fn = lib.myfunc
, you get an object of a special type for performancereasons, instead of a
<cdata 'C-function-type'>
. Before version 1.17you 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 objectlib.myfunc
can now be passed in many places where CFFI expectsa regular
<cdata>
object. For example, you can now passit 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()
orffi.typeof()
on it.Full Changelog: python-cffi/cffi@v1.16.0...v1.17.0
v1.16.0
Compare Source
distutils
from Python 3.12, projectsusing CFFI features that depend on
distutils
at runtime must add a dependency onsetuptools
to function under Python 3.12+. CFFI does not declare a runtimesetuptools
requirement to avoid an unnecessary dependency for projects that do not require it.
setuptools
is now a required build dependency.python_requires
metadata for Python 3.8+. This allows unsupported Pythonsto continue using previously released sdists and wheels.
src/
; a more standard layout that also enables CI to more easilycatch packaging errors.
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.