Commit Graph

29 Commits (13a9c2799ad945da44de8ac1d737270c92d408c1)

Author SHA1 Message Date
Hervé Beraud 8efaa1ceb8 Drop python3.6/3.7 support in testing runtime
In Zed cycle testing runtime, we are targetting to drop the
python 3.6/3.7 support, project started adding python 3.8 as minimum,

example nova:
- 56b5aed08c/setup.cfg (L13)

Also indicates that we support python 3.9.

Change-Id: I1bdec397b1ac563b09174763c20e8a91e5f86143
2022-05-05 16:02:13 +02:00
maaoyu cba482114c setup.cfg: Replace dashes with underscores
Setuptools v54.1.0 introduces a warning that the use of dash-separated
options in 'setup.cfg' will not be supported in a future version [1].
Get ahead of the issue by replacing the dashes with underscores. Without
this, we see 'UserWarning' messages like the following on new enough
versions of setuptools:

  UserWarning: Usage of dash-separated 'description-file' will not be
  supported in future versions. Please use the underscore name
  'description_file' instead


Change-Id: I394e12bf1816e4e23e4f547db4bae89547af7989
2021-05-04 10:08:29 +08:00
Stephen Finucane 1aca4bcbb7 Drop Python 2.7 support
Change-Id: I7ae34cb701111adb2968e9b0c153dfd60aeb2fbb
Signed-off-by: Stephen Finucane <>
Sem-Ver: api-break
2020-04-21 15:14:10 +01:00
Corey Bryant 6817543c30 Add Python 3 Train unit tests
This is a mechanically generated patch to ensure unit testing is in place
for all of the Tested Runtimes for Train.

See the Train python3-updates goal document for details:

Change-Id: Idcfef4d6661e51ba36caa0885e36df3784e483ab
Story: #2005924
Task: #34234
2019-07-05 15:15:24 -04:00
Ghanshyam Mann 936f18e05b Dropping the py35 testing
All the integration testing has been moved to
Bionic now[1] and py3.5 is not tested runtime for
Train or stable/stein[2].

As per below ML thread, we are good to drop the py35
testing now:


Change-Id: Ib38da77120fd0392984388350bb785eae5893c06
2019-04-16 04:43:57 +00:00
melissaml 6d368b229a Change openstack-dev to openstack-discuss
Mailinglists have been updated. Openstack-discuss replaces openstack-dev.

Change-Id: I4d3bd4a4536e972fa2ebf14a9c73b674084cad88
2018-12-04 18:41:48 +08:00
Sean McGinnis 5d0fb1193c Follow the new PTI for document build
For compliance with the Project Testing Interface as described in:

For more detials information, please refer to:

Change-Id: I673214c9e231294e7d5eb473232e2a611e219b47
2018-01-08 12:28:50 -06:00
Doug Hellmann 3ffdb1f0ba move doc requirements to doc/requirements.txt
The documentation jobs now look for requirements in
doc/requirements.txt and do not use tox for release notes. Move the
dependency list from setup.cfg to the new file and update tox.ini so
the developer experience is consistent with what the CI system does.

Change-Id: I739c9eba21d1b9a680d6b0e9cc6a4cbaca56e543
Signed-off-by: Doug Hellmann <>
2017-11-30 17:46:59 -05:00
Thomas Bechtold 6720cf7ed0 Move reno to optional docs requirements
reno is not used for testing so it should not be in test-requirements.txt .
Move it to the optional docs requirements.

Change-Id: Idf09d2fe9632882a830311a1ab1fe28b72f1d5d9
2017-09-25 15:51:58 +02:00
Thomas Bechtold 9a05c1c7fe Remove duplicate optional requirement
Looks like the requirements bot can not handle comments correctly. Commit
95f3944a60 removed the correct indent and commit 6b31e1de17 added
a duplicate openstackdocstheme requirement instead of updating the
available one.
Solving this for now with the removal of the comment itself.

Change-Id: I6e25e8d626254b112b3ba5e525d89791ea4a25f2
2017-09-25 15:48:32 +02:00
OpenStack Proposal Bot 6b31e1de17 Updated from global requirements
Change-Id: Idafb266bcdc863548d86bbeb00fe32e741e034d0
2017-09-20 16:26:12 +00:00
OpenStack Proposal Bot 95f3944a60 Updated from global requirements
Change-Id: I92562fb5850465d5bfdfaf3c15709cd6cda20b81
2017-08-24 06:01:44 +00:00
Thomas Bechtold f9503f1a30 Make openstackdocstheme an optional doc dependency
stevedore is a library that is used outside of OpenStack, too. Having
a build requirement that needs something OpenStack specific makes
life in cases (eg. for downstream packagers) more difficult.
So let's make openstackdocstheme an optional requirement.

Change-Id: Ic8cc577e617e5da699f9dc43830183005bd2ee66
2017-08-23 08:31:27 +02:00
ChangBo Guo(gcb) b18bd78569 Update URLs in documents according to document migration
Change-Id: I8351c6e79c9a35fc0d5620b68d31b812ca03e196
2017-07-13 11:52:27 +08:00
Doug Hellmann 03ac4f5fda turn on warning-is-error for doc build
Change-Id: Iabf25943a2e52667c4be67df654e0b2626bbb557
Signed-off-by: Doug Hellmann <>
2017-06-28 13:06:11 -04:00
Thomas Bechtold d6a138f6e4 Mark as Production/Stable instead of Alpha
stevedore is heavily used so mark it as Stable via a trove classifier.

Change-Id: I634272d2a4eb27156e2dee13ed70312d5a31c676
2017-05-29 15:03:41 +02:00
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

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

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