This repo was created by accident, use deb-python-oslo.cache
instead.
Needed-By: I1ac1a06931c8b6dd7c2e73620a0302c29e605f03
Change-Id: I81894aea69b9d09b0977039623c26781093a397a
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
The directory openstack/common doesn't exist any more.
So remove it from flake8 exclude list.
Another commit I46728e40e416bb532b86e2fc29361434fdee1296 fixes
this in oslo-cookiecutter.
Change-Id: I7aa53f37a21151905d9b51836fd244c832c9f6f3
Due to the way caching is disabled the SHOULD_CACHE_FN() is used
to determine if new values are stored in the cache backend, and is
only called when the regeneration is required. If dogpile is
configured to connect to a memcache, redis, etc to store data
it is possible with caching disabled to still pull values from
the cache (SHOULD_CACHE_FN has no bearing on reads).
The issue described only impacts the use of the memoization
decorator.
This change forces dogpile to use the null backend if caching is
globally disabled to ensure no data is read from the external
cache. This will not affect subsystem disabling of cache.
Even with cache disabled but reads coming from the external cache,
there stale data is not a concern as invalidates will still be
processed and the data from the backend will eventually timeout
in most cases.
Change-Id: I845b6cc18faa2be516676eeacc574473ca84c995
Closes-Bug: #1567413
assertTrue is weaker than assertEqual(True,..) because
assertEqual also compares the type.
This reverts commit 749ea50598.
Change-Id: I1a716657c204feea2d07f9c4241d101f2c1c4621
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
Because python creates pyc|pyo files and __pycache__
directories during tox runs, certain changes in the tree,
like deletes of files, or switching branches, can create
spurious errors.
The target bytecodes for deletion are in normal directories,
but not in dot started directory.
Change-Id: I747401d1c895cc0bffc4666054fdc01264c6fd0f
The usage of assertEqual(True/False, ***) should be changed
to a meaningful format of assertTrue/False(***).
Change-Id: I978e6c171c2a9adeb0f9b8edb15ce81c4d7c4c7d
Closes-Bug:#1512207
LOG.warn is deprecated. It still used in a few places.
Updated to non-deprecated LOG.warning.
Change-Id: I68f4ccdd3cc5923ef1db40a80857a915e4e583e1
Closes-Bug:#1508442
Everything in this file is automatically generated by pbr. There
appears to be no good reason to keep it around.
Change-Id: Ie4931087702815e1b30ee88a76932a329d5db8aa