Skip to content

Conversation

@pgarrison
Copy link
Collaborator

Purpose

The current README instructions ignore the pdm.lock file and install from pyproject.toml, which does not create reproducible environments. We may not expect all users to have pdm, though.

Changes

  • Export the pdm.lock to requirements.txt format, and update the instructions to use it.
  • Add github actions to enforce that the requirements.txt is up to date with the pdm.lock and that the pdm.lock is up to date with the pyproject.toml.

Testing

  • I did the steps python -m venv venv, source venv/bin/activate, and pip install -r requirements.txt, but didn't run any code in that new environment.
  • The github actions failed (as expected) before updating pdm.lock and now succeed

@pgarrison pgarrison marked this pull request as ready for review November 7, 2025 22:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants