Skip to content

Commit

Permalink
Another replacement
Browse files Browse the repository at this point in the history
  • Loading branch information
roed314 committed Feb 8, 2023
1 parent 6066257 commit 18c3c71
Show file tree
Hide file tree
Showing 104 changed files with 189 additions and 189 deletions.
2 changes: 1 addition & 1 deletion build/bin/sage-dist-helpers
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@
# (Linux only--no-op on other platforms.) Check shared libraries loaded by
# EXECUTABLE (may be a program or another library) for a library starting
# with SONAME, and if found appends SONAME to the LD_PRELOAD environment
# variable. See https://trac.sagemath.org/24885.
# variable. See https://github.com/sagemath/sage/issues/24885.

set -o allexport

Expand Down
2 changes: 1 addition & 1 deletion build/pkgs/giac/checksums.ini
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ tarball=giac-VERSION.tar.bz2
sha1=78c15badd19b49b7d111ac204b611a4378ce3d15
md5=8fbd43a5c60848b6813b7fc8698a0199
cksum=1923149665
upstream_url=https://trac.sagemath.org/raw-attachment/ticket/31563/giac-VERSION.tar.bz2
upstream_url=https://github.com/sagemath/sage/issues/raw-attachment/ticket/31563/giac-VERSION.tar.bz2
2 changes: 1 addition & 1 deletion build/pkgs/iml/checksums.ini
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ tarball=iml-VERSION.tar.bz2
sha1=8aba468a62e6fb0584be9b014350b734663c0670
md5=a8083e70c0c4378f69eb772c1eeed6f0
cksum=2793221462
upstream_url=https://trac.sagemath.org/raw-attachment/ticket/33195/iml-1.0.4p2.tar.bz2
upstream_url=https://github.com/sagemath/sage/issues/raw-attachment/ticket/33195/iml-1.0.4p2.tar.bz2
2 changes: 1 addition & 1 deletion build/pkgs/mathjax/checksums.ini
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ tarball=mathjax-VERSION.tar.gz
sha1=3f7abecf8cacd7f5d7f9ae6c3baca7739101c17d
md5=ba1a65ab58aaad6c84f39735c619bc34
cksum=1142131398
upstream_url=https://trac.sagemath.org/raw-attachment/ticket/25833/mathjax-3.2.0.tar.gz
upstream_url=https://github.com/sagemath/sage/issues/raw-attachment/ticket/25833/mathjax-3.2.0.tar.gz
2 changes: 1 addition & 1 deletion build/pkgs/msolve/checksums.ini
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ tarball=msolve-VERSION.tar.gz
sha1=5b227de8b222bfe8d143e1d7ea77ad71cd209dc8
md5=2f34bd9ccb089688ae169201281108dc
cksum=941373315
upstream_url=https://trac.sagemath.org/raw-attachment/ticket/31664/msolve-VERSION.tar.gz
upstream_url=https://github.com/sagemath/sage/issues/raw-attachment/ticket/31664/msolve-VERSION.tar.gz
2 changes: 1 addition & 1 deletion src/doc/en/constructions/contributions.rst
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,4 @@ documentation were made by Gary Zablackis.
[SAGE] {SJ} William Stein, David Joyner, SAGE: System for Algebra
and Geometry Experimentation, Comm. Computer Algebra 39(2005)61-64.
(SIGSAM Bull. June 2005) https://sagemath.org/
https://trac.sagemath.org/
https://github.com/sagemath/sage/issues/
6 changes: 3 additions & 3 deletions src/doc/en/developer/git_trac.rst
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,8 @@ to the Sage directory and tell ``git trac`` about your trac account::

[user@localhost sage]$ git trac config --user USERNAME --pass 'PASSWORD'
Trac xmlrpc URL:
https://trac.sagemath.org/xmlrpc (anonymous)
https://trac.sagemath.org/login/xmlrpc (authenticated)
https://github.com/sagemath/sage/issues/xmlrpc (anonymous)
https://github.com/sagemath/sage/issues/login/xmlrpc (authenticated)
realm sage.math.washington.edu
Username: USERNAME
Password: PASSWORD
Expand Down Expand Up @@ -158,7 +158,7 @@ want to add it to Sage. You would first open a ticket for that::
[user@localhost sage]$ git trac create 'Last Twin Prime'
Remote branch: u/user/last_twin_prime
Newly-created ticket number: 12345
Ticket URL: https://trac.sagemath.org/12345
Ticket URL: https://github.com/sagemath/sage/issues/12345
Local branch: t/12345/last_twin_prime

This will create a new trac ticket titled "Last Twin Prime" with a
Expand Down
4 changes: 2 additions & 2 deletions src/sage/algebras/quatalg/quaternion_algebra.py
Original file line number Diff line number Diff line change
Expand Up @@ -2197,7 +2197,7 @@ def quaternion_order(self):
sage: R = QuaternionAlgebra(-11,-1).maximal_order()
sage: R.unit_ideal().quaternion_order() is R
doctest:...: DeprecationWarning: quaternion_order() is deprecated, please use left_order() or right_order()
See https://trac.sagemath.org/31583 for details.
See https://github.com/sagemath/sage/issues/31583 for details.
True
"""
from sage.misc.superseded import deprecation
Expand Down Expand Up @@ -2229,7 +2229,7 @@ def ring(self):
sage: R = QuaternionAlgebra(-11,-1).maximal_order()
sage: R.unit_ideal().ring() is R
doctest:...: DeprecationWarning: ring() will return the quaternion algebra in the future, please use left_order() or right_order()
See https://trac.sagemath.org/31583 for details.
See https://github.com/sagemath/sage/issues/31583 for details.
True
"""
from sage.misc.superseded import deprecation
Expand Down
2 changes: 1 addition & 1 deletion src/sage/categories/finite_complex_reflection_groups.py
Original file line number Diff line number Diff line change
Expand Up @@ -795,7 +795,7 @@ def elements_below_coxeter_element(self, c=None):
sage: W = CoxeterGroup(['A', 3])
sage: len(list(W.elements_below_coxeter_element()))
doctest:...: DeprecationWarning: The method elements_below_coxeter_element is deprecated. Please use absolute_order_ideal instead.
See https://trac.sagemath.org/27924 for details.
See https://github.com/sagemath/sage/issues/27924 for details.
14
"""
from sage.misc.superseded import deprecation
Expand Down
2 changes: 1 addition & 1 deletion src/sage/categories/modules.py
Original file line number Diff line number Diff line change
Expand Up @@ -973,6 +973,6 @@ def tensor_factors(self):
sage: M.construction()
doctest:warning...
DeprecationWarning: implementations of Modules().TensorProducts() now must define the method tensor_factors
See https://trac.sagemath.org/34393 for details.
See https://github.com/sagemath/sage/issues/34393 for details.
(VectorFunctor, Integer Ring)
"""
2 changes: 1 addition & 1 deletion src/sage/combinat/combinat.py
Original file line number Diff line number Diff line change
Expand Up @@ -2528,7 +2528,7 @@ def cardinality(self) -> Integer | infinity:
sage: R = InfiniteAbstractCombinatorialClass()
doctest:warning...
DeprecationWarning: this class is deprecated, do not use
See https://trac.sagemath.org/31545 for details.
See https://github.com/sagemath/sage/issues/31545 for details.
sage: R.cardinality()
+Infinity
Expand Down
6 changes: 3 additions & 3 deletions src/sage/combinat/permutation.py
Original file line number Diff line number Diff line change
Expand Up @@ -7225,7 +7225,7 @@ def has_left_descent(self, i, mult=None):
doctest:warning
...
DeprecationWarning: The mult option is deprecated and ignored.
See https://trac.sagemath.org/27467 for details.
See https://github.com/sagemath/sage/issues/27467 for details.
True
sage: x.has_left_descent(2, mult='r2l')
True
Expand Down Expand Up @@ -7279,7 +7279,7 @@ def has_right_descent(self, i, mult=None):
doctest:warning
...
DeprecationWarning: The mult option is deprecated and ignored.
See https://trac.sagemath.org/27467 for details.
See https://github.com/sagemath/sage/issues/27467 for details.
True
sage: x.has_right_descent(3, mult='r2l')
True
Expand Down Expand Up @@ -9040,7 +9040,7 @@ def a(self):
sage: P = Permutations(3, avoiding=[[2,1,3],[1,2,3]])
sage: P.a
doctest:...: DeprecationWarning: The attribute a for the list of patterns to avoid is deprecated, use the method patterns instead.
See https://trac.sagemath.org/26810 for details.
See https://github.com/sagemath/sage/issues/26810 for details.
([2, 1, 3], [1, 2, 3])
"""
from sage.misc.superseded import deprecation
Expand Down
4 changes: 2 additions & 2 deletions src/sage/combinat/set_partition.py
Original file line number Diff line number Diff line change
Expand Up @@ -2950,7 +2950,7 @@ def parts(self):
sage: SetPartitions(5, [2,2,1]).parts
doctest:...: DeprecationWarning: The attribute parts for the partition of block sizes is deprecated, use the method shape instead.
See https://trac.sagemath.org/25865 for details.
See https://github.com/sagemath/sage/issues/25865 for details.
[2, 2, 1]
"""
from sage.misc.superseded import deprecation
Expand Down Expand Up @@ -3201,7 +3201,7 @@ def n(self):
sage: SetPartitions(5, 3).n
doctest:...: DeprecationWarning: The attribute n for the number of blocks is deprecated, use the method number_of_blocks instead.
See https://trac.sagemath.org/25462 for details.
See https://github.com/sagemath/sage/issues/25462 for details.
3
"""
from sage.misc.superseded import deprecation
Expand Down
10 changes: 5 additions & 5 deletions src/sage/combinat/words/finite_word.py
Original file line number Diff line number Diff line change
Expand Up @@ -4234,7 +4234,7 @@ def _pos_in(self, other, p):
...
DeprecationWarning: f._pos_in(w, start) is deprecated.
Use w.first_occurrence(f, start) instead.
See https://trac.sagemath.org/30187 for details.
See https://github.com/sagemath/sage/issues/30187 for details.
2
sage: Word('12')._pos_in(Word('131231'), 3) is None
True
Expand Down Expand Up @@ -4271,7 +4271,7 @@ def first_pos_in(self, other):
...
DeprecationWarning: f.first_pos_in(w) is deprecated.
Use w.first_occurrence(f) instead.
See https://trac.sagemath.org/30187 for details.
See https://github.com/sagemath/sage/issues/30187 for details.
2
sage: Word('32').first_pos_in(Word('131231')) is None
True
Expand Down Expand Up @@ -4499,7 +4499,7 @@ def factor_occurrences_in(self, other):
...
DeprecationWarning: f.factor_occurrences_in(w) is deprecated.
Use w.factor_occurrences_iterator(f) instead.
See https://trac.sagemath.org/30187 for details.
See https://github.com/sagemath/sage/issues/30187 for details.
[0, 2, 8]
"""
from sage.misc.superseded import deprecation
Expand All @@ -4525,7 +4525,7 @@ def nb_factor_occurrences_in(self, other):
...
DeprecationWarning: f.nb_factor_occurrences_in(w) is deprecated.
Use w.number_of_factor_occurrences(f) instead.
See https://trac.sagemath.org/30187 for details.
See https://github.com/sagemath/sage/issues/30187 for details.
4
sage: Word('321').nb_factor_occurrences_in(Word('11233231231311233221123'))
0
Expand Down Expand Up @@ -4570,7 +4570,7 @@ def nb_subword_occurrences_in(self, other):
...
DeprecationWarning: f.nb_subword_occurrences_in(w) is deprecated.
Use w.number_of_subword_occurrences(f) instead.
See https://trac.sagemath.org/30187 for details.
See https://github.com/sagemath/sage/issues/30187 for details.
2604124996
sage: u = Word([0,1,0,1,1,0])
Expand Down
4 changes: 2 additions & 2 deletions src/sage/combinat/words/morphism.py
Original file line number Diff line number Diff line change
Expand Up @@ -772,7 +772,7 @@ def __call__(self, w, order=1, datatype=None):
doctest:warning
...
DeprecationWarning: the "datatype" argument is deprecated
See https://trac.sagemath.org/26307 for details.
See https://github.com/sagemath/sage/issues/26307 for details.
sage: type(w)
<class 'sage.combinat.words.word.FiniteWord_list'>
Expand All @@ -793,7 +793,7 @@ def __call__(self, w, order=1, datatype=None):
doctest:warning
...
DeprecationWarning: the "datatype" argument is deprecated
See https://trac.sagemath.org/26307 for details.
See https://github.com/sagemath/sage/issues/26307 for details.
sage: type(w)
<class 'sage.combinat.words.word.FiniteWord_list'>
sage: w = m([0],4,datatype='str')
Expand Down
2 changes: 1 addition & 1 deletion src/sage/crypto/boolean_function.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -942,7 +942,7 @@ cdef class BooleanFunction(SageObject):
doctest:warning
...
DeprecationWarning: absolut_indicator is deprecated. Please use absolute_indicator instead.
See https://trac.sagemath.org/28001 for details.
See https://github.com/sagemath/sage/issues/28001 for details.
32
"""
cdef long a
Expand Down
4 changes: 2 additions & 2 deletions src/sage/databases/oeis.py
Original file line number Diff line number Diff line change
Expand Up @@ -592,7 +592,7 @@ def _imaginary_entry(self, ident='A999999', keywords=''):
'%D ' + ident + ' Lewis Carroll, The Hunting of the Snark.\n'
'%D ' + ident + ' Deep Thought, The Answer to the Ultimate Question of Life, The Universe, and Everything.\n'
'%H ' + ident + ' Wikipedia, <a href="https://en.wikipedia.org/wiki/42_(number)">42 (number)</a>\n'
'%H ' + ident + ' See. also <a href="https://trac.sagemath.org/sage_trac/ticket/42">trac ticket #42</a>\n'
'%H ' + ident + ' See. also <a href="https://github.com/sagemath/sage/issues/sage_trac/ticket/42">trac ticket #42</a>\n'
'%H ' + ident + ' Do not confuse with the sequence <a href="/A000042">A000042</a> or the sequence <a href="/A000024">A000024</a>\n'
'%H ' + ident + ' The string http://42.com is not a link.\n'
'%F ' + ident + ' For n big enough, s(n+1) - s(n) = 0.\n'
Expand Down Expand Up @@ -1556,7 +1556,7 @@ def links(self, browse=None, format='guess'):
sage: HTML = s.links(format="html"); HTML
0: Wikipedia, <a href="https://en.wikipedia.org/wiki/42_(number)">42 (number)</a>
1: See. also <a href="https://trac.sagemath.org/sage_trac/ticket/42">trac ticket #42</a>
1: See. also <a href="https://github.com/sagemath/sage/issues/sage_trac/ticket/42">trac ticket #42</a>
...
sage: type(HTML)
<class 'sage.misc.html.HtmlFragment'>
Expand Down
4 changes: 2 additions & 2 deletions src/sage/ext/memory_allocator.pxd
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ cdef class MemoryAllocator:
....: assert <size_t> ptr == (<size_t> ptr) & ~(2**i-1)
....: ''')
doctest:...: DeprecationWarning: this class is deprecated; use the class from the python package `memory_allocator`
See https://trac.sagemath.org/31591 for details.
See https://github.com/sagemath/sage/issues/31591 for details.
"""
cdef size_t extra = alignment - 1
return align(self.malloc(size + extra), alignment)
Expand Down Expand Up @@ -96,7 +96,7 @@ cdef class MemoryAllocator:
....: ''')
sage: foo()
doctest:...: DeprecationWarning: this class is deprecated; use the class from the python package `memory_allocator`
See https://trac.sagemath.org/31591 for details.
See https://github.com/sagemath/sage/issues/31591 for details.
"""
# Find extra such that (nmemb + extra) * size >= nmemb * size + alignment - 1
# ⇔ extra * size >= alignment - 1
Expand Down
4 changes: 2 additions & 2 deletions src/sage/ext/memory_allocator.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ cdef class MemoryAllocator:
....: mem.aligned_allocarray(8, n, 8)
....: ''')
doctest:...: DeprecationWarning: this class is deprecated; use the class from the python package `memory_allocator`
See https://trac.sagemath.org/31591 for details.
See https://github.com/sagemath/sage/issues/31591 for details.
"""
def __cinit__(self):
"""
Expand All @@ -44,7 +44,7 @@ cdef class MemoryAllocator:
....: ''')
sage: foo()
doctest:...: DeprecationWarning: this class is deprecated; use the class from the python package `memory_allocator`
See https://trac.sagemath.org/31591 for details.
See https://github.com/sagemath/sage/issues/31591 for details.
1
16
"""
Expand Down
2 changes: 1 addition & 1 deletion src/sage/features/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -498,7 +498,7 @@ def absolute_path(self):
sage: Executable(name="sh", executable="sh").absolute_path()
doctest:warning...
DeprecationWarning: method absolute_path has been replaced by absolute_filename
See https://trac.sagemath.org/31292 for details.
See https://github.com/sagemath/sage/issues/31292 for details.
'/...bin/sh'
"""
try:
Expand Down
2 changes: 1 addition & 1 deletion src/sage/features/join_feature.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ def is_functional(self):
sage: Latte().is_functional() # optional - latte_int
doctest:warning...
DeprecationWarning: method JoinFeature.is_functional; use is_present instead
See https://trac.sagemath.org/33114 for details.
See https://github.com/sagemath/sage/issues/33114 for details.
FeatureTestResult('latte_int', True)
"""
try:
Expand Down
4 changes: 2 additions & 2 deletions src/sage/game_theory/normal_form_game.py
Original file line number Diff line number Diff line change
Expand Up @@ -2247,7 +2247,7 @@ def _Hrepresentation(self, m1, m2):
doctest:warning...
DeprecationWarning: NormalFormGame._Hrepresentation is deprecated as it
creates the legacy input format. Use NormalFormGame._lrs_nash_format instead
See https://trac.sagemath.org/27745 for details.
See https://github.com/sagemath/sage/issues/27745 for details.
H-representation
linearity 1 5
begin
Expand Down Expand Up @@ -2341,7 +2341,7 @@ def _lrs_nash_format(self, m1, m2):
doctest:warning...
DeprecationWarning: NormalFormGame._Hrepresentation is deprecated as it
creates the legacy input format. Use NormalFormGame._lrs_nash_format instead
See https://trac.sagemath.org/27745 for details.
See https://github.com/sagemath/sage/issues/27745 for details.
sage: print('*game: player 1\n', legacy_format[0])
*game: player 1
H-representation
Expand Down
2 changes: 1 addition & 1 deletion src/sage/game_theory/parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ def format_lrs(self, legacy_format=False):
doctest:warning...
DeprecationWarning: NormalFormGame._Hrepresentation is deprecated as it
creates the legacy input format. Use NormalFormGame._lrs_nash_format instead
See https://trac.sagemath.org/27745 for details.
See https://github.com/sagemath/sage/issues/27745 for details.
sage: g1_name, g2_name = tmp_filename(), tmp_filename()
sage: g1_file, g2_file = open(g1_name, 'w'), open(g2_name, 'w')
sage: _ = g1_file.write(game1_str)
Expand Down
2 changes: 1 addition & 1 deletion src/sage/geometry/polyhedron/base3.py
Original file line number Diff line number Diff line change
Expand Up @@ -593,7 +593,7 @@ def face_generator(self, face_dimension=None, algorithm=None, **kwds):
sage: P = polytopes.hypercube(4)
sage: list(P.face_generator(dual=False))[:4]
doctest:...: DeprecationWarning: the keyword dual is deprecated; use algorithm instead
See https://trac.sagemath.org/33646 for details.
See https://github.com/sagemath/sage/issues/33646 for details.
[A 4-dimensional face of a Polyhedron in ZZ^4 defined as the convex hull of 16 vertices,
A -1-dimensional face of a Polyhedron in ZZ^4,
A 3-dimensional face of a Polyhedron in ZZ^4 defined as the convex hull of 8 vertices,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1450,7 +1450,7 @@ cdef class CombinatorialPolyhedron(SageObject):
sage: r = C.ridges(add_equations=True)
sage: r1 = C.ridges(add_equalities=True)
doctest:...: DeprecationWarning: the keyword ``add_equalities`` is deprecated; use ``add_equations``
See https://trac.sagemath.org/31834 for details.
See https://github.com/sagemath/sage/issues/31834 for details.
sage: r == r1
True
"""
Expand Down Expand Up @@ -2762,7 +2762,7 @@ cdef class CombinatorialPolyhedron(SageObject):
sage: C = CombinatorialPolyhedron([[0,1,2],[0,1,3],[0,2,3],[1,2,3]])
sage: it = C.face_generator(1, False)
doctest:...: DeprecationWarning: the keyword dual is deprecated; use algorithm instead
See https://trac.sagemath.org/33646 for details.
See https://github.com/sagemath/sage/issues/33646 for details.
sage: it = C.face_generator(1, dual=True)
.. SEEALSO::
Expand Down
2 changes: 1 addition & 1 deletion src/sage/graphs/generic_graph.py
Original file line number Diff line number Diff line change
Expand Up @@ -12369,7 +12369,7 @@ def edges(self, vertices=None, labels=True, sort=None, key=None,
sage: G = graphs.HouseGraph()
sage: G.edges(sort=None)
doctest:...: DeprecationWarning: parameter 'sort' will be set to False by default in the future
See https://trac.sagemath.org/27408 for details.
See https://github.com/sagemath/sage/issues/27408 for details.
[(0, 1, None), (0, 2, None), (1, 3, None), (2, 3, None), (2, 4, None), (3, 4, None)]
"""
if sort is None:
Expand Down
Loading

0 comments on commit 18c3c71

Please sign in to comment.