fix: Fix the devstack for python3.8 and version in requirements

When the os is ubuntu, then we only need to make
sure that python exists.
Update the version in requirements.

Change-Id: I100fce84d94f2af5f07d68c5675a02ae05403110
This commit is contained in:
Boxiang Zhu 2022-11-22 11:51:57 +08:00
parent 9cf3f9d8cf
commit 95e1c13f74
2 changed files with 5 additions and 7 deletions

View File

@ -62,10 +62,8 @@ function _install_dependent_tools {
install_package make
# python
if is_fedora; then
install_package python38
else
install_package python3.8 python-is-python3 # make sure python exists
if is_ubuntu; then
install_package python-is-python3 # make sure python exists
fi
# nvm

View File

@ -9,11 +9,11 @@ isort<=5.9.3 # MIT
black<=22.3.0 # MIT
flake8<=3.9.2 # MIT
mypy>=0.910 # MIT
pytest>=6.2.5,<=7.1.2 # MIT
pytest-xdist>=2.4.0,<=2.5.0 # MIT
pytest>=6.2.5 # MIT
pytest-xdist>=2.4.0 # MIT
pytest-asyncio<=0.15.1 # Apache-2.0
pytest-cov<=2.12.1 # MIT
pytest-html<=3.1.1 # MPL 2.0
pytest-html>=3.1.1 # MPL 2.0
mimesis<=4.1.3 # MIT
asgi-lifespan<=1.0.1 # MIT
types-PyYAML<=5.4.10 # Apache-2.0