Skip to content
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

using uv for dev setup, build, publish #114

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open

using uv for dev setup, build, publish #114

wants to merge 4 commits into from

Conversation

shimizukawa
Copy link
Member

@shimizukawa shimizukawa commented Nov 25, 2024

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.yml to ci.yml to 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.sh to use the uv tool for installing dependencies and tools such as ruff and tox.
  • Modified pyproject.toml to include a new [dependency-groups] section for development dependencies and updated the build system requirements.

Documentation Updates:

  • Updated checklist.rst to reflect the new release procedure, including creating GitHub releases and updating the PyPI page.
  • Updated doc/dev.rst to use uv for setting up the development environment.

Configuration and Metadata:

  • Removed setup.cfg as part of the transition to using pyproject.toml for configuration.
  • Updated sphinx_intl/__init__.py to dynamically fetch the package version using importlib.metadata.

These changes streamline the development and release processes, improve dependency management, and update the project documentation to reflect the new workflows.

@shimizukawa shimizukawa self-assigned this Nov 25, 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.

1 participant