Commit Graph

31 Commits

Author SHA1 Message Date
Ghanshyam Mann 374b875ced Update python classifier in setup.cfg
As per the current release tested runtime, we test
python version from 3.8 to 3.11 so updating the
same in python classifier in setup.cfg

Change-Id: I8ac5852fa2617f7600311cef2810aa28c9b71128
2024-01-11 16:37:43 -08:00
Zuul 041fc11a9a Merge "Declare Python 3.10 support" 2023-11-16 17:50:33 +00:00
Takashi Kajinami 17835cb3df List up extra requirements for drivers
Most of the drivers require extra requirements. This adds these to
the extras field in setup.cfg so that users can more easily install
extra requirements.

Also removes the lower-constraints.txt file because we already removed
tests of l-c by [1].

Note that the lower versions of SQLAlchemy and oslo.messaging are
picked up from requirements in the other repos, and further lower
versions might be allowed.

[1] bcca5bd4a8

Change-Id: If4492943199c75c294e4eb5a3600cf5d2bdad0b8
2023-11-14 11:05:47 +09:00
Takashi Kajinami ac796bdabf Move oslo.config to normal requirements
The oslo.config library is not really optional, because of multiple
implementations importing it. Actually the library is now installed
because the oslo.concurrency library depends on it.

Change-Id: I935ee16c6d52564ce6a61890a47cb57196ea5bad
2023-11-13 22:19:41 +09:00
Takashi Kajinami 0f9d1372d6 Declare Python 3.10 support
... and removes the remaining code and dependency for Python < 3.8.

Change-Id: I305d3b9cc43bedf980826b10ab26959d10e35997
2023-10-07 12:06:39 +09:00
YuehuiLei 7d2c871b71 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

[1] https://github.com/pypa/setuptools/commit/a2e9ae4cb

Change-Id: I6f42330ee131be043d24152902e2209aca79ac1c
2023-02-09 11:47:54 +01:00
Stephen Finucane fa830926b5 tox: Add functional-py38, functional-py39 envs
While here, we also clean up some style issues in this file.

Fix CI issue to generated changelog with tox v4

Co-Authored-By: Sahid Orentino Ferdjaoui <sahid.ferdjaoui@industrialdiscipline.com>
Change-Id: If6de005dd8229fe6f21dc103f50db083a415d7e4
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
2023-02-06 14:13:57 +01:00
Sean McGinnis 2b2d4fef42
Add py38 package metadata
Now that we are running the Victoria tests that include a
voting py38, we can now add the Python 3.8 metadata to the
package information to reflect that support.

Change-Id: If6896f56cd9df8c2e2f015e79793653abce0da20
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
2020-04-24 08:23:14 -05:00
Andreas Jaeger 7eaa8648cd [ussuri][goal] Drop python 2.7 support and testing
OpenStack is dropping the py2.7 support in ussuri cycle.

Complete discussion & schedule can be found in
- http://lists.openstack.org/pipermail/openstack-discuss/2019-October/010142.html
- https://etherpad.openstack.org/p/drop-python2-support

Ussuri Communtiy-wide goal:
https://governance.openstack.org/tc/goals/selected/ussuri/drop-py27.html

Switch to using modern sphinx-build.
Remove cruft from setup.cfg

Drop non-voting jobs from gate queue.

Change-Id: I2cc764bd3de8130aa25868b57b2e89341c71617e
2020-02-04 11:24:14 +01:00
Corey Bryant d431c7a551 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:
https://governance.openstack.org/tc/goals/train/python3-updates.html

Change-Id: I18d35d120bed22f5bbb4b8e15942d3e48063615d
Story: #2005924
Task: #34234
2019-07-05 15:12:53 -04:00
Ghanshyam Mann b830f7921c 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:
http://lists.openstack.org/pipermail/openstack-discuss/2019-April/005097.html

[1] http://lists.openstack.org/pipermail/openstack-discuss/2019-April/004647.html
[2]
https://governance.openstack.org/tc/reference/runtimes/stein.html
https://governance.openstack.org/tc/reference/runtimes/train.html

Change-Id: Idb246e18956ae67795b06d2968c0d5ee19940e47
2019-04-16 04:21:39 +00:00
qingszhao b90943679e Change openstack-dev to openstack-discuss
Mailinglists have been updated. Openstack-discuss replaces openstack-dev.

Change-Id: I31fd8e774757070ae81c3bf7dcb6baa31de3fc20
2018-12-04 16:34:02 +00:00
Doug Hellmann 6beb11b31e build universal wheels
By default setuptools produces a version-specific wheel file so
installation under other versions of Python require extra work at
install time. This change turns on "universal" wheel support, so that
the wheel file will be marked as supporting both Python 2 and 3.

Change-Id: Ib171962cdc87e8550ccb816d8b676df68f690b08
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-10-02 18:25:32 -04:00
Tovin Seven e30bbfba51 Add lower-constraints job
Create a tox environment for running the unit tests against the lower
bounds of the dependencies.

Create a lower-constraints.txt to be used to enforce the lower bounds
in those tests.

Add openstack-tox-lower-constraints job to the zuul configuration.

See http://lists.openstack.org/pipermail/openstack-dev/2018-March/128352.html
for more details.

Change-Id: I4ec215baac733ef07a619c03c28406c994d493f5
2018-04-19 09:21:21 +07:00
ChangBo Guo(gcb) 22ea89630b Update URLs in documents according to document migration
Change-Id: Idfddc1d1a23dc6203cf04b3bb8a1554a223f4b40
2017-07-13 17:39:15 +08:00
Akihiro Motoki 4b20438a1f Enable warning-is-error in doc build
- Update sphinx version
- Fix sphinx warning

Change-Id: Ibf3361af30cec3c291cfdf50438cf49dd72427f8
2017-07-06 21:38:41 +00:00
kavithahr 1f06cf66d5 Python 3.4 support is removed
Change-Id: Ic638d49b1ebb4df74fb0baeaa4e61754c2e6405f
2017-03-08 12:37:37 +05:30
Vipin Balachandran c1d53d925e Add py35 tox virtualenv
Adding py35 tox virtualenv in preparation for the move from 3.4
to 3.5.

Change-Id: Ia5ec95b7fdf1a8edc8d501d13221e598408d02a5
2016-12-15 19:39:54 +05:30
Tony Xu aeb893daf1 Update homepage with developer documentation page
Change-Id: I0873a888616243d7baabda1e0ed067da50d9657e
2016-09-24 14:37:51 +08:00
Jamie Lennox e5ae569d1b Expose osprofiler middleware as entrypoint
Filter factories can be exposed via entrypoint which means you can
import osprofiler as

[filter:osprofiler]
use = osprofiler#osprofiler

This gives osprofiler more control over its middleware entrypoint and
means services don't need to go looking for it.

Change-Id: I88b9c69011a1abd9810ece139215bf4503a66954
2016-06-17 09:51:49 +10:00
Jenkins 14507498c8 Merge "remove python 2.6 trove classifier" 2016-02-12 02:14:12 +00:00
Davanum Srinivas bf7219a1ee Consolidate osprofiler options
Right now every project has its own copy of the profiler options,
This situation will make it very hard to keep up when we want to
change things in osprofiler. So we should consolidate the code
just like all other oslo libraries in osprofiler itself. However
one twist here is that we should avoid needing oslo.config as a
hard requirement for project that do not want to use it, so we
should add this as an extra in setup.cfg and adjust the testenv
as well.

Change-Id: I4343136be501551bb2c87d4b66d839c4e63a67fc
2016-01-20 14:22:49 -05:00
reedip b318e6ff94 Remove Py33 support
Python 3.3 support is being dropped from Mitaka
by INFRA team. This patch is updating the same.

Change-Id: I03835c3a0e70656020f58285ac6d0e66d09c3448
Closes-Bug: #1526170
2016-01-12 12:13:51 +09:00
Doug Hellmann 3ebc438142 remove python 2.6 trove classifier
OpenStack projects are no longer being tested under Python 2.6, so
remove the trove classifier implying that this project supports 2.6.

Change-Id: I9eba1d7547c3459a707110785b79bc79914a88a8
2015-12-23 01:31:14 +00:00
Boris Pavlovic bc78823f29 Remove version from setup.cfg
Pbr is calculating versions on it's own based on git tags.
So we don't need to specify by hands in setup.cfg version

Change-Id: Ia5b4859b662d98facf3c211ae813962bd07feef0
2015-06-24 11:58:57 -07:00
Boris Pavlovic bbe39b5172 Cut version 0.3.0
WSGI middleware now accept HMAC_KEYS instead of HMAC_KEY this is change
in API that requires new version.

As well osprofiler now has entry point that allows to retrive trace info

Change-Id: Ic32f164586c5952fae1d277cfbd6861975af3ff3
2014-08-07 04:04:11 +04:00
Andrey Kurilin 42ec4ccda1 Add entry point for OSProfiler, that display traces
This patch implements basic client code for OSProfiler, which contains:
 * osprofiler.cmd.cliutils - module with utils for client code
 * osprofiler.cmd.commands - module with all commands. Each group of
   commands should inherit from `osprofiler.cmd.commands.BaseCommand` class
   (implemented commands: `results show`)
 * osprofiler.cmd.exc - module for clients exceptions
   (implemented exceptions: CommandError)
 * osprofiler.cmd.shell - module with basic shell class(`OSProfilerShell`),
   which append ceilometer and identity arguments groups, discover all cli
   commands in `osprofiler.cmd.commands`.
 * osprofiler.cmd.template.html - html-template for command
   "osprofiler trace show"

Change-Id: If4bd50658c594793fe97e8ba1c9867694aa46ff4
2014-08-01 17:24:30 +03:00
Boris Pavlovic b2c9b86ad7 Add OSprofiler docs
This is required by python-docs job + it's good to have documentation
on read the docs.

As we don't won't to duplicate work, index.rst is just symlink to README.rst

Change-Id: I1b42fc7c135367ca77949998c5e0db5fc5dd7434
2014-08-01 12:27:42 +04:00
Boris Pavlovic a582834e59 Remove unused libs from requirments and fix info in setup.cfg
Change-Id: I90ef7e18720fecbb91a856d08885ef1347792677
2014-06-25 02:36:33 +04:00
Boris Pavlovic 2f78c6395a Fix setup.cfg python 2.6 is supported as well 2014-05-09 02:59:35 +04:00
Boris Pavlovic 903ca86952 Init Strucutre of lib 2014-01-09 11:25:23 +04:00