Sage Days 3000: porting Sage to Python 3

9 July 2018 ­– 13 July 2018

Ghent University (Gent, Belgium)

CANCELED

(or rather postponed to some ulterior dates)

Goal

This is a small-scale workshop for Sage developers with a specific focus on porting Sage to Python 3. While a lot of effort has been done for this, we hope that this workshop will accelerate this.

Organizer

Participants

Funding

For participants without travel grants, the OpenDreamKit project has some money available.

Some specific tasks

1. ensure that "make doc" works : https://patchbot.sagemath.org/log/0/Ubuntu/18.04/x86_64/4.15.0-20-generic/petitbonum/2018-06-11%2009:26:28?plugin=docbuild

  1. Make sure that the pdf documentation builds correctly: https://trac.sagemath.org/ticket/25840, upgrade sagenb, fix src/sage/combinat/root_system/plot.py

  2. update some packages
    1. ✓ update pynac : https://trac.sagemath.org/ticket/24838 ; https://trac.sagemath.org/ticket/24751 ; https://trac.sagemath.org/ticket/24752

    2. update sagenb : https://github.com/sagemath/sagenb/pull/446 and https://github.com/sagemath/sagenb/pull/449

    3. update brial : https://trac.sagemath.org/ticket/24786

  3. make all doctests pass
    1. ✓ fix doctests in plot/plot.py : https://trac.sagemath.org/ticket/25579/

    2. fix doctests in src/sage/combinat/root_system/plot.py (involves https://trac.sagemath.org/ticket/25677 ; https://trac.sagemath.org/ticket/25724)

    3. ✓ fix pickling : https://trac.sagemath.org/ticket/24582/

    4. fix all doctests in parent and element : one step in https://trac.sagemath.org/ticket/25824/

    5. fix all doctests of some touchstone files (for example src/sage/schemes/elliptic_curves/ell_rational_field.py)
    6. fix all doctests of some core files (for example src/sage/rings/integer_ring.pyx)

2. monitor the progress

  1. estimate how many files still have doctest failures
  2. tools to check for progress and prevent regression
  3. enhance the patchbot "pyflakes" plugin : https://github.com/sagemath/sage-patchbot/issues/128

  4. patchbot doctests on sage3 (beware HUGE FILE ~ 90 Mb) : https://patchbot.sagemath.org/log/0/Ubuntu/18.04/x86_64/4.15.0-20-generic/petitbonum/2018-06-15%2012:41:41?short