#20802: Restore Python 2.6+ compatibility
-------------------------------------------------+-------------------------
Reporter: vbraun | Owner:
Type: defect | Status:
| needs_info
Priority: blocker | Milestone: sage-7.3
Component: build | Resolution:
Keywords: argparse sage-uncompress-spkg | Merged in:
Authors: | Reviewers:
Report Upstream: N/A | Work issues:
Branch: | Commit:
Dependencies: #19984 | Stopgaps:
-------------------------------------------------+-------------------------
Changes (by leif):
* keywords: => argparse sage-uncompress-spkg
* status: needs_work => needs_info
* author: Volker Braun =>
Old description:
New description:
As of Sage 7.3.beta6, building Sage requires a system Python >= 2.7
because `sage-uncompress-spkg` uses `argparse`.
While we already ship a copy of `argparse.py`, `sage-uncompress-spkg`
currently doesn't try to import it from where it's located in the Sage
tree.
--
Comment:
Replying to [comment:16 embray]:
> If it's too much trouble, I can also just change this script to use
`optparse` instead of `argparse`. I don't think there's really any
`argparse`-specific features that it's strongly relying on.
I rather meant to ask whether it's only the above little change we need,
but I've meanwhile built Sage 7.3.beta6 from scratch with that on a system
with just Python 2.6, which worked without any issues. (`argparse.py`
already gets shipped in `build/sage_bootstrap/compat/` anyway.)
So now the question is whether I should put a branch ''here'' or open a
separate ticket specifically for `sage-uncompress-spkg` as the ticket's
title sounds pretty generic (as if it was meant to be a meta-ticket).
--
Ticket URL: <https://trac.sagemath.org/ticket/20802#comment:17>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.