Skip to content

Fix sage_setup.clean doctest#37185

Merged
vbraun merged 1 commit intosagemath:developfrom
mkoeppe:sage_setup_clean_doctest
Feb 13, 2024
Merged

Fix sage_setup.clean doctest#37185
vbraun merged 1 commit intosagemath:developfrom
mkoeppe:sage_setup_clean_doctest

Conversation

@mkoeppe
Copy link
Copy Markdown
Contributor

@mkoeppe mkoeppe commented Jan 29, 2024

As reported in https://groups.google.com/g/sage-devel/c/mLtXcaypU3Q/m/jHoVjQ9oAAAJ @kwankyu

This failure was introduced as a side effect of #36591: The pytest discovery of modules disagrees with sage_setup's notion of package directories vs. data directories. We repair it by making sage.tests.books an ordinary package directory (correct because the whole thing is shipped by sagemath-repl).

Fixes #37216

📝 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

@github-actions
Copy link
Copy Markdown

github-actions bot commented Feb 3, 2024

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

@tornaria
Copy link
Copy Markdown
Member

@mkoeppe
Copy link
Copy Markdown
Contributor Author

mkoeppe commented Feb 11, 2024

Thanks!

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.

Failing test in GH action "build", on file sage_setup/clean.py

3 participants