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:
parent
9cf3f9d8cf
commit
95e1c13f74
@ -62,10 +62,8 @@ function _install_dependent_tools {
|
|||||||
install_package make
|
install_package make
|
||||||
|
|
||||||
# python
|
# python
|
||||||
if is_fedora; then
|
if is_ubuntu; then
|
||||||
install_package python38
|
install_package python-is-python3 # make sure python exists
|
||||||
else
|
|
||||||
install_package python3.8 python-is-python3 # make sure python exists
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# nvm
|
# nvm
|
||||||
|
@ -9,11 +9,11 @@ isort<=5.9.3 # MIT
|
|||||||
black<=22.3.0 # MIT
|
black<=22.3.0 # MIT
|
||||||
flake8<=3.9.2 # MIT
|
flake8<=3.9.2 # MIT
|
||||||
mypy>=0.910 # MIT
|
mypy>=0.910 # MIT
|
||||||
pytest>=6.2.5,<=7.1.2 # MIT
|
pytest>=6.2.5 # MIT
|
||||||
pytest-xdist>=2.4.0,<=2.5.0 # MIT
|
pytest-xdist>=2.4.0 # MIT
|
||||||
pytest-asyncio<=0.15.1 # Apache-2.0
|
pytest-asyncio<=0.15.1 # Apache-2.0
|
||||||
pytest-cov<=2.12.1 # MIT
|
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
|
mimesis<=4.1.3 # MIT
|
||||||
asgi-lifespan<=1.0.1 # MIT
|
asgi-lifespan<=1.0.1 # MIT
|
||||||
types-PyYAML<=5.4.10 # Apache-2.0
|
types-PyYAML<=5.4.10 # Apache-2.0
|
||||||
|
Loading…
Reference in New Issue
Block a user