13 Commits

Author SHA1 Message Date
gengchc2
292534789f Remove support for py34
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
2017-02-08 15:51:12 +08: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
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
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
Louis Taylor
75182ab806 Update homepage to openstack hosted docs page
Change-Id: I0242447882be076e1ea4e032d102e60139f7aedb
2015-07-06 20:22:36 +00:00
Davanum Srinivas
2ef21b3210 Fix Python versions supported
We have CI for 2.6, 2.7, 3.4. So make sure
all references to other versions are removed and
all 3 versions above are correctly mentioned where
required.

Make sure we specify 3.4 everywhere needed

Change-Id: I2c90bccfc7495bf8197319196a12b2a8bd0519f1
2015-05-13 11:39:43 -04:00
Doug Hellmann
9f1d7b6ec5 fix author contact details
Change-Id: Ia112173121f2717faf74d33d393b9f469afb6e36
2015-04-23 15:50:24 +00:00
Doug Hellmann
a322d615db Bring doc build up to standard
Move the requirements definitions and documentation files to the
standard places used by other OpenStack projects so our doc publishing
jobs will work.

Change-Id: Iea630d827976fe517afacf4e373b3a125efff9c9
2014-10-27 08:37:49 -04:00
Doug Hellmann
860bd8f8ec Build universal wheels
Build wheels that can be installed under python 2 and 3.

Fixes-Bug: #1363243
Change-Id: Ica67cc894f4c8622b0a5849aa8d62fb1d5009fc4
2014-09-05 13:13:08 -04:00
Julien Danjou
3668de2513 driver: raise by default on import failure
When using the DriverManager class, if the driver fails to load, it's
actually better by default to re-raise the exception. It's not something
possible when loading multiple extension, but it's safe to do so with
drivers. This just changes the default behaviour, and it can still be
overridden.

The upside of that change is that when you try to load a driver that
cannot be loaded because of missing dependency, you actually get the
ImportError backtrace on your screen rather than the useless:
  RuntimeError: No 'foo' driver found, looking for 'bar'

which doesn't help at all. And the default mechanism that logs via
LOG.error() doesn't print anything at the screen if the application
didn't configure the logging subsystem.

Change-Id: I67d9e13a07c822c54dd16ac9ae7716747a24dd73
2014-04-25 14:51:45 +02:00
Joshua Harlow
3eccd4baad Allow a on_load_failure_callback to be provided
When entrypoints are loaded it is sometimes useful
to be able to do more than LOG the failure that could
be emitted from the plugin failing to be constructed,
allowing the manager classes to be provided a callback
that can be called when such extension fails to load
is useful to track these types of failures.

Change-Id: Idc7e55ade6b3f80c348123fbceea64425d7d3508
2013-12-18 10:40:09 -08:00
Doug Hellmann
a0efc3b814 remove version from setup.cfg and rely on git tag
Change-Id: Ib30d0538f4d17a8890a0001a4d0116b08dd74868
2013-09-18 11:45:03 -05:00
Julien Danjou
35d442370c Switch to pbr
Resolves issue #16
2013-09-18 17:53:39 +02:00