| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
| |
* removed skipsdist=True to make sure novaclient is available in the virtual
env. The usedevelop and skipsdist does not work together any more
https://github.com/tox-dev/tox/issues/2730. For bindep we still don't
need the current repo to be installed in the env so skipsdist added
there.
Depends-On: https://review.opendev.org/c/zuul/zuul-jobs/+/866943
Change-Id: I979b91570c7b60273f35fbdf8464f6a9ee2007d6
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
As discussed in TC PTG[1] and TC resolution[2], we are
dropping the lower-constraints.txt file and its testing.
We will keep lower bounds in the requirements.txt file but
with a note that these are not tested lower bounds and we
try our best to keep them updated.
[1] https://etherpad.opendev.org/p/tc-zed-ptg#L326
[2] https://governance.openstack.org/tc/resolutions/20220414-drop-lower-constraints.html#proposal
Change-Id: Ibb492285ef7d5357c921035409d6654c80df3725
|
|
|
|
|
|
|
|
|
| |
The patch bumps min version of tox to 3.18.0 in order to
replace whitelist_externals by allowlist_externals option:
https://github.com/tox-dev/tox/blob/master/docs/changelog.rst#v3180-2020-07-23
Change-Id: I75844ded50c0032445dd27b1ced7f214c754e901
Signed-off-by: Takashi Natsume <takanattie@gmail.com>
|
|
|
|
|
|
|
| |
Moving on py3 as the default runtime for tox to avoid to update this at
each new cycle.
Change-Id: Icad6d0d0d375d1995baa603b091be50797210215
|
|
|
|
|
|
|
| |
The docs and releasenotes requirements migrated to doc/requirements.txt
we need not install things from requirements.txt.
Change-Id: I9d73c83b0520f724479c0e09b3686d3aab96df71
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Replace the 'novaclient-dsvm-functional' legacy Zuul job with
the 'python-novaclient-functional' native Zuul v3 job.
See
https://governance.openstack.org/tc/goals/selected/victoria/native-zuulv3-jobs.html
for more details.
Change-Id: I35b5699b8b0814f2d17a37e024286cd440047ec8
Signed-off-by: Takashi Natsume <takanattie@gmail.com>
Co-Authored-By: Andrey Kurilin <andr.kurilin@gmail.com>
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Python 3.8 is now our highest level supported python runtime.
This updates the default tox target environments to swap out
py37 for py38 to make sure local development testing is
covering this version.
This does not impact zuul jobs in any way, nor prevent local
tests against py37. It just changes the default if none is
explicitly provided.
Change-Id: I093085cf6e85a66f80559eba62f9edf684f5dbea
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
|
|/
|
|
|
|
|
|
|
| |
UPPER_CONSTRAINTS_FILE is deprecated.
So switch to using TOX_CONSTRAINTS_FILE.
See I3f957187ed4f29fcf88db99cb79fb33b21a8dd8d.
Change-Id: I1812eb64b1afa8e90f4de8604f3f26075da6332f
|
|
|
|
|
|
|
| |
This is compatible with Python 3-only syntax.
Change-Id: I462f4242b9a5f8d8cd6b0cb3d328dfd9d93ba200
Signed-off-by: Stephen Finucane <sfinucan@redhat.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Resolves the following warning:
UserWarning: conflicting basepython version (set 37, should be 36) for
env 'py36';resolve conflict or set ignore_basepython_conflict
and makes sure we're testing with what we should be.
Some random indentation is fixed while we're here.
Change-Id: I6f3e98cc33731f528a3a755300f1fcc65c6b53ff
Signed-off-by: Stephen Finucane <sfinucan@redhat.com>
|
|
|
|
| |
Change-Id: If678d77b8da69121b0075bfbc4216531be25da6a
|
|
|
|
|
|
|
|
|
| |
Also reorganizes the document structure to match both HTML and PDF docs.
Story: 2006100
Task: 35143
Change-Id: Ie3f38e2ecf52e6a6cbd52bb36196e6f589f1ca0f
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is a mechanically generated patch to ensure unit testing is in place
for all of the Tested Runtimes for Train.
See the Train python3-updates goal document for details:
https://governance.openstack.org/tc/goals/train/python3-updates.html
Change-Id: I2ed3c89b4e571f3e4b69287d1844b26cf4d0268d
Story: #2005924
Task: #34226
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| | |
As described at [1].
[1] http://lists.openstack.org/pipermail/openstack-discuss/2019-May/006478.html
Change-Id: I76c9f982ff6cf46db25f626575257af483e3434e
|
|/
|
|
|
|
|
| |
See the Train python3-updates goal document for details:
https://governance.openstack.org/tc/goals/train/python3-updates.html
Change-Id: I691d7994070012af62d20d15809b7c4f143909a8
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Drop py35 tests because all the integration testing
has been moved to Bionic.
See the following URL for more details.
http://lists.openstack.org/pipermail/openstack-discuss/2019-April/005097.html
Co-Authored-By: Takashi Natsume <natsume.takashi@lab.ntt.co.jp>
Change-Id: Ied64e92d5833ed11e1213c42994cfebeaa2ace6a
Signed-off-by: zhangyangyang <zhangyangyang@unionpay.com>
|
|/
|
|
|
|
|
|
|
|
|
|
|
| |
Replace 'git.openstack.org' with 'opendev.org'
in contributor/index.rst.
Update URLs in other places as well though there are redirects.
See the following URLs for more details:
http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003603.html
http://lists.openstack.org/pipermail/openstack-discuss/2019-April/004920.html
Change-Id: Ifb9f4274d2fd0fa81e7501fe176eeead3acd0e3e
|
|
|
|
|
|
|
| |
1. update hacking version to latest
2. fix the pep8 failed
Change-Id: I484a40fe3cb868d223a807edcd3e20f5e0ebdf4e
|
|
|
|
|
|
|
|
|
|
|
| |
These were missed for some reason. Let's add them now.
While we're here, we add the '-d DOCTREE_DIR' argument to our
'sphinx-build' call to handle Sphinx 1.8's change in behavior for where
doctrees are output.
Change-Id: I5c862a74f92a44bf5248f858e26826eef76c11f0
Signed-off-by: Stephen Finucane <sfinucan@redhat.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Follow new PTI for docs build
- Add sphinxcontrib.apidoc to replace pbr autodoc
REF:
https://governance.openstack.org/tc/reference/project-testing-interface.html
http://lists.openstack.org/pipermail/openstack-dev/2017-December/125710.html
http://lists.openstack.org/pipermail/openstack-dev/2018-March/128594.html
Change-Id: Ic66fe4d5488c7777439a416fbf86d37af807804d
Closes-Bug: #1792115
|
|
|
|
|
|
|
|
|
|
| |
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: I55060b1d99b9a00b20c98fbb429d072568265695
|
|
|
|
|
|
| |
Wipe out the existing doc/build when rebuilding the docs.
Change-Id: Idd7f6dc171425402b8d7ff7962dc09e7c576986b
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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: I2cb16250241781abe7c5a7d7de37612f07ff2b0b
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Create a tox environment for running the unit tests against the lower
bounds of the dependencies.
Create a lower-constraints.txt to be used to enforce the lower bounds
in those tests.
Add openstack-tox-lower-constraints job to the zuul configuration.
See http://lists.openstack.org/pipermail/openstack-dev/2018-March/128352.html
for more details.
Change-Id: I5c23fc5f4e31b461255865fb8973cc05c448e364
Depends-On: https://review.openstack.org/555034
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
|
|
|
|
|
|
|
|
|
|
| |
tox: ERROR: pypy: InterpreterNotFound: pypy
Maybe we need to remove pypy-constraints from envlist in tox.ini
because there is no effect to review.
Change-Id: I1ff1cb103dcaad1396bc2bda487165feae6b0931
Closes-Bug: #1756108
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Iace251446bafbd8963bc5a073de50ade583f6e46 moved the
reno dependency to a new requirements file which broke
the ability to create a release note using:
tox -e venv -- reno new <slug>
This fixes it by adding the doc/requirements into the
venv tox environment.
Change-Id: I243d4d5148964511a83855d2b1b451aa1543b98b
|
|
|
|
|
|
|
|
|
|
| |
For compliance with the Project Testing Interface as described in [1].
For more detailed information, please refer to [2].
[1] https://governance.openstack.org/tc/reference/project-testing-interface.html
[2] http://lists.openstack.org/pipermail/openstack-dev/2017-December/125710.html
Change-Id: Iace251446bafbd8963bc5a073de50ade583f6e46
|
|
|
|
|
|
|
|
|
|
|
| |
We do not need tox_install.sh, pip can handle constraints itself
and install the project correctly. Thus update tox.ini and remove
the now obsolete tools/tox_install.sh file.
This follows https://review.openstack.org/#/c/508061 to remove
tools/tox_install.sh.
Change-Id: I7f06c0be47f57a9c1ee3cadc7328b1b1b138b3cd
|
|
|
|
|
|
|
|
|
|
|
|
| |
Random names of resources makes the task impossible to find a test which
doesn't clean resources after a launch.
This patch changes name_generate method to generate names including a name
of the test, which can be really helpful.
Also, the simple script that prints resources after test run is added.
Change-Id: Id3a743afb624dd4bf8ed3523a1916455fd93655a
|
|
|
|
|
|
|
|
| |
Currently only py27 and py35 (not py34) is tested in the gate, so
py34 should no longer be part of the tox environment or part of the
PyPi classifier.
Change-Id: I81058c5df47c4dae3c331d0030141896b6a9f1bb
|
|
|
|
|
|
|
|
| |
Currently, the coverage test job doesn't provide any test result
to developer, we could enable coverage report in console output
to let the developer know the coverage status when running coverage
test job.
Change-Id: I12764de112e948129e21732faae03562649522fc
|
|
|
|
|
|
|
| |
This is basically a copy of the template used in oslo.messaging
under change 78f113780510b741bc974c69eb9b0718cd657c1d.
Change-Id: I8be883215f27abb58d15b85e8542cbdf32000bac
|
|
|
|
|
|
|
|
| |
Now that there is a passing gate job, we can claim
support for Python 3.5 in the classifier.
This patch also adds the convenience py35 venv.
Change-Id: Ic80a40692726b05f0f9d174f6ba7e7040f30db38
|
|
|
|
|
|
|
|
| |
This makes local running of the tests much nicer as we can see the
progress of successful tests working around the testr issue of showing
no output until the end of the run.
Change-Id: I4adc965fd95b6e79a3ec26614d1c9f98262593b9
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add an other-requirements.txt file containing a cross-platform list
of dependencies needed for running included tox-based tests. Also
include a tox environment for convenience calling the bindep[*]
utility to list any missing system requirements.
This change is self-testing.
For other-requirements.txt see also
http://docs.openstack.org/infra/manual/drivers.html#package-requirements
[*] http://docs.openstack.org/infra/bindep/
Change-Id: I3c62f6924d2d70e23e6787b8da848fbeb0d52ddc
|
|\ |
|
| |
| |
| |
| |
| |
| |
| | |
This is part of graduating projects to using Oslo Libraries.
As this code is not actually used, it is simply removed.
Change-Id: Ib28a957d9a4622064ec5da2ae616ac6f0716bcbf
|
|/
|
|
|
|
|
|
|
| |
Bandit is a code linter which is used to help identify potential
security vulnerabilities. As part of the plan to integrate bandit
into each OpenStack project, support for a tox testenv is step one.
Later, gate tests will also be incorporated.
Change-Id: Ib6ef0a3e8f32f2724314c166d7de50d591c0e949
|
|
|
|
|
|
|
|
|
|
|
| |
Currently the tests just attach instances to the first network returned
by "net-list". That might however not be the right thing in some
environments. This change allows to override the default network via the
environment variable "OS_NOVACLIENT_NETWORK". If not specified the
test will fallback to the old behaviour and just use the first network.
Closes-Bug: #1510975
Change-Id: Ie682111127584a33d8e96377d812d3a6352c760d
|
|
|
|
|
|
|
|
|
| |
It would be nice to check not only unit test on py3 env, but functional
tests too.
Also, this patch fixes usage of xrange in functional tests.
Change-Id: I15ef204022583a40a02b3f2a48771347ddc95f3e
|
|
|
|
|
|
|
|
|
|
| |
To solve the problem of "db type could
not be determined" on py34 we have to run first the py34 env to, then, run
py27. This patch puts py34 first on the tox.ini list of envs to avoid this
problem to happen.
Change-Id: I06c6a276b75eb2a3d69e94f467f26122d856d17c
Closes-bug: #1489059
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Caching is enabled by default from pip version 6.0
More info:
https://testrun.org/tox/latest/config.html#confval-downloadcache=path
https://pip.pypa.io/en/stable/reference/pip_install/#caching
Change-Id: I22e710aae8bf34938a4f9ee85c566876a36c7bb1
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
"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.
Since we rely on oslo for a lot of our work, and depend on infra
for our CI, we should drop py33 support too.
Change-Id: Ic9d4f64154a5418baa159a4efdcd9dd652d142ff
Closes-Bug: #1526170
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Since oslo is removing support for python 2.6, nova
needs to also remove support from clients and libraries.
This commit is to remove support from python-novaclient.
-- Python 2.6 compatibilty code was removed.
-- Python 2.6 was removed as a tox environment, install venv,
and from the classifiers in setup.cfg.
-- Release notes have been updated.
UpgradeImpact
Co-Authored-By: Andrey Kurilin <andr.kurilin@gmail.com>
Change-Id: I3f587ff38d478d075af5fd014e2b4b8416e185d4
Closes-bug: 1518390
|
|/
|
|
|
|
|
| |
Per http://lists.openstack.org/pipermail/openstack-dev/2015-November/080521.html,
we need to make sure that there are no warnings for reno.
Change-Id: I899d223f5347633a17ac5c7fb3991a3cd1f4c781
|