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

Conflicting requirements #42

Open
misli opened this issue Sep 23, 2019 · 1 comment
Open

Conflicting requirements #42

misli opened this issue Sep 23, 2019 · 1 comment
Labels
bug Something isn't working good first issue Good for newcomers

Comments

@misli
Copy link

misli commented Sep 23, 2019

You require explicit versions of channels and channels-redis, which are incompatible.
It makes this package kind of not installable.

$ cat requirements.in
django-chatter
$ pip-compile --upgrade --no-index --output-file=requirements.txt requirements.in
Could not find a version that matches asgiref~=2.1,~=2.3,~=3.0 (from channels==2.1.7->django-chatter==1.0.7->-r requirements.in (line 1))
Tried: 0.8, 0.9, 0.9.1, 0.10.0, 0.11.0, 0.11.0, 0.11.0, 0.11.1, 0.11.1, 0.11.2, 0.11.2, 0.12.0, 0.12.0, 0.12.1, 0.12.1, 0.13.0, 0.13.0, 0.13.2, 0.13.2, 0.13.3, 0.14.0, 0.14.0, 1.0.0, 1.0    There are incompatible versions in the resolved dependencies:
  asgiref~=2.1 (from channels-redis==2.3.3->django-chatter==1.0.7->-r requirements.in (line 1))
  asgiref~=2.3 (from channels==2.1.7->django-chatter==1.0.7->-r requirements.in (line 1))
  asgiref~=3.0 (from daphne==2.3.0->channels==2.1.7->django-chatter==1.0.7->-r requirements.in (line 1))
@ishtiaque06
Copy link
Collaborator

ishtiaque06 commented Sep 25, 2019

Thank you for bringing this to the front!

I've actually ran into this issue before but had forgotten to make a note of it. I think this is actually happening because I haven't specified a daphne version in my setup.py file, so it's defaulting to the latest version, which is actually incompatible with asgiref~=2.3. I've only tested this package using daphne==2.2.5, channels==2.1.7 and channels-redis==2.3.3 (as shown in dev_requirements.txt). I eventually plan on making this package compatible with the latest versions of its dependencies, but for now, pull requests to modify setup.py are welcome.

@ishtiaque06 ishtiaque06 added bug Something isn't working good first issue Good for newcomers labels Sep 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants