django / channels_redis

Redis channel layer backend for Django Channels
BSD 3-Clause "New" or "Revised" License
601 stars 197 forks source link

Failed compatibility with `channels` beta version #324

Closed DmytroLitvinov closed 2 years ago

DmytroLitvinov commented 2 years ago

I have been using in the production next version of packages:

channels==3.0.5
    # via
    #   -r requirements.in
    #   channels-redis
channels-redis==4.0.0b1
    # via -r requirements.in

And I tried to upgrade channels to also 4.0.0b1 but it raised me an issue regarding compatibility of my packages. I am using pip-tools to sync version of packages and I have next line in my requirements.in file:

channels>=4.0.0b1
channels-redis>=4.0.0b1

And when I tried to compile .txt file, I have next error:

Could not find a version that matches channels<4,>=4.0.0b1 (from -r requirements.in (line 31))
Tried: 0.1, 0.1.1, 0.7, 0.8, 0.9, 0.9.1, 0.9.2, 0.9.3, 0.9.4, 0.9.5, 0.10.0, 0.10.1, 0.10.2, 0.10.3, 0.10.3, 0.11.0, 0.12.0, 0.12.0, 0.13.0, 0.13.0, 0.13.1, 0.13.1, 0.14.0, 0.14.0, 0.14.1, 0.14.2, 0.14.3, 0.15.0, 0.15.0, 0.15.1, 0.15.1, 0.16.0, 0.16.0, 0.16.1, 0.16.1, 0.17.0, 0.17.0, 0.17.1, 0.17.1, 0.17.2, 0.17.2, 0.17.3, 0.17.3, 1.0.0, 1.0.0, 1.0.1, 1.0.1, 1.0.2, 1.0.2, 1.0.3, 1.0.3, 1.1.0, 1.1.0, 1.1.1, 1.1.1, 1.1.2, 1.1.2, 1.1.3, 1.1.3, 1.1.4, 1.1.4, 1.1.5, 1.1.5, 1.1.6, 1.1.6, 1.1.7, 1.1.7, 1.1.8, 1.1.8, 2.0.0, 2.0.1, 2.0.1, 2.0.2, 2.0.2, 2.1.0, 2.1.0, 2.1.1, 2.1.1, 2.1.2, 2.1.2, 2.1.3, 2.1.3, 2.1.4, 2.1.4, 2.1.5, 2.1.5, 2.1.6, 2.1.6, 2.1.7, 2.1.7, 2.2.0, 2.2.0, 2.3.0, 2.3.0, 2.3.1, 2.3.1, 2.4.0, 2.4.0, 2.4.0+urlparse.38, 2.4.0+urlparse.38, 3.0.0, 3.0.0, 3.0.1, 3.0.1, 3.0.2, 3.0.2, 3.0.3, 3.0.3, 3.0.4, 3.0.4, 3.0.5, 3.0.5
Skipped pre-versions: 4.0.0b1, 4.0.0b1
There are incompatible versions in the resolved dependencies:
  channels>=4.0.0b1 (from -r requirements.in (line 31))
  channels<4 (from channels-redis==4.0.0b1->-r requirements.in (line 32))

The issue itself in the setup.py.

DmytroLitvinov commented 2 years ago

Hi @carltongibson , Prepared a fix in related MR. Could you please review it and release new beta version?