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.{arith,crypto,databases,dynamics,lfunctions,quadratic_forms}: Replace imports from sage.*.all for namespace packages #35106

Conversation

mkoeppe
Copy link
Contributor

@mkoeppe mkoeppe commented Feb 13, 2023

📚 Description

Fixes #34955

📝 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

Depends on #35119

@tobiasdiez
Copy link
Contributor

There are build errors here

…_rings_abc_finitefield__deprecate_is_finitefield
src/sage/crypto/stream.py Outdated Show resolved Hide resolved
src/sage/databases/findstat.py Show resolved Hide resolved
@codecov-commenter
Copy link

codecov-commenter commented Feb 14, 2023

Codecov Report

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

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

Additional details and impacted files
@@             Coverage Diff             @@
##           develop   #35106      +/-   ##
===========================================
- Coverage    88.62%   88.61%   -0.01%     
===========================================
  Files         2148     2148              
  Lines       398653   398679      +26     
===========================================
- Hits        353308   353292      -16     
- Misses       45345    45387      +42     
Impacted Files Coverage Δ
src/sage/databases/findstat.py 27.45% <0.00%> (-0.03%) ⬇️
...c/sage/rings/finite_rings/finite_field_ntl_gf2e.py 96.29% <ø> (ø)
src/sage/crypto/classical.py 89.10% <100.00%> (ø)
src/sage/crypto/lattice.py 93.84% <100.00%> (ø)
src/sage/crypto/lfsr.py 95.16% <100.00%> (+0.07%) ⬆️
src/sage/crypto/lwe.py 91.98% <100.00%> (+0.07%) ⬆️
src/sage/crypto/mq/rijndael_gf.py 80.09% <100.00%> (-0.05%) ⬇️
src/sage/crypto/public_key/blum_goldwasser.py 88.69% <100.00%> (-0.20%) ⬇️
src/sage/crypto/stream.py 74.73% <100.00%> (ø)
src/sage/crypto/util.py 96.61% <100.00%> (+0.05%) ⬆️
... and 59 more

... and 34 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.

@mkoeppe mkoeppe self-assigned this Feb 18, 2023
@mkoeppe
Copy link
Contributor Author

mkoeppe commented Feb 20, 2023

There's no work item to be done.

@mkoeppe mkoeppe requested a review from tscrim February 20, 2023 05:16
@tobiasdiez
Copy link
Contributor

#35106 (comment)

@mkoeppe
Copy link
Contributor Author

mkoeppe commented Feb 20, 2023

Yes, I have already explained to you what these changes are doing and why they are in scope.

@mkoeppe mkoeppe force-pushed the t/34955/sage__arith_crypto_databases_dynamics_lfunctions_quadratic_forms___replace_imports_from_sage___all_for_namespace_packages branch from b1f9f69 to f9f6542 Compare March 13, 2023 01:13
Matthias Koeppe added 2 commits March 12, 2023 19:23
…nitefield' into t/34955/sage__arith_crypto_databases_dynamics_lfunctions_quadratic_forms___replace_imports_from_sage___all_for_namespace_packages
@github-actions
Copy link

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

@mkoeppe mkoeppe requested a review from dimpase March 13, 2023 08:36
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 b82f457 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
6 participants