Repository navigation
build: move to uv - #159
Merged
Merged
Conversation
Replace setup.py/setup.cfg/MANIFEST.in/tox.ini/requirements_dev.txt with a PEP 621 pyproject.toml (hatchling), dependency groups and uv.lock. The version is read from commercetools/version.py, which was stale. Read the Docs installs the docs group with uv; fix the intersphinx config for current Sphinx and add sphinx-rtd-theme.
This was referenced Oct 26, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
pyproject.tomlwith hatchling,[dependency-groups](test, docs) anduv.lock(all deps at latest viauv lock --upgrade). Removed setup.py, setup.cfg, MANIFEST.in, tox.ini, requirements_dev.txt and the stale .bumpversion.cfg. Wheel contents are identical to the setuptools build (minustop_level.txt); the version now comes fromcommercetools/version.py(was stale at 2023.6.29, set to 2026.10.12).test/docsextras are gone (now dependency groups) — noted in CHANGES.md.astral-sh/setup-uv, tests on 3.11–3.14 viauv run,ruff format --check+ruff check, docs build job. Tests run on push to main and on pull requests.environment: pypi) instead ofpypi_password; setup-uv without cache; actions updated with pinact (7-day min age). The trusted publisher must be configured on pypi.org (workflowpython-release.yml, environmentpypi).Supersedes Dependabot #153 and #155.