Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lock cachelib dependency version #381

Closed
Caetan95 opened this issue Jul 12, 2022 · 1 comment
Closed

Lock cachelib dependency version #381

Caetan95 opened this issue Jul 12, 2022 · 1 comment

Comments

@Caetan95
Copy link

Hello,

version 1.11.1 doesn't lock cachelib dependency version, so the latest one can have some breaking changes as the following

Traceback (most recent call last):
File "/usr/local/lib/python3.8/site-packages/webservices_portal/wsgi.py", line 4, in <module>
app = create_app()
File "/usr/local/lib/python3.8/site-packages/webservices_portal/core/app.py", line 51, in create_app
cache.init_app(app)
File "/usr/local/lib/python3.8/site-packages/flask_caching/__init__.py", line 141, in init_app
self._set_cache(app, config)
File "/usr/local/lib/python3.8/site-packages/flask_caching/__init__.py", line 172, in _set_cache
app.extensions["cache"][self] = cache_factory(
File "/usr/local/lib/python3.8/site-packages/flask_caching/backends/rediscache.py", line 90, in factory
new_class = cls(*args, **kwargs)
File "/usr/local/lib/python3.8/site-packages/flask_caching/backends/rediscache.py", line 62, in __init__
self._write_client = self._read_clients = self._client
AttributeError: 'RedisCache' object has no attribute '_client'
unable to load app 0 (mountpoint='') (callable not found or import error)
@northernSage
Copy link
Member

It was pinned in 2.0.0

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 29, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

2 participants