# Patches already applied upstream or committed in a side branch
# Or nearly-finished patches that they'll very probably merge.
u0-version-r-3.3.3.patch                   #20523
u0-version-singular-4.1.0p2.patch          #22425
u0-version-singular-4.1.0p3.patch          #22868
u0-fix-proper-scipy-rtol.patch             #22439

# Patches that have open upstream tickets
u1-version-planarity-3.patch               #21774
u1-version-pbori-boost1.62-hashes.patch    #22243
u1-version-ecm-7.patch                     #20385
u1-fix-use-lexists-not-exists.patch        #22438
u1-fix-dont-require-DISPLAY.patch          #22441
u1-pip-nowarn.patch                        #21835
u1-fix-atrocious-symlink-logic.patch       #22444
u1-looser-doctest-basename.patch           #22445
u1-scripts-dir.patch                       #22731

# Patches that should be upstreamed (may need some work first)
u2-version-cddlib-094h.patch
u2-reproducible-docs.patch
u2-fix-trivial-test-cases.patch
u2-fix-less-trivial-test-cases.patch
u2-fix-sympow-cachedir.patch
u2-allow-override-sage-local.patch

# Patch Sage to work with dependency Debian packages
# These won't change even if Debian and Sage use the same version
# Not suitable for upstreaming
d0-arb.patch
d0-cython-sys-path.patch
d0-gsl-cblas.patch
d0-libgap-sage.patch
d0-maxima.patch
d0-nauty.patch
d0-pari.patch
d0-pari-stackwarn.patch
d0-rubiks.patch
d0-singular.patch
d0-disable-jsmol.patch
d0-paths-sharedata.patch
d0-paths.patch

# Patch Sage to behave as a Debian package
# Not suitable for upstreaming
d1-install-paths.patch # many things in here could be split into an upstreamable patch
d1-sage-cli.patch
d1-sage-env.patch
d1-fakeroot.patch
d1-test-optional.patch
d1-multiarch-python-paths.patch
d1-doc-docs.patch
d1-disable-post-install-tests.patch

# Potentially controversial fixes
# We had to do these to make things work, at some time in the past
# It may be possible to drop these now or in the future; test that first.
df-revert-lazy-import-dependent-on-python-patch.patch
df-revert-minor-feature-dependent-on-python-patch.patch
df-disable-custom-sphinx-logger.patch
df-python_security.patch
df-sagedoc_avoid_exception.patch
df-sage-gap-reset-doctest.patch
df-silence_debian_bug_780186.patch
df-silence_ecl_opt_signals.patch

# Temporary patches for whatever reason
# They will eventually be gotten rid of
dt-disable-parallel-sphinx.patch
dt-version-glpk-4.60-extra-hacky-fixes.patch
dt-r-no-readline.patch
dt-more-fix-test-cases.patch
dt-work-around-doc-common-conf.patch
dt-undo-trac-21267-sagenb-interacts-for-jupyter.patch
