| Commit message (Collapse) | Author | Age | Files | Lines |
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
In zed cycle, OpenStack projects and oslo lib
has dropped the py3.6 and py3.7 support
- https://governance.openstack.org/tc/reference/runtimes/zed.html
I also decrepated oslo-log < 5.0.0, so we should bump oslo.log>=5.0.0.
Because of oslo.log>=5.0.0 depends on oslo.i18n>=3.20.0 as below, so we
also need to upgrade oslo.i18n.
The conflict is caused by:
The user requested oslo.i18n>=3.15.3
python-saharaclient 1.4.0 depends on oslo.i18n>=3.15.3
castellan 0.16.0 depends on oslo.i18n>=3.15.3
keystonemiddleware 4.17.0 depends on oslo.i18n!=3.15.2 and >=2.1.0
oslo-config 6.8.0 depends on oslo.i18n>=3.15.3
oslo-concurrency 3.26.0 depends on oslo.i18n>=3.15.3
oslo-db 6.0.0 depends on oslo.i18n>=3.15.3
oslo-log 5.0.0 depends on oslo.i18n>=3.20.0
The user requested (constraint) oslo-i18n==3.15.3
The conflict is caused by:
The user requested pbr!=2.1.0 and >=2.0.0
bashate 0.5.1 depends on pbr>=1.6
fixtures 3.0.0 depends on pbr>=0.11
stestr 1.0.0 depends on pbr!=2.1.0 and >=2.0.0
testresources 2.0.0 depends on pbr>=1.8
testtools 2.4.0 depends on pbr>=0.11
python-saharaclient 1.4.0 depends on pbr!=2.1.0 and >=2.0.0
castellan 0.16.0 depends on pbr!=2.1.0 and >=2.0.0
keystoneauth1 3.4.0 depends on pbr!=2.1.0 and >=2.0.0
keystonemiddleware 4.17.0 depends on pbr!=2.1.0 and >=2.0.0
oslo-concurrency 3.26.0 depends on pbr!=2.1.0 and >=2.0.0
oslo-context 2.22.0 depends on pbr!=2.1.0 and >=2.0.0
oslo-db 6.0.0 depends on pbr!=2.1.0 and >=2.0.0
oslo-i18n 3.20.0 depends on pbr!=2.1.0 and >=2.0.0
oslo-log 5.0.0 depends on pbr>=3.1.1
The user requested (constraint) pbr==2.0.0
The conflict is caused by:
The user requested oslo.serialization!=2.19.1 and >=2.18.0
python-saharaclient 1.4.0 depends on oslo.serialization!=2.19.1 and >=2.18.0
keystonemiddleware 4.17.0 depends on oslo.serialization!=2.19.1 and >=1.10.0
oslo-log 5.0.0 depends on oslo.serialization>=2.25.0
The user requested (constraint) oslo-serialization==2.18.0
Change-Id: Iebd0c795dcdd72dac1141cfe18d2dad5201147c1
|
|\ \
| |/
|/| |
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
UPPER_CONSTRAINTS_FILE is old name and deprecated
-https://zuul-ci.org/docs/zuul-jobs/python-roles.html#rolevar-tox.tox_constraints_file
This allows to use lower-constraints file as more
readable way instead of UPPER_CONSTRAINTS_FILE=<lower-constraints file>.
Change-Id: I467703ee4766f09760bb08092c11b663a5f4f639
|
|/
|
|
|
|
|
|
|
|
|
|
|
| |
We facing errors related to the new pip resolver, this
topic was discussed on the ML and QA team proposed to
to test lower-constraints [1].
I propose to drop this test because the complexity and recurring pain needed
to maintain that now exceeds the benefits provided by this mechanismes.
[1] http://lists.openstack.org/pipermail/openstack-discuss/2020-December/019390.html
Change-Id: I60f1f739f25755cd344fe45e76d225712fedc40f
|
|
|
|
|
|
|
| |
The docs requirements migrated to doc/requirements.txt
we need not install things from requirements.txt.
Change-Id: I0749590a9d8b2183ed9c95178541ed85fb19996a
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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: I0e1b6b4e5dcddfcba5b14c48493d65da4f083846
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
|
|
|
|
|
|
| |
Pypy is not tested in OpenStack anymore, remove the job.
Change-Id: Iddd69443f93512b843babd880398dd2575c115e7
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The repo is Python 3 now, so update hacking to version 3.0 which
supports Python 3.
Fix problems found.
Update local hacking checks for new flake8.
Note: The repo has been using an uncapped requirements, so was testing with
hacking 2.0 which disabled the old way of local testing integration.
Remove S367 and S368 since they are not working under python3
"NOTE(Kezar): This checks a good enough if we have only py2.7 supported.
As soon as we'll get py3.x we need to drop it or rewrite. You can read more
about it in dev-list archive, topic: "[hacking]proposed rules drop for 1.0"
Also, hacking now has H304 and H306 which test exactly the same.
Remove hacking and friends from lower-constraints, it's not needed
there.
Change-Id: If60682fb328359ef73dee8f2d89d51410a376677
|
|
|
|
| |
Change-Id: I791bdb664d4438d446a7cd9d0c8fd98b3f13ebff
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
OpenStack is dropping the py2.7 support in ussuri cycle.
sahara plugins do works with python 3 and the sahara core
does not support python 2.7 anymore anyway.
Complete discussion & schedule can be found in
- http://lists.openstack.org/pipermail/openstack-discuss/2019-October/010142.html
- https://etherpad.openstack.org/p/drop-python2-support
Ussuri Communtiy-wide goal:
https://governance.openstack.org/tc/goals/selected/ussuri/drop-py27.html
Also:
- bump the lower-constraints decorator requirements to a recent one
to prevent failures;
- drop the obsolete jenkins tox target.
Change-Id: I5806dcb8f13e88a28c0b5e6de449efa9b95b6e73
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Use the unified unit test Zuul template for train, according the
community goal. Also, update the setup.cfg classifiers accordingly.
Update the debug test environment. Adding "debug-py36" is enough;
if a distribution supports 3.7, the "debug" tox environment
can be used.
Finally, keep only the most recent environment in the default
set executed when calling tox.
Story: #2005924
Task: #34244
Change-Id: Iad4a6e933ad416eb67a2f144540fe79e97938bec
|
|
|
|
|
|
|
| |
Thorough replacement of git.openstack.org URLs with their opendev.org
counterparts.
Change-Id: I926a174b37954134b274013c1f5d9020ae97bf33
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Run also:
- the API v2 scenario and tempest tests
- the py37 tests
on both the check
and the gate queue.
No need to set LIBS_FROM_GIT anymore, Zuul sets it automatically
for projects listed under request-projects.
The addition of py37 implements the following task:
Story: 2004073
Task: 27450
Change-Id: I4ff72efa0af76bd2e710e9c1be4d77fd6af83582
|
|
|
|
|
|
|
|
|
|
|
| |
This is a mechanically generated patch to add a unit test job running
under Python 3.6 as part of the python3-first goal.
See the python3-first goal document for details:
https://governance.openstack.org/tc/goals/stein/python3-first.html
Change-Id: Ib0722f5674e40eff4c75ac6ea61f862fc81dfa1d
Story: #2002586
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The cover tox target was broken for a while.
Switch it to use coverage+stestr.
Patch proposed again with the wrong authorship information.
For some reason I messed up them when I first sent out
the patch, and I did not notice.
If the author would have been the one reported in
the original patch, I would have simply merged it with
https://review.openstack.org/#/c/571480/
Change-Id: Ie907ec3b381fcc98955c6be4280caf3b5cb220d7
|
|
|
|
|
|
| |
This reverts commit 02e159e422aa1252b46062f342473fc6255d7b3f.
Change-Id: I9e5f068a2aac4f4af18e4db8f24324e12e1eda29
|
|
|
|
|
|
|
| |
The cover tox target was broken for a while.
Switch it to use coverage+stestr.
Change-Id: I015c0f3cb53d048587b3f57c76be8e7f4af37517
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
According to Openstack summit session [1] stestr is
maintained project to which all Openstack projects
should migrate.
Let's switch it then.
Also sync the version of the requests-mock to
the current global requirements.
[1] https://etherpad.openstack.org/p/YVR-python-pti
Signed-off-by: Charles Short <zulcss@gmail.com>
Signed-off-by: Luigi Toscano <ltoscano@redhat.com>
Change-Id: I599c74c3ac152c0fc1bc0dddfda8c05a41ddf5a1
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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: I6517c605ff16f459d5b116c733c1674201b024d8
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
|
|
|
|
|
|
|
|
|
| |
- Change testenv:debug34 to testenv:debug35
- Remove [build_sphinx] section in setup.cfg because
we does not need this anymore. See:
http://lists.openstack.org/pipermail/openstack-dev/2018-March/128594.html
Change-Id: Ib2d866268e8cefe3b6db10184f43ee7caa957f13
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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: I483dbc92a787f4a3b0041bd398691b667dc40f3b
Depends-On: https://review.openstack.org/555034
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
|
|
|
|
|
|
|
|
| |
For compliance with the Project Testing Interface as described in:
https://governance.openstack.org/tc/reference/project-testing-interface.html
http://lists.openstack.org/pipermail/openstack-dev/2017-December/125710.html
Change-Id: I616ad9f7f089873890ba508cf3e39067f046ae53
|
|
|
|
|
|
|
|
|
|
|
| |
'pip install -U' ugrades specified packages, this is not necessary
since we use constraints, remove the parameter '-U' from the line.
With tools/tox_install.sh - which a previous change of mine removed -
the -U was not harmful, but with the current set up, it might cause
upgrades, so remove it.
Change-Id: Ib240b8c16dce80910d952e9eec860669af1ec399
|
|
|
|
|
|
|
|
|
|
|
| |
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: Ibb97ddc7dc3a1c1cd7b4734377188fa625ddef7e
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- move api as "reference" guide and reword as Python client;
- consolidate shell and cli as part of the "CLI" guide;
- remove the "how_to_participate" page and use part of
the content from the old index for a minimal "contributor"
guide which redirect to the sahara contributor guide
(no need to duplicate the information);
- remove few references to doc/source/api from tox.ini and
.gitignore (for some reason the directory was cleaned).
Change-Id: Iff049ab32a7695a7a58bd370a1517b1ed7d2f048
|
|
|
|
|
|
|
|
|
|
|
| |
These such rules are:
- [S366, S367] Organize your imports according to the ``Import order``
- [S368] Must use a dict comprehension instead of a dict constructor with
a sequence of key-value pairs.
- [S373] Don't translate logs
- [S375] Use jsonutils from oslo_serialization instead of json
Change-Id: I909da6772f733e8282a8f304b829aab9b25d6203
|
|
|
|
|
|
|
| |
Python 3.5 was missing in setup.cfg and tox.ini,
hence removed 3.4 and added 3.5.
Change-Id: I99ec9e51cfbed80697562bfaa299605996ec86e6
|
|
|
|
| |
Change-Id: I6bba1cc99c9c34efdf61a0d0ee0a0a2b6dcc77b0
|
|
|
|
|
|
|
|
|
|
|
|
| |
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-saharaclient.
Change-Id: Ie448db6f78865a3dddadf7dc659c7546a5e0fa72
|
|
|
|
|
|
|
|
| |
master branch is now open for ocata development, so we
can start removing old cli commands from saharaclient
code.
Change-Id: I67543120309e838239fe73b8dd2713368b8538a9
|
|
|
|
|
|
|
|
| |
Replace this tests with tests in sahara-tests
Depends-on: I2fc73686fcbcb458fd22cef3fe335fd4f690302d
Change-Id: I590a91277f411f5bfa9f7dbf3bea2780c666bbc0
|
|
|
|
|
|
|
| |
DocImpact
Change-Id: I2d4dda2ee6fdfcf82702f4400a2513e7aa83957d
closes-bug: 1551292
|
|
|
|
|
|
|
|
|
| |
These tests are not gated anymore, we are using sahara-tests
framework for testing sahara and client. Also, removing several
test requirements since them are no longer used in the code
there was usages only in the tests.
Change-Id: I861d5528a7b0f66a7df14d1456b639724a620301
|
|
|
|
|
|
|
| |
Switch to os-testr as wrapper for testr, instead of the custom
script pretty_tox.sh.
Change-Id: I2b4671659b7db69c2d83c6f4bb7a210d092a584d
|
|
|
|
|
|
|
|
|
|
|
| |
Once we add debug testenv, we can use "tox -e debug"
to debug unit test cases when tox is running.
usage:
1. insert pdb into the code.
2. run 'tox -edebug'
Change-Id: I05a3363ebb20587cbe23395654170db5110cae5d
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
"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: Iea8d14b88cf915a481d7e4f67d2db0281a6ea781
Closes-Bug: #1526170
|
|/
|
|
|
|
|
|
|
|
| |
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: I052ab287585af3a8fea66f85cf88cad88caeaade
|
|
|
|
|
|
| |
We need to have releasenotes in libraries
Change-Id: I064ecce2093506c5ad44c7918d34ea345b8d19e9
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Because python creates pyc files during tox runs, certain
changes in the tree, like deletes of files, or switching
branches, can create spurious errors.
Change-Id: Iaeb0ca55d88a3070501cb90c77cd389895bef74c
Closes-Bug: #1368661
|
|/
|
|
|
|
|
|
|
|
| |
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. since we rely on oslo for a lot of our work,
and depend on infra for our CI, we should drop py26 support too.
Change-Id: I7920b554f541c2c40a8a3145662a0eff7faadf2f
Closes-Bug: 1519510
|
|
|
|
|
|
|
|
|
| |
New CLI docs now can be autogenerated, that prevents
them from being outdated and excludes manual updates
Partially implements: blueprint cli-as-openstackclient-plugin
Change-Id: I11e6dadc7d19bd55777e748e7ada199311b20003
|
|
|
|
|
|
|
|
|
|
| |
New Sahara CLI as OpenStackClient plugin usage overview
added and few warnings during docs generation fixed
Partially implements: blueprint cli-as-openstackclient-plugin
Change-Id: If5b4608429d994c642237d6a73ebd9e1bd985fc5
Closes-bug: #1512690
|
|
|
|
| |
Change-Id: I7444568302935fb0c844994767f1acd5a9fafd3b
|
|
|
|
|
|
|
|
|
| |
When a development environment is under a proxy, tox is failed even if
environment variables of the proxy are set.
This patch fix this problem.
Change-Id: I5ee361ba54b296eee2336214ca6b0559c6190af8
|
|
|
|
|
|
|
|
|
|
|
| |
tox 2 does not pass the environment by default, this is
a change from tox 1.6. Instead, environment variables
may be passed by means of the "passenv" variable in
tox.ini. This mechanism supports globbing, so "OS_*"
can be used to set the necessary environment variables
for the python-saharaclient.
Change-Id: Ibe9055dd4d4bc1a243db5198a9e5e35e5f93f628
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The tests have been copied almost as they are from tempest repository,
location: tempest/cli/simple_read_only/data_processing/
master commit: 6e8e5e1f882ec339fe3838e3e52345d2e1c5f5a1.
Changes made:
- remove dependency to global CONFIG object; test_sahara_plugins_show
now dynamically gets the list of available plugins instead of relying
on the configuration;
- remove test.attr and test.idempotent_id decorators, not available
in tempest-lib (for now?)
Changes heavily adapted from the corresponding novaclient and
ceilometerclient commits.
This is part of the effort of moving CLI tests to project repositories.
Change-Id: I652183238ff3d96bf6c9945aef902fd04cdff362
|
|
|
|
|
|
|
|
|
| |
Changes:
* add pretty-tox script
* add tempest-lib library in test-requirements for formatting subunit
output. It's needed for pretty-tox script
* sort test-requirements in alphabetical order
Change-Id: I8b3d1e95d4ff6a1cb3aa8a96c916bb73e552778c
|