#5218: [with spkg, positive review] Update Python to 2.5.4 (latest 2.5 upstream)
(depends on #5286)
----------------------+-----------------------------------------------------
Reporter: mabshoff | Owner: mabshoff
Type: defect | Status: reopened
Priority: blocker | Milestone: sage-4.0
Component: packages | Resolution:
Keywords: |
----------------------+-----------------------------------------------------
Comment(by was):
Note:
The patch that fixes this sdist issue is:
{{{
wst...@sage:~/tmp/python-2.5.4.p0$ diff src/Lib/distutils/command/sdist.py
patches/sdist.py
350c350
< * any RCS, CVS, .svn, .hg, .git, .bzr, _darcs directories
---
> * any RCS, CVS, .svn, .git, .bzr, _darcs directories
357c357
<
self.filelist.exclude_pattern(r'(^|/)(RCS|CVS|\.svn|\.hg|\.git|\.bzr|_darcs)/.*',
is_regex=1)
---
>
self.filelist.exclude_pattern(r'(^|/)(RCS|CVS|\.svn|\.git|\.bzr|_darcs)/.*',
is_regex=1)
}}}
I'm concerned since I bet this problem will just come back later again
when we upgrade to some newer python, since it seems that it is the
intention of the python devs to make it impossible to include repo's in
sdists. Thus, in the long run, we may have to fix this by (1) doing
sdist, then (2) extract the sdist tar ball and manually copying over the
hg repo, then (3) remaking the sdist tar ball. We already extract and
remake the tar ball to go from .tar.gz to .tar.bz2 format, so this isn't
so bad.
So, positive review, but with a "just for the record" caveat.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/5218#comment:12>
Sage <http://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 post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en
-~----------~----~----~----~------~----~------~--~---