-
-
Notifications
You must be signed in to change notification settings - Fork 632
Replace sage.libs.giac with new optional package sagemath-giac #39376
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
Merged
Merged
Changes from all commits
Commits
Show all changes
12 commits
Select commit
Hold shift + click to select a range
4549c4c
src/sage/libs/giac: remove
orlitzky 9269c3c
src/sage_setup/library_order.py: drop giac from library_order_list
orlitzky 3734d30
src/doc/en/reference/libs/index.rst: remove sage/libs/giac
orlitzky 84c71f2
build/pkgs/sagelib/dependencies: remove giac
orlitzky 007a1a5
src/pyproject.toml: drop giac dependency
orlitzky 60a42a3
src/sage_setup/autogen/giacpy-mkkeywords.py: remove
orlitzky 1e344f9
src/sage/libs/meson.build: no more giac subdirectory
orlitzky 43b3395
src/sage/libs/giac: bring back wrapper for backwards compatibility
orlitzky c023a2d
build/pkgs/sagemath_giac: new optional package
orlitzky dc8813e
build/pkgs/giac: demote to optional
orlitzky 65ff51e
src/sage/features/giac.py: standard -> optional
orlitzky d7a5f54
src/sage/features/sagemath.py: mark sage.libs.giac as optional
orlitzky File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
standard | ||
optional |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
============================================================================== | ||
Sage: Open Source Mathematics Software: Giac integration | ||
============================================================================== | ||
|
||
This pip-installable source distribution ``sagemath-giac`` is a small | ||
optional distribution for use with ``sagemath-standard``. | ||
|
||
It provides a Cython interface to the ``libgiac`` library for the | ||
purpose of symbolic integration and certain Groebner basis | ||
calculations. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
tarball=sagemath-giac-VERSION.tar.gz | ||
sha1=6a134b2f98d5f55cec51415141354eacf675f211 | ||
sha256=4a565f0f279d9bce60332ec292fe487dd6d8f85f83066e6a582928cb611dd7f4 | ||
upstream_url=https://github.com/sagemath/sagemath-giac/archive/refs/tags/VERSION.tar.gz |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
cysignals cython giac gmpy2 sagelib | $(PYTHON_TOOLCHAIN) $(PYTHON) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
0.1.1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
SAGE_SPKG_CONFIGURE([sagemath_giac], [ | ||
SAGE_PYTHON_PACKAGE_CHECK([sagemath_giac]) | ||
]) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
cd src | ||
sdh_pip_install --no-build-isolation . |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
optional |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should this feature not better now use the new sagemath-giac package to test it?
sage.libs.giac.giac
is always available.Alternatively, if we no longer need the giac tests (because all tests are now in the new giac repo), then please remove it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This still works because the
PythonModule
test tries to import the module and it will fail if sagemath-giac is not installed:There are indeed some integral tests in sagelib that have
# needs sage.libs.giac
. I did some work a month or two ago to carefully separate them from the# needs giac
tests.