Skip to content

Get Consider setting a lower bound warning from root package #8155

@DanielYang59

Description

@DanielYang59

Presumably a partial duplicate of #5227, getting the following warning for the root package itself both inside the Github workflow environment (could also recreate in my MacOS machine), with all dependencies in ci,optional have a lower bound:

warning: The direct dependency `pymatgen` is unpinned. Consider setting a lower bound when using `--resolution-strategy lowest` to avoid using outdated versions.
warning: The direct dependency `pymatgen[ci]` is unpinned. Consider setting a lower bound when using `--resolution-strategy lowest` to avoid using outdated versions.
warning: The direct dependency `pymatgen[optional]` is unpinned. Consider setting a lower bound when using `--resolution-strategy lowest` to avoid using outdated versions.

With the following command in test.yml (could also recreate in MacOS command line):

uv pip install dist/pymatgen-2024.10.3.tar.gz
uv pip install pymatgen[ci,optional] --resolution=lowest

uv version: uv-0.4.20


Perhaps I was using the command incorrectly (Intend to install from sdist with extras)?

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions