Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use a constraints file in this repo. (#10579)
We'll be encouraging users to do so, so we should dogfood. [ci skip-rust] [ci skip-build-wheels]
- Loading branch information
Showing
10 changed files
with
55 additions
and
17 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,33 @@ | ||
# Generated by build-support/bin/generate_lockfile.sh on Mon Aug 10 13:36:18 EDT 2020 | ||
ansicolors==1.1.8 | ||
beautifulsoup4==4.6.3 | ||
certifi==2020.6.20 | ||
cffi==1.14.1 | ||
chardet==3.0.4 | ||
cryptography==3.0 | ||
dataclasses==0.6 | ||
fasteners==0.15 | ||
idna==2.10 | ||
monotonic==1.5 | ||
mypy==0.782 | ||
mypy-extensions==0.4.3 | ||
packaging==20.4 | ||
pathspec==0.8.0 | ||
pex==2.1.14 | ||
pip==19.0.3 | ||
psutil==5.7.0 | ||
pycparser==2.20 | ||
pyOpenSSL==19.1.0 | ||
pyparsing==2.4.7 | ||
pystache==0.5.4 | ||
python-Levenshtein==0.12.0 | ||
PyYAML==5.3.1 | ||
requests==2.24.0 | ||
setproctitle==1.1.10 | ||
setuptools==49.2.0 | ||
six==1.15.0 | ||
toml==0.10.1 | ||
typed-ast==1.4.1 | ||
typing-extensions==3.7.4.2 | ||
urllib3==1.25.10 | ||
www-authenticate==0.9.2 |
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,11 @@ | ||
#!/usr/bin/env bash | ||
|
||
set -euo pipefail | ||
|
||
constraints_file=3rdparty/python/constraints.txt | ||
|
||
VENV=$(mktemp -d -t pants_lockfile_venv.XXXXX) | ||
python3 -m venv "${VENV}" | ||
"${VENV}/bin/pip" install -r <(./pants --tag=-lockfile_ignore dependencies --type=3rdparty ::) | ||
echo "# Generated by build-support/bin/generate_lockfile.sh on $(date)" > "${constraints_file}" | ||
"${VENV}/bin/pip" freeze --all >> "${constraints_file}" |
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 |
---|---|---|
|
@@ -6,5 +6,5 @@ python_library() | |
python_integration_tests( | ||
name='integration', | ||
uses_pants_run=False, | ||
timeout=180, | ||
timeout=300, | ||
) |
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 |
---|---|---|
|
@@ -13,5 +13,6 @@ python_distribution( | |
namespace_packages=[ | ||
'test_pants_plugin', | ||
], | ||
) | ||
), | ||
tags=['lockfile_ignore'], | ||
) |
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