-
Notifications
You must be signed in to change notification settings - Fork 114
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
Reorganize Python deps and use pip-compile #7874
Open
willbarton
wants to merge
6
commits into
main
Choose a base branch
from
pip-tools
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
2d12a61
Reorganize Python deps and use pip-compile
willbarton 98ad35c
Pin linting tools
willbarton ab76177
Fix tox for 4+
willbarton 74f17f2
Add tox env to validate requirements
willbarton 10cfd72
Minor code review updates
willbarton 37cfa45
Update New Relic docs
willbarton File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
#!/bin/bash | ||
|
||
# ========================================================================== | ||
# Compile full and hashed set of dependencies from requirements/*.in files | ||
# NOTE: Run this script while in the project root directory. | ||
# It will not run correctly when run from another directory. | ||
# ========================================================================== | ||
|
||
set -e | ||
|
||
# Always use the latest pip | ||
pip install -U pip | ||
|
||
# Use a pinned version of pip-tools | ||
pip install pip-tools==7.1.0 | ||
|
||
# Generate our requirements files in the order in which they reference each other: | ||
pip-compile --generate-hashes --resolver=backtracking --rebuild -r requirements/deployment.in | ||
pip-compile --generate-hashes --resolver=backtracking --rebuild -r requirements/test.in | ||
pip-compile --generate-hashes --resolver=backtracking --rebuild -r requirements/scripts.in | ||
pip-compile --generate-hashes --resolver=backtracking --rebuild -r requirements/dev.in | ||
pip-compile --generate-hashes --resolver=backtracking --rebuild -r requirements/docs.in |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
# These packages are installed from PyPI. | ||
base36==0.1.1 | ||
beautifulsoup4==4.8.2 | ||
boto3==1.22.7 | ||
django==3.2.23 | ||
django-autocomplete-light==3.9.4 | ||
django-axes==5.41.0 | ||
django-cors-headers==3.11.0 | ||
|
@@ -22,13 +22,15 @@ elasticsearch<7.11 # Keep pinned to the deployed ES version | |
govdelivery==1.4.0 | ||
Jinja2==3.1.2 | ||
lxml==4.9.1 | ||
newrelic==8.5.0 | ||
opensearch-py==2.2.0 | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Merging this into the main list of requirements necessitates rewriting this part of the docs. |
||
psycopg2-binary==2.8.6 | ||
python-dateutil==2.8.2 | ||
regdown==1.0.7 | ||
requests-aws4auth==1.1.2 | ||
s3transfer==0.5.2 | ||
setuptools>=65.5.1 | ||
wagtail==4.2.4 | ||
wagtail-autocomplete==0.9.0 | ||
wagtail-flags==5.3.0 | ||
wagtail-inventory==2.3 | ||
|
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
This says "testing" but isn't that what test.in is for?