-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: check every PR against baseline versions of deps
- Loading branch information
Showing
3 changed files
with
48 additions
and
1 deletion.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
#!/bin/bash | ||
|
||
set -e | ||
|
||
MY_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" | ||
|
||
main() { | ||
local requirements_file="$MY_DIR/requirements.baseline.txt" | ||
|
||
# Install pygit2 build deps -- prebuilt 1.6.1 wheels on PyPI are only | ||
# available for Python up to 3.9. | ||
export DEBIAN_FRONTEND=noninteractive | ||
export DEBCONF_NONINTERACTIVE_SEEN=true | ||
sudo apt-get update -qqy | ||
sudo apt-get install -qqy libgit2-dev | ||
|
||
# Workaround https://github.com/yaml/pyyaml/issues/724 because we need | ||
# exactly this version of PyYAML for faithful reproduction of the baseline | ||
# environment. | ||
poetry run pip install 'Cython<3' | ||
poetry run pip install --no-build-isolation 'PyYAML==5.4.1' | ||
|
||
poetry run pip install -r "$requirements_file" | ||
} | ||
|
||
main "$@" |
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,13 @@ | ||
# Package versions provided by Ubuntu 22.04 LTS. | ||
arpy==1.1.1 | ||
certifi==2020.6.20 | ||
jinja2==3.0.3 | ||
packaging==21.3 | ||
pygit2==1.6.1 | ||
# pyyaml==5.4.1 # https://github.com/yaml/pyyaml/issues/724 | ||
requests==2.25.1 | ||
rich==11.2.0 | ||
semver==2.10.2 | ||
tomli==1.2.2 | ||
tomlkit==0.9.2 | ||
typing_extensions==3.10.0.2 |