File tree Expand file tree Collapse file tree 5 files changed +10
-3
lines changed
Expand file tree Collapse file tree 5 files changed +10
-3
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
Load Diff This file was deleted.
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
Original file line number Diff line number Diff line change @@ -71,4 +71,4 @@ search = "version = \"{current_version}\""
7171replace = " version = \" {new_version}\" "
7272
7373[[tool .bumpversion .files ]]
74- filename = " ./setup.py"
74+ filename = " ./setup.py"
You can’t perform that action at this time.
0 commit comments