Updated pyproject.toml and migrated to uv.lock.#37
Merged
Conversation
Bumped minimum Python version to `>=3.10` (previously: `>=3.9` which reached end-of-life). Added `CHANGELOG.md`. Removed `version.py`.
There was a problem hiding this comment.
Pull request overview
This PR modernizes the project’s packaging and CI setup by moving dependency management to uv/uv.lock, updating pyproject.toml metadata, and aligning tooling/type-check workflows with the new setup. It also bumps the minimum supported Python version to 3.10 and updates accompanying docs/changelog.
Changes:
- Migrate dependency management from
requirements.txttopyproject.tomldependency groups (anduv.lock), and update CI to useuv. - Bump minimum Python version to
>=3.10and adjust metadata/documentation accordingly. - Remove the internal
version.pymodule and add aCHANGELOG.md.
Reviewed changes
Copilot reviewed 8 out of 11 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
| tests/test_typed.py | Removes per-file pyright: strict directive (now configured globally). |
| tests/test_core.py | Splits a combined import into separate imports. |
| requirements.txt | Removes legacy pinned requirements in favor of pyproject.toml/uv.lock. |
| README.md | Updates PEP 561 text and adds local type-check instructions via uv/poe. |
| pyproject.toml | Moves versioning/metadata into PEP 621-style config, adds dependency groups, and configures ruff/ty/pyright/poe tasks. |
| construct_typed/version.py | Removes the old in-package version constants. |
| construct_typed/dataclass_struct.py | Removes per-file pyright: strict directive (now configured globally). |
| CHANGELOG.md | Adds a changelog documenting the version bump and version-module removal. |
| .gitignore | Ignores JetBrains .idea/ directory. |
| .github/workflows/main.yml | Switches CI to uv sync + poe typecheck, and uses uv build for packaging artifacts. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
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.
Updated pyproject.toml and migrated to uv.lock.
Bumped minimum Python version to
>=3.10(previously:>=3.9which reached end-of-life).Added
CHANGELOG.md.Removed
version.py.