fix: test failure with new ubuntu & os 2024.02

- Pinning setuptools seems no longer to be needed, also breaks due to
  trying to do a global install
- Use python3 instead of python binary
- Remove all_projects param in list role API

Change-Id: Ia62659e3b2d04dd83df9189d0051f35f3cd16e72
This commit is contained in:
Wenxiang Wu
2025-02-12 07:50:14 +08:00
parent f3dc3cba35
commit 47aa72a88b
2 changed files with 6 additions and 5 deletions

View File

@@ -76,11 +76,8 @@ package: install
rm -rf $(ROOT_DIR)/skyline_console/static
yarn run build
echo `git rev-parse --verify HEAD` > $(ROOT_DIR)/skyline_console/static/commit_id.txt
# fix setuptools version as 69.2.0
# if we use higher version of this, we will get skyline_console tar.gz package
pip install --upgrade setuptools==69.2.0
python setup.py sdist
python setup.py bdist_wheel
python3 setup.py sdist
python3 setup.py bdist_wheel
.PHONY: fmt

View File

@@ -34,6 +34,10 @@ export class Role extends Base {
return false;
}
get fetchDataByAllProjects() {
return false;
}
get actionConfigs() {
return actionConfigs;
}