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
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
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
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
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>
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>
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>
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
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
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
Python 3.3 support is being dropped from Mitaka
by INFRA team. This patch is updating the same.
Change-Id: I03835c3a0e70656020f58285ac6d0e66d09c3448
Closes-Bug: #1526170
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
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
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
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
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