Commit Graph

12 Commits

Author SHA1 Message Date
Takashi Kajinami 99e7f84000 Retire puppet-tacker - Step 2: Remove Project Content
Depends-on: https://review.opendev.org/874539
Change-Id: I50d1b0036ca1ca6509d1cc462856e4a898aafea3
2023-02-27 16:44:50 +09:00
Takashi Kajinami 6ef912a1d5 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: Ie22c0b2d9ffa7583b535d60009fcfc2d8a0900f4
Co-Authored-By: tushargite96 <tushargite96@gmail.com>
2021-09-29 18:20:48 +09:00
ZhongShengping 70026f7d17 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: I459e92ad6b2d23d3ffce722daa3cbf28a0009ce5
2020-11-11 09:08:36 +08:00
Ghanshyam Mann 1096645b18 [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: Ibba42362614eb7b8b68b8c2a007b3a063589f121
2020-02-15 20:51:54 -06:00
pengyuesheng 051bdc4ee1 Update the constraints url
For more detail, see http://lists.openstack.org/pipermail/openstack-discuss/2019-May/006478.html

Change-Id: I7eda9fc370995142889aaac799852b97e279af67
2019-09-26 11:11:55 +08:00
ZhongShengping d139e889a2 Move to opendev
Change-Id: I42921fa1a60345317713f53e3e8422c2d2a38117
2019-04-21 14:44:49 +08:00
ZhongShengping 6f4e530168 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: I2e16c2015c2b1a571a758e9b2b4e58ce1f47887f
2018-10-16 11:40:18 +08:00
ZhongShengping a5f7b5c446 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: Id24b0de1b4e83e4d60a00f397e3db65d3776ba0b
2018-06-08 14:23:33 +08:00
ZhongShengping 9436143762 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: I1f2ef4994b4e6071b26dad60ac1d9fc77b22e930
2018-02-28 14:42:12 +08:00
ZhongShengping 838f9e3b42 Add environment variable
Add environment variable {toxinidir} in tox.ini

Change-Id: Ib99e382fce2988821b31a316f71710c410d2ed41
2017-06-12 16:05:22 +08:00
Alex Schultz 23da821ffb 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: I84fa000ef6c260c3efdad5a529ccaeb28c9789b6
2017-05-17 09:47:05 -06:00
Iury Gregory Melo Ferreira 1b0f9ddc9b 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 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: I66981c09370f60f10130ecbd5e082ca997b399ea
2016-10-07 15:02:22 +00:00