-
-
Notifications
You must be signed in to change notification settings - Fork 5.1k
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
DEP: Deprecate private namespaces in scipy.optimize
#14966
Conversation
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.
The second commit needs a couple of changes to setup.py
- there are still moduleTNC.so
and minpack2.so
left. Could you give those an underscore as well?
One other minor issue I spotted.
Also, CI is still broken. |
Ah! okay. No worries. I will do that. |
2cbca6e
to
9200c3d
Compare
I am fixing mypy errors. Will push after verifying locally. |
The doc build is still broken, trying to use |
I get the following warning in docs, docstring of _odrpack.odr:16: WARNING: py:obj reference target not found: ODR
docstring of _odrpack.odr:28: WARNING: py:obj reference target not found: ODR
/Users/czgdp1807/scipy_project/scipy/build/testenv/lib/python3.9/site-packages/scipy/optimize/_root.py:docstring of scipy.optimize._root.root:86: WARNING: py:obj reference target not found: nonlin
/Users/czgdp1807/scipy_project/scipy/build/testenv/lib/python3.9/site-packages/scipy/odr/__init__.py:docstring of scipy.odr:29:<autosummary>:1: WARNING: py:obj reference target not found: scipy.odr.ODR
/Users/czgdp1807/scipy_project/scipy/build/testenv/lib/python3.9/site-packages/scipy/optimize/__init__.py:docstring of scipy.optimize:396: WARNING: py:mod reference target not found: scipy.optimize.nonlin
release/0.11.0-notes.rst:85: WARNING: py:obj reference target not found: nonlin
release/1.6.0-notes.rst:47: WARNING: py:obj reference target not found: scipy.odr.ODR And the following message,
Are they okay? |
I think other test failures are unrelated? |
I'll have a look, the docs warnings are slightly odd - unclear to me why the ODR ones are showing up now for example. |
I think in release notes we use module names before this deprecation. Hence, now |
yes we should, just to avoid doc build warnings |
Hmm, I fixed most things, but I'd prefer to get rid of that, moving to |
None here, sounds like a good plan to me |
Only thumbs up for not making CI is green except for the expected linting complaints, so in it goes. Thanks @czgdp1807, all. |
Reference issue
gh-14360
What does this implement/fix?
Additional information
cc: @rgommers