-
Notifications
You must be signed in to change notification settings - Fork 2
Project updates #25
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
Project updates #25
Conversation
Ensures its version specifiers are respected in the main lockfile, but does not add it as an `install-requires`: https://docs.astral.sh/uv/concepts/projects/dependencies/#virtual-dependencies
Module removed from stdlib
This was in the lock file previously from uncommitted local changes.
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.
Pull request overview
This PR modernizes the project's build and packaging infrastructure by migrating from the legacy setup.py/setup.cfg approach to a modern pyproject.toml-based configuration using uv for build and dependency management. The changes also update the minimum Python version from 3.6 to 3.8 and add support for Python 3.12 and 3.13.
- Migration from setup.py/setup.cfg to pyproject.toml for both the main package and sphinx-plugin
- Updated GitHub Actions workflows to use uv for building, testing, and dependency management
- Modernized ReadTheDocs configuration to use uv with asdf tooling
- Updated test infrastructure to read version information from pyproject.toml using tomllib/tomli
Reviewed changes
Copilot reviewed 14 out of 16 changed files in this pull request and generated 5 comments.
Show a summary per file
| File | Description |
|---|---|
| tests/test_version_attribute.py | Updated version reading logic to parse pyproject.toml using tomllib instead of setuptools |
| sphinx-plugin/setup.py | Removed legacy setup.py file in favor of pyproject.toml |
| sphinx-plugin/setup.cfg | Removed legacy setup.cfg file, migrated configuration to pyproject.toml |
| sphinx-plugin/requirements-dev.txt | Removed standalone requirements file, migrated to dependency-groups in pyproject.toml |
| sphinx-plugin/pyproject.toml | New build configuration using uv_build backend with project metadata and dependency groups |
| setup.py | Removed legacy setup.py file in favor of pyproject.toml |
| setup.cfg | Removed legacy setup.cfg file, migrated configuration to pyproject.toml |
| requirements-dev.txt | Removed standalone requirements file, migrated to dependency-groups in pyproject.toml |
| pyproject.toml | New build configuration using uv_build backend with project metadata, pytest config, and dependency groups |
| doc/requirements.txt | Removed standalone requirements file, migrated to dependency-groups in pyproject.toml |
| README.md | Updated badges to reflect new CI system (GitHub Actions instead of Travis CI) and added uv badge |
| .readthedocs.yaml | Updated to use uv via asdf for environment management and documentation building |
| .github/workflows/dist-test.yml | Modernized workflow to use uv for building distributions and managing test dependencies |
| .github/workflows/ci.yml | Updated CI workflow to use uv for dependency management and running tests |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
No description provided.