409 Commits

Author SHA1 Message Date
OpenStack Proposal Bot
b30ca0583a Updated from global requirements
Change-Id: I8ba90d820fd6e0dd4894b34936b773b1e12e752b
2016-11-09 04:25:17 +00:00
Jenkins
eaab3706b2 Merge "Add reno for release notes management" 2016-11-03 12:45:29 +00:00
ChangBo Guo(gcb)
043e62abb4 Add reno for release notes management
The release management team have indicated this is their preferred way
to collect release notes in future.

Closes-Bug: #1634356

Change-Id: Idce0284b62602bfd51e64784e29739092ca13df3
2016-11-03 15:04:15 +08:00
OpenStack Proposal Bot
b868483c42 Updated from global requirements
Change-Id: I3911c754970ff65f5c1253db1f05f258c5def3c3
2016-11-01 13:36:14 +00:00
Andreas Jaeger
0888d13a33 Remove reference to non-existing page
There is no modindex page generated, remove reference to it.

Change-Id: I2707c653ab4c7ab6b13478c5c0da35b82f0b5f65
2016-10-29 13:41:06 +02:00
OpenStack Proposal Bot
5d633cfc45 Updated from global requirements
Change-Id: I0989f5cf5f4179e19c2781a2706e054a3080916a
1.18.0
2016-09-28 17:01:47 +00:00
Yvonne Stachowski
c27ce0b878 Fix typos in exception.py
There were a few typos in the descriptions of the exceptions
in exception.py

These have been fixed.

Change-Id: I21310f1f296406b93bf599b92505ad55aae528a1
Closes-Bug: #1615661
2016-08-22 15:47:02 +00:00
Doug Hellmann
62398ed4a3 do not emit warnings for missing hooks
Add a flag to disable the default warning log messages in the
NamedExtensionManager and then have the HookManager pass False by
default.

Change-Id: I78c91bcfd8cd41929f25057791157f82eb4a3a50
Closes-Bug: #1611387
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
1.17.1
2016-08-09 17:02:00 -04:00
Swapnil Kulkarni (coolsvap)
0c6b78cf88 Remove discover from test-requirements
It's only needed for python < 2.7 which is not supported

Change-Id: I56ded7e918719b56ef96ac56f7806d2eea04f350
1.17.0
2016-07-21 09:11:14 +00:00
Jenkins
bca3451dc6 Merge "make error reporting for extension loading quieter" 2016-07-14 03:38:44 +00:00
Jenkins
c1c30a8c6b Merge "Replace assertEquals() with assertEqual()" 2016-07-13 16:43:39 +00:00
Doug Hellmann
4ec5022e4b make error reporting for extension loading quieter
Only log the full traceback for an import error from an extension if
debug logging is enabled. This avoids spurious tracebacks in the log
when an application probes for all available extensions or when a
dependency of an extension is not installed (in that case the error
message itself should be sufficient to debug the issue).

Change-Id: I43c24f3791d575c2ecf0d08d82d9de5d74ec1150
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2016-07-13 11:55:57 -04:00
ChangBo Guo(gcb)
76c14b1051 Add Python 3.5 classifier and venv
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: I13d2453d9bd15ca3320968aa30f0fe9db13d717d
2016-07-12 17:26:23 +08:00
liangjingtao
c8a3964ab7 Replace assertEquals() with assertEqual()
Fllow the hacking: http://docs.openstack.org/developer/hacking.
AssertEquals() logs a DeprecationWarning in Python 3.x,use
assertEqual() instead.This patch is to fix it.

Change-Id: I72f29a5f0858797140be20e3cad395a02b174bcb
Closes-Bug: #1600764
2016-07-11 18:56:09 +08:00
Jenkins
f68325fc48 Merge "Fix NamedExtensionManager fails when loading failing extension in order" 1.16.0 2016-07-06 22:29:19 +00:00
ChangBo Guo(gcb)
1218ab61a1 Fix NamedExtensionManager fails when loading failing extension in order
NamedExtensionManager refer to extensions by names passed by caller.
A keyError is raised when name_order=True and can't load all extensions.

Closes-Bug: #1575185
Change-Id: I79769d4296efe98727751adc19bb8f33d75ba729
2016-07-04 15:46:58 +08:00
ChangBo Guo(gcb)
da83cd831d Remove irrelated output item
We register two entry points in sample code, but show three items
in entry_points.txt, just remove it to keep consistent with code.

Change-Id: I7a76c4f23086fe1abdbf7140ba92f97ec1387aed
2016-07-04 03:04:49 +00:00
ChangBo Guo(gcb)
e3d08cede9 Fix broken link about setuptools entry points
setuptools had moved document into readthedocs.io.

Change-Id: I40d9b49603a5f2c2117b639f21d68519f7a4a04f
2016-06-30 20:53:46 +08:00
Cyril Roelandt
6f81f6f1c1 NamedExtensionManager: call a callback when some names cannot be found
This will allow users to find out errors in their code that are currently
silently ignored.

Change-Id: I405511f9acc5319b1e4373be084f6a7c97556acf
2016-06-24 19:39:41 +02:00
OpenStack Proposal Bot
f33b810403 Updated from global requirements
Change-Id: Ibd8ed7b259028df4a20672d0df65fa0928417a15
2016-06-21 18:06:34 +00:00
OpenStack Proposal Bot
01b09a5c1d Updated from global requirements
Change-Id: Iabf04ba746791d456392c5bf75e86747a19c3e0d
1.15.0
2016-05-26 17:06:32 +00:00
ChangBo Guo(gcb)
b106ba3fc6 Trivial: ignore openstack/common in flake8 exclude list
The directory openstack/common doesn't exist any more.
so remove it from flake8 exclude list.

Change-Id: I6fe1326d2e6567539a6ad8b13c7d8a50d0459400
1.14.0
2016-05-11 13:45:57 +08:00
Bernhard M. Wiedemann
52dfe21ade dont claim copyright for future years
otherwise, when building from unchanged source in 2018,
it would claim Copyright 2018, Dreamhost
which is not true

Change-Id: I5185828a965467ea04033e46a1af2435df4ad760
1.13.0
2016-03-09 11:42:25 +01:00
Marc Koderer
8a19d5fb7b Add a reference to entry_point_inspector
This add a short reference in the install guide
to the entry_point_inspector.

Change-Id: I86f3437949670e75f631319e088321384fe28e42
1.12.0
2016-02-23 14:32:39 +01:00
OpenStack Proposal Bot
05c80a08f0 Updated from global requirements
Change-Id: If695abcf0be858e2a81669bd98440c48cd788d7f
1.11.0
2016-01-16 03:33:18 +00:00
Jenkins
5bb52db732 Merge "Trival:Remove unused logging import" 2016-01-15 07:08:18 +00:00
caoyue
c28a2b1409 Trival:Remove unused logging import
Change-Id: Ic3a14308e8fbd1b545eb31a4f5a3f5ec6573c578
2016-01-15 10:58:15 +08:00
ChangBo Guo(gcb)
72e3e1177d Remove work around for NullHandler
logging module added NullHandler in Python 2.7, we have
dropped Python 2.6 support now, so don't need the work around
any more.

Change-Id: Ib6fdbc2f92cd66f4846243221e696f1b1fa712df
2016-01-13 10:53:21 +08:00
Ricardo Kirkner
09b9c9674c remove unnecessary dependency on argparse
argparse is not required for Python 2.7 and 3.4 (which are the only
Python versions explicitely supported in setup.py)

removing the unnecessary argparse dependency to allow package to be
properly packaged on Debian/Ubuntu systems.

Change-Id: Ia268edc0c674ec3514139570d527a3f340efb1ac
2016-01-06 11:02:18 -03:00
Jamie Lennox
01b446c1fa Use Stevedore exceptions for finding extensions
When there are no extensions or multiple extensions found for a
namespace stevedore raises RuntimeErrors. This means that consuming
applications must catch RuntimeErrors when loading plugins which may
mask errors coming from the plugin itself.

Instead have stevedore raise an error specific to the failure case that
can be handled from an application.

Change-Id: I0ab0556a589453bd8631d77f42506100b278a83d
Closes-Bug: #1501324
1.10.0
2015-11-30 14:37:12 +11:00
ChangBo Guo(gcb)
bb73a14d24 Clean up Python 2.6 related stuff
Change-Id: I303465277b30dff66129b6c65112b3e427ee6292
2015-11-26 18:09:38 +08:00
Jenkins
284b7636af Merge "Remove Python 2.6 classifier" 2015-11-23 20:42:13 +00:00
OpenStack Proposal Bot
36d44e2ead Updated from global requirements
Change-Id: Ib210340023253719ee68bd9440af8fa5d38b40aa
2015-11-19 15:53:27 +00:00
ChangBo Guo(gcb)
ecba9afced Remove Python 2.6 classifier
We have decided to remove Python 2.6 support, this commit
removes Python 2.6 classifier before dropping any Python
2.6 support in code.

Change-Id: I30a85c832dc5edb28d8e0706bb3a51caecca18ed
2015-11-17 16:40:11 +08:00
Davanum Srinivas
dcafb78a29 cleanup tox.ini
* Remove install_command : We can just use the 
  default, we don't need to override
* Remove requirements.txt from deps, as this is
  already added automatically

Change-Id: I29b011a5dd3c64433b4a09ef1cf27b52f09e7d54
2015-11-16 00:48:24 +00:00
OpenStack Proposal Bot
6fb896d40b Updated from global requirements
Change-Id: I37bdb69fd7a512edd2bcc3a829521c2a4a21de5b
1.9.0
2015-10-02 01:59:45 +00:00
Jenkins
b704ecef4a Merge "docs - Set pbr 'warnerrors' option for doc build" 2015-09-25 15:14:43 +00:00
Jenkins
5c28a12b30 Merge "replace the hard-coded history list with an auto-generated one" 2015-09-25 10:48:20 +00:00
Davanum Srinivas
612b0c067f docs - Set pbr 'warnerrors' option for doc build
By setting this pbr option in setup.cfg, the doc build will fail in case
of any warnings or errors occur during the build process.

Change-Id: I861b6de50aaa5a30db1b18474b2554743a9968c7
2015-09-24 21:46:10 -04:00
Doug Hellmann
d1d63f75b0 Add clarifying language to description of scanning for plugins
Clarify that the python import path is scanned to find packages and
their metadata is examined, so that it is clear that the packages must
be installed in a way that makes them both visible to the same python
interpreter.

Change-Id: I0fc58b3ccc024e209d7f49de7402de67d4437295
2015-09-24 21:12:38 +00:00
Doug Hellmann
85838b856e clean up default tox environment list
Reduce the number of environments run by default when no environments
are specified on the command line. This does not remove support for
these versions of python or alternate interpreters.

Change-Id: I07f7e972da6f928920beea555c7b7d2201d7e8a8
2015-09-24 19:30:48 +00:00
Doug Hellmann
e327c8226f Show how to add a plugin in a separate package
One of the most common misconceptions about plugins is that they must be
installed to the same python package as the application. Update the
documentation to provide an explicit example of providing plugins from a
separate package.

Also clean up the package metadata for the existing example to remove
references to URLs and email addresses that no longer work.

Change-Id: I801b6ec3ff287c5342ce63a865167f55d31c78d3
Closes-Bug: #1394393
2015-09-24 19:30:48 +00:00
Doug Hellmann
9d9b4d4210 replace the hard-coded history list with an auto-generated one
Replace the hand curated list of changes with the one generated by pbr
automatically.

At the same time, change the toctree settings in index.rst to avoid
showing every release of stevedore at the top level and to clean up the
amount of nesting showing for other entries.

Change-Id: I3fb9306c0ca3ce6ed9681ffeaa8b9b8ed0f2bd7c
2015-09-24 18:34:11 +00:00
Zhao Lei
02c9e7e144 Fix spelling typo for maunal
occuring -> occurring
for patterns_loading.rst

Plus some source comment spelling fix.

Change-Id: Ia6c79588e70a4150fdcb8e71d14a4bba47a70a23
Signed-off-by: Zhao Lei <zhaolei@cn.fujitsu.com>
2015-09-24 13:47:30 +00:00
OpenStack Proposal Bot
40aeacd721 Updated from global requirements
Change-Id: I60ba4153fbabf2d83a31aea432c0f0c82583bb63
2015-09-17 12:17:27 +00:00
Cleber Rosa
e833f8709f Examples typo fix
This fixes a simple typo in the basic examples used in the tutorial.

Change-Id: I914676c91def2fe611b69735141b3ceb342d26a7
Signed-off-by: Cleber Rosa <cleber.gnu@gmail.com>
2015-08-28 14:36:47 -03:00
OpenStack Proposal Bot
d229c846c6 Updated from global requirements
Change-Id: Ifa88a2aec0a7a900c428f030e4750a6b0f0c9603
1.8.0
2015-08-26 14:14:09 +00:00
OpenStack Proposal Bot
a681380839 Updated from global requirements
Change-Id: Icc235d5e0e5c05c28f2cab7f59dffe31595b3e22
2015-08-10 01:10:51 +00:00
OpenStack Proposal Bot
c4fb9614f4 Updated from global requirements
Change-Id: Ia47a258089eef4aa018164328efcda91dfa7bb9e
2015-08-04 00:49:32 +00:00
OpenStack Proposal Bot
618d2d74b5 Updated from global requirements
Change-Id: Ifa7fa2aee2e22edac1eb608c623bc28a8acf6fec
1.7.0
2015-07-29 03:51:10 +00:00