-
Notifications
You must be signed in to change notification settings - Fork 80
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
[MRG] Add a version.py => 2.0 alpha, add khmer@master to requirements.txt #117
Conversation
Codecov Report
@@ Coverage Diff @@
## master #117 +/- ##
==========================================
+ Coverage 85.34% 85.37% +0.03%
==========================================
Files 13 13
Lines 1829 1833 +4
Branches 52 52
==========================================
+ Hits 1561 1565 +4
Misses 259 259
Partials 9 9
Continue to review full report at Codecov.
|
Ready for review & maybe merge. |
setup.py
Outdated
VERSION="1.1" | ||
VERSION='undefined' | ||
with open('sourmash_lib/version.py') as f: | ||
exec(f.read()) |
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.
Hmmmm, can we use the other alternative from that answer, the one that doesn't need exec()
?
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.
the pkg_resources one?
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.
the "Store version string for use during install" one
Ready for review! |
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.
👍
Relies on sourmash_lib/VERSION to read the version from a single location.
make test
Did it pass the tests?make coverage
Is the new code covered?without a major version increment. Changing file formats also requires a
major version number increment.
changes were made?