Repository navigation
Conversation
added 6 commits
October 16, 2026 16:53
…nized code could look like. First pass without looking for real upgrades later than py 3.13 and still keeping 3.9 in.
…ter checks. Bump the supported versions up from 3.9-3.13 to 3.11-3.15. Did automated fixes with Ruff to formatting and linting.
…d W605 in the [tool.ruff.lint] select.
…unused imports. Fixing a pathutils bug which causes an error on Windows machines. Removed "star" imports where possible and used explicit imports. Fixed the rest of the `ty` and `ruff`` issues. Removal of duplicate tests and other code, and fixing of typos and `None` check and assertion errors.
…nd remove all code related to versions check with Python 2 and <Python 3.11.
Collaborator
|
Dear @heevasti could you please create a PR at the devel branch. |
Author
|
Ah, yes, my apologies. I will close this pull request then first. |
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.
The whole PYHANDLE project has be updated and upgraded for to work with Python versions 3.11-3.15. The project framework now uses the more modern
pyproject.tomldefinition, and the testing has been separated from thepyhandlepackage to be independenttestsmodule, not to be included in release packages. The Github workflows have been updated to do the testing based on Astral'suv,ruffandtypackages for dependency managing, formatting and linting, and typing, respectively.Also the release workflow was updated, but cannot be tested with the fork.
The code itself has been also updated such that no separate logical cases for Python versions < 3.11 are present. Some path-related issues that could arise when running on Windows were fixed. The linting, formatting and typing have been done to satisfy the newer standards on these, using PEP8 as basis.
All major work was carried out with Claude Opus 5.5 medium settings. Some smaller manual edits and changes were done here and there.