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:
		@@ -11,3 +11,7 @@ oslo.utils>=2.0.0 # Apache-2.0
 | 
			
		||||
osprofiler>=1.4.0 # Apache-2.0
 | 
			
		||||
keystoneauth1>=1.0.0
 | 
			
		||||
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 =
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user