Update Rust crate pyo3 to v0.23.1 #711
python.yml
on: pull_request
get-version
2s
Release
0s
Annotations
11 errors and 24 warnings
linux (ppc64le)
The process '/usr/bin/docker' failed with exit code 1
|
linux (x86_64)
The job was canceled because "ppc64le" failed.
|
linux (x86_64)
The operation was canceled.
|
linux (armv7)
The job was canceled because "ppc64le" failed.
|
linux (armv7)
The operation was canceled.
|
linux (aarch64)
The job was canceled because "ppc64le" failed.
|
linux (aarch64)
The operation was canceled.
|
linux (s390x)
The job was canceled because "ppc64le" failed.
|
linux (s390x)
The operation was canceled.
|
linux (x86)
The job was canceled because "ppc64le" failed.
|
linux (x86)
The operation was canceled.
|
use of deprecated method `pyo3::IntoPy::into_py`: `IntoPy` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23/migration) for more information.:
src/types/value.rs#L454
warning: use of deprecated method `pyo3::IntoPy::into_py`: `IntoPy` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23/migration) for more information.
--> src/types/value.rs:454:47
|
454 | Value::Null => Option::<()>::None.into_py(py),
| ^^^^^^^
|
use of deprecated method `pyo3::IntoPy::into_py`: `IntoPy` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23/migration) for more information.:
src/types/value.rs#L451
warning: use of deprecated method `pyo3::IntoPy::into_py`: `IntoPy` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23/migration) for more information.
--> src/types/value.rs:451:23
|
451 | pyseq.into_py(py)
| ^^^^^^^
|
use of deprecated method `pyo3::IntoPy::into_py`: `IntoPy` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23/migration) for more information.:
src/types/value.rs#L443
warning: use of deprecated method `pyo3::IntoPy::into_py`: `IntoPy` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23/migration) for more information.
--> src/types/value.rs:443:40
|
443 | Option::<()>::None.into_py(py)
| ^^^^^^^
|
use of deprecated method `pyo3::IntoPy::into_py`: `IntoPy` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23/migration) for more information.:
src/types/value.rs#L441
warning: use of deprecated method `pyo3::IntoPy::into_py`: `IntoPy` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23/migration) for more information.
--> src/types/value.rs:441:41
|
441 | n.as_f64().unwrap().into_py(py)
| ^^^^^^^
|
use of deprecated method `pyo3::IntoPy::into_py`: `IntoPy` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23/migration) for more information.:
src/types/value.rs#L439
warning: use of deprecated method `pyo3::IntoPy::into_py`: `IntoPy` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23/migration) for more information.
--> src/types/value.rs:439:41
|
439 | n.as_u64().unwrap().into_py(py)
| ^^^^^^^
|
use of deprecated method `pyo3::IntoPy::into_py`: `IntoPy` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23/migration) for more information.:
src/types/value.rs#L437
warning: use of deprecated method `pyo3::IntoPy::into_py`: `IntoPy` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23/migration) for more information.
--> src/types/value.rs:437:41
|
437 | n.as_i64().unwrap().into_py(py)
| ^^^^^^^
|
use of deprecated method `pyo3::IntoPy::into_py`: `IntoPy` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23/migration) for more information.:
src/types/value.rs#L432
warning: use of deprecated method `pyo3::IntoPy::into_py`: `IntoPy` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23/migration) for more information.
--> src/types/value.rs:432:33
|
432 | Value::Bool(b) => b.into_py(py),
| ^^^^^^^
|
use of deprecated method `pyo3::IntoPy::into_py`: `IntoPy` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23/migration) for more information.:
src/types/value.rs#L431
warning: use of deprecated method `pyo3::IntoPy::into_py`: `IntoPy` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23/migration) for more information.
--> src/types/value.rs:431:55
|
431 | Value::Literal(s) | Value::String(s) => s.into_py(py),
| ^^^^^^^
|
use of deprecated associated function `pyo3::types::PyDict::new_bound`: renamed to `PyDict::new`:
src/types/mapping.rs#L359
warning: use of deprecated associated function `pyo3::types::PyDict::new_bound`: renamed to `PyDict::new`
--> src/types/mapping.rs:359:28
|
359 | let dict = PyDict::new_bound(py);
| ^^^^^^^^^
|
use of deprecated method `pyo3::types::PyAnyMethods::iter`: use `try_iter` instead:
src/types/from.rs#L135
warning: use of deprecated method `pyo3::types::PyAnyMethods::iter`: use `try_iter` instead
--> src/types/from.rs:135:29
|
135 | for it in v.iter()? {
| ^^^^
|
use of deprecated method `pyo3::IntoPy::into_py`: `IntoPy` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23/migration) for more information.:
src/node/nodeinfo.rs#L196
warning: use of deprecated method `pyo3::IntoPy::into_py`: `IntoPy` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23/migration) for more information.
--> src/node/nodeinfo.rs:196:71
|
196 | dict.set_item("environment", self.reclass.environment.clone().into_py(py))?;
| ^^^^^^^
|
use of deprecated method `pyo3::IntoPy::into_py`: `IntoPy` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23/migration) for more information.:
src/node/nodeinfo.rs#L195
warning: use of deprecated method `pyo3::IntoPy::into_py`: `IntoPy` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23/migration) for more information.
--> src/node/nodeinfo.rs:195:55
|
195 | dict.set_item("uri", self.reclass.uri.clone().into_py(py))?;
| ^^^^^^^
|
use of deprecated method `pyo3::IntoPy::into_py`: `IntoPy` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23/migration) for more information.:
src/node/nodeinfo.rs#L194
warning: use of deprecated method `pyo3::IntoPy::into_py`: `IntoPy` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23/migration) for more information.
--> src/node/nodeinfo.rs:194:57
|
194 | dict.set_item("name", self.reclass.name.clone().into_py(py))?;
| ^^^^^^^
|
use of deprecated method `pyo3::IntoPy::into_py`: `IntoPy` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23/migration) for more information.:
src/node/nodeinfo.rs#L193
warning: use of deprecated method `pyo3::IntoPy::into_py`: `IntoPy` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23/migration) for more information.
--> src/node/nodeinfo.rs:193:57
|
193 | dict.set_item("node", self.reclass.node.clone().into_py(py))?;
| ^^^^^^^
|
use of deprecated associated function `pyo3::types::PyDict::new_bound`: renamed to `PyDict::new`:
src/node/nodeinfo.rs#L192
warning: use of deprecated associated function `pyo3::types::PyDict::new_bound`: renamed to `PyDict::new`
--> src/node/nodeinfo.rs:192:28
|
192 | let dict = PyDict::new_bound(py);
| ^^^^^^^^^
|
use of deprecated method `pyo3::IntoPy::into_py`: `IntoPy` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23/migration) for more information.:
src/node/nodeinfo.rs#L184
warning: use of deprecated method `pyo3::IntoPy::into_py`: `IntoPy` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23/migration) for more information.
--> src/node/nodeinfo.rs:184:71
|
184 | dict.set_item("environment", self.reclass.environment.clone().into_py(py))?;
| ^^^^^^^
|
use of deprecated method `pyo3::IntoPy::into_py`: `IntoPy` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23/migration) for more information.:
src/node/nodeinfo.rs#L183
warning: use of deprecated method `pyo3::IntoPy::into_py`: `IntoPy` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23/migration) for more information.
--> src/node/nodeinfo.rs:183:55
|
183 | dict.set_item("classes", self.classes.clone().into_py(py))?;
| ^^^^^^^
|
use of deprecated method `pyo3::IntoPy::into_py`: `IntoPy` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23/migration) for more information.:
src/node/nodeinfo.rs#L182
warning: use of deprecated method `pyo3::IntoPy::into_py`: `IntoPy` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23/migration) for more information.
--> src/node/nodeinfo.rs:182:65
|
182 | dict.set_item("applications", self.applications.clone().into_py(py))?;
| ^^^^^^^
|
use of deprecated associated function `pyo3::types::PyDict::new_bound`: renamed to `PyDict::new`:
src/node/nodeinfo.rs#L180
warning: use of deprecated associated function `pyo3::types::PyDict::new_bound`: renamed to `PyDict::new`
--> src/node/nodeinfo.rs:180:28
|
180 | let dict = PyDict::new_bound(py);
| ^^^^^^^^^
|
use of deprecated associated function `pyo3::types::PyDict::new_bound`: renamed to `PyDict::new`:
src/inventory.rs#L89
warning: use of deprecated associated function `pyo3::types::PyDict::new_bound`: renamed to `PyDict::new`
--> src/inventory.rs:89:36
|
89 | let reclass_dict = PyDict::new_bound(py);
| ^^^^^^^^^
|
use of deprecated associated function `pyo3::types::PyDict::new_bound`: renamed to `PyDict::new`:
src/inventory.rs#L83
warning: use of deprecated associated function `pyo3::types::PyDict::new_bound`: renamed to `PyDict::new`
--> src/inventory.rs:83:34
|
83 | let nodes_dict = PyDict::new_bound(py);
| ^^^^^^^^^
|
use of deprecated method `pyo3::IntoPy::into_py`: `IntoPy` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23/migration) for more information.:
src/inventory.rs#L82
warning: use of deprecated method `pyo3::IntoPy::into_py`: `IntoPy` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23/migration) for more information.
--> src/inventory.rs:82:55
|
82 | dict.set_item("classes", self.classes.clone().into_py(py))?;
| ^^^^^^^
|
use of deprecated method `pyo3::IntoPy::into_py`: `IntoPy` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23/migration) for more information.:
src/inventory.rs#L81
warning: use of deprecated method `pyo3::IntoPy::into_py`: `IntoPy` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23/migration) for more information.
--> src/inventory.rs:81:65
|
81 | dict.set_item("applications", self.applications.clone().into_py(py))?;
| ^^^^^^^
|
use of deprecated associated function `pyo3::types::PyDict::new_bound`: renamed to `PyDict::new`:
src/inventory.rs#L80
warning: use of deprecated associated function `pyo3::types::PyDict::new_bound`: renamed to `PyDict::new`
--> src/inventory.rs:80:28
|
80 | let dict = PyDict::new_bound(py);
| ^^^^^^^^^
|
= note: `#[warn(deprecated)]` on by default
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
wheels-macos-aarch64
|
4.91 MB |
|
wheels-macos-x86_64
|
5.19 MB |
|
wheels-sdist
|
75.2 KB |
|
wheels-windows-x64
|
5.55 MB |
|
wheels-windows-x86
|
5.17 MB |
|