Skip to content

Impossible to compile with pyo3-stub-gen #304

@Finomnis

Description

@Finomnis

pyo3-stub-gen contains the following dependency:

quote = "1.0.41"

While serialport contains:

quote = ">=1, <=1.0.40"

This makes project containing both crates impossible to compile.

What's the point of <=1.0.40? If this breaks MSRV compatibility, that's the responsibility of the enduser's Cargo.lock file. It's dangerous to prevent newer versions of dependencies for several reasons, one among them being this very issue. Others are for example that you explicitely prevent bugfix updates of dependencies. That means, if the user is willed to bump their Rust version for the sake of getting a dependency bugfix update, you would actively prevent this.

If possible, I advise you to remove that restriction.

Metadata

Metadata

Assignees

No one assigned

    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