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

Add pyod.__version__ property #584

Merged
merged 1 commit into from
Jun 5, 2024
Merged

Conversation

CodeLionX
Copy link
Contributor

PyOD has no pyod.__version__ property, which makes integrating it in other packages complicated. Many tools use <module>.__version__ to check compatibility at runtime.

PyOD already stores the version number in code, but in a non-standard location (pyod.version.__version__). This PR just pulls the __version__ in the module's global namespace.

All Submissions Basics:

@yzhao062
Copy link
Owner

yzhao062 commented Jun 3, 2024

thank you -- please resubmit it to the development branch.

@coveralls
Copy link

coveralls commented Jun 3, 2024

Pull Request Test Coverage Report for Build 9328842990

Details

  • 2 of 2 (100.0%) changed or added relevant lines in 1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.001%) to 93.931%

Totals Coverage Status
Change from base Build 9328611316: 0.001%
Covered Lines: 9394
Relevant Lines: 10001

💛 - Coveralls

@CodeLionX CodeLionX changed the base branch from master to development June 4, 2024 07:12
@yzhao062 yzhao062 merged commit b0ca173 into yzhao062:development Jun 5, 2024
15 checks passed
@CodeLionX CodeLionX deleted the patch-1 branch June 5, 2024 06:07
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.

pyod does not have a __version__
3 participants