tox.ini started failing with tox4 which had some
incompatible changes. One of them is to allow
external command to run by adding them into allowlist_externals
and make passenv in new lines.
Fixing tox.ini for tox4 changes.
Change-Id: I0492630b17a7355a96abd44398b650fad9ec565f
UPPER_CONSTRAINTS_FILE is old name and deprecated
This allows to use upper-constraints file as more
readable way instead of UPPER_CONSTRAINTS_FILE=<lower-constraints file>.
Change-Id: Ic775a7a0f10e11f0407c130acfcb29a9c0277f16
Sphinx 1.8 introduced [1] the '--keep-going' argument which, as its name
suggests, keeps the build running when it encounters non-fatal errors.
This is exceptionally useful in avoiding a continuous edit-build loop
when undertaking large doc reworks where multiple errors may be
introduced.
[1] https://github.com/sphinx-doc/sphinx/commit/e3483e9b045
Change-Id: I218efe01ad56dbe04666716ae61ea2d97ef6912d
Using "python setup.py check -r -s" method of checking the package has
been deprecated with the new recommendation to build the sdist and
wheel, then running "twine check" against the output.
Luckily, there is already a job that covers this that only runs when the
README, setup.py, or setup.cfg files change, making running this in the
pep8 job redundant. This covered by the test-release-openstack-python3
that is defined in the publish-to-pypi-python3 template.
More details can be found in this mailing list post:
http://lists.openstack.org/pipermail/openstack-dev/2018-October/136136.html
Change-Id: I01bcce1ceff75fb34ea4b387114459cf3afa721a
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
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: I7600a9e42ada68b2efec71337452c493c6589d33
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: I6d30f89428fc232a5ee0f20507273368f3bfa8b0
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
When the TC merged I2637dd714cbb6d38ef8b8dc1083e359207118284 we're
supposed to invoke stestr rather than testr so lets do that
Change-Id: I9e92cfb7419afb281a021645b4b58f29b89c90a8
Properly sets up the mistral-extra repository with packaging and testing
setup, in order to add gating in CI.
Change-Id: I204745785e63cc8b1ae47da5cc59eda6da18b722
Depends-On: I5e75914e500837babdeb358a76ec7d90c56f61ac
* "examples" file tree should not be Python packages
* Examples should have their own dependencies, if needed, not centralized
Next steps:
* Prepare a layout for storing OpenStack actions
Depends-on: Id8e5d55e34ec3b3d555b5482e13f99c2561e871e
Partially implements: blueprint mistral-custom-actions-api
Change-Id: Ic5b0f655686361ee00bdb70ea13bc66ce0769f90
"Python 3.3 support is being dropped since OpenStack Liberty."
written in following URL. https://wiki.openstack.org/wiki/Python3
And already the infra team and the oslo team are dropping py33
support from their projects.
Change-Id: I9d98db15a1176254708926cbe68b8091ebbb2b14
Closes-Bug: #1526170
As of mitaka, the infra team won't have the resources
available to reasonably test py26, also the oslo team
is dropping py26 support from their libraries.
Change-Id: I8ac26db87a9567c86977ac13c5d2e50da300aca5
Closes-Bug: #1519510
Remove the specification in tox.ini that _ is a builtin so that
it will no longer assume that _ does not need to be imported.
This helps ensure that the _ from i18n is used.
Activating this check did not flag any violations.
Change-Id: Ib0988785c73b10281b1c67f1722a2ec637423b34