The release management team have indicated this is their preferred way
to collect release notes in future.
Closes-Bug: #1634356
Change-Id: Idce0284b62602bfd51e64784e29739092ca13df3
There were a few typos in the descriptions of the exceptions
in exception.py
These have been fixed.
Change-Id: I21310f1f296406b93bf599b92505ad55aae528a1
Closes-Bug: #1615661
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>
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>
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
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
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
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
otherwise, when building from unchanged source in 2018,
it would claim Copyright 2018, Dreamhost
which is not true
Change-Id: I5185828a965467ea04033e46a1af2435df4ad760
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
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
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
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
* 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
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
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
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
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
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
occuring -> occurring
for patterns_loading.rst
Plus some source comment spelling fix.
Change-Id: Ia6c79588e70a4150fdcb8e71d14a4bba47a70a23
Signed-off-by: Zhao Lei <zhaolei@cn.fujitsu.com>
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>