-
-
Notifications
You must be signed in to change notification settings - Fork 41
using uv for dev setup, build, publish #114
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
Conversation
with: | ||
fetch-depth: 1 | ||
|
||
- name: Set up Python ${{ matrix.python-version }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When merging with master, you find a conflict #115 where I added python 3.14. Please make sure to add allow-prereleases: true
to actions/setup-python
checklist.rst
Outdated
2. create GitHub Release with new version tag, it will create a release on PyPI. | ||
tag MUST following semver. e.g.: ``2.3.1`` | ||
3. check PyPI page: https://pypi.org/p/sphinx-intl | ||
4. bump version in ``CHANGES.rst`` then commit/push it onto GitHub |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Mention that pushing will trigger the release action?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No, it is assumed that the release action is not triggered by push.
The release action occurs in step 2.
Step 4 refers to preparing a next release section in the CHANGES.rst.
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:
test.yml
toci.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:
.devcontainer/on_create_command.sh
to use theuv
tool for installing dependencies and tools such asruff
andtox
.pyproject.toml
to include a new[dependency-groups]
section for development dependencies and updated the build system requirements.Documentation Updates:
checklist.rst
to reflect the new release procedure, including creating GitHub releases and updating the PyPI page.doc/dev.rst
to useuv
for setting up the development environment.Configuration and Metadata:
setup.cfg
as part of the transition to usingpyproject.toml
for configuration.sphinx_intl/__init__.py
to 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.