-
-
Notifications
You must be signed in to change notification settings - Fork 479
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
Meta-ticket: Add downstream (external user) packages as optional/experimental packages #31164
Comments
comment:1
Before proceeding, I would like to understand what package developers and package users would gain by declaring Python packages as sage optional packages. For now, I would only consider doing this if
|
comment:2
Replying to @videlec:
The solution here is to use pip packages instead of normal packages. These do not come with tarball information and do not have to pin the version, so by default the latest version on PyPI would be installed.
Well, we do have workflows on GH Actions that at least tries to install all optional and experimental packages! |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
comment:20
Sage development has entered the release candidate phase for 9.3. Setting a new milestone for this ticket based on a cursory review of ticket status, priority, and last modification date. |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Hi Sage Team, Olivier Ramare (https://ramare-olivier.github.io/) from I2M (Institut de Mathematique de Marseille and I (working for Institut Archimède https://labex-archimede.univ-amu.fr/) worked to make the work on the Eulerian products developed by Olivier and all accessible via an sage math external package. By the way a fast multi-precision computation of some Euler products is provided. Can you tell me the procedure for declaring this external package as experimental in sagemath? Thanks Dominique |
@dbenielli Apologies for missing this message earlier. Once you have a release on PyPI, please open a PR for Sage that adds this package as a "pip" package. See https://doc.sagemath.org/html/en/developer/packaging.html#creating-packages |
Since Sage 9.2, the spkg section of the Sage reference manual is automatically generated from the information in the SAGE_ROOT/build/pkgs/ directory. Each SPKG is represented by a subdirectory. The structure of these subdirectories is explained in the Developer's Guide.
This meta-ticket tracks the task of adding external packages, in particular those that used to be listed at https://wiki.sagemath.org/SageMathExternalPackages, as optional/experimental packages.
By including them as optional/experimental packages in
build/pkgs
:./sage -optional
./sage -experimental
./sage -info <SPKG>
Already added as packages, see spkg section of the Sage reference manual:
Tickets for pip-installable packages:
The packages will typically be added as pip packages instead of normal packages.
These do not come with tarball information and do not have to pin the version, so by default the latest version on PyPI would be installed.
Hence there is no additional maintenance burden from updating the packages.
Adding the packages is made easy by the new sage -package create commands, added in Sage 9.3.
Implement Riemann theta functions #6371 RiemannTheta: Riemann Theta function numerical evaluation by Nils Bruin, Sohrab Ganjian. Fairly small straightforward package with some cython code. Should probably be integrated into SageMath proper at some point to guarantee it stays up-to-date and functional (Github repo)
Add sage-numerical-interactive-mip, cutgeneratingfunctionology as pip packages #31235 sage-numerical-interactive-mip: Interactive mixed integer linear programming solver by Peijun Xiao, Zeyi Wang, and Yuan Zhou (GitHub repo)
Add sage-numerical-interactive-mip, cutgeneratingfunctionology as pip packages #31235 cutgeneratingfunctionology (formerly infinite-group-relaxation-sage-code): Computation and experimentation with cut-generating functions, in particular the Gomory-Johnson model by Matthias Köppe, Yuan Zhou, C. Y. Hong, and Jiawei Wang (GitHub repo)
Usainboltz package: fast Boltzmann random generation of tree-like structures #27526 usainboltz: Random generation of tree-like structures by Matthieu Dien and Martin Pépin (GitLab.com repo)
Add texsurgery as a pip package, advertise as an alternative to sagetex #33778 texsurgery
Meta-ticket: Add packages from 3-manifolds / computop #31176 Add packages from 3-manifolds / computop (Add snappy as a pip package #31180: snappy)
Add sage-train-track as an optional package #31223 train_track: Free group automorphisms and train-track representatives by Thierry Coulbois (GitHub repo)
Add multipolynomial-bases as an optional package #31416 multipolynomial-bases: Multipolynomial bases (Schubert, Grothendieck, Key) by Viviane Pons (GitHub repo)
No ticket yet:
sage_acsv: Algorithms for analytic combinatorics in several variables by Benjamin Hackl et al.
oriented_matroids by Aram Dermenjian
flagmatic: Tool for researchers in extremal graph theory by Emil R. Vaughan et al. (orig GitHub repo, GitHub repo)
stallings_graphs: experiment with finitely generated subgroups of infinite groups by Pascal Weil (self-hosted GitLab repo)
addcombq: Fast Additive Combinatorics functions by Matt Torrence (GitHub repo)
arithmat: Implementation of arithmetic matroids and toric arrangements by Roberto Pagaria and Giovanni Paolini (GitHub repo)
gcaops: Kontsevich Graph Complex Action on Poisson Structures by Ricardo Buring (GitHub repo)
cvolume: Compute completed volumes of strata of quadratic differentials with odd zeros by Eduard Duryev
(GitHub repo)
badic: Beta-adic tools and automata by Paul Mercat (GitLab.com repo)
abelfunctions: Computing with Abelian functions, Riemann surfaces, and algebraic curves by Chris Swierczewski (GitHub repo, discussion)
carlin: Carleman linearization of polynomial differential equations by Marcelo Forets (GitHub repo)
elementary_vectors: Elementary vectors, sign vectors, oriented matroids and vectors with components in intervals and sign_vector_conditions by @MarcusAichmayr
adeles: Computing with adèles and idèles by Mathé Hertogh (GitHub repo)
yacop_sage: Steenrod algebra cohomology by Christian Nassau (GitHub repo)
FlexRiLog: Flexible and rigid labelings of graphs by Jan Legerský (GitHub repo)
sage_cluster_pictures: Cluster pictures, BY-trees, models and local invariants of hyperelliptic curves by Alex J. Best and Raymond van Bommel (GitHub repo)
dual-pairs: Computing with dual pairs of algebras by Peter Bruin (GitLab.com repo)
msinvar: Computation of moduli space invariants by Sergey Mozgovoy (GitHub repo)
comb_walks: Walk Models with elliptic kernel function by Frédéric Chyzak, Antonio Jiménez-Pastor, Pierre Lairez (self-hosted GitLab repo)
kerrgeodesic_gw: Computing geodesics of the Kerr spacetime as well as gravitational waves from bodies orbiting a Kerr black hole by Eric Gourgoulhon, Alexandre Le Tiec, Frédéric H. Vincent and Niels Warburton (GitHub repo)
dd_functions: Computation with DD-finite functions by Antonio Jiménez-Pastor (GitHub repo)
sherali_adams: Sherali-Adams relaxation on a numpy system of the form Ax <= b by Matthew Drescher (GitHub repo)
conrey-dirichlet-characters: Working with Dirichlet characters using a numbering scheme described by Brian Conrey by Jonathan Bober (GitHub repo)
pychebfun: Python Chebyshev Functions by Olivier Verdier, Chris Swierczewski (GitHub repo, orig GitHub repo)
pysemigroup: Automata and semigroups by Charles Paperman (self-hosted GitLab repo)
zetalib: Computing zeta functions of groups, algebras, and modules by Tobias Rossmann, Tomer Bauer (GitLab.com repo; orig website (404))
hypigu: Compute the Igusa local zeta function and flag Hilbert–Poincaré series of hyperplane arrangements by Joshua Maglione (GitHub repo)
mclf: Computing with Models of Curves over Local Fields by Stefan Wewers, Julian Rüth (GitHub repo)
hilbert-modular-group: Computing with Hilbert modular groups, including a reduction algorithm by Fredrik Stromberg (GitHub repo)
Not pip-installable:
In this ticket, only pip-installable packages will be added.
This adds an incentive to package authors to bring their packages to this form.
Maintained/abandoned on a Trac ticket:
Outdated (disappeared or does not work with current Sage):
Discussions:
CC: @slel @mwageringel @videlec @seblabbe @sagetrac-tmonteil @jplab @fredstro @fchapoton @sagetrac-srobik @williamstein @nthiery @saraedum @edgarcosta @sorger-c @mforets @pjbruin @rburing @mathzeta
Component: build
Issue created by migration from https://trac.sagemath.org/ticket/31164
The text was updated successfully, but these errors were encountered: