Skip to content

Drop cachelib version constraint

This was originally added in: bea8d50d

When trying to run application that uses this (example pyload-ng) this can lead to error:

Traceback (most recent call last):
  File "/usr/lib/python3.12/site-packages/pkg_resources/__init__.py", line 600, in _build_master
    ws.require(__requires__)
  File "/usr/lib/python3.12/site-packages/pkg_resources/__init__.py", line 937, in require
    needed = self.resolve(parse_requirements(requirements))
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/pkg_resources/__init__.py", line 798, in resolve
    dist = self._resolve_dist(
           ^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/pkg_resources/__init__.py", line 844, in _resolve_dist
    raise VersionConflict(dist, req).with_context(dependent_req)
pkg_resources.ContextualVersionConflict: (cachelib 0.13.0 (/usr/lib/python3.12/site-packages), Requirement.parse('cachelib<0.10.0,>=0.9.0'), {'Flask-Caching'})

This has been also resolved upstream, but it is not in any released version yet:

Merge request reports

Loading