Commit Graph

10 Commits

Author SHA1 Message Date
Andreas Jaeger 8bc0f11366 Cleanup py27 support
Make a few cleanups:
- Remove python 2.7 stanza from setup.py
- Add requires on python >= 3.6 to setup.cfg so that pypi and pip
  know about the requirement
- Remove obsolete sections from setup.cfg:
  * Wheel is not needed for python 3 only repo
  * Some other sections are obsolete
- tox.ini: Move constraints into deps, remove install_command since
  the default is fine

Change-Id: Ifc4c123f30451ab6844d8b2f704b930760ebcef8
2020-04-07 20:15:05 +02:00
Ghanshyam Mann 29feb954d0 [ussuri][goal] Drop python 2.7 support and testing
OpenStack is dropping the py2.7 support in ussuri cycle.

sahara-extra is ready with python 3 and ok to drop the
python 2.7 support.

Complete discussion & schedule can be found in
- http://lists.openstack.org/pipermail/openstack-discuss/2019-October/010142.html
- https://etherpad.openstack.org/p/drop-python2-support

Ussuri Communtiy-wide goal:
https://governance.openstack.org/tc/goals/selected/ussuri/drop-py27.html

Change-Id: Ib096b763835837544da0cd6e013de83b3125889b
2019-11-17 14:27:05 +00:00
pengyuesheng 7d09ba71ca Update the constraints url
For more detail, see http://lists.openstack.org/pipermail/openstack-discuss/2019-May/006478.html

Change-Id: I5b3865609f8d03af02ebebfb120efe5604bb04af
2019-09-29 10:37:36 +08:00
Luigi Toscano b7c24df858 Replace git.openstack.org URLs with opendev.org URLs
Thorough replacement of git.openstack.org URLs with their opendev.org
counterparts.
(bonus point: fix also a leftover github URL.)

Change-Id: Ie24652d525b1d2859594b271500a4d32aa5b2d34
2019-04-20 13:51:25 +02:00
Doug Hellmann 9940c4e78f fix tox python3 overrides
We want to default to running all tox environments under python 3, so
set the basepython value in each environment.

We do not want to specify a minor version number, because we do not
want to have to update the file every time we upgrade python.

We do not want to set the override once in testenv, because that
breaks the more specific versions used in default environments like
py35 and py36.

Change-Id: Id456fc88170c4466a434100934e150f403e7ecd9
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-06-06 15:27:01 -04:00
Tony Breeds 85fd5506fa Add Constraints support
To be co-installable with other OpenStack projects and have consistent
testing it's a good idea (tm) to use constraints when creating tox
environments.

Change-Id: I2996f6fb97f9511ab13e8f5c4460014b286df7a8
2016-12-21 13:37:36 +11:00
Shu Yingya 2e516a87f7 Remove not exists dir in tox.ini
This dir has been cleaned after oslo.incubator deprecated.
But still exists in tox test configure file. Delet it.

I am also thinking that this project doesn't contain any
python file except "setup.py". Why do we still execute pep8
check? Can we remove it to reduce the work load of jenkins?
This result would looks like "openstack-dev/devstack".

Change-Id: Ib6d28fabeeab662c4b447c6a0027afa2b921ec54
2016-09-30 13:58:48 +08:00
Ondřej Nový edf918450c Deprecated tox -downloadcache option removed
Caching is enabled by default from pip version 6.0

More info:
https://testrun.org/tox/latest/config.html#confval-downloadcache=path
https://pip.pypa.io/en/stable/reference/pip_install/#caching

Change-Id: I60513ae3d014a34f64f8c48147c39e725215eb69
2015-12-11 23:33:35 +01:00
Sergey Lukjanov 4f1ea5b409 Enable hacking checks
Change-Id: I72e2abb31c3dc96eba91ad7129a3a07391b3a5cd
2013-11-15 13:10:52 +04:00
Sergey Lukjanov f9415e3478 Add simple tox.ini to make gate working
Change-Id: Ia4923f15c05e57e4e5e3cbfab404cc7e973bf978
2013-10-15 10:50:35 -07:00