-
Notifications
You must be signed in to change notification settings - Fork 25
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
Conversation
de14c98
to
ae65590
Compare
config
, date
, hexversion
and strictversion
src/hdf5plugin/_version.py
Outdated
"beta": 11, | ||
"candidate": 12, | ||
"final": 15} | ||
def _version_info(version: str) -> _VersionInfo: |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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.
There was a problem hiding this 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
Simpler version handling
Merge PR #313 first!
This PR prepares for v5 by:
hdf5plugin.config
,hdf5plugin.date
,hdf5plugin.hexversion
andhdf5plugin.strictversion
It also cleans-up and simplifies some code:
MANIFEST.in
_version.py
file by storing the version as astr
Finally, it removes Debian packaging configuration and script:
hdf5plugin
is now officially packaged in Debian and unofficial packages can be created with wheel2deb.