From 174662c8da20ec9a81e28b4561907501f319e0ac Mon Sep 17 00:00:00 2001 From: Thirumalesh Aaraveti <97395760+athiruma@users.noreply.github.com> Date: Wed, 5 Jun 2024 18:27:36 +0530 Subject: [PATCH] Add the setuptools in pypi_validate (#796) --- .bumpversion.cfg | 2 +- .github/workflows/Build.yml | 4 ++-- setup.py | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.bumpversion.cfg b/.bumpversion.cfg index 88a167bb..1d5a2f79 100644 --- a/.bumpversion.cfg +++ b/.bumpversion.cfg @@ -1,7 +1,7 @@ [bumpversion] commit = False tag = True -current_version = 1.1.266 +current_version = 1.1.267 tag_name = v{current_version} message = GitHub Actions Build {current_version} diff --git a/.github/workflows/Build.yml b/.github/workflows/Build.yml index 48602499..2b3768c5 100644 --- a/.github/workflows/Build.yml +++ b/.github/workflows/Build.yml @@ -274,8 +274,8 @@ jobs: # Verfiy and wait till latest cloud-governance version will be updated in Pypi (timeout 900 seconds) timeout=900 sleep_time=30 + pip --no-cache-dir install setuptools cloud-governance --upgrade expected_version=$(python3 setup.py --version) - pip --no-cache-dir install cloud-governance --upgrade build=$(pip freeze | grep cloud-governance | sed 's/==/=/g') actual_version="$(cut -d'=' -f2 <<<"$build")" current_wait_time=0 @@ -338,9 +338,9 @@ jobs: python-version: ${{ matrix.python-version }} - name: 🎁 Bump Version run: | + pip install setuptools bumpversion version=$(python3 setup.py --version) git checkout main - pip install bumpversion git config --global user.email ${{ secrets.EMAIL }} git config --global user.name ${{ secrets.NAME }} git config pull.rebase false # merge (the default strategy) diff --git a/setup.py b/setup.py index 4cf4a4c4..d7ba94c1 100644 --- a/setup.py +++ b/setup.py @@ -2,7 +2,7 @@ from os import path from setuptools import setup, find_packages -__version__ = '1.1.266' +__version__ = '1.1.267' here = path.abspath(path.dirname(__file__))