8000 Replace doctest runner by pytest in ci by tobiasdiez · Pull Request #36981 · sagemath/sage · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Replace doctest runner by pytest in ci #36981

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

Draft
wants to merge 84 commits into
base: develop
Choose a base branch
from

Conversation

tobiasdiez
Copy link
Contributor
@tobiasdiez tobiasdiez commented Dec 29, 2023

Replace sage's custom doctest runner by pytest in ci.

TODO:

  • Require pytest >= 8.1 (because consider_namespace_packages was added there)

📝 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
github-actions bot commented Feb 25, 2024

Documentation preview for this PR (built with commit ddf825f; changes) is ready! 🎉
This preview will update shortly after each push to this PR.

@tobiasdiez
Copy link
Contributor Author
tobiasdiez commented Mar 30, 2025

Another error in CI:

src/sage/algebras/lie_conformal_algebras/abelian_lie_conformal_algebra.py ...
src/sage/algebras/lie_conformal_algebras/affine_lie_conformal_algebra.py ....
src/sage/algebras/lie_conformal_algebras/bosonic_ghosts_lie_conformal_algebra.py ...
src/sage/algebras/lie_conformal_algebras/fermionic_ghosts_lie_conformal_algebra.py ...
src/sage/algebras/lie_conformal_algebras/finitely_freely_generated_lca.py ......
src/sage/algebras/lie_conformal_algebras/free_bosons_lie_conformal_algebra.py ....
src/sage/algebras/lie_conformal_algebras/free_fermions_lie_conformal_algebra.py ....
src/sage/algebras/lie_conformal_algebras/freely_generated_lie_conformal_algebra.py ...
src/sage/algebras/lie_conformal_algebras/graded_lie_conformal_algebra.py ..
src/sage/algebras/lie_conformal_algebras/lie_conformal_algebra.py ...
/home/runner/miniconda3/envs/sage-dev/lib/python3.12/multiprocessing/resource_tracker.py:255: UserWarning: resource_tracker: There appear to be 5 leaked shared_memory objects to clean up at shutdown
  warnings.warn('resource_tracker: There appear to be %d '
src/sage/algebras/lie_conformal_algebras/lie_conformal_algebra_element.py 

and

src/sage/algebras/hecke_algebras/ariki_koike_algebra.py .............................................
src/sage/algebras/hecke_algebras/ariki_koike_specht_modules.py ............
/home/runner/miniconda3/envs/sage-dev/lib/python3.12/multiprocessing/resource_tracker.py:255: UserWarning: resource_tracker: There appear to be 5 leaked shared_memory objects to clean up at shutdown
  warnings.warn('resource_tracker: There appear to be %d '
src/sage/algebras/hecke_algebras/cubic_hecke_algebra.py ........

@tobiasdiez
Copy link
Contributor Author

And

// linux
Error: [doctest] sage.calculus.calculus.laplace
src/sage/calculus/calculus.py .............F.........
Error: The operation was canceled.
// macos
src/sage/calculus/transforms/fft.pyx F.....FFF.FF
src/sage/calculus/var.pyx ...
Error: [doctest] src.sage.calculus.wester
src/sage/calculus/wester.py F

@tobiasdiez
Copy link
Contributor Author
//linux
src/sage/coding/codes_catalog.py .
src/sage/coding/cyclic_code.py ...........................................
src/sage/coding/databases.py ..
src/sage/coding/decoder.py ............
src/sage/coding/decoders_catalog.py .
src/sage/coding/delsarte_bounds.py ......
Error: The operation was canceled.

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.

3 participants
0