| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The new stable upper-constraints file is only available
after the openstack/requirements repository is branched.
This will happen around the RC1 timeframe.
Recheck and merge this change once the requirements
repository has been branched.
The CI system will work with this patch before the requirements
repository is branched because zuul configues the job to run
with a local copy of the file and defaults to the master branch.
However, accepting the patch will break the test configuration
on developers' local systems, so please wait until after the
requirements repository is branched to merge the patch.
Change-Id: I71bfd18ecd846f1df347cb063747ec320afb8ab2
|
|
|
|
|
|
|
|
|
|
| |
flake8 is generally not capped in upper constraints,
and somewhere since 3.6.x it started to report a spurious error
in cliff/app.py:409.
Cap flake8 to <3.6 to unblock the pep8 CI.
Change-Id: I0b12103e581a5c95f69da2cebf3310101150bd3b
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This commit was bulk generated and pushed by the OpenDev sysadmins
as a part of the Git hosting and code review systems migration
detailed in these mailing list posts:
http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003603.html
http://lists.openstack.org/pipermail/openstack-discuss/2019-April/004920.html
Attempts have been made to correct repository namespaces and
hostnames based on simple pattern matching, but it's possible some
were updated incorrectly or missed entirely. Please reach out to us
via the contact information listed at https://opendev.org/ with any
questions you may have.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is a mechanically generated patch to complete step 1 of moving
the zuul job settings out of project-config and into each project
repository.
Because there will be a separate patch on each branch, the branch
specifiers for branch-specific jobs have been removed.
Because this patch is generated by a script, there may be some
cosmetic changes to the layout of the YAML file(s) as the contents are
normalized.
See the python3-first goal document for details:
https://governance.openstack.org/tc/goals/stein/python3-first.html
Change-Id: I410aaf9cdbefc4c4e8fce3d3adb60f093f17399b
Story: #2002586
Task: #24320
|
|
|
|
| |
Change-Id: I45821a012ad9cde49c020541d9d63376e07b62c9
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
- Detects module name if needed
- Updates demoapp
Change-Id: Ie0cd9d507fcb4c32ab98e51f61741d529ff41cac
Closes-Bug: 1779218
Signed-off-by: Sorin Sbarnea <ssbarnea@redhat.com>
|
|\ \
| |/
|/| |
|
| |
| |
| |
| |
| |
| |
| | |
See https://packaging.python.org/guides/distributing-packages-using-setuptools/#universal-wheels
Closes-Bug: #1760157
Change-Id: I8c95ff5969e47189269ef44e021a3bb8ac32bb16
|
|\ \
| |/
|/| |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
cmd2 0.9.0 and later use a different type of parser and offers no
backwards-compatibility. This change updates cliff to deal with the
older and newer versions of cmd2 so we can continue to support python
2 for now.
Change-Id: Id7a0395ada517f97834fc6fdd39fcc09077304c1
Fixes-Bug: #1774418
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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: I6b107fce3daa8292b5fe6b5730a03008bf8987f0
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
|
|
|
|
|
|
|
|
| |
cmd2 released a python3 only versions of itself. We need to update
requirements to handle it. This updates requirements to match
requirements. See https://review.openstack.org/570811 for more details.
Change-Id: I3d527ba30205c9f3b3b2e89f795ee5611422c013
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Release 0.8.3 of cmd2 failed to properly specify a new dependency so
installing it breaks interactive mode for OSC and other cliff-based
apps. 0.8.4 fixes the issue.
Change-Id: I8bbd749e3328596fd333bd7f58391b9d688c00cf
Depends-On: https://review.openstack.org/560120
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
|
|/
|
|
|
|
|
| |
It's been a long time since we used Travis for testing.
Change-Id: I3b352d40f8186a6ae60a07ce1d14c349516381e2
Signed-off-by: Stephen Finucane <sfinucan@redhat.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.
Update the lower bound for PrettyTable so the unit tests pass.
See http://lists.openstack.org/pipermail/openstack-dev/2018-March/128352.html
for more details.
Change-Id: Ia146248b505e66adf871d17ae1e4921d7888bb85
Depends-On: https://review.openstack.org/555034
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
|
|\ |
|
| |
| |
| |
| | |
Change-Id: Ic10fe257544d9c0114a466be11588570377e2049
|
|\ \ |
|
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The method getargspec is deprecated and will be removed [1].
This produces a lot of deprecation warning in the logs which is
noisy. This patch proposes to use getfullargspec if it is available.
For python 2 compatibility, we need to fall back to getargspec.
[1] https://docs.python.org/3/library/inspect.html#inspect.getargspec
Change-Id: Ide7d9ca99e0edf23261b5d47f35766aaaac9059b
|
|/
|
|
| |
Change-Id: I86b08037d04f622770347c2b4d64ce62694e1f8a
|
|\ |
|
| |
| |
| |
| |
| |
| |
| | |
This commit fixes the cmd2 doc URL. The original URL doesn't work with
404 error now.
Change-Id: Id249a67a705f66162ccfdf7dc65dd2bcec2a2a7b
|
|/
|
|
|
|
|
|
| |
In version 0.7.3, cmd2 moved the parsed method from class Cmd()
to class ParserManager().
Change-Id: Ie0c057ffaeaa05c4f5e0f3599aab850245c55066
Closes-Bug: #1751822
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Calling the Sphinx extension with an invalid namespace or command
pattern currently results in a silent failure. Correct this oversight by
raising a warning, which will cause a build failure is
'warning-is-error' is enabled.
Change-Id: I63d18c86931d752c3a680e84a69df53bc04e7dfd
Signed-off-by: Stephen Finucane <sfinucan@redhat.com>
|
|\ \ |
|
| | |
| | |
| | |
| | | |
Change-Id: I7cef56bc16ffda5c01f862482686f31695bd088d
|
|/ /
| |
| |
| |
| |
| |
| | |
Zuul no longer requires the project-name for in-repo configuration.
Omitting it makes forking or renaming projects easier.
Change-Id: If1d8a32554fd6c8662adf0d83e7576cd9a3879b1
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Cliff normally uses short option name aliases which are global
in to the CLI. We want commands to not use them due to the
limited number and ease of collision. However this one
was already in use by a well-known plugin so we will not take it.
Change-Id: Id348dad450b52716b82d7852d6378ecc48808f26
Closes-Bug: #1743578
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
|
|\ \
| |/
|/| |
|
| |
| |
| |
| |
| |
| | |
openstack-common.conf is empty file. We probably should remove it.
Change-Id: I91afac311e1812fbcff5dd79d73563f1d77c34c7
|
|\ \ |
|
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Very often there is a need to sort data by one or several
columns. This patch adds ability to do this by specifying
extra '-s/--sort-column' argument with respective columns:
-s SORT_COLUMN, --sort-column SORT_COLUMN
specify the column(s) to sort the data
(columns specified first have a priority,
non-existing columns are ignored), can be
repeated
e.g.:
* without sorting:
foo_command bar_subcommand list
+------+------+
| Col1 | Col2 |
+------+------+
| a | A |
| b | B |
| c | A |
+------+------+
* with sorting:
foo_command bar_subcommand list -s Col2 Col1
+------+------+
| Col1 | Col2 |
+------+------+
| a | A |
| c | A |
| b | B |
+------+------+
Change-Id: Ifc6d6746448ff6f42898efd78ed3fd084a598a91
|
|/
|
|
| |
Change-Id: I517dc7c33e2cd6b1e6a575c8c5c523e210870351
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The tox_install.sh scripts are there to enable dealing with constraints
support. All of that can be accomplished directly, it turns out, by
simply adding the -c line to the requirements list.
Remove tox_install.sh and just set constraints directly.
Change-Id: I888ee148995c080f793f90e168613348283d0ff0
|
|\ \
| |/ |
|
| |
| |
| |
| |
| |
| |
| |
| | |
For openstackclient we can use the new osc-tox-unit-tips jobs from the
openstackclient repo. For neutronclient, make a cliff-specific job.
Change-Id: I244bad5a7a65b5e988a6ccb9e6403e86f03a38ac
Depends-On: Ie0f3e9d7e221c9cdd3c5d726148f456246186ff4
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The Py2 version of the csv module cannot accept unicode text. In Py2
we replaced the csv module with the unicodecsv module which encodes
unicode text prior to calling the standard Py2 csv module. Thus when
the cvs formatted output is emitted on stdout it is presented as a
encoded byte stream. But stdout has been replaced with a StreamWriter
which encodes to the desired encoding. The problem is the StreamWriter
attempts to encode all objects passed to it's write function,
including str objects. Instead it should only encode unicode text objects
and allow bytes to pass through unmodified.
This patch adds an override of the codecs.getwriter function which
only encodes unicode text objects. In addtion we pass the encoding
value obtained from the stream to the unicodecsv writer.
The patch fixes the codec error when outputing csv formated text that
contains a non-ASCII character. The unicodecsv implmentation will emit
byte encoded str objects to the stream. When the core StreamWriter
attempts to encode a str object Python will first promote the str
object to a unicode object. The promotion of str to unicode requires
the str bytes to be decoded. However the encoding associated with the
str object is not known therefore Python applies the default-encoding
which is ASCII. In the case where the str object contains utf-8
encoded non-ASCII characters a decoding error is raised. By not
attempting to encode a byte stream we avoid this error.
A more complete discussion of the above issues can be found here:
https://github.com/fedora-infra/kitchen/blob/develop/kitchen2/docs/unicode-frustrations.rst#frustration-4-now-it-doesnt-take-byte-strings
Change-Id: I22b5ad8bf0e227ec75a2a36986f0487191f7cbc2
Closes-Bug: 1720115
Signed-off-by: John Dennis <jdennis@redhat.com>
|
|\ \ \
| | |/
| |/| |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Put these in place as a setup for the new versions of the doc build
jobs. Keep using them from the normal dep list until the jobs are
changed.
While we're here, update the docs env to use sphinx-build instead of
python setup.py build_sphinx. Also add python2.7 to the docs env, since
I accidentally tried building it with my python3 tox and it blew up
substantially.
Change-Id: I0fcc50c4c396758e839c329ce786a6f609bb1342
|
|\ \ \
| |/ / |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Remove the dependency on the demoapp and just add it to the import
path so it is available to be imported. Copy the entry point settings
into the main cliff setup.cfg to ensure they are registered for the
doc build to find.
Change-Id: I390410bc5247e8b6c8d0a8fec8e7ecb223d8d6c1
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
|
|\ \ \ |
|
| | | |
| | | |
| | | |
| | | | |
Change-Id: Icd148aa05cc290d246cf27a7f99a3dbe7a84426f
|
|\ \ \ \
| |_|/ /
|/| | | |
|
| |/ /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Add add_legacy_command() method to the command manager and update the
command search logic to try translating the old legacy name to the new
name.
Change-Id: I0c0cdbfcb1612ec3975864fc7f730ff186879027
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
|