wasmer-python
wasmer-python copied to clipboard
chore(deps): update pyo3-build-config requirement from 0.15 to 0.17 in /packages/api
Updates the requirements on pyo3-build-config to permit the latest version.
Release notes
Sourced from pyo3-build-config's releases.
PyO3 0.17.1
This release contains some minor bug fixes for PyO3 0.17.0. In particular the new
PyDictItems
,PyDictKeys
andPyDictValues
types are actually accessible!Thanks to
@davidhewitt
,@messense
and@PrettyWood
for the fixes.
Changelog
Sourced from pyo3-build-config's changelog.
[0.17.1] - 2022-08-28
Fixed
- Fix visibility of
PyDictItems
,PyDictKeys
, andPyDictValues
types added in PyO3 0.17.0.- Fix compile failure when using
#[pyo3(from_py_with = "...")]
attribute on an argument of typeOption<T>
. #2592- Fix clippy
redundant-closure
lint on**kwargs
arguments for#[pyfunction]
and#[pymethods]
. #2595[0.17.0] - 2022-08-23
Packaging
- Update inventory dependency to
0.3
(themultiple-pymethods
feature now requires Rust 1.62 for correctness). #2492Added
- Add
timezone_utc
. #1588- Implement
ToPyObject
for[T; N]
. #2313- Add
PyDictKeys
,PyDictValues
andPyDictItems
Rust types. #2358- Add
append_to_inittab
. #2377- Add FFI definition
PyFrame_GetCode
. #2406- Add
PyCode
andPyFrame
high level objects. #2408- Add FFI definitions
Py_fstring_input
,sendfunc
, and_PyErr_StackItem
. #2423- Add
PyDateTime::new_with_fold
,PyTime::new_with_fold
,PyTime::get_fold
, andPyDateTime::get_fold
for PyPy. #2428- Accept
#[pyo3(name)]
on enum variants. #2457- Add
CompareOp::matches
to implement__richcmp__
as the result of a Ruststd::cmp::Ordering
comparison. #2460- Add
PySuper
type. #2486- Support PyPy on Windows with the
generate-import-lib
feature. #2506- Add FFI definitions
Py_EnterRecursiveCall
andPy_LeaveRecursiveCall
. #2511- Add
PyDict::get_item_with_error
. #2536- Add
#[pyclass(sequence)]
option. #2567Changed
- Change datetime constructors taking a
tzinfo
to takeOption<&PyTzInfo>
instead ofOption<&PyObject>
:PyDateTime::new
,PyDateTime::new_with_fold
,PyTime::new
, andPyTime::new_with_fold
. #1588- Move
PyTypeObject::type_object
method to thePyTypeInfo
trait, and deprecate thePyTypeObject
trait. #2287- Methods of
Py
andPyAny
now acceptimpl IntoPy<Py<PyString>>
rather than just&str
to allow use of theintern!
macro. #2312- Change the deprecated
pyproto
feature to be opt-in instead of opt-out. #2322- Emit better error messages when
#[pyfunction]
return types do not implementIntoPy
. #2326- Require
T: IntoPy
forimpl<T, const N: usize> IntoPy<PyObject> for [T; N]
instead ofT: ToPyObject
. #2326- Deprecate the
ToBorrowedObject
trait. #2333- Iterators over
PySet
andPyDict
will now panic if the underlying collection is mutated during the iteration. #2380- Iterators over
PySet
andPyDict
will now panic if the underlying collection is mutated during the iteration. #2380- Allow
#[classattr]
methods to be fallible. #2385- Prevent multiple
#[pymethods]
with the same name for a single#[pyclass]
. #2399- Fixup
lib_name
when usingPYO3_CONFIG_FILE
. #2404- Add a message to the
ValueError
raised by the#[derive(FromPyObject)]
implementation for a tuple struct. #2414- Allow
#[classattr]
methods to takePython
argument. #2456- Rework
PyCapsule
type to resolve soundness issues: #2485
PyCapsule::new
andPyCapsule::new_with_destructor
now takename: Option<CString>
instead of&CStr
.
... (truncated)
Commits
caaf7bb
release: 0.17.1511303a
Merge pull request #2599 from davidhewitt/no-main-gh-pages3e15bb9
gh-pages: stop building guide for main9e9e913
Merge pull request #2595 from davidhewitt/kwargs-clippy058af11
pyfunction: fix clippy lint on **kwargs argument73c8532
Merge pull request #2592 from davidhewitt/issue-22809d543b3
pyfunction: fix from_py_with on Option<T> argumentf927cdb
Merge pull request #2558 from mejrs/cargo611ecc1
fix: export new dict views types (#2590)c28e919
Merge pull request #2589 from davidhewitt/netlify-redirects- Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase
.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
-
@dependabot rebase
will rebase this PR -
@dependabot recreate
will recreate this PR, overwriting any edits that have been made to it -
@dependabot merge
will merge this PR after your CI passes on it -
@dependabot squash and merge
will squash and merge this PR after your CI passes on it -
@dependabot cancel merge
will cancel a previously requested merge and block automerging -
@dependabot reopen
will reopen this PR if it is closed -
@dependabot close
will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually -
@dependabot ignore this major version
will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this minor version
will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this dependency
will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)