-
Notifications
You must be signed in to change notification settings - Fork 31
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
chore: rebuilding the requirements with new constraint #150
Conversation
because this is consumed as a package, the requirements need to be built manually.
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #150 +/- ##
=======================================
Coverage 99.78% 99.78%
=======================================
Files 11 11
Lines 461 461
Branches 33 33
=======================================
Hits 460 460
Partials 1 1 ☔ View full report in Codecov by Sentry. |
I think we still want to bump the version here too. |
def __init__(self): | ||
self.args = sys.argv[1:] | ||
self.configuration = None | ||
self.parser = argparse.ArgumentParser() | ||
self.parser.add_argument( |
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.
everything from here on down was just automatic lint.
|
||
from setuptools import setup | ||
|
||
|
||
def load_requirements(*requirements_paths): |
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.
taken from https://github.com/openedx/xblock-sdk/blob/master/setup.py. everything below this method is just linter.
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.
Oh wow, good find on the setup.py needing to be updated.
bad typing
setup.py has a
load_requirements
method which givesinstall_requires
a list of packages to install. The logic was not respecting constraints. However, we have modified this method elsewhere in the code base to respect constraints, so I updated accordingly.