-
-
Notifications
You must be signed in to change notification settings - Fork 5.4k
DEP: Deprecate private namespaces in scipy.linalg
#14872
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
Is it possible to use |
Yes, I have used |
That's strange. GitHub should have caught this and show nonunderscored files as new files rather than diffing them. |
This is a known problem with the GitHub UI - reviewing individual commits will work around this. Each of these PRs should have 2 commits, the first with a bunch of |
Ah OK then nevermind. I am still not looking forward to this change and it's possible breakage downstream but let's do it once and for all 😄 |
The Lint job doesn't always have to pass, but it would be good to clean it up as much as possible. You can run the checks locally with
Also, could you rebase rather than merge master into your branch @Smit-create? We can't squash-merge these PRs, so clean commit history with 2 commits only is more important than for other types of PRs. |
So for public namespaces we have left (as documented in http://scipy.github.io/devdocs/reference/index.html):
If I looked at the list of |
I think we have to merge this as quickly as possible to avoid constantly hit by linalg changes that are coming in. Once you are happy with the linter let's review and push it in. Then we can deal with the fallout in other PRs |
We should be able to get it in today I think. |
Oh, I left it because: Lines 10 to 12 in a542b67
is generated from: Lines 90 to 93 in a542b67
So, should I change it as |
Probably easier to leave the compiled extension as it is now, and just rename |
This bot is relentless :) |
Initially it showed a few failures but now there are a bunch of errors, I'll resolve them in some other PR |
That's not necessary - the check only runs on the diff in the PR, so let's just fix the obvious problems and ignore the rest (once we merge this PR, master will not have a problem). For example "line too long" can be safely ignored, often it makes code harder to read rather than easier if it's just over 79 characters long. |
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.
LGTM now, thanks @Smit-create!
cc @rgommers