-
Notifications
You must be signed in to change notification settings - Fork 39
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
build: remove requirement file #87
Conversation
setup.py
Outdated
setup_requires = ["setuptools_scm"] | ||
install_requires = ["typing_extensions>=3.6"] | ||
dev_requires = [ | ||
"black==19.10b0", |
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 issue with this pinning is that we don't have an easy way to update it. Our pip-tools command had an update flag.
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.
Was doing some reading https://snarky.ca/clarifying-pep-518/
Codecov Report
@@ Coverage Diff @@
## master #87 +/- ##
=====================================
Coverage 100% 100%
=====================================
Files 16 16
Lines 693 693
=====================================
Hits 693 693 |
ctx.run(f"python -m piptools compile {source} {' '.join(args)}", pty=True) | ||
ctx.run( | ||
"echo '-e .[dev]' | python -m piptools compile " | ||
f"{' '.join(args)} - -qo- | sed '/^-e / d' > {dest}", |
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.
Workaround from jazzband/pip-tools#908
script/bootstrap
Outdated
$VENV/bin/python -m python_githooks | ||
|
||
. $VENV/bin/activate | ||
pip install -U pip --no-cache-dir |
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.
python -m pip install ...
Description
Removes duplication and fragmentation of package dependencies in
requirements.txt
andsetup.py
fileRelated Issues
N/A
Checklist
Additional Comments