This adds functional tests with redis and redis sentinel, to ensure
the current implementation can initialize clients properly.
Change-Id: I6318f6ad00d5b0ee3db1be5e8671a4c346b9daff
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: I28b8d0bdc06a9bd12290180f5e5cdc9e9c82be74
Within 2023.2 python version 3.9 and 3.10 are the
supported python runtimes [1].
[1] https: //review.opendev.org/c/openstack/governance/+/872232
Change-Id: I767de94cb56508c8e9f4cf7c2a0b31f4d7c414ba
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)
Change-Id: Idc494496c547b71f8f669f97bbb94eec7e2371f1
Python 2 support was removed during Ussuri cycle. This change adds
the classifier to clearly state that only Python 3 is supported.
Note that the python 3 only classifier was already added to the other
oslo libraries so this improves consistency among all libraries.
Change-Id: I961f128f9aaaf82cc1345a0c19bdfbae516f8f43
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: Id0c08c4fce10ac3979119a74383d0e869a853571
The file babel.cfg and the sections in setup.cfg are not needed anymore,
translations will be done without these.
Change-Id: Id5f515e01cb68ac0da875da52598704270c9cafb
pymemcache turned out to be far from drop-in replacement.
It will be reintroduced as another backend. See [1].
Closes-bug: #1866008
Related-bug: #1812935
This reverts commit 8a8248d764.
[1] https://review.opendev.org/711220
Co-Authored-By: Hervé Beraud <hberaud@redhat.com>
Change-Id: Ia3b8d42435b0eac1c87b866449b08a1d11818986
Switch memcachepool to use pymemcache.
This change switches from python-memcached to pymemcached for
the memcachepool backend fixing an issue due to the
__new__ attribute reassign.
Change-Id: Icaa6b252145685d1b5667b883e3bf693920b5b93
Closes-Bug: #1812935
openstack-dev was decomissioned this night in https://review.openstack.org/621258
Update openstack-dev to openstack-discuss
Change-Id: I7b19a27e087da7ada66caa16551b66fe19fc7382
Changes doc jobs to not user the pbr autodoc_tree_index_modules
directive to generate module documentation by using the new
sphinxcontrib.apidoc extension.
Depends-On: https://review.openstack.org/560379/
Change-Id: Idc84455cf78b6114b31109b7ef9ab3ac9c97e136
Support for oslo.cache to use the etcd3 grpc gateway based
HTTP API (/v3alpha) using the python-etd3gw library
Change-Id: I41ed9f6ea72641dc1db5fec45920dc41de5088bf
Now that there exists only a gate job for Python 3.5 and not 3.4,
we should remove those references to the 3.4 that is untested.
Change-Id: I3986b19a28f8ac918359abadfde2a8c3ba19f639
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 and removes py33 venv.
Change-Id: Icd3a362b785c8071ddc338092e2f0f311522befe
Register the oslo_cache backends via the dogpile.cache entry points
rather than manually in configure.
Change-Id: If62bbd8c613770926bd116ceaa05463630cbc0c0
Follow new infra setup for translations, see spec
http://specs.openstack.org/openstack-infra/infra-specs/specs/translation_setup.html
for full details.
This basically renames
oslo.cache/locale/oslo.cache.pot to
oslo_cache/locale/oslo_cache.pot. For this we need to update
setup.cfg.
Update also domain name in i18n.py.
The project has no translations currently, let's remove the outdated
pot file, the updated scripts work without them. So, we can just
delete the file and once there are translations, an updated pot file
together with translations can be imported automatically.
Change-Id: I854c82dc99578c5171352cdada13615c6fd22202
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: Ie506b6279cf156087f875c0868f166267244bf3f
The dogpile and mongo backends are optional so therefore the
dependencies that are only used for those backends are optional.
This makes use of the 'extras' capability in setuptools to declare those
as optional dependencies if you're using those backends.
If a consumer of oslo.cache wants to use the dogpile backend, for
example, then they install oslo.cache like 'sudo pip install
oslo.cache[dogpile]'.
Note that the dogpile dependency is left in requirements.txt because
the oslo_cache.core module has an unconditional import on that library.
Change-Id: I28332964d568bda405fb8d1376d50db49d288b94