8000 Restructure and modernize PYHANDLE by heevasti · Pull Request #136 · EUDAT-B2HANDLE/PYHANDLE · GitHub
[go: up one dir, main page]

Skip to content

Restructure and modernize PYHANDLE - #136

Closed
heevasti wants to merge 6 commits into
EUDAT-B2HANDLE:masterfrom
heevasti:restructure-and-modernize
Closed

heevasti wants to merge 6 commits into
EUDAT-B2HANDLE:masterfrom
heevasti:restructure-and-modernize

Conversation

@heevasti
@heevasti heevasti commented Oct 20, 2026 •
Copy link
Copy Markdown

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.toml definition, 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's uv, ruff and ty packages 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.

Henri Ervasti 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.
…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.
@themiszamani
Copy link
Copy Markdown
Collaborator

Dear @heevasti could you please create a PR at the devel branch.
We have to check first that everything is working properly in various versions in order to merge the request. This is the process we follow. First devel and after a while master branch.

@heevasti
Copy link
Copy Markdown
Author

Ah, yes, my apologies. I will close this pull request then first.

@heevasti heevasti closed this Oct 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

0