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

Meta-PR: Replace imports from sage.*.all for namespace packages #35110

Conversation

mkoeppe
Copy link
Member

@mkoeppe mkoeppe commented Feb 13, 2023

mkoeppe and others added 27 commits December 18, 2022 13:40
…precate_is_finitefield

SageMath version 9.8.beta6, Release Date: 2022-12-21
…ce_imports_from_sage___all_for_namespace_packages

SageMath version 9.8, Release Date: 2023-02-11
…__replace_imports_from_sage___all_for_namespace_packages

SageMath version 10.0.beta0, Release Date: 2023-02-12
…_imports_from_sage___all_for_namespace_packages

SageMath version 10.0.beta0, Release Date: 2023-02-12
…ic___replace_imports_from_sage___all_for_namespace_packages

SageMath version 10.0.beta0, Release Date: 2023-02-12
…rical_statistics_tests___replace_imports_from_sage___all_for_namespace_packages

SageMath version 10.0.beta0, Release Date: 2023-02-12
…unctions,quadratic_forms} | xargs sed -i.bak 's/GCD as gcd/gcd/'
…lfunctions,quadratic_forms} | xargs sed -i.bak 's/XGCD as xgcd/xgcd/'
…rts_from_sage___all_for_namespace_packages' into t/34201/meta_ticket__replace_imports_from_sage___all_for_namespace_packages
…___all_for_namespace_packages' into t/34201/meta_ticket__replace_imports_from_sage___all_for_namespace_packages
…sage___all_for_namespace_packages' into t/34201/meta_ticket__replace_imports_from_sage___all_for_namespace_packages
…mports_from_sage___all_for_namespace_packages' into t/34201/meta_ticket__replace_imports_from_sage___all_for_namespace_packages
…s_quadratic_forms___replace_imports_from_sage___all_for_namespace_packages' into t/34201/meta_ticket__replace_imports_from_sage___all_for_namespace_packages
…cs_tests___replace_imports_from_sage___all_for_namespace_packages' into t/34201/meta_ticket__replace_imports_from_sage___all_for_namespace_packages
@mkoeppe mkoeppe force-pushed the t/34201/meta_ticket__replace_imports_from_sage___all_for_namespace_packages branch from f2adb08 to 81b5806 Compare March 13, 2023 01:27
src/.relint.yml: Allow .all imports in some more modules

fixup
@mkoeppe mkoeppe force-pushed the t/34201/meta_ticket__replace_imports_from_sage___all_for_namespace_packages branch from 81b5806 to d2be519 Compare March 13, 2023 01:43
…nitefield' into t/34955/sage__arith_crypto_databases_dynamics_lfunctions_quadratic_forms___replace_imports_from_sage___all_for_namespace_packages
…s_quadratic_forms___replace_imports_from_sage___all_for_namespace_packages' into t/34201/meta_ticket__replace_imports_from_sage___all_for_namespace_packages
@github-actions
Copy link

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

@mkoeppe mkoeppe requested a review from dimpase March 13, 2023 20:48
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

@mkoeppe
Copy link
Member Author

mkoeppe commented Mar 14, 2023

Thanks!

@vbraun vbraun merged commit 80511e1 into sagemath:develop Mar 26, 2023
@mkoeppe mkoeppe mentioned this pull request Mar 28, 2023
5 tasks
vbraun pushed a commit that referenced this pull request Apr 6, 2023
    
<!-- Please provide a concise, informative and self-explanatory title.
-->
<!-- Don't put issue numbers in the title. Put it in the Description
below. -->
<!-- For example, instead of "Fixes #12345", use "Add a new method to
multiply two integers" -->

### 📚 Description

This is a follow-up on:
- #35110

As preparation for #35322, which is changing more packages to implicit
namespace packages, we remove `.all` imports from these packages
throughout the Sage library.

This is part of:
- #29705

<!-- Describe your changes here in detail. -->
<!-- Why is this change required? What problem does it solve? -->
<!-- If this PR resolves an open issue, please link to it here. For
example "Fixes #12345". -->
<!-- If your change requires a documentation PR, please link it
appropriately. -->

### 📝 Checklist

<!-- Put an `x` in all the boxes that apply. It should be `[x]` not `[x
]`. -->

- [x] The title is concise, informative, and self-explanatory.
- [x] The description explains in detail what this PR is about.
- [x] I have linked a relevant issue or discussion.
- [ ] I have created tests covering the changes.
- [ ] I have updated the documentation accordingly.

### ⌛ Dependencies

<!-- List all open PRs that this PR logically depends on
- #12345: short description why this is a dependency
- #34567: ...
-->
- Depends on #35418
- Depends on #35358
<!-- If you're unsure about any of these, don't hesitate to ask. We're
here to help! -->
    
URL: #35372
Reported by: Matthias Köppe
Reviewer(s): Gonzalo Tornaría
@mkoeppe mkoeppe deleted the t/34201/meta_ticket__replace_imports_from_sage___all_for_namespace_packages branch April 7, 2023 18:09
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.

Meta-ticket: Replace imports from sage.*.all for namespace packages
6 participants