| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
This patch adds a hacking check for line continuation backslashes and fixes the occurences that existed in the code.
Change-Id: I13cd03e16698b7f1d8036815d12a665bd1156f2f
|
|
|
|
|
|
| |
With tox4, we need to pass the environment variables on separate lines as opposed to separated by whitespace. The skipdist setting also breaks the runs.
Change-Id: Iad13eb46c2cd89169c1aa9c39492ef7a29c83161
|
|
|
|
|
|
|
|
| |
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: I946dca0e06f4bd96fb154cde1cc3bb5ee362a8fd
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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: I3f72768442b3690f8ec85d5d15102ae6825dddd8
|
|
|
|
|
|
|
|
|
|
| |
This patch adds the Designate hacking checks to also run against
the Designate client code to maintain consistent style
checking across the Designate repositories.
It also resolves one style check failure.
Change-Id: I09786482b2e7fecaa3d4484c9b1a017fae04cfea
|
|
|
|
|
|
|
| |
Moving on py3 as the default runtime for tox to avoid to update
this at each new cycle.
Change-Id: If96047f90eaddf313534d9a9652d665ff26b206a
|
|
|
|
|
|
|
| |
H402 hacking have been removed since hacking 0.10.
So remove H402 ignore statement.
Change-Id: I6de537410bd1d8b320d3c9db603ae1669a4faf25
|
|
|
|
|
|
|
| |
The docs requirements migrated to doc/requirements.txt
we need not install things from requirements.txt.
Change-Id: Ifb66f44a1c0bb42f3f6aeffc06d1b8ee80d150c5
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
in 'wallaby' cycle, we should test py38 by default.
ref:
https://governance.openstack.org/tc/reference/runtimes/wallaby.html
Change-Id: Id16ba0121910132102b6b19c049d605b46e71751
|
|/
|
|
|
|
| |
Applied the same fix as was done for designate.
Change-Id: I9cb5f14c732bc2cc42c63dfcb6f13ec6d4f03a35
|
|
|
|
|
|
|
|
|
|
|
| |
The api reference was broken some time around the stein release.
Moved conf options out of setup.cfg and into the doc conf.py, and added
an option to doc build to error on warnings so this doesn't happen
again without anyone noticing. The format is now similar to the
novaclient reference doc.
Change-Id: Ic9ed059521794acf1ac1a644096fdc10549fa91b
|
|
|
|
|
|
|
|
|
|
|
| |
Increase the hacking version in test-requirements to match the
version used in the `designate` project.
This change fixes a few errors that the more recent `pyflakes` flags.
Change-Id: If7afefde0f33161016a27774021d27239c642eb5
Co-Authored-By: Michael Chapman <woppin@gmail.com>
Signed-off-by: Nicolas Bock <nicolas.bock@canonical.com>
|
|
|
|
|
|
|
|
|
| |
Per the Ussuri cycle goal, this drops py27 testing and support.
https://governance.openstack.org/tc/goals/selected/ussuri/drop-py27.html
Change-Id: I0c525eb48270494e8171042e56e14867c53e5af3
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
| |
During the train cycle, a new static URL scheme was introduced for
upper-constraints URLs that allows us to switch locations based on
configuration and avoid timing windows with the requirements repo
branching. This updates upper-constraints links in the tox.ini file to
point to the newer more prefered location.
Change-Id: I8efbb24483d2a63a8abfa50e328fefb7ffd92e5f
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
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: Ie2119dec469dba059fa3ce8729f360590d45791c
Story: #2005924
Task: #34204
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
All the integration testing has been moved to
Bionic now[1] and py3.5 is not tested runtime for
Train or stable/stein[2].
As per below ML thread, we are good to drop the py35
testing now:
http://lists.openstack.org/pipermail/openstack-discuss/2019-April/005097.html
[1] http://lists.openstack.org/pipermail/openstack-discuss/2019-April/004647.html
[2]
https://governance.openstack.org/tc/reference/runtimes/stein.html
https://governance.openstack.org/tc/reference/runtimes/train.html
Change-Id: I160c141169d68fd9403604c68cecde0c70c463c3
|
|
|
|
|
|
|
| |
Without these dependencies, the releasenotes build does not actually
work.
Change-Id: I6341d335003b5bd29d05314fa6f18dc66adf6f2a
|
|
|
|
|
|
|
|
| |
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: I2129ff5454ad7e2f94736ea750ca3f2d6d78e1ea
|
|
|
|
|
|
|
|
|
|
| |
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: I96c7c264dab04a7f52e2c77a1165ed51137bfae0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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: If352b0ca1de2cda56089ebe1c7db04feb5ba983b
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: Ib3db492e715ab98d8f4adfe58780824cf30ace15
Depends-On: https://review.openstack.org/555034
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
|
|
|
|
|
|
|
|
| |
We don't need sphinx in the test virtualenvs, but we do need it for
docs.
Change-Id: I8ae98d08090e2e391ba725ddd5ff0125a03c8d47
Depends-On: Ie0c9f24df09255e871f904e079b68809144b36b4
|
|
|
|
|
|
|
|
|
|
|
| |
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: I30b48b58d368c2d79d3407735d2a082b3b46d2fb
|
|
|
|
|
|
|
|
| |
We need to use the setuptools/pbr integration to kick off the doc build
to ensure that pbr is triggered to generate the API documentation.
Change-Id: I6d947a08f170c3379f8e7b9879077e60356b5505
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
|
|
|
|
|
| |
Change-Id: I29e5ac6bd0aa02d0bca5b0d58e738c72626a5baa
Signed-off-by: Stephen Finucane <sfinucan@redhat.com>
|
|
|
|
|
|
|
|
|
| |
Since pbr already landed and the old version of hacking seems not
work very well with pbr>=2, we should update it to match global
requirement.
Partial-Bug: #1668848
Change-Id: I11191b14edd3870b5a4443a2ef9b219cb46ddb36
|
|
|
|
|
|
|
|
| |
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: I8950bf3a7fe6c97bf973658e409e39953470f40d
|
|
|
|
|
|
|
|
|
|
|
|
| |
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 python-designateclient.
Change-Id: I2976e5615bd46449690072b09aeaad59c1674d44
|
|
|
|
|
|
| |
Setup Reno for generating release notes for Designate Client
Change-Id: I37c3a2678095c50760bdfb197acf04b77e38686d
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Improve index page to explain the difference between v1 and v2
CLI support.
* Add a v2 examples page
* Add all supported commands to v2 shell page
* Add a tox task to build the docs
* Fix a bug building the docs with an invalid html_static_path
config
Change-Id: Ie1e65c2d0cc8ad1b8b258e03114e19a943d1d19c
Closes-Bug: 1572217
|
|
|
|
|
|
|
|
| |
Previously, the cli functional tests would not display each test case
as they ran. This fixes that, similar to how the api functional tests
do this.
Change-Id: I899bafa4923dc9c80cad35cdb1f86cbf2e93038d
|
|
|
|
|
|
|
|
|
|
| |
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: If022a76b2ee9a290033abc544c5fa56f1ea1e0ae
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: I1d4edcdaba562d3c86aa58d2f4c84c455b655ebd
|
|
|
|
|
|
|
|
|
| |
When a development environment is under a proxy, tox is failed even if
environment variables of the proxy are set.
This patch fixes this problem.
Change-Id: I9bc55bd2ebb546c783df38751c2cb16dbffcb7a5
Closes-Bug: #1465086
|
|
|
|
| |
Change-Id: I8d6ff9c2d29f0a3429d3e7bdffd4bd97f8024b3c
|
|
|
|
| |
Change-Id: Ib2d1261bcb0362c586c0aae4b9c5a8a563f07c71
|
|
|
|
| |
Change-Id: Ic72211290b8a8a0489c35293645f590b209ecca5
|
|
|
|
|
|
|
| |
* [H104] Files with no code shouldn’t contain any license
header nor comments, and must be left completely empty.
Change-Id: Ic02858615833b516fd2c68a859146c8e018ae8e1
|
|
|
|
|
|
| |
* [H401] Docstrings should not start with a space.
Change-Id: I1fa248590c7e05ab92b30ae30af1cf107cdd3cc4
|
|
|
|
|
| |
Change-Id: I49d26c3a9772c409b038b06e8256fb5823169c50
Implements: blueprint update-hacking
|
|
|
|
|
|
|
|
|
| |
H306, module imports should be in alphabetical order
This hacking check actually improves readability quite
a bit, as module imports can be sorted in groups (python stdlibs,
external imports, in-module imports)
Change-Id: I11dc9155fbfc84389f2a5956f393f705388f83ba
|
|
|
|
| |
Change-Id: I636040826af81b6df4c8631e65876316fa10c081
|
|
|
|
| |
Change-Id: I5435e83a8dbe3c3273b59ecb3c5f1be26c9bec96
|
|
|
|
| |
Change-Id: I4f32b7c3ca7831becdd49f75a7fa48bfcfa7fe76
|
|
|
|
| |
Change-Id: Ia25ef86786895f376be410f74b9a30e3e8ff4243
|
|
|
|
| |
Change-Id: I3c93a6614ff71bfe2405257e2684fbc0fa05e76c
|
|
|
|
| |
Change-Id: Ie5e7b7b12e8ddcf82e41f747c25de84f4ccc4743
|
|
|
|
| |
Change-Id: I11e972f82648052d48b305685b406af5671844a6
|
|
|
|
| |
Change-Id: I91af105b2b8427b71257c492f2b2830c5602aee2
|