Skip to content
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

Dependencies: Requires python>=3.8; Removed deprecated constants: config, date, hexversion and strictversion #301

Merged
merged 10 commits into from
Jul 10, 2024

Conversation

t20100
Copy link
Member

@t20100 t20100 commented Apr 5, 2024

Merge PR #313 first!

This PR prepares for v5 by:

  • Removing support for Python 3.7.
  • Removing deprecated constants (deprecated since v4.0.0: 2022/11/28): hdf5plugin.config, hdf5plugin.date, hdf5plugin.hexversion and hdf5plugin.strictversion

It also cleans-up and simplifies some code:

  • Updates MANIFEST.in
  • Fixes flake8 warnings/errors
  • Simplifies _version.py file by storing the version as a str
  • Updates documentation

Finally, it removes Debian packaging configuration and script: hdf5plugin is now officially packaged in Debian and unofficial packages can be created with wheel2deb.

@t20100 t20100 added this to the 5.0.0 milestone Apr 5, 2024
@t20100 t20100 requested a review from kif April 5, 2024 15:38
@t20100 t20100 marked this pull request as draft April 5, 2024 15:53
@t20100 t20100 removed the request for review from kif July 3, 2024 12:57
@t20100 t20100 force-pushed the drop-python3.7 branch 3 times, most recently from de14c98 to ae65590 Compare July 8, 2024 13:18
@t20100 t20100 marked this pull request as ready for review July 8, 2024 13:28
@t20100 t20100 requested a review from kif July 8, 2024 13:28
@t20100 t20100 changed the title Dependencies: Requires python>=3.8 Dependencies: Requires python>=3.8; Removed deprecated constants: config, date, hexversion and strictversion Jul 8, 2024
"beta": 11,
"candidate": 12,
"final": 15}
def _version_info(version: str) -> _VersionInfo:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would have made this function a class method, working as alternative constructor.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I turned it to a _VersionInfo.from_string static method.

Copy link
Member

@kif kif left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Beside the comment: LGTM

@t20100 t20100 merged commit 86d6cfe into silx-kit:main Jul 10, 2024
7 checks passed
@t20100 t20100 deleted the drop-python3.7 branch July 10, 2024 09:00
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