Skip to content

Renamed internal methods in core channel layer. #410

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

Merged
merged 5 commits into from
Jul 22, 2025

Conversation

carltongibson
Copy link
Member

@carltongibson carltongibson commented Mar 30, 2025

Internal API was renamed in Channels 4.2.1

Initial rename will work for new versions, but not older channels versions. Maybe just need to make channels>=4.2.1. a requirement.

@carltongibson
Copy link
Member Author

Will add compatibility fallbacks in django/channels#2145 — we can resolve this more leisurely.

@shcheklein
Copy link

@andrewgodwin @carltongibson what is the status of this, folks? can it be merged / released by chance? Can we make channels>=4.2.1 in the new release?

@carltongibson
Copy link
Member Author

@shcheklein Channels has fallbacks here. Are you hitting an error?

@shcheklein
Copy link

@carltongibson no, no errors. Tons of warnings on our CI.

@carltongibson
Copy link
Member Author

Ok, sure. So you can filter those in the short run.

This PR needs a bit of work to be merged. We're currently testing all the way back to Channels 3 and various versions of the Redis python dependency. All of that would need removing from the tox and GHA configs. Etc. If you'd fancy picking that up it would be great.

@carltongibson carltongibson force-pushed the update-for-channels-4.2.1 branch from d5d994a to 00be12e Compare July 22, 2025 07:59
Internal API was renamed in Channels 4.2.1
@carltongibson carltongibson force-pushed the update-for-channels-4.2.1 branch from 00be12e to be98e28 Compare July 22, 2025 08:07
- Drop testing against Channels 3.
- Test against latest Channels 4.x
- Continue to test against Channels development branch.
@carltongibson carltongibson force-pushed the update-for-channels-4.2.1 branch from fcdee96 to df9b70e Compare July 22, 2025 13:06
- Update tested versions to 5, 6, and main.
- Simplify matrix to focus outliers against known versions.
@carltongibson carltongibson marked this pull request as ready for review July 22, 2025 13:24
@carltongibson carltongibson merged commit 8498605 into main Jul 22, 2025
6 checks passed
@carltongibson carltongibson deleted the update-for-channels-4.2.1 branch July 22, 2025 13:43
@carltongibson
Copy link
Member Author

@shcheklein It turns out I got a moment. Here you go: https://pypi.org/project/channels-redis/4.3.0/

@shcheklein
Copy link

@carltongibson amazing, thank you!!

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

Successfully merging this pull request may close these issues.

2 participants