Commit Graph

11 Commits

Author SHA1 Message Date
Takashi Kajinami ce6b3b1b54 Stop configuring install_command in tox.
It turns out that this is the the default value provided by tox:

https://tox.readthedocs.io/en/latest/config.html#conf-install_command

So we can remove the line and simply use the default value.

Change-Id: Ibc727a6f11e1f7690ea63a316a95db06495ea8a3
Co-Authored-By: tushargite96 <tushargite96@gmail.com>
2021-09-29 18:05:26 +09:00
ZhongShengping 962d3216b5 Replace deprecated UPPER_CONSTRAINTS_FILE variable
UPPER_CONSTRAINTS_FILE is deprecated and TOX_CONSTRAINTS_FILE is
the new environment variable name that replaces it [1].

This allows to use upper-constraints file as more
readable way instead of UPPER_CONSTRAINTS_FILE=<lower-constraints file>.

[1] https://zuul-ci.org/docs/zuul-jobs/python-roles.html#rolevar-tox.tox_constraints_file
[2] https://review.opendev.org/#/c/722814/

Change-Id: I96b03812c19cf6482bad7253233e74393ab0ce4f
2020-11-11 09:08:35 +08:00
Ghanshyam Mann 04a80d4eea [ussuri][goal] Cleanup for python 2.7 drop
OpenStack is dropping the py2.7 support in ussuri cycle.

puppet-* repos have to cleanup the requirement and tox
for py2.7 drop.

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: If4b0c5af2da7789db538fb77e88bf4d460e28b52
2020-02-15 18:59:14 -06:00
pengyuesheng 809ce20cbc Update the constraints url
For more detail, see http://lists.openstack.org/pipermail/openstack-discuss/2019-May/006478.html

Change-Id: I5962e42a8e2b56b987db3ddfa9093b67ec13c821
2019-09-26 11:41:49 +08:00
ZhongShengping 84605be4b9 Move to opendev
Change-Id: I5cbf3415d69fb9515f70b5d2007db197d3f21f58
2019-04-21 14:44:48 +08:00
ZhongShengping 98fe69e6cc Update min tox version to 2.0
The commands used by constraints need at least tox 2.0.  Update to
reflect reality, which should help with local running of constraints
targets.

Change-Id: I27fa7d81014b115da65ec915802c118763e4df4a
2018-10-16 11:40:17 +08:00
ZhongShengping 8706e22568 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: Ic470e15f78b2100794c9e3e5155d569e8f103890
2018-06-08 14:23:32 +08:00
ZhongShengping 11da646405 Follow the new PTI for document build
For compliance with the Project Testing Interface as described in:
https://governance.openstack.org/tc/reference/project-testing-interface.html

Refer to:
http://lists.openstack.org/pipermail/openstack-dev/2017-November/124815.html

Change-Id: I700b2fb991d2fa2abc1d8ec7221c1470e7634b8e
2018-02-28 14:42:10 +08:00
ZhongShengping 08cbeacf55 Add environment variable
Add environment variable {toxinidir} in tox.ini

Change-Id: I698c53be149c1d5508c71dcf437e60c67df658e1
2017-06-12 15:52:24 +08:00
Alex Schultz 1d7f3d7b05 Align Stars, Fix CI
1) Update tox configuration

Update the tox configuration to pull in the openstack
upper-constraints.txt when running releasenotes. This will
fix the releasenotes job that is currently failing due to
a new version of sphinx. Additionally this change includes
updates from puppet-modulesync-configs.

2) beaker: stop deploying glance-registry and glance v1 API

The API and services are deprecated and marked as removed for Pike.

Change-Id: I860ecb2a49fb1feb3a4a24d5ee8271161e4ccc0a
Co-Authored-By: Emilien Macchi <emilien@redhat.com>
2017-05-18 20:15:03 +00:00
Emilien Macchi 7695d6deb2 Add basic structure for ReNo
ReNo [1] is the release management tool in OpenStack.
This patch adds the basic structure to start using it.

* Update .gitignore
* Add a basic note "use-reno"
* Add releasenotes/ dir and basic files
* Add python files: setup.cfg, setup.py, test-requirements.txt and
  tox.ini.

[1] http://docs.openstack.org/developer/reno

Change-Id: I205b179a6bff595c4eee564836d77b1981aa61c9
2016-03-14 08:28:13 -04:00