Skip to content

Commit

Permalink
dev: set minimum default to 0.99.0 for prelude_common
Browse files Browse the repository at this point in the history
  • Loading branch information
cloudguruab committed May 10, 2024
1 parent 69c5f60 commit 964f47b
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 6 deletions.
19 changes: 14 additions & 5 deletions .github/workflows/consistency-functional.yml
Original file line number Diff line number Diff line change
Expand Up @@ -156,10 +156,17 @@ jobs:
sudo apt install postgresql-common
sudo python -m pip install --upgrade pip
sudo python -m pip install --upgrade virtualenv
sudo python -m pip install ovs
sudo python -m pip install --upgrade setuptools --force
sudo apt install openvswitch-switch
sudo apt install openvswitch-common
# https://github.com/pypa/setuptools/issues/3772
# sudo python -m pip install --upgrade 'setuptools<66'
sudo python -m pip install --upgrade build
# Installing wheel separately because it may be needed to build some
# of the packages during dependency backtracking and pip >= 22.0 will
# abort backtracking on build failures:
# https://github.com/pypa/pip/issues/10655
sudo pip install --disable-pip-version-check --user wheel
sudo pip install --disable-pip-version-check --user \
ovs sphinx setuptools pyelftools pyOpenSSL ncclient logutils
- name: Configure podman
run: |
Expand Down Expand Up @@ -348,11 +355,13 @@ jobs:
run: |
# Hacks to make Devstack install fine. See also:
# https://github.com/openstack/devstack/blob/83821a11ac1d6738b63cb10878b8aaa02e153374/tools/fixup_stuff.sh#L88-L96
sudo rm -rf /usr/lib/python3/dist-packages/httplib2-*.egg-info
# sudo rm -rf /usr/lib/python3/dist-packages/httplib2-*.egg-info
sudo rm -rf /usr/lib/python3/dist-packages/pyasn1_modules-*.egg-info
sudo rm -rf /usr/lib/python3/dist-packages/PyYAML-*.egg-info
sudo rm -rf /usr/lib/python3/dist-packages/simplejson-*.egg-info
sudo apt install --reinstall python3-setuptools
sudo -iu stack bash -c 'cd /opt/stack/devstack; ./stack.sh'
- name: Get debug data
if: failure()
Expand Down
2 changes: 1 addition & 1 deletion os_migrate/roles/prelude_common/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@
# License for the specific language governing permissions and limitations
# under the License.

os_migrate_common_minimum_openstacksdk_version: "1.0.0"
os_migrate_common_minimum_openstacksdk_version: "0.99.0"

0 comments on commit 964f47b

Please sign in to comment.