Skip to content

Unable to update pacakges with extras #439

@PeterJCLaw

Description

@PeterJCLaw

Given input:

ibis-framework

which produces an output file with many dependencies, including:

ibis-framework==7.2.0
pins[gcs]==0.8.4  # change this line manually to 0.8.3

Attempting to update pins from 0.8.3 to the latest (0.8.4 at the time of writing) doesn't seem to work.

Running this with a single layer of requirements results in no changes and no errors.
With several layers of requirements an error is emitted:

Package pins[gcs] was resolved to different versions in different environments: 0.8.4 and 0.8.3
...
RuntimeError: Please add constraints for the package version listed above

With single-layer input:

ibis-framework
pins==0.8.3

A similar error is present:

Could not find a version that matches fsspec<2023.9.0,==2023.12.2,>=0.8.0 (from pins[gcs]==0.8.3->-r requirements/base.in (line 2))
...
  fsspec==2023.12.2 (from gcsfs==2023.12.2.post1->pins[gcs]==0.8.3->-r requirements/base.in (line 2))
  fsspec<2023.9.0,>=0.8.0 (from pins[gcs]==0.8.3->-r requirements/base.in (line 2))
...
RuntimeError: Failed to pip-compile requirements/base.in

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions