* Update ceilometermiddleware from branch 'master'
to be116b740f6c0800a9ec91556fbfb75b21b5c105
- Fix releasenotes build of yoga moved to unmaintained
The stable/yoga branch has been deleted and replaced with the
unmaintained/yoga branch, update the reno config accordingly.
Co-Authored-By: Dr. Jens Harbott <harbott@osism.tech>
Change-Id: I07c2c650b5dee3ea63d221c779fb4941693ec2c0
* Update ceilometermiddleware from branch 'master'
to 84d622a9ebb518b3c0138cf26ea67bdef032fe13
- Merge "Remove unused six library"
- Remove unused six library
The six library is no longer used so can be removed from requirements.
Change-Id: I6f26052bd36c6f0e8dcfdae0969ba35d73fb1557
* Update ceilometermiddleware from branch 'master'
to 64c43ec2546f55b381b12890a1e067142147a8f9
- 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: Ib0dd34eb10f89473497cbf4b9c6034087b6ee346
* Update ceilometermiddleware from branch 'master'
to 0689769ba847f9222ce6b7c92e6bc3757e5d608a
- Ignore .eggs directory
Recent pbr creates the ".eggs" directory, which should not be managed
by git.
Change-Id: I00fa4f871d0cada83104f55b31f0e0b1640db474
* Update ceilometermiddleware from branch 'master'
to ed5d978907d57a3940b0e16fa9d53f1194c759d1
- Merge "Disable global venv on the integration job"
- Disable global venv on the integration job
This patch disables the GLOBAL_VENV for devstack in the integration job.
Related-Bug: 2031639
Change-Id: I7f25b85bb5f27f2b14d60dff94daaab5ff4f7af6
* Update ceilometermiddleware from branch 'master'
to 844925ac94b46791794319a354dadbf1058ff11c
- Update master for stable/2023.1
Add file to the reno documentation build to show release notes for
stable/2023.1.
Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/2023.1.
Sem-Ver: feature
Change-Id: Ic8d47342684956aa18db3e6510461829a720386c
* Update ceilometermiddleware from branch 'master'
to 471d760f861ff1b9f2bc61d7cf993e0586222d31
- Merge "Add Python 3.9 support to classifiers"
- Add Python 3.9 support to classifiers
Python 3.9 is part of tested runtimes for Yoga[1] and has been used in
the voting py39 job.
[1] https://governance.openstack.org/tc/reference/runtimes/yoga.html
Change-Id: I00a0c8dfb2a9de1b9068ed7509dd1e1522fa4f91
* Update ceilometermiddleware from branch 'master'
to a3a3ccbc2baef5fd7db5825c4c0be54928474cc7
- Update master for stable/2023.2
Add file to the reno documentation build to show release notes for
stable/2023.2.
Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/2023.2.
Sem-Ver: feature
Change-Id: I501acde0be6ff329cacd7e190961b45ad40a6a92
* Update ceilometermiddleware from branch 'master'
to 10e3d1500056f2d17907fa79e8012a08fc35010b
- Add 'check_requirements' to CI
Sets oslo.utils lower bound to 4.7.0 to satisfy check_requirements.
Change-Id: I8997cf26173d9c1ec4afd08df5bbaad303b23199
* Update ceilometermiddleware from branch 'master'
to fecef0bd8429066c1b7d6c57cea5a2e3f98dbdfb
- Switch to 2023.1 Python3 unit tests and generic template name
This is an automatically generated patch to ensure unit testing
is in place for all the of the tested runtimes for antelope. Also,
updating the template name to generic one.
See also the PTI in governance [1].
[1]: https://governance.openstack.org/tc/reference/project-testing-interface.html
Change-Id: Ibbe7bdfe588d0df5395ed6ad3e6c25a3f0a463a4
* Update ceilometermiddleware from branch 'master'
to 3cdfa0f29a7472b24075e663874846bd1a23cf1f
- Update master for stable/zed
Add file to the reno documentation build to show release notes for
stable/zed.
Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/zed.
Sem-Ver: feature
Change-Id: I49ae5c5b65ce00a22aea306f0043bc4ab097b3bd
* Update ceilometermiddleware from branch 'master'
to 5c01e19b3846c1a0308d68d428c0cee440172dae
- remove unicode from code
Change-Id: I248fa08a60a548908d6890e61f578b7b7f9aefa6
* Update ceilometermiddleware from branch 'master'
to cac701a53116e65d18414109cacb0e7d0ec35d7b
- Update python testing as per zed cycle testing runtime
In Zed cycle, we have dropped the python 3.6/3.7[1] testing
and its support. Add release notes and update the python
classifier for the same.
[1] https://governance.openstack.org/tc/reference/runtimes/zed.html
Note this change disables one unit test case consistently failing.
It should be fixed later by a separate patch.
Co-Authored-By: Ghanshyam Mann <gmann@ghanshyammann.com>
Change-Id: I6ef3bbb3f8b4aef077320478a00e096e0a57a71e
* Update ceilometermiddleware from branch 'master'
to 9ed2b13d869ee5edeeca77961848786e7ddd85f9
- Update master for stable/yoga
Add file to the reno documentation build to show release notes for
stable/yoga.
Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/yoga.
Sem-Ver: feature
Change-Id: I7b6ca1ec4cfe5781f7655561e6b9674bc6fa7896
* Update ceilometermiddleware from branch 'master'
to 4a2da3e28da69fc3b319c6f1a0fe40d909882f79
- Merge "setup.cfg: Replace dashes with underscores"
- setup.cfg: Replace dashes with underscores
Resolves warnings like the following:
UserWarning: Usage of dash-separated 'description-file' will not be
supported in future versions. Please use the underscore name
'description_file' instead
Change-Id: Iafa5424d5c337226f5795f6e79b530f4e8b499e2
* Update ceilometermiddleware from branch 'master'
to acdfd6b04aefb5f70698dc72a6528f247d4f3a40
- Add Python3 yoga unit tests
This is a patch to ensure unit testing is in place for all the of
the tested runtimes for yoga.
See also the PTI in governance [1].
[1]: https://governance.openstack.org/tc/reference/project-testing-interface.html
This patch is manually created, because the previous patch was not
merged before Xena release and release bot didn't create the automated
patch at that time.
Change-Id: If3069c1711dfda9ab19bf15c335c09db566bf3c1
* Update ceilometermiddleware from branch 'master'
to 258edbb66c66871c4a2a312582fa3f636198b0e6
- Merge "Add Python3 xena unit tests"
- Add Python3 xena unit tests
This is an automatically generated patch to ensure unit testing
is in place for all the of the tested runtimes for xena.
See also the PTI in governance [1].
[1]: https://governance.openstack.org/tc/reference/project-testing-interface.html
Change-Id: I7e395355cb008486fff1b1683364bad9e0e14980
* Update ceilometermiddleware from branch 'master'
to b4c43bfa0467bf1a1bb8452302a3d4cdde467cea
- Update master for stable/xena
Add file to the reno documentation build to show release notes for
stable/xena.
Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/xena.
Sem-Ver: feature
Change-Id: Ie0c5d916a219a56165fbf0bcc10cc08ea11e07c6
* Update ceilometermiddleware from branch 'master'
to 0dc04ba73dfe9faae9b5421cfd6615ed66449bf8
- Merge "Replace the following items with Python 3 style code."
- Replace the following items with Python 3 style code.
- six.iteritems
- six.moves.cStringIO
Change-Id: I8236a7c6c8063c5c5d548b51a49c323ad4c14629
* Update ceilometermiddleware from branch 'master'
to 082dabb1b7186f614664f69db32f80918b20d624
- Update master for stable/wallaby
Add file to the reno documentation build to show release notes for
stable/wallaby.
Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/wallaby.
Sem-Ver: feature
Change-Id: I4bea6b4c808a314dd98dd59d153b923797fc8f21
* Update ceilometermiddleware from branch 'master'
- Add Python3 wallaby unit tests
This is an automatically generated patch to ensure unit testing
is in place for all the of the tested runtimes for wallaby.
See also the PTI in governance [1].
[1]: https://governance.openstack.org/tc/reference/project-testing-interface.html
Change-Id: Ia85123faaf1aadcd8cd1e3f0e816dc38799d053f
* Update ceilometermiddleware from branch 'master'
- Update master for stable/victoria
Add file to the reno documentation build to show release notes for
stable/victoria.
Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/victoria.
Change-Id: I233b3715dae7bd71e1a678a55baeb267ec7851e6
Sem-Ver: feature
* Update ceilometermiddleware from branch 'master'
- Switch to newer openstackdocstheme and reno versions
Switch to openstackdocstheme 2.2.1 and reno 3.1.0 versions. Using
these versions will allow especially:
* Linking from HTML to PDF document
* Allow parallel building of documents
* Fix some rendering problems
Update Sphinx version as well.
Disable openstackdocs_auto_name to use 'project' variable as name.
Change pygments_style to 'native' since old theme version always used
'native' and the theme now respects the setting and using 'sphinx' can
lead to some strange rendering.
openstackdocstheme renames some variables, so follow the renames
before the next release removes them. A couple of variables are also
not needed anymore, remove them.
See also
http://lists.openstack.org/pipermail/openstack-discuss/2020-May/014971.html
Change-Id: I7966fa4281dde7e6340d632333ea8f8b84128bde
* Update ceilometermiddleware from branch 'master'
- Further Cleanup py27 support
This repo is now testing only with Python 3, so let's make
a few cleanups:
- Remove obsolete sections from setup.cfg
- Use newer openstackdocstheme,reno and Sphinx versions
- Remove install_command from tox.ini, the default is fine
- Use TOX_CONSTRAINTS_FILE, UPPER_CONSTRAINTS_FILE is obsolete
- Update hacking to 3.0.1, fix warnings found
- Remove babel.cfg, it's not needed anymore
Change-Id: I60edb7e44e4a8222f564f30157eb31288b85b422
* Update ceilometermiddleware from branch 'master'
- Merge "Bump default tox env from py37 to py38"
- Bump default tox env from py37 to py38
Python 3.8 is now our highest level supported python runtime.
This updates the default tox target environments to swap out
py37 for py38 to make sure local development testing is
covering this version.
This does not impact zuul jobs in any way, nor prevent local
tests against py37. It just changes the default if none is
explicitly provided.
Change-Id: I0bad7c33e0692d3e1e0d59e48afe43f96e903f59
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
* Update ceilometermiddleware from branch 'master'
- 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: I2924b0406a317523e94cb1efdc24cb96b1cba0ee
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
* Update ceilometermiddleware from branch 'master'
- Use unittest.mock instead of third party mock
Now that we no longer support py27, we can use the standard library
unittest.mock module instead of the third party mock lib.
Change-Id: I64f6f5df4d82faef205e5019be5a41c1b1f1f1fa
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
* Update ceilometermiddleware from branch 'master'
- Add Python3 victoria unit tests
This is an automatically generated patch to ensure unit testing
is in place for all the of the tested runtimes for victoria.
See also the PTI in governance [1].
[1]: https://governance.openstack.org/tc/reference/project-testing-interface.html
Change-Id: I48909423d8b440c9bea096d78e9a43721a64a44e
* Update ceilometermiddleware from branch 'master'
- Update master for stable/ussuri
Add file to the reno documentation build to show release notes for
stable/ussuri.
Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/ussuri.
Change-Id: I601c11532c23cdccc8666218757f777045981158
Sem-Ver: feature
* Update ceilometermiddleware from branch 'master'
- Use swift.backend_path from Swift/s3api to extract account/container
Still use PATH_INFO by default if s3api not enabled and swift.backend_path
not available
Depends-On: https://review.opendev.org/#/c/718086/
Change-Id: Ibb5fc6a717b9bc938aa86c4550d156fe93dae65c
* Update ceilometermiddleware from branch 'master'
- Cleanup py27 support
Make a few cleanups:
- Remove python 2.7 stanza from setup.py
- Add requires on python >= 3.6 to setup.cfg so that pypi and pip
know about the requirement
- Remove obsolete sections from setup.cfg:
* Wheel is not needed for python 3 only repo
* Some other sections are obsolete
- Update classifiers
- Update requirements, no need for python_version anymore
Change-Id: I1db16203ad150c6286c0ca833c01a456981d0a73
* Update ceilometermiddleware from branch 'master'
- Replace lib-forward-testing-plugin
This repo is the only user of lib-forward-testing-plugin template,
replace it with a native integration job that installs all repos from
source and runs ceilometer - as the only job in
lib-forward-testing-plugin does.
Change-Id: I255c0ddd220633b566b9376473ede4b7ed16ca34
* Update ceilometermiddleware from branch 'master'
- Drop oslosphinx and use openstackdocstheme
OpenStack moved to openstackdocstheme so use it here instead of
oslosphinx.
Also update the used Sphinx version. This is now in sync with the
versions from requirements/global-requirements.txt .
Change-Id: I0ffbea9b83abe9d9ae3886e7a427fc01637b36ea
* Update ceilometermiddleware from branch 'master'
- Update master for stable/train
Add file to the reno documentation build to show release notes for
stable/train.
Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/train.
Change-Id: Idb3ee39f878ecf60eed10cb53efa61be57a046a7
Sem-Ver: feature
* Update ceilometermiddleware from branch 'master'
- Fix a socket leak in case of broken connection
Change-Id: I39cbbe5915ab95fb0927b0899b8f09870b4c0b07
* Update ceilometermiddleware from branch 'master'
- Merge "Add Python 3 Train unit tests"
- 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: I1ceedbdc843eb7aabfe76f3c0ab619fd89fb7524
Story: #2005924
Task: #34251
* Update ceilometermiddleware from branch 'master'
- Use opendev repository
Change-Id: I9c7c2fd7ef632a13a1802c237169f15338e1f8a4
- OpenDev Migration Patch
This commit was bulk generated and pushed by the OpenDev sysadmins
as a part of the Git hosting and code review systems migration
detailed in these mailing list posts:
http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003603.htmlhttp://lists.openstack.org/pipermail/openstack-discuss/2019-April/004920.html
Attempts have been made to correct repository namespaces and
hostnames based on simple pattern matching, but it's possible some
were updated incorrectly or missed entirely. Please reach out to us
via the contact information listed at https://opendev.org/ with any
questions you may have.
* Update ceilometermiddleware from branch 'master'
- Merge "Update master for stable/stein"
- Update master for stable/stein
Add file to the reno documentation build to show release notes for
stable/stein.
Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/stein.
Change-Id: Id11cff0124cc72e5bfab01e90beb1e59197cdbfa
Sem-Ver: feature
* Update ceilometermiddleware from branch 'master'
- 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.htmlhttps://governance.openstack.org/tc/reference/runtimes/train.html
Change-Id: I0ca06f40683426e95bb83647c902efab74b6b311
- Merge "Switch to stestr"
- add python 3.6 unit test job
This is a mechanically generated patch to add a unit test job running
under Python 3.6 as part of the python3-first goal.
See the python3-first goal document for details:
https://governance.openstack.org/tc/goals/stein/python3-first.html
Change-Id: I2c8a317ab5ebd902a27927fb140e0078da8a6565
Story: #2002586
Task: #24339
- switch documentation job to new PTI
This is a mechanically generated patch to switch the documentation
jobs to use the new PTI versions of the jobs as part of the
python3-first goal.
See the python3-first goal document for details:
https://governance.openstack.org/tc/goals/stein/python3-first.html
Change-Id: I56fb9c79ec4e9b7e9ed656e67d90826b6365ae8a
Story: #2002586
Task: #24339
- import zuul job settings from project-config
This is a mechanically generated patch to complete step 1 of moving
the zuul job settings out of project-config and into each project
repository.
Because there will be a separate patch on each branch, the branch
specifiers for branch-specific jobs have been removed.
Because this patch is generated by a script, there may be some
cosmetic changes to the layout of the YAML file(s) as the contents are
normalized.
See the python3-first goal document for details:
https://governance.openstack.org/tc/goals/stein/python3-first.html
Change-Id: Iac6bad9eea41b3c301ab354336a96b0d867a2412
Story: #2002586
Task: #24339
- Switch to stestr
According to Openstack summit session [1],
stestr is maintained project to which all Openstack projects should migrate.
Let's switch to stestr as other projects have already moved to it.
[1] https://etherpad.openstack.org/p/YVR-python-pti
Change-Id: Ic7db0e419ccf6f7b05058950ec8a76378b428719
- fix tox python3 overrides
We want to default to running all tox environments under python 3, so
set the basepython value in each environment.
We do not want to specify a minor version number, because we do not
want to have to update the file every time we upgrade python.
We do not want to set the override once in testenv, because that
breaks the more specific versions used in default environments like
py35 and py36.
Change-Id: I39b4965e5f9b7b77d12beee09f87fadb23aee5d5
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
* Update ceilometermiddleware from branch 'master'
- Remove setting of version/release from releasenotes
Release notes are version independent, so remove version/release
values. We've found that projects now require the service package
to be installed in order to build release notes, and this is entirely
due to the current convention of pulling in the version information.
Release notes should not need installation in order to build, so this
unnecessary version setting needs to be removed.
Also, use openstackdocstheme for releasenotes.
This is needed for new release notes publishing, see
I56909152975f731a9d2c21b2825b972195e48ee8 and the discussion starting
at
http://lists.openstack.org/pipermail/openstack-dev/2017-November/124480.html
.
Change-Id: I1357eda2330c095bdc1e3a3697faabfbca4b6a8e
Project: openstack/ceilometermiddleware fbd048f4c0041532b81aa6bdbed5d2400b64fc99
Fix default service project to "service"
Both devstack and TripleO uses "service" by default.
Nothing uses "services".
Change-Id: I6723dd0db66f57572ee53eecd89c93137e69e63b
Project: openstack/ceilometermiddleware e2bf485044d8f3743da9298a9e461c5808be31f3
retrieve project id to ignore from keystone
We currently allows only project uuid, but this is a pain for deployer.
Also the default is a project name which doesn't work...
This change queries keystone to retrieve project ids when the
ignore_projects list are names.
By default, if auth_type is not set, we keep the previous behavior to
not query keystone.
Change-Id: I270d080d3e65eb6b0cd823498a4dd37389c49221