Repository navigation
Conversation
Version 1.4.1
Version 1.5.0
…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.
|
Hello @heevasti, thanks for the massive upgrade. The changes look good! I found one thing I'd like to settle before merge, plus a question about how the DB client is used.
|
Thanks Angelos! I don't know if someone would like to use the DB client. I did not consider user-cases when deploying Claude for the upgrade. It surely wasn't used before as it was raising an exception, and potential users did not seem to consider it important issue enough for creating an issue ticket about it. You can consider deprecating the DB client option, or just leave it for now and see if people will start using it. What happened with the code editing is likely to be the following: When In either case, I think the call should be without expecting a return value (simply |
….register_handle` call in `DBHandleClient.generate_and_register_handle(...)` as it overwrites the `handle` value with `None`.
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 the pyhandle package to be independent tests module, 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.