Skip to content

Migrate to uv#72

Merged
r-thomson merged 9 commits into
MedShift:masterfrom
atwalsh:uv
Nov 18, 2025
Merged

Migrate to uv#72
r-thomson merged 9 commits into
MedShift:masterfrom
atwalsh:uv

Conversation

@atwalsh
Copy link
Copy Markdown
Member

@atwalsh atwalsh commented Oct 28, 2025

Change list:

  • Move all bigc/ library files to src/bigc/ (uv docs)
  • Add .python-version for 3.13
  • Update pyproject.toml to remove poetry tables
  • Add py.typed in src/bigc/
  • Add a short "Development" section to the README

Workflow updates:

  • .github/workflows/python-tests.yml
    • Update actions/checkout to v5
    • Move to uv python setup
  • .github/workflows/publish.yml
    • Update actions/checkout to v5
    • Move to uv python setup
    • Use uv build and uv publish
    • Switch to PyPI trusted publisher method, using pypi environment

Comment thread pyproject.toml
Comment thread .python-version
@atwalsh atwalsh marked this pull request as ready for review October 29, 2025 18:37
Copilot AI review requested due to automatic review settings October 29, 2025 18:37

This comment was marked as resolved.

Remove --dev option

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Iapetus-11

This comment was marked as resolved.

Comment thread .github/workflows/python-tests.yml Outdated
Copy link
Copy Markdown
Collaborator

@r-thomson r-thomson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The only thing I'm not sure about are the tests. If you look at uv's example library project structure:

example-lib
├── .python-version
├── README.md
├── pyproject.toml
└── src
    └── example_lib
        ├── py.typed
        └── __init__.py

...it's not really clear where a tests module should go. Maybe in src?

@atwalsh
Copy link
Copy Markdown
Member Author

atwalsh commented Oct 30, 2025

The only thing I'm not sure about are the tests. If you look at uv's example library project structure:

example-lib
├── .python-version
├── README.md
├── pyproject.toml
└── src
    └── example_lib
        ├── py.typed
        └── __init__.py

...it's not really clear where a tests module should go. Maybe in src?

@r-thomson, Test in the root directory follows https://github.com/pypa/sampleproject, IMO we should keep the proposed structure, but I don't think it matters that much.

Copy link
Copy Markdown
Collaborator

@r-thomson r-thomson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Look sweet. We should cut a minor release to test our deploy after this gets merged.

@r-thomson r-thomson merged commit 37df365 into MedShift:master Nov 18, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

4 participants