File tree Expand file tree Collapse file tree 5 files changed +12
-4
lines changed
Expand file tree Collapse file tree 5 files changed +12
-4
lines changed Original file line number Diff line number Diff line change @@ -83,13 +83,15 @@ def to_lower_bound(req):
8383 else :
8484 for spec in requirement .specifier :
8585 if spec .operator == ">=" :
86+ min_version = spec .version
8687 if requirement .name == "pulpcore" :
8788 # Currently an exception to allow for pulpcore bugfix releases.
8889 # TODO Semver libraries should be allowed too.
8990 operator = "~="
91+ if len (Version (min_version ).release ) != 3 :
92+ raise RuntimeError ("Pulpcore lower bound must be in the form '>=x.y.z'." )
9093 else :
9194 operator = "=="
92- min_version = spec .version
9395 return f"{ requirement .name } { operator } { min_version } "
9496 return f"# NO LOWER BOUND: { req } "
9597
Original file line number Diff line number Diff line change 1- 2021.08.26-421-g204a709
1+ 2021.08.26-430-gc1faf10
Original file line number Diff line number Diff line change 1313jobs :
1414 test :
1515 if : " endsWith(github.base_ref, 'main')"
16- runs-on : " ubuntu-20.04 "
16+ runs-on : " ubuntu-latest "
1717 defaults :
1818 run :
1919 working-directory : " pulp_python"
4848
4949 no-test :
5050 if : " !endsWith(github.base_ref, 'main')"
51- runs-on : " ubuntu-20.04 "
51+ runs-on : " ubuntu-latest "
5252 steps :
5353 - run : |
5454 echo "Skip docs testing on non-main branches."
Original file line number Diff line number Diff line change @@ -32,6 +32,10 @@ tail -v -n +1 .ci/ansible/settings/settings.* ~/.config/pulp_smash/settings.json
3232echo " Containerfile:"
3333tail -v -n +1 .ci/ansible/Containerfile
3434
35+ echo " Constraints Files:"
36+ # The need not even exist.
37+ tail -v -n +1 ../* /* constraints.txt || true
38+
3539# Needed for some functional tests
3640cmd_prefix bash -c " echo '%wheel ALL=(ALL) NOPASSWD: ALL' > /etc/sudoers.d/nopasswd"
3741cmd_prefix bash -c " usermod -a -G wheel pulp"
Original file line number Diff line number Diff line change @@ -28,6 +28,8 @@ export PULP_URL="https://pulp"
2828
2929REPORTED_STATUS=" $( pulp status) "
3030
31+ echo " ${REPORTED_STATUS} "
32+
3133echo " machine pulp
3234login admin
3335password password
You can’t perform that action at this time.
0 commit comments