sphinx-intl
sphinx-intl copied to clipboard
using uv for dev setup, build, publish
trafficstars
This pull request includes several significant changes to the build and testing workflows, dependency management, and documentation. The most important changes are detailed below:
Workflow and Build Process Updates:
- Renamed workflow from
test.ymltoci.ymlto handle testing, building, and releasing the project. This includes steps for setting up Python environments, running tests with Tox, building the package, and publishing releases to PyPI and GitHub.
Dependency Management:
- Updated
.devcontainer/on_create_command.shto use theuvtool for installing dependencies and tools such asruffandtox. - Modified
pyproject.tomlto include a new[dependency-groups]section for development dependencies and updated the build system requirements.
Documentation Updates:
- Updated
checklist.rstto reflect the new release procedure, including creating GitHub releases and updating the PyPI page. - Updated
doc/dev.rstto useuvfor setting up the development environment.
Configuration and Metadata:
- Removed
setup.cfgas part of the transition to usingpyproject.tomlfor configuration. - Updated
sphinx_intl/__init__.pyto dynamically fetch the package version usingimportlib.metadata.
These changes streamline the development and release processes, improve dependency management, and update the project documentation to reflect the new workflows.