-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* unpin requests and upgrade other packages accordingly * Recompiled reqs via docker and added bash script for it
- Loading branch information
Showing
5 changed files
with
29 additions
and
31 deletions.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
#!/bin/bash | ||
|
||
# To avoid pip-compile deciding requirements on your specific machine, | ||
# we use a docker container to compile the requirements, which should match | ||
# the architecture of the dev environment. | ||
|
||
docker run --platform linux/amd64 -v $(pwd):/opt/metamist python:3.11 /bin/bash -c ' | ||
cd /opt/metamist; | ||
pip install pip-tools; | ||
pip-compile requirements.in > requirements.txt; | ||
pip-compile --output-file=requirements-dev.txt requirements-dev.in requirements.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