-
-
Notifications
You must be signed in to change notification settings - Fork 482
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update setuptools to a newer version #11363
Comments
This comment has been minimized.
This comment has been minimized.
Attachment: setuptools-update.patch.gz update patch, for reviewer only |
comment:3
I don't know if this matters, but I get
else it installs fine for me. |
comment:4
I can remove the fuzz but I am not worried by it. I consider a normal part of the patch "aging process" but the ability of fuzz make them a bit more robust and durable than just copying files. But I guess you shouldn't have fuzz for a patch introduced to sage for the first time. I lifted it from Gentoo where it was introduced in an earlier version. |
This comment has been minimized.
This comment has been minimized.
comment:5
Fuzz removed in ".p0" I had to give it a distinct name because google-code doesn't let delete or replace the old one. It should really be just 0.6.16 |
Author: François Bissey |
comment:6
http://spkg-upload.googlecode.com/files/setuptools-0.6.16.p0.spkg unpacks to setuptools-0.6.16 when it should unpack to setuptools-0.6.16.p0. |
comment:7
Replying to @sagetrac-mariah:
Working on that. It shouldn't have been named .p0 in the first place, I have to find another place to host the spkg otherwise I'll to name it .p1. |
comment:8
OK I have it hosted with the right name by my friend Steve now. |
This comment has been minimized.
This comment has been minimized.
comment:9
Built sage-4.7.rc4 with setuptools-0.6.16.spkg with 'make testlong'. All tests passed. Positive review! |
Reviewer: Mariah Lenox |
comment:10
As soon as this ticket is fixed, then Ticket #10361 can also be closed (as this ticket supersedes that one by upgrading to an even newer setuptools, and fixing the Twisted/OSX issue). |
comment:11
Pity I didn't see that ticket. May be I would have reviewed it instead. |
This comment has been minimized.
This comment has been minimized.
comment:13
As far as I can tell, the spkg here is not really setuptools, but a fork of it called "distribute". At least, I can't find setuptools 0.6.16 on the setuptools web page http://pypi.python.org/pypi/setuptools, but I do see it on the distribute page http://pypi.python.org/pypi/distribute. This needs to be documented in the SPKG.txt file: update both the description and the web page. On the bright side, on my OS X box at least, it doesn't seem to suffer from the same problem as reported on #10361. |
comment:14
Right. I should have paid more attention you are right. I will update SPKG.txt with the needed info. I will post again when it is available so you can decide if it can be switched back to positive review. |
Attachment: SPKG.txt.patch.gz Latest changes to SPKG.txt for the reviewer only |
comment:15
New spkg uploaded at the same location. I attached a patch which details my latest change to SPKG.txt. |
Merged: sage-4.7.1.alpha3 |
comment:18
Ticket #7230 can also be closed because of this. |
comment:19
I think it's not a bad idea to look at previous tickets dealing with an spkg when updating it. In this case #10361 (updating setuptools to 0.6c11), which got positively reviewed and merged, but later unmerged again due to an issue with The changes made there, namely
Btw, the patch attachment: setuptools-update.patch (for review purposes) doesn't really reflect the changes made to (Sage's part of) the spkg, which is perhaps minor here, but still a bit confusing. |
comment:20
You are quite right leif and I probably could have done a better job. My only defense is I absolutely hate searching on trac. It takes ages and most of the results are not that relevant. I get better results from Gentoo's bugzilla - although it is sometimes quite slow at least I usually got interesting results. I am not sure I understand your last comment. The posted patch summarizes the changes to the spkg and is not meant to be applied, just to give you a quick look at the changes. It seems to be a common enough practice. |
comment:21
Replying to @kiwifb:
Well, there are reviewers, too, and in fact some people who commented here were aware of that ticket.
Yes, especially if you're searching for things like R... 8-)
Not really relevant here, but even patches / diffs just for reference should IMHO be up-to-date. I just stumbled upon --- setup.py 2007-09-04 19:18:46.000000000 +0300
+++ setup.py 2007-11-04 09:49:18.000000000 +0200
@@ -26,7 +26,6 @@
url = "http://pypi.python.org/pypi/setuptools",
test_suite = 'setuptools.tests',
packages = find_packages(),
- package_data = {'setuptools':['*.exe']},
py_modules = ['pkg_resources', 'easy_install', 'site'], which definitely belongs to an earlier version of the spkg. (Note the If someone is lazy (like me), he might review (more or less) just the spkg diff on trac as is, assuming it reflects the current state of the spkg, such that mistakes or unintended changes made later may sneak in. |
comment:22
P.S.: I usually cc the spkg maintainers (as listed in |
comment:23
P.P.S.: You can also search (with G**gle) http://groups.google.com/group/sage-trac, which even gives suitable results for "R". That's IMHO the only useful aspect of this group; I don't like feeding G**gle with all that stuff otherwise. |
comment:24
Replying to @nexttime:
Possibly the best idea since sliced bread! Thanks a lot for pointing it out. And yes I have been treating maintainers like they do not exist (apart David Kirkby but we seem to end up doing a lot of things together so this may explain that) which is of course terribly impolite of me. |
For #9958 we will need a newer version of setuptools. Early testing indicate that twisted cannot be installed with the currently shipped version of setuptools and python-2.7.1.
Apply: http://www.d.umn.edu/~strogdon/sage/setuptools-0.6.16.spkg
When this ticket is closed, ticket #10361 can also be closed.
Component: packages: standard
Author: François Bissey
Reviewer: Mariah Lenox
Merged: sage-4.7.1.alpha3
Issue created by migration from https://trac.sagemath.org/ticket/11363
The text was updated successfully, but these errors were encountered: