I'd like to improve the Python API a bit, and since we're lagging a bit behind the pyo3 versions we should update it first. It seems we can't update to pyo3-0.22 yet, due to numpy-0.21 requiring pyo3-0.21:
error: failed to select a version for `pyo3`.
... required by package `numpy v0.21.0`
... which satisfies dependency `numpy = "^0.21.0"` of package `pineappl_py v0.8.0 (/home/cschwan/projects/pineappl/pineappl_py)`
versions that meet the requirements `^0.21.0` are: 0.21.2, 0.21.1, 0.21.0
the package `pyo3` links to the native library `python`, but it conflicts with a previous package which links to `python` as well:
package `pyo3 v0.22.0`
... which satisfies dependency `pyo3 = "^0.22"` of package `pineappl_py v0.8.0 (/home/cschwan/projects/pineappl/pineappl_py)`
Only one package in the dependency graph may specify the same links value. This helps ensure that only one copy of a native library is linked in the final binary. Try to adjust your dependencies so that only one package uses the `links = "python"` value. For more information, see https://doc.rust-lang.org/cargo/reference/resolver.html#links.
I'd like to improve the Python API a bit, and since we're lagging a bit behind the
pyo3
versions we should update it first. It seems we can't update topyo3-0.22
yet, due tonumpy-0.21
requiringpyo3-0.21
: