setuptools sandbox isn't tight enough to hold Twisted's sand in so that it doesn't get in Nevow's eyes #455
Labels
No Label
0.2.0
0.3.0
0.4.0
0.5.0
0.5.1
0.6.0
0.6.1
0.7.0
0.8.0
0.9.0
1.0.0
1.1.0
1.10.0
1.10.1
1.10.2
1.10a2
1.11.0
1.12.0
1.12.1
1.13.0
1.14.0
1.15.0
1.15.1
1.2.0
1.3.0
1.4.1
1.5.0
1.6.0
1.6.1
1.7.0
1.7.1
1.7β
1.8.0
1.8.1
1.8.2
1.8.3
1.8β
1.9.0
1.9.0-s3branch
1.9.0a1
1.9.0a2
1.9.0b1
1.9.1
1.9.2
1.9.2a1
LeastAuthority.com automation
blocker
cannot reproduce
cloud-branch
code
code-dirnodes
code-encoding
code-frontend
code-frontend-cli
code-frontend-ftp-sftp
code-frontend-magic-folder
code-frontend-web
code-mutable
code-network
code-nodeadmin
code-peerselection
code-storage
contrib
critical
defect
dev-infrastructure
documentation
duplicate
enhancement
fixed
invalid
major
minor
n/a
normal
operational
packaging
somebody else's problem
supercritical
task
trivial
unknown
was already fixed
website
wontfix
worksforme
No Milestone
No Assignees
3 Participants
Notifications
Due Date
No due date set.
Reference: tahoe-lafs/trac-2024-07-25#455
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
(http://bugs.python.org/setuptools/issue20) # package required at build time seems to be not fully present at install time?
This makes it impossible to install both Twisted and Nevow in one invocation of a setuptools process. However, if you do two successive invocations of a setuptools process then the second one works. Brian is committing a patch to our Makefile so that
make build
does./setup.py develop ; setup.py develop
instead of justsetup.py develop
, which will make the etch builder start working again. This ticket is to remind me how I don't like that kludge and to be sure and take it out as soon as we have a setuptools that can install Twisted and Nevow in one pass.As noted on the setuptools tracker, this issue has been fixed in the setuptools trunk as of r65949 :)
It turns out that the current fix in the trunk only half-fixes this issue :/ But, since PJE has been very responsive lately, hopefully he will have it fully fixed soon :)
This problem just got worse with the changes to #249 that removed the pyutil tarball from misc/dependencies/ . It looks like one of the dependent libraries (probably zfec or pycryptopp, something that depends upon and contains a copy of pyutil internally) is causing an old version of pyutil to be imported, which then breaks the subsequent requirement on a newer version.
After that change, it requires three invocations of 'setup.py develop' to make the errors go away. I'm updating the Makefile to do this (```make build-once | make build-once |
Hm... Is the problem that when a too-old version of pyutil is installed, then the requirement that we need a newer version cannot be satisfied? If so, then this is not part of this ticket, but is instead part of a new ticket that we should probably create to investigate how to use setuptools's "multi-version" feature, so that both older and newer versions of a library can be installed and the packages that require that library will use the version that they require:
http://peak.telecommunity.com/DevCenter/setuptools#develop-deploy-the-project-source-in-development-mode
adding Cc: Chris Galvan in the hopes that he can explain the multi-version feature to us...
it might be, I remember seeing unusual versions of pyutil in the logs. I'll investigate more closely. For reference, it was the dapper and edgy buildslave that had the problem, and they should still be having it, so just check their logs.
It might also suffice to not ship a copy of pyutil inside zfec/pycryptopp, perhaps by using the same approach as we're doing with tahoe (ship both sumo and normal tarballs, provide a -deps.tar.gz package, etc)
Yes, that sounds like a good change to make to zfec (pycryptopp does not require pyutil). http://allmydata.org/trac/zfec/ticket/2 (offer unbundled "slim" version of zfec without pyutil)
Okay, the original problem was fixed in http://bugs.python.org/setuptools/issue20 , which is in setuptools-0.6c9, which is bundled with Tahoe as of changeset:0bc116b3a2580d89, changeset:3cfc00f5cff1452d, changeset:2e35648901ede7bd. I confirmed that this fixed the original problem when installing Tahoe on Windows.
The next problem is that zfec came with a version of pyutil bundled -- that has been fixed (http://allmydata.org/trac/zfec/ticket/2 (offer unbundled "slim" version of zfec without pyutil) has been closed).
But there is another problem that is deserving of a new ticket -- #530 (use setuptools's --multi-version mode).
This was actually fixed for tahoe-1.3.0.
Does this mean that the comment at source:Makefile@4966#L52 should be removed?
In changeset:8f4ae53f391429ed: