11 Commits

Author SHA1 Message Date
Takashi Kajinami
deb10244e4 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: Id3a4bc58d0322205456156808e482e9a137b3029
Co-Authored-By: tushargite96 <tushargite96@gmail.com>
2021-09-29 18:21:19 +09:00
ZhongShengping
11161fe322 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: I89b35fe5da4e3c096b42d45a068083452aca010b
2020-11-11 09:08:36 +08:00
Ghanshyam Mann
f9f5221648 [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: I7ae860b5e53884ff990397c752d466fa450eb7b4
2020-02-15 20:57:26 -06:00
pengyuesheng
0ac965ee3a Update the constraints url
For more detail, see http://lists.openstack.org/pipermail/openstack-discuss/2019-May/006478.html

Change-Id: Id1bb166d19c3b2d7ad988199a42b3c0e64b1db56
2019-09-26 11:09:24 +08:00
ZhongShengping
b7ddd3b7eb Move to opendev
Change-Id: Ice7af4b556f71bd7bec4970e88a348639f0743c1
2019-04-21 14:44:49 +08:00
ZhongShengping
ca483a625b 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: Ide9a6337f26548fcac5e2e1bfd34b5934cafd456
2018-10-16 11:40:19 +08:00
ZhongShengping
f3e88bc1d0 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: I78da755828e878c148dae9a1e4b963e9e61fd97e
2018-06-08 14:23:33 +08:00
ZhongShengping
ff3af8ac4e 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: I6107a1bfec33edc2ea70b6d1417bfe867d7f50a9
2018-02-28 14:42:12 +08:00
ZhongShengping
f512af0aee Add environment variable
Add environment variable {toxinidir} in tox.ini

Change-Id: I6d9dab4c6033656e1f07f221ab66453cd46e07ac
2017-06-12 16:07:02 +08:00
Alex Schultz
1430f8d6ef 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.

Change-Id: Ie329c3abd7973a5d47af5e6d228b2a164a76107f
2017-05-17 09:49:03 -06:00
Emilien Macchi
3f22aa648c 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: Ie4638f6c91edd288233fead5d37c3952e09fb9af
2016-03-14 08:36:32 -04:00