| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
Depends-On: https://review.opendev.org/669543
Change-Id: I3555792aff294a1ea533464ef78a1cc8bf545c82
Story: #2005924
Task: #34215
|
|
|
|
|
|
|
|
|
|
|
|
| |
With python3.7 jobs added to the Zuul jobs,
it makes sense to add this to the tox config
too so that developers can run python3.7 tests
as well.
Python 3.5 was the target runtime for the Rocky release.
The current target py3 runtime for Stein is Python 3.6,
so there is no reason to keep testing against the older version.
Change-Id: Icada08448d9bf3cc0f1d522d93b07d8789adad14
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Small cleanups:
* Use openstack-tox-cover template, this runs the cover job
in the check queue only. Remove individual cover jobs.
* Use openstack-lower-constraints-jobs template, remove individual
jobs.
* Sort list of templates
Fix cover job, $project is not expanded in tox.ini and thus the job
fails. Use "pycadf" instead.
Change-Id: I72da23a0d6c6b3cc87e66d94c419668fce66e704
|
|/
|
|
|
|
|
|
| |
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: Ib74244eea0ff4fa37dc3308360691059c6fa448b
|
|
|
|
|
|
|
|
|
|
| |
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: Ib4c7bb59c92946c3e8b257cbf1ce2f44cb1c40ed
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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: I370e66f1a4f4a0af629afa109d51d095a4700327
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: I44a46d05b5818c30657f123ae714b4189c506aae
Depends-On: https://review.openstack.org/555034
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
|
|
|
|
|
|
|
|
|
|
|
| |
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: I4e847f5ec2eb8ab9ff552618985b88bc1b4f8aca
|
|
|
|
|
|
|
| |
Now that there exists only a gate job for Python 3.5 and not 3.4,
we should remove those references to the 3.4 that is untested.
Change-Id: I381f8582b79d691aba2a4e98b1611f0ddcd78e73
|
|
|
|
|
|
|
|
|
|
|
|
| |
Adding constraints support to libraries is slightly more complex than
services as the libraries themselves are listed in upper-constraints.txt
which leads to errors that you can't install a specific version and a
constrained version.
This change adds constraints support by also adding a helper script to
edit the constraints to remove pycadf.
Change-Id: I385d89d2ce2ecc85532f4acc31ff1c975a150178
|
|
|
|
|
|
| |
Remove pycadf/_i18n.py file
Change-Id: Iffccecba9d4579a4f75acfbde8f5ed58d18a42f2
|
|
|
|
|
|
|
|
| |
The directory openstack/common was used to keep codes from
oslo-incubator, we have retired oslo-incubator, so don't use
this directory any more.
Change-Id: I52f0a8a12c37615669853535bff403c2728aee43
|
|
|
|
|
|
|
|
|
|
|
|
| |
This introduces a linter for PEP257 to avoid trivial nitpicking of
docstrings in code reviews. Because flake8_docstrings simply provides a
plugin to add pep257 to flake8, you can run it via `tox -e pep8`.
PEP257 checks which we are currently violating are ignored in tox.ini.
We can remove them from the ignored list as they are fixed.
Related-Bug: 1501544
Change-Id: I01ebad7b70cf61dd80d3c06c6808d8178fbdd634
|
|
|
|
|
|
|
|
| |
Python 3.3 is not supported from Mitaka, as per
Infra, therefore removing the support for the same.
Change-Id: I27436e05e373c6a5d1d71ff60cd15e0db05e87df
Closes-Bug: #1526170
|
|
|
|
|
|
|
|
|
|
| |
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: I461e4f0d931a9bbc37670dc2cd70d94f86acfb24
Closes-bug: #1489059
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Remove support for python 2.6
* Remove skipsdist : Needs to be set only if
sdist is expensive
* Remove usedevelop : only needed when skipsdist
is set to True
* Remove install_command : We can just use the
default, we don't need to override
* Remove setenv : We can just use the default as
we don't need any extra environment variables
* Remove requirements.txt from deps, as this is
already added automatically
Change-Id: I49d14fc878521e2b6fd4bd13dfd12f99a245b1fd
|
|
|
|
|
|
|
| |
There were no violations of H409, so I removed it from the list of
ignored violations.
Change-Id: If01de70cf83a4ca4830e2236582cbe72f15b85b4
|
|
|
|
|
|
|
|
|
| |
this patch also corrects an issue where we incorrectly referenced
common._i18n
this patch syncs to: Ia1820495a989f4f84530ab83f2d87d53a9f761df
Change-Id: Ia192869d7e92732000b9033b09b97316ba5d5028
|
|
|
|
|
|
|
| |
As of oslotest 1.2.0 the oslo debugger script dropped the .sh
extension. This patch corrects the use the script name in tox.ini
Change-Id: I0b814f5136e2858ac53ba45db523790d220a6b88
|
|
|
|
|
|
|
|
| |
Because the docs environment inherits from the greater 'testenv', which
has the dependencies already mentioned, there is no need to
have them listed again for the 'docs' environment.
Change-Id: I83830e47b44cab2a9d44a67827f3f28b687c5fdd
|
|
|
|
|
|
|
|
|
| |
With the latest version of oslotest, we can now take advantage
of a common oslo_debug_helper script.
We can now remove our own homebrewed version, minor changes to
tox.ini were needed.
Change-Id: Ifd5d0454e424ecfca0db30d3d3f6350ba7db1b60
|
|
|
|
| |
Change-Id: I52b161c8612df50174cb877424aaeb805622211c
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| | |
* E128 continuation line under-indented for visual indent
* E251 unexpected spaces around keyword / parameter equals
* E265 block comment should start with '# '
Change-Id: Ie4b7d8a392c8e8bed58c171b5fc1b9db308036bc
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Running a test with pdb was difficult because tox captures
output and causes pdb prompt to quit.
Tips for how to run with debug are provided here:
https://wiki.openstack.org/wiki/Testr#Debugging_.28pdb.29_Tests
This change puts these commands into a debug env in tox.ini so
you can do a command like
tox -e debug pycadf.tests.test_cadf_spec
and when it hits your breakpoint you'll get the debug prompt.
Change-Id: I53893d618cd60c0456368088497542db7e4a6eac
Co-Authored-By: Brant Knudson <bknudson@us.ibm.com>
|
|
|
|
|
|
|
| |
* H305 imports not grouped correctly
* H307 like imports should be grouped together
Change-Id: Ied0e83b9b37dcb7a7a60a653093c3fa0d8e56226
|
|
|
|
|
|
|
|
| |
In order to keep this patch to just a requirements bump, ignore new and
stricter hacking rules that are being triggered. Fixing up the code and
turning these on is out of scope of this patch and is for future patches.
Change-Id: Id92d86233774000012f325c981df6772f64c33dd
|
|
|
|
|
|
|
|
| |
add basic documentation on CADF spec.
Closes-Bug: #1279951
Change-Id: Ie1703d9b5109d8275377857e5362e3b09385f647
Implements: blueprint document-pycadf
|
|
|
|
|
|
|
| |
clean up requirements and pull in oslo code required for audit
middleware
Change-Id: Ia9c5bb9b6468e9d859d6b1f5a88798e72b3dc8ae
|
|
|
|
| |
Change-Id: I93b64953819fb83af78bd34a93c51419da599e90
|
|
|
|
|
|
|
|
| |
ceilometer uses 1.6, let's utilise it as well to avoid any
incompatibility when manually running tests.
Change-Id: I9a3323310020381ceeebe7aa86219eff32b92ec1
Fixes: Bug#1226853
|
|
Change-Id: I1bbe058cf162549a517814e02a3e8bed70b5dbf8
|