Skip to content

Simplify package publication using uv #1353

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 9 commits into from
Jul 10, 2025
Merged

Simplify package publication using uv #1353

merged 9 commits into from
Jul 10, 2025

Conversation

robbibt
Copy link
Member

@robbibt robbibt commented Jul 9, 2025

Proposed changes

This PR updates and simplifies our Python package build and publish process to use uv. This lets us go from:

python3 -m pip install setuptools_scm build
python3 -m setuptools_scm
cd Tools
python3 -m pip install pip==22.0.4
python3 -m pip install --use-feature=in-tree-build --no-deps .
python3 -c "import dea_tools; print(dea_tools.__version__)"
python3 -m build

To:

uv sync
uv build
uv publish

You can see an example of the newly built package here: https://pypi.org/project/dea-tools/#history

@robbibt robbibt merged commit b97171b into develop Jul 10, 2025
8 checks passed
@robbibt robbibt deleted the uv_publish branch July 10, 2025 00:15
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.

2 participants