-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Remove usage of deprecated AsChannelFirst
, AddChannel
, and SplitChannel
#6281
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
Conversation
Signed-off-by: Behrooz <[email protected]>
Hi @ericspod @drbeh , May I know the latest status and plan for this PR? Thanks. |
I think @drbeh still wanted to work on this one to get the other old classes removed. I'm fine removing them so long as they are all gone from our tutorials and bootcamp materials. We could keep them as wrappers around the correct classes to use and set a deletion version as 1.3 if people aren't sure about removing now. |
That's right! We should make them as aliases but my question is do we really need to deprecate these aliases? Since they are aliases, the maintenance cost is very low. I am just wondering if we want to keep them to avoid unnecessary breaking changes. What do you think? @ericspod @Nic-Ma @wyli |
I'd say we should to push people towards the better practice of using the real transforms and not these aliases. Once we've had these in place for a version of two we can remove them safely, they are lightweight but less stagnant code is still better. |
AsChannelFirst
AsChannelFirst
AsChannelFirst
and AsChannelFirstd
Signed-off-by: Behrooz <[email protected]>
Are we removing the classes entirely and no aliases? |
Signed-off-by: Behrooz <[email protected]>
5624671
to
bf1ef3f
Compare
@ericspod I am a bit unsure about the best way to do that. Can you help to find the best way to move forward?
|
Thanks @drbeh, I'd say option 3 is the solution since we deprecated the class but didn't set a removal version. We can create a wrapper and set the removal for 1.3, meanwhile we can remove the documentation and tests as you've done and rely on the tests for If instead no one's worried about people using these classes we can go with option 1. |
Sure, thanks, I'll update the PR accordingly. |
Signed-off-by: Behrooz <[email protected]>
Signed-off-by: Behrooz <[email protected]>
Signed-off-by: Behrooz <[email protected]>
Signed-off-by: Behrooz <[email protected]>
for more information, see https://pre-commit.ci
Signed-off-by: Behrooz <[email protected]>
AsChannelFirst
and AsChannelFirstd
AsChannelFirst
, AddChannel
, and SplitChannel
Signed-off-by: Behrooz <[email protected]>
Signed-off-by: Behrooz <[email protected]>
Signed-off-by: Behrooz <[email protected]>
Signed-off-by: Behrooz <[email protected]>
@ericspod I made aliases (wrapper classes) for these deprecated classes, set |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me. Thanks! We should see if anyone else has any comments.
/build |
Fixes #6280
Description
This PR removes the usage of
AsChannelFirst
,AddChannel
, andSplitChannel
(which are deprecated since v0.8) and add removed version to v1.3.Types of changes
./runtests.sh -f -u --net --coverage
../runtests.sh --quick --unittests --disttests
.make html
command in thedocs/
folder.