Skip to content

Version of pyo3-polars on crates.io differs from version in polars repository #26338

@oeb25

Description

@oeb25

The crates.io version of pyo3-polars depends on pyo3 v0.26.0. This causes crates that depend on pyo3 = "0.27.2" and pyo3-polars = "0.25.0" to error with:

Updating crates.io index
error: failed to select a version for pyo3-ffi.
    ... required by package pyo3 v0.26.0
    ... which satisfies dependency pyo3 = "^0.26" of package pyo3-polars v0.25.0
    ... which satisfies dependency pyo3-polars = "^0.25.0" of package rust_src v0.1.0 (...)
versions that meet the requirements =0.26.0 are: 0.26.0

package pyo3-ffi links to the native library python, but it conflicts with a previous package which links to python as well:
package pyo3-ffi v0.27.2
    ... which satisfies dependency pyo3-ffi = "=0.27.2" of package pyo3 v0.27.2
    ... which satisfies dependency pyo3 = "^0.27.2" of package rust_src v0.1.0 (...)
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.

Additionally, the Repository link on crates.io still links to the now archived repo.

It might be that the version in this repo has never been published.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions