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

sage.{functions,interfaces,symbolic}: Replace imports from sage.*.all for namespace packages #35105

Conversation

mkoeppe
Copy link
Member

@mkoeppe mkoeppe commented Feb 13, 2023

📚 Description

Fixes #34954

📝 Checklist

  • I have made sure that the title is self-explanatory and the description concisely explains the PR.
  • I have linked an issue or discussion.
  • I have created tests covering the changes.
  • I have updated the documentation accordingly.

⌛ Dependencies

@mkoeppe mkoeppe added this to the sage-10.0 milestone Feb 13, 2023
@mkoeppe mkoeppe changed the title T/34954/sage functions interfaces symbolic replace imports from sage all for namespace packages sage.{functions,interfaces,symbolic}: Replace imports from sage.*.all for namespace packages Feb 13, 2023
@codecov-commenter
Copy link

codecov-commenter commented Feb 13, 2023

Codecov Report

Patch coverage: 76.00% and project coverage change: -0.01 ⚠️

Comparison is base (f449b14) 88.62% compared to head (59e45bc) 88.61%.

Additional details and impacted files
@@             Coverage Diff             @@
##           develop   #35105      +/-   ##
===========================================
- Coverage    88.62%   88.61%   -0.01%     
===========================================
  Files         2148     2148              
  Lines       398653   398669      +16     
===========================================
- Hits        353308   353299       -9     
- Misses       45345    45370      +25     
Impacted Files Coverage Δ
src/sage/interfaces/axiom.py 27.47% <0.00%> (-0.11%) ⬇️
src/sage/interfaces/fricas.py 33.06% <0.00%> (-0.20%) ⬇️
src/sage/interfaces/octave.py 32.51% <0.00%> (ø)
src/sage/interfaces/sage0.py 80.43% <0.00%> (-0.59%) ⬇️
src/sage/interfaces/scilab.py 43.75% <0.00%> (ø)
src/sage/functions/hypergeometric.py 89.54% <100.00%> (ø)
src/sage/functions/piecewise.py 91.56% <100.00%> (+0.12%) ⬆️
src/sage/interfaces/genus2reduction.py 95.55% <100.00%> (+0.10%) ⬆️
src/sage/interfaces/maxima_abstract.py 82.24% <100.00%> (ø)
src/sage/interfaces/singular.py 88.83% <100.00%> (+0.06%) ⬆️
... and 1 more

... and 23 files with indirect coverage changes

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

Copy link
Contributor

@tobiasdiez tobiasdiez left a comment

Choose a reason for hiding this comment

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

LGTM except for a minor issue.

src/sage/interfaces/sage0.py Show resolved Hide resolved
…ic___replace_imports_from_sage___all_for_namespace_packages
@mkoeppe
Copy link
Member Author

mkoeppe commented Feb 17, 2023

Doctest failure in sage/interfaces/maxima.py seems unrelated

@mkoeppe mkoeppe requested a review from tscrim February 17, 2023 01:53
@mkoeppe mkoeppe self-assigned this Feb 18, 2023
…ic___replace_imports_from_sage___all_for_namespace_packages
@mkoeppe
Copy link
Member Author

mkoeppe commented Feb 20, 2023

What needs work here?

@mkoeppe
Copy link
Member Author

mkoeppe commented Feb 20, 2023

One can always imagine more complicated solutions, but that does not mean that there's anything to fix here.

…ic___replace_imports_from_sage___all_for_namespace_packages
…ic___replace_imports_from_sage___all_for_namespace_packages
…ic___replace_imports_from_sage___all_for_namespace_packages
@github-actions
Copy link

Documentation preview for this PR is ready! 🎉
Built with commit: 59e45bc

Copy link
Member

@dimpase dimpase left a comment

Choose a reason for hiding this comment

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

lgtm

@vbraun vbraun merged commit 308cdec into sagemath:develop Mar 19, 2023
vbraun pushed a commit that referenced this pull request Mar 26, 2023
…ages

    
<!-- ^^^^^
Please provide a concise, informative and self-explanatory title.
Don't put issue numbers in there, do this in the PR body below.
For example, instead of "Fixes #1234" use "Introduce new method to
calculate 1+1"
-->
### 📚 Description
Fixes #34201

<!-- Describe your changes here in detail -->
<!-- Why is this change required? What problem does it solve? -->
<!-- If it resolves an open issue, please link to the issue here. For
example "Closes #1337" -->

### 📝 Checklist

<!-- Put an `x` in all the boxes that apply. -->
<!-- If your change requires a documentation PR, please link it
appropriately -->
<!-- If you're unsure about any of these, don't hesitate to ask. We're
here to help! -->

- [x] I have made sure that the title is self-explanatory and the
description concisely explains the PR.
- [x] I have linked an issue or discussion.
- [ ] I have created tests covering the changes.
- [ ] I have updated the documentation accordingly.

### ⌛ Dependencies
<!-- List all open pull requests that this PR logically depends on -->
<!--
- #xyz: short description why this is a dependency
- #abc: ...
-->
- Depends on #35090
- Depends on #35098
- Depends on #35099
- Depends on #35105
- Depends on #35106
- Depends on #35107
    
URL: #35110
Reported by: Matthias Köppe
Reviewer(s): Dima Pasechnik
@tobiasdiez tobiasdiez mentioned this pull request Apr 12, 2023
5 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

sage.{functions,interfaces,symbolic}: Replace imports from sage.*.all for namespace packages
6 participants