Skip to content

Conversation

mkoeppe
Copy link
Contributor

@mkoeppe mkoeppe commented Jan 28, 2024

A module-level import is moved back inside methods so that the sagemath-categories distribution works again.

📝 Checklist

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

⌛ Dependencies

Copy link

Documentation preview for this PR (built with commit d2fa576; changes) is ready! 🎉

@yyyyx4
Copy link
Member

yyyyx4 commented Feb 1, 2024

Question for the future: How can we test for such problems?

@mkoeppe
Copy link
Contributor Author

mkoeppe commented Feb 1, 2024

The "Build & Test" CI is already testing it on every PR (see section "Test modularized distributions"). For example, you can see the failure here: https://github.com/sagemath/sage/actions/runs/7706707056/job/21002697986#step:15:247

Currently the CI is configured so that this failure does not cause the "Build & Test" to fail. (#36498 is changing that -- waiting for review.)

@vbraun vbraun merged commit b5f69b0 into sagemath:develop Feb 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants