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

Feature for sage.rings.padics #32881

Closed
mkoeppe opened this issue Nov 16, 2021 · 14 comments
Closed

Feature for sage.rings.padics #32881

mkoeppe opened this issue Nov 16, 2021 · 14 comments

Comments

@mkoeppe
Copy link
Contributor

mkoeppe commented Nov 16, 2021

We introduce a feature for the presence of sage.rings.padics (not included, for example in https://pypi.org/project/sagemath-polyhedra/ (#32432).

We then mark some doctests in sage.structure and sage.misc as # optional - sage.rings.padics.

Depends on #32174

CC: @saraedum @kwankyu @seblabbe

Component: refactoring

Author: Matthias Koeppe

Branch/Commit: 439db4b

Reviewer: Sébastien Labbé

Issue created by migration from https://trac.sagemath.org/ticket/32881

@mkoeppe mkoeppe added this to the sage-9.5 milestone Nov 16, 2021
@mkoeppe
Copy link
Contributor Author

mkoeppe commented Nov 16, 2021

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Nov 16, 2021

Branch pushed to git repo; I updated commit sha1. Last 10 new commits:

00cb9c7src/sage/features/normaliz.py: Rename class to PyNormaliz, fix uses
7632e53src/sage/geometry/polyhedron/base.py: Remove unused import
24aaf73Merge #27744
b8f0a10src/sage/features/normaliz.py: Add all_features
944bb74src/sage/features/interfaces.py: Add doctests
2463e1eMerge #32866
91f0bccsrc/sage/doctest: Update doctest outputs
12f7c98src/sage/features/polymake.py: Add all_features
c9312dbsrc/sage/features: Add more all_features functions
b63c6c0Merge branch 't/32174/doctests__detect__safe__external_features_even_if____optional_external__is_not_used' into t/32881/feature_for_sage_rings_padics

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Nov 16, 2021

Commit: b63c6c0

@mkoeppe
Copy link
Contributor Author

mkoeppe commented Nov 16, 2021

Author: Matthias Koeppe

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Dec 4, 2021

Branch pushed to git repo; I updated commit sha1. Last 10 new commits:

7a8f48csrc/sage/features/sagemath.py (sage_features): Unused now, removed
e7f538dsage.features.bliss: Change name of BlissLibrary feature to libbliss, remove it from all_features
12a2507src/sage/features/interfaces.py: Fix indentation in docstring
0dd76b6Merge tag '9.5.beta7' into t/32174/doctests__detect__safe__external_features_even_if____optional_external__is_not_used
07b2512src/sage/misc/latex.py: Conditionalize some doctests on latex_package_tkz_graph
cb1343732174: fix the --show-skipped doctest report
391dca1sage.misc.latex.png: Mark doctest # optional - imagemagick
6f311b3src/sage/doctest/external.py: Revert latex features to 'external'
3bfe1a132174: adapting the doctest listing external softwares
439db4bMerge #32174

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Dec 4, 2021

Changed commit from b63c6c0 to 439db4b

@mkoeppe
Copy link
Contributor Author

mkoeppe commented Dec 4, 2021

comment:5

Merged updated #32174

@mkoeppe mkoeppe modified the milestones: sage-9.5, sage-9.6 Dec 18, 2021
@seblabbe
Copy link
Contributor

seblabbe commented Jan 4, 2022

comment:9

Copy pasting the command allowing to test the modified files here:

sage -tp src/sage/categories/fields.py src/sage/features/sagemath.py src/sage/misc/cachefunc.pyx src/sage/structure/factory.pyx src/sage/structure/parent.pyx src/sage/structure/richcmp.pxd src/sage/structure/sage_object.pyx

@seblabbe
Copy link
Contributor

seblabbe commented Jan 4, 2022

comment:10

Looks good, I get this:

Doctesting 7 files using 8 threads.
sage -t --random-seed=318677177718744620493039142226171694228 src/sage/features/sagemath.py
    [34 tests, 0.02 s]
sage -t --random-seed=318677177718744620493039142226171694228 src/sage/structure/richcmp.pxd
    [24 tests, 0.02 s]
sage -t --random-seed=318677177718744620493039142226171694228 src/sage/categories/fields.py
    [134 tests, 1.34 s]
sage -t --random-seed=318677177718744620493039142226171694228 src/sage/structure/parent.pyx
    [383 tests, 2.96 s]
sage -t --random-seed=318677177718744620493039142226171694228 src/sage/structure/factory.pyx
    [117 tests, 3.36 s]
sage -t --random-seed=318677177718744620493039142226171694228 src/sage/structure/sage_object.pyx
    [119 tests, 3.65 s]
sage -t --random-seed=318677177718744620493039142226171694228 src/sage/misc/cachefunc.pyx
    [825 tests, 11.16 s]
----------------------------------------------------------------------
All tests passed!
----------------------------------------------------------------------
Total time for all tests: 11.3 seconds
    cpu time: 12.4 seconds
    cumulative wall time: 22.5 seconds
Features detected for doctesting: sage.combinat,sage.geometry.polyhedron,sage.graphs,sage.plot,sage.rings.number_field,sage.rings.padics,sage.rings.real_double,sage.symbolic
Pytest is not installed, skip checking tests that rely on it.

Note that sage.rings.padics appears in the list of detected Features.

@seblabbe
Copy link
Contributor

seblabbe commented Jan 4, 2022

Reviewer: Sébastien Labbé

@seblabbe
Copy link
Contributor

seblabbe commented Jan 4, 2022

comment:11

Patchbot is fine (only an irrelevant warning with respect to startup time).

@mkoeppe
Copy link
Contributor Author

mkoeppe commented Jan 4, 2022

comment:12

Thank you and happy new year!

@seblabbe
Copy link
Contributor

seblabbe commented Jan 4, 2022

comment:13

Happy new year to you to! I will continue to review few of your tickets for the year to come, slowly but surely.

@vbraun
Copy link
Member

vbraun commented Jan 31, 2022

Changed branch from u/mkoeppe/feature_for_sage_rings_padics to 439db4b

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants