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

Remove get_pypam_version #118

Merged
merged 1 commit into from
Mar 20, 2024
Merged

Remove get_pypam_version #118

merged 1 commit into from
Mar 20, 2024

Conversation

carueda
Copy link
Collaborator

@carueda carueda commented Mar 19, 2024

Client code can use something like:

    import importlib.metadata

    return importlib.metadata.version("lifewatch-pypam")

@cparcerisas - sorry for the little "noise" with this version thing. As it is not really used/needed within pypam itself, client code (like pbp) can simply use a mechanism like the importlib above to get such version. So, I'm "reverting" (removing) that function. Thanks.

Client code can use something like:

        import importlib.metadata

        return importlib.metadata.version("lifewatch-pypam")
@carueda carueda requested a review from cparcerisas March 19, 2024 20:58
@cparcerisas cparcerisas merged commit 13adf3f into main Mar 20, 2024
4 checks passed
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