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

build: remove requirement file #87

Merged
merged 10 commits into from
Jan 4, 2020
Merged

build: remove requirement file #87

merged 10 commits into from
Jan 4, 2020

Conversation

iamogbz
Copy link
Collaborator

@iamogbz iamogbz commented Jan 3, 2020

Description

Removes duplication and fragmentation of package dependencies in requirements.txt and setup.py file

Related Issues

N/A

Checklist

  • This PR has sufficient test coverage.

Additional Comments

  • One dependency list to rule them all

@iamogbz iamogbz requested a review from noahnu January 3, 2020 16:01
@iamogbz iamogbz requested a review from noahnu January 3, 2020 17:18
setup.py Outdated
setup_requires = ["setuptools_scm"]
install_requires = ["typing_extensions>=3.6"]
dev_requires = [
"black==19.10b0",
Copy link
Collaborator

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.

Copy link
Collaborator Author

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
Copy link

codecov bot commented Jan 4, 2020

Codecov Report

Merging #87 into master will not change coverage.
The diff coverage is n/a.

@@          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}",
Copy link
Collaborator Author

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

@iamogbz iamogbz requested a review from noahnu January 4, 2020 04:20
script/bootstrap Outdated
$VENV/bin/python -m python_githooks

. $VENV/bin/activate
pip install -U pip --no-cache-dir
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

python -m pip install ...

@noahnu noahnu merged commit 5beaae7 into master Jan 4, 2020
@noahnu noahnu deleted the remove-reqs branch January 4, 2020 22:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants