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

MAINT: restore access to deprecated private namespaces #15008

Merged
merged 1 commit into from Nov 10, 2021

Conversation

rgommers
Copy link
Member

@rgommers rgommers commented Nov 9, 2021

These all had compatibility shims for direct import (e.g.
from scipy.io import arff), but not for access like:

from scipy import io
io.arff.xxx

This restores that access. The changes in this commit don't trigger
a deprecation warning, however use of any object in the now-restored
namespaces will trigger such a warning.

FYI @Smit-create, @czgdp1807

These all had compatibility shims for direct import (e.g.
`from scipy.io import arff`), but not for access like:

    from scipy import io
    io.arff.xxx

This restores that access. The changes in this commit don't trigger
a deprecation warning, however use of any object in the now-restored
namespaces will trigger such a warning.
Copy link
Member

@perimosocordiae perimosocordiae left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sparse module changes look fine to me.

@rgommers
Copy link
Member Author

Thanks for the review @perimosocordiae.

Because this unbreaks some users of nightly builds and the changes to other submodules are all the same as those for sparse, I'll merge this.

@rgommers rgommers merged commit e45803b into scipy:master Nov 10, 2021
@rgommers rgommers deleted the depr-namespaces branch November 10, 2021 10:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
maintenance Items related to regular maintenance tasks
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants