Skip to content

dependency conflicts - Getting Started pip #3643

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

Closed
CarlFK opened this issue May 10, 2025 · 2 comments
Closed

dependency conflicts - Getting Started pip #3643

CarlFK opened this issue May 10, 2025 · 2 comments

Comments

@CarlFK
Copy link

CarlFK commented May 10, 2025

I'm not sure if this is really and error, but it says it is.

the steps from #3 of https://github.com/redis/redis-py/blob/master/CONTRIBUTING.md#getting-started

python -m venv .venv
source .venv/bin/activate
pip install -r dev_requirements.txt
pip install -e .[jwt]
(.venv) videoteam@voctotest:~/rt/redis-py$ pip install -e .[jwt]
Obtaining file:///home/videoteam/rt/redis-py
  Installing build dependencies ... done
  Checking if build backend supports build_editable ... done
  Getting requirements to build editable ... done
  Installing backend dependencies ... done
  Preparing editable metadata (pyproject.toml) ... done
Requirement already satisfied: async-timeout>=4.0.3 in /home/videoteam/rt/.venv/lib/python3.11/site-packages (from redis==5.2.1) (5.0.1)
Requirement already satisfied: pyjwt>=2.9.0 in /home/videoteam/rt/.venv/lib/python3.11/site-packages (from redis==5.2.1) (2.9.0)
Building wheels for collected packages: redis
  Building editable for redis (pyproject.toml) ... done
  Created wheel for redis: filename=redis-5.2.1-py3-none-any.whl size=5130 sha256=ce3abb170a85c16582020c84f8b38fbe72675da61404213586d11ce307ed0d02
  Stored in directory: /tmp/pip-ephem-wheel-cache-o24injb_/wheels/4a/27/0b/6cfbe38718a26c12394c496437406b4da7e3c2a4739ae87511
Successfully built redis
Installing collected packages: redis
  Attempting uninstall: redis
    Found existing installation: redis 5.3.0
    Uninstalling redis-5.3.0:
      Successfully uninstalled redis-5.3.0
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
redis-entraid 0.4.0b2 requires redis~=5.3.0b3, but you have redis 5.2.1 which is incompatible.
Successfully installed redis-5.2.1
@petyaslavova
Copy link
Collaborator

Hi @CarlFK, thanks for notifying us! We will check how this can be resolved soon.

The issue stems from a sub-dependency of one of our test dependencies, which references a different version of our library than the one defined in the code base.
While this mismatch doesn’t cause any actual problems, it does result in an error message being printed, which can be confusing or misleading.

@petyaslavova
Copy link
Collaborator

Fixed with updated redis-entraid version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants