Skip to content

Update mirror.py to a uv script#110

Merged
charliermarsh merged 3 commits intoastral-sh:mainfrom
calumy:use-uv
Dec 30, 2024
Merged

Update mirror.py to a uv script#110
charliermarsh merged 3 commits intoastral-sh:mainfrom
calumy:use-uv

Conversation

@calumy
Copy link
Contributor

@calumy calumy commented Dec 28, 2024

Summary

From my reading of the UV docs, mirror.py would be a good example of a standalone script. This PR updates mirror.py and the main.yml workflow to be a UV script and makes use of UV in the update process.

Test Plan

  • Update the uv version (currently 0.8.4) to an older version e.g. 0.8.3 in both pyproject.toml and README.md
  • Run uv run --no-project mirror.py to check the update process still works as expected

@calumy
Copy link
Contributor Author

calumy commented Dec 30, 2024

This change was identified when working on calumy#3. After this is merged, I will rebase and create the PR for this repo. I think it is currently in my fork, as both the head and base branches are in that repo, so I am not sure it will automatically update if/when this PR is merged.

@charliermarsh charliermarsh merged commit 6299d2c into astral-sh:main Dec 30, 2024
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