Fix CI jobs(py38, py310) and upload of wheels package to PyPi
According to PEP440[1] python wheel with a direct references in their metadata cannot be uploaded to PyPi(public index server). Move "aodh-master" tarball url to tox.ini. Since this project doesn't consume upper-constraints, the latest releases of a few packages are being installed which breaks "gnocchi upgrade" when running py38 and py310 jobs. Avoid this by pinning sqlalchemy and oslo.db packages. [1] https://peps.python.org/pep-0440/#direct-references Change-Id: I6c10d87c572f9503484fcb02f6f0a0188c9454b3
This commit is contained in:
parent
02176deb25
commit
5a8598c436
|
@ -10,4 +10,8 @@ oslo.serialization>=1.4.0 # Apache-2.0
|
|||
oslo.utils>=2.0.0 # Apache-2.0
|
||||
osprofiler>=1.4.0 # Apache-2.0
|
||||
keystoneauth1>=1.0.0
|
||||
pyparsing
|
||||
pyparsing
|
||||
SQLAlchemy-Utils<=0.38.3
|
||||
sqlalchemy-migrate<=0.13.0
|
||||
SQLAlchemy<=1.4.41
|
||||
oslo.db<=12.3.1
|
||||
|
|
|
@ -33,7 +33,8 @@ test =
|
|||
testtools>=1.4.0
|
||||
pifpaf[gnocchi]>=0.23
|
||||
gnocchi[postgresql,file]
|
||||
aodh @ https://tarballs.openstack.org/aodh/aodh-master.tar.gz#egg=aodh[mysql]
|
||||
;Disabled due to https://github.com/pypa/twine/issues/726
|
||||
;aodh @ https://tarballs.openstack.org/aodh/aodh-master.tar.gz#egg=aodh[mysql]
|
||||
|
||||
[entry_points]
|
||||
console_scripts =
|
||||
|
|
Loading…
Reference in New Issue