Fix the requirements job by uncapping this dependency. The upper cap
will now be managed by global-requirements like everything else.
Since we're modifying the requirements, the requirements job are run and
we see that the lower-constraints job is failing. Remove this job and
related artefacts also.
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
Change-Id: I09bdc40e34b219c6bdf880d2511585a921018477
The docs requirements migrated to doc/requirements.txt
we need not install things from requirements.txt.
Change-Id: I39ffe733f2768e7eaea3ba31eb2c68583dc7da8c
- Remove Babel from requirements, it's not needed for running.
- remove unused file setup.sh
- Update to hacking 3.1.0; fix problems found.
- Remove hacking and friends from lower-constraints, they are not
needed there at all.
Depends-On: https://review.opendev.org/736382
Change-Id: I8b2a8c06de0282f797fab51d90aeac1ca2eef9c4
This repo is now testing only with Python 3, so let's make
a few cleanups:
- Remove obsolete sections from setup.cfg
- Remove babel.cfg, this is not needed here at all
- Update requirements, no need for python_version anymore
- Switch to using sphinx-build
- Use newer openstackdocstheme and Sphinx versions
- Remove install_command from tox.ini, the default is fine
- Use TOX_CONSTRAINTS_FILE, UPPER_CONSTRAINTS_FILE is obsolete
Change-Id: I57d447e034c088c83fdd5fb8854dbd9826a200a8
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: Iad033e86072ac394e5371ff38432ed72cb97648a
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
The commands used by constraints need at least tox 2.0. Update to
reflect reality, which should help with local running of constraints
targets.
Change-Id: Id9eaa2cb2d9aa6648d6ac345029cebae96f9b37e
Closes-Bug: #1801683
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: I9a52c912ef5ad19fe24e9294f573a2770436d5e3
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: I2cf11f815eee3aee188ddf51f9fbeadfb8885dda
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: Ifa9219475d600591cf7ca181779824f89ddb048e
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: I614992cea6044be9ca21f4f18ceef92b282dfff1
The gating on python 3.4 is restricted to <= Mitaka. This is due to
the change from Ubuntu Trusty to Xenial, where only python3.5 is
available. There is no need to continue to keep these settings.
Change-Id: Ie050c97796ffffbcbf4f6971aaf43d9b8edc6354
As part of the first community-wide goal [1], teams were asked
to remove the openstack/common package of their projects
if one existed. This was a byproduct of the old oslo-incubator
form of syncing common functionality.
The package, apiclient, was moved to a top level location
and cliutils was moved to the common module. There are no oslo
specific libraries, the recommended solution is to move it
in tree and maintain it there.
[1] http://governance.openstack.org/goals/ocata/remove-incubated-oslo-code.html
Change-Id: Ic6447da0ab3be843d231f9761d1767ed77fd81a2
Add possibility to python-muranloclient tests to maintain global
variable for GLARE
Targets bp: murano-glare-devstack-testing
Depends-On: Ia0eb97587dc6a1f2f66006f8cce14997577c4707
Change-Id: Ic14ab4c07434936264690b84e07d7af1d5e682ad
Openstack infra now supports upper constraints for
all jobs. Updated tox.ini to use upper constraints
for all jobs.
Change-Id: I841a6ab55ee01677dc5279d96416923303be339b
Closes-Bug: #1614361
This commit will add script and coverage config file that will allow to run
non voting coverage job which will detect any changes in the code coverage
for each commit on review.
Change-Id: I4559c86c840b40b9154f80b04b9e1c741e3236e0
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: I0e4d710126aaf75892e19e59c9004e7edc95a2f1
Adding a mitaka tox target, that will allow testing current
code against mitaka upper constraints.
Change-Id: Id112efac797b3f9a0a916dcd04896c703f4a570e
This will force pip install to use the upper-constraints.txt specified
version of pip modules. When you don't do this, you are out on the
bleeding edge and become unstable everytime some python library in the
wide world changes in a way that you don't expect.
The releasenotes job has no constraints file, so override the install
command there.
Change-Id: I531606ce2ed981bddc618dac046ab081de2805eb
Partial-bug: #1598906
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: I58246fbcdbfd4390f07563157889f4e217e6c086
Closes-bug: #1489059
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: I62c537aecc0a706afe048427a96b98a51abfc26b
Closes-bug: #1524824
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. sine we rely on oslo for a lot of our work,
and depend on infra for our CI, we should drop py26 support too.
Closes-Bug: 1519510
Change-Id: I4997706a854e3a0e761776dbf0609e556c1d803d
Use six versions of StringIO, urllib and raw_input
Use BytesIO instead of StringIO, where relevant
Added ability to distinguish binary and non-binary modes in utils.File
Use six.b for lyterals where relevant
Use six.iteritems, where relevant
Targets blueprint: client-py34-support
Depends-On: Id0e92840eb896ed487aafdcc39074aedefb55dda
Change-Id: I78a914cd77da7263d2bd0f871b8a478b5adadaee
There are no shadowed variables in list comprehensions so
F812 can be enabled.
Also enable H904 because it was removed since hacking 0.10.0 [1]
[1] http://git.openstack.org/cgit/openstack-dev/hacking/tag/?id=0.10.0
Change-Id: I11e55066f2ec883c5706774d72c4f21b928ebde5
Begin moving tempest based CLI tests out of murano repo and into this
repo using tempest-lib. This patch adds the framework to run the functional
tests.
Use standard OpenStack environment variables to get keystone auth.
Change-Id: Ic0952dcf721a4d20378cc593d59a7c1e1e794cfc
In order to pave the way for functional testing, move existing unit
tests into a directory labeled unit. A subsequent patch will add a
directory for functional tests.
Change-Id: I08e592c328104139386b1199cdc9c3aa9841805f
Categories is now an optional parameter during package uploading.
Also, ability to add list of categories were added.
Change-Id: I1cce9487147c4dce4fdf3e382ecf4c40660e1e0c
Targets: blueprint murano-cli-client
* Update Openstack common (aa7c658156e1e46315cdce1d580718f30054da2f):
- apiclient
- importutils
- strutils
- jsonutils
- cliutils
- apiclient
* Switch from nosetests to testtools
* Update shell.py to the actual state
Change-Id: I2b8f3393ba3e700f65f1a794caae713f12856035