Skip to content

Generate hermetic requirements.txt for oldest/latest from pyproject.toml as source of truth #418

Description

@aabmass

I think it would achieve the same, but hermetically, to generate requirements.*.txt from uv pip compile --resolution=...?

We do this for a couple of packages in contrib (example opamp). It was difficult to do this across the board, and IIRC there was some bug in UV workspaces that made it difficult to do from pyproject.toml files.

This LGTM but I'm happy to give it a shot in another PR. Would have fixed for example #410.

The idea is to use that instead of scripts introduced in #407. We can remove the boilerplate and tests won't fail depending on PyPI.

Originally posted by @aabmass in #407 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status
    New issues

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions