This commit is part of a series to retire the Packaging Deb
project. Step 2 is to remove all content from the project
repos, replacing it with a README notification where to find
ongoing work, and how to recover the repo if needed at some
future point (as in
https://docs.openstack.org/infra/manual/drivers.html#retiring-a-project).
Change-Id: I079aae2ad46fe5c5352bcfd5b9122c0b352a44fb
It is not needed and stevedore is a fundamental package which should
try to keep its requirements list small.
Change-Id: I701613977f6c243c13d118d8822fe5db0e12f97e
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: I8899429c4bdbc723c448624be49cc27343798f25
This allows to get the list of valid entry points names declared for a
namespace, without loading them.
Change-Id: If9132edc14c2772732fd4ec0dc5dc3ebc4a56b3c
Having the ability to list the entry points without loading them can be quite
useful. Expose the internal method externally to help with that.
Change-Id: Id675f335957a95fcfce61934dfbfbb2c64af761a
Some projects (e.g. Neutron) using the DriverManager with
another fallback mechanism when the alias doesn't exist don't
want the "Could not load warning" messages in the logs.
This patch allows the warn_on_missing_entrypoint kwarg to be
passed to DriverManager which passes it up to its parent
NamedExtensionManager.
Change-Id: Ia6f5f749fc2f73ca6091fa6d58506fddb058902a
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 stevedore.
Change-Id: I7a1285a2c3882b02987bfa95950689f5282aa407
As per OpenStack licensing guide lines [1]:
[H102 H103] Newly contributed Source Code should be licensed under
the Apache 2.0 license.
[1] http://docs.openstack.org/developer/hacking/#openstack-licensing
Change-Id: I81aa361c3a50bc76dd360002712a3a7b786621c4
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