The dib-utils repository was retired as part of retirement of TripleO.
This imports the tiny dib-run-parts script because it's used by
os-refresh-config now.
This also removes direct execution of os_refresh_config.py, which is
required only for testing.
Change-Id: Ia516e604bafdc59dbcfa81796348191b03cbe0b7
This reverts commit d262d5e60e8969da58ea8967e0b713a04291a15f.
Reason for revert:
This breaks unit tests execution during packaging process in RDO.
Until we find out the root cause, let's revert the change.
Change-Id: I061b388c7df67422ded99dbf1bfe4c6fb2719f9c
Now we generate the console script using setuptools, and we don't
expect users may directly execute the *.py file.
Change-Id: I6fb802d0dee7e47f9fd619afba2f379f881914af
The tag_svn_revision option was already removed[1]. The values set to
the other two options are effectively same as their defaults.
[1] https://github.com/pypa/setuptools/issues/619
Change-Id: If69a8a10e8bc410974ea2d31be21fab7ec103477
... because the minimum version is now 3.2.2.
Also the children method returns a list so we don't have to cast it
to a list explicitly.
Change-Id: I59c1a7847c5b4cc8471884671e57f3e49e4573d8
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
- Update classifiers
- Update requirements, no need for python_version anymore
Change-Id: Ibcee6e71253fceb4c46442646a99f3b58e9df26d
Now that we no longer support py27, we can use the standard library
unittest.mock module instead of the third party mock lib.
Change-Id: I7a6bea2e6e6fffcc262dd4241a7d6b75913d87aa
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
Sync sphinx dependency with global requirements. It caps python 2 since
sphinx 2.0 no longer supports Python 2.7.
Change-Id: I2acb582646d5e878062e245bc17ec6dc79adf655
https://review.openstack.org/#/c/619337/ switched the jobs to a noop for
master and since this file is branched we no longer need to keep this
template definition in this project.
Change-Id: I5c2d30babfbd2c425dc489aa8e47f5420c2f64b8
Quotes around {posargs} cause the entire string to be combined into one
arg that gets passed to stestr. This prevents passing multiple args
(e.g. '--concurrency=16 some-regex')
Change-Id: I83986c645b21b3994c199c68419847d1507511de
Closes-Bug: #1801454
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: I4e3c8a76cee08a327c1e648605e70f5e58eb9490
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
Small cleanups:
* Use openstack-tox-cover template, this runs the cover job
in the check queue only. Remove individual cover jobs.
* Sort list of templates
Change-Id: I44d8af661e24f777ecc4362ba8c0c3c332049c7a
This is a mechanically generated patch to complete step 1 of moving
the zuul job settings out of project-config and into each project
repository.
Because there will be a separate patch on each branch, the branch
specifiers for branch-specific jobs have been removed.
Because this patch is generated by a script, there may be some
cosmetic changes to the layout of the YAML file(s) as the contents are
normalized.
See the python3-first goal document for details:
https://governance.openstack.org/tc/goals/stein/python3-first.html
Change-Id: Ie03638009ae5184d1204e78c1a63ba976765d7f1
Story: #2002586
Task: #24341
According to Openstack summit session [1],
stestr is maintained project to which all Openstack projects should migrate.
Let's switch to stestr as other projects have already moved to it.
[1] https://etherpad.openstack.org/p/YVR-python-pti
Change-Id: I99bef7040974e193bc5a57f6f5a7dd7fe293519d
Zuul no longer requires the project-name for in-repo configuration.
Omitting it makes forking or renaming projects easier.
Change-Id: I2867cf9a5894bb6d2814f12e64b535b9e0dc1334