Opened at 2014-06-25T03:35:13Z
Closed at 2014-10-08T11:48:50Z
#2249 closed defect (fixed)
Installed distribution Twisted 12.2.0 [for example] conflicts with requirement twisted>=13.0 of nevow 0.11.1
Reported by: | nihraguk | Owned by: | warner |
---|---|---|---|
Priority: | normal | Milestone: | 1.10.1 |
Component: | packaging | Version: | 1.10.0 |
Keywords: | mac osx debian windows packaging twisted nevow | Cc: | |
Launchpad Bug: |
Description
python setup.py build generates the following error message:
running update_version no version-control data found, leaving _version.py alone running develop Not found: tahoe-deps Not found: ../tahoe-deps running egg_info writing requirements to src/allmydata_tahoe.egg-info/requires.txt writing src/allmydata_tahoe.egg-info/PKG-INFO writing top-level names to src/allmydata_tahoe.egg-info/top_level.txt writing dependency_links to src/allmydata_tahoe.egg-info/dependency_links.txt writing entry points to src/allmydata_tahoe.egg-info/entry_points.txt package init file 'src/allmydata/web/static/init.py' not found (or not a regular file) package init file 'src/allmydata/web/static/css/init.py' not found (or not a regular file) reading manifest file 'src/allmydata_tahoe.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no previously-included files matching '*~' found anywhere in distribution writing manifest file 'src/allmydata_tahoe.egg-info/SOURCES.txt' running build_ext Processing setuptools-0.6c16dev4.egg removing '/Users/[redacted]/Downloads/allmydata-tahoe-1.10.0/support/lib/python2.7/site-packages/setuptools-0.6c16dev4.egg' (and everything under it) Copying setuptools-0.6c16dev4.egg to /Users/[redacted]/Downloads/allmydata-tahoe-1.10.0/support/lib/python2.7/site-packages setuptools 0.6c16dev4 is already the active version in easy-install.pth Installing easy_install_z-2.6 script to support/bin Installing easy_install_z script to support/bin
Installed /Users/[redacted]/Downloads/allmydata-tahoe-1.10.0/support/lib/python2.7/site-packages/setuptools-0.6c16dev4.egg Creating /Users/[redacted]/Downloads/allmydata-tahoe-1.10.0/support/lib/python2.7/site-packages/allmydata-tahoe.egg-link (link to src) allmydata-tahoe 1.10.0 is already the active version in easy-install.pth Installing tahoe script to support/bin
Installed /Users/[redacted]/Downloads/allmydata-tahoe-1.10.0/src Processing dependencies for allmydata-tahoe==1.10.0 error: Installed distribution Twisted 12.2.0 conflicts with requirement twisted>=13.0
Change History (29)
comment:1 Changed at 2014-06-30T21:47:57Z by zooko
comment:2 Changed at 2014-07-01T16:50:29Z by daira
We could work around this by declaring our dependency on Nevow to require a version before https://github.com/twisted/nevow/commit/0eb20bb508c220b38251b7217b842015037ca5dd (i.e. up to and including 0.11).
comment:3 Changed at 2014-07-01T16:57:26Z by daira
- Component changed from unknown to packaging
- Keywords mac packaging nevow added; python removed
- Milestone changed from undecided to 1.11.0
- Summary changed from OSX: Installed distribution Twisted 12.2.0 conflicts with requirement twisted>=13.0 to OSX: Installed distribution Twisted 12.2.0 conflicts with requirement twisted>=13.0 of nevow 0.11.1
comment:4 Changed at 2014-07-24T00:04:34Z by daira
Well, it sounds from exarkun's response to https://github.com/twisted/nevow/issues/43 that the Twisted project has a different, and stricter, interpretation of versioning requirements for dependencies than we do. That's unfortunate, especially since it is effectively a regression of Nevow 0.11.1 relative to previous versions.
comment:5 follow-up: ↓ 9 Changed at 2014-07-24T00:54:32Z by daira
I don't understand why an installed Twisted 12.2.0 should conflict with a requirement Twisted >= 13.0. Isn't that supposed to result in us building and using Twisted >= 13.0 under the support directory?
comment:6 Changed at 2014-07-24T01:01:26Z by daira
Hmm, #2255 would probably solve this problem (because there wouldn't be an installed Twisted in the virtualenv).
comment:7 Changed at 2014-07-29T07:49:08Z by daira
- Summary changed from OSX: Installed distribution Twisted 12.2.0 conflicts with requirement twisted>=13.0 of nevow 0.11.1 to Installed distribution Twisted 12.2.0 [for example] conflicts with requirement twisted>=13.0 of nevow 0.11.1
#2265 was a duplicate:
While running the setup.py script on my win8.1 64bit Laptop I get this message:
error: Installed distribution twisted 12.3.0 conflicts with requirement twisted>=13.0
I already tried to install <twisted 13> and even <twisted 14> directly in the Python directory, with no success. The script still believes to find 12.3.0
This confirms that the problem is not specific to OS X.
comment:8 Changed at 2014-08-19T17:04:34Z by nejucomo
Here is a reproducible procedure to trigger this issue. We should make this an automated packaging test on all platforms!
First, just the commands:
$ git clone 'https://github.com/tahoe-lafs/tahoe-lafs' $ cd ./tahoe-lafs/ $ virtualenv ./venv $ ./venv/bin/python ./setup.py test
And here's the full commands and output on my system:
$ export PS1='\n\$ ' $ git clone 'https://github.com/tahoe-lafs/tahoe-lafs' Cloning into 'tahoe-lafs'... remote: Counting objects: 39714, done. remote: Compressing objects: 100% (35/35), done. remote: Total 39714 (delta 16), reused 0 (delta 0) Receiving objects: 100% (39714/39714), 60.96 MiB | 455.00 KiB/s, done. Resolving deltas: 100% (21618/21618), done. Checking connectivity... done. $ cd ./tahoe-lafs/ $ virtualenv ./venv Using real prefix '/usr' New python executable in ./venv/bin/python Installing Setuptools..............................................................................................................................................................................................................................done. Installing Pip.....................................................................................................................................................................................................................................................................................................................................done. $ ./venv/bin/python ./setup.py test Not found: tahoe-deps Not found: ../tahoe-deps Installed /home/n/3p/github.com/tahoe-lafs/tahoe-lafs/Twisted-11.1.0-py2.7-linux-x86_64.egg Searching for zope.interface==3.6.0,==3.6.1,==3.6.2,>=3.6.5 Reading http://pypi.python.org/simple/zope.interface/ Best match: zope.interface 3.6.1 Downloading https://tahoe-lafs.org/source/tahoe-lafs/deps/tahoe-lafs-dep-eggs/zope.interface-3.6.1-py2.7-linux-x86_64.egg Processing zope.interface-3.6.1-py2.7-linux-x86_64.egg creating /home/n/3p/github.com/tahoe-lafs/tahoe-lafs/zope.interface-3.6.1-py2.7-linux-x86_64.egg Extracting zope.interface-3.6.1-py2.7-linux-x86_64.egg to /home/n/3p/github.com/tahoe-lafs/tahoe-lafs Installed /home/n/3p/github.com/tahoe-lafs/tahoe-lafs/zope.interface-3.6.1-py2.7-linux-x86_64.egg running update_version git-version: wrote '1.10.0-105-g91077f0' into 'src/allmydata/_version.py' running develop Not found: tahoe-deps Not found: ../tahoe-deps running egg_info creating src/allmydata_tahoe.egg-info writing requirements to src/allmydata_tahoe.egg-info/requires.txt writing src/allmydata_tahoe.egg-info/PKG-INFO writing top-level names to src/allmydata_tahoe.egg-info/top_level.txt writing dependency_links to src/allmydata_tahoe.egg-info/dependency_links.txt writing entry points to src/allmydata_tahoe.egg-info/entry_points.txt writing manifest file 'src/allmydata_tahoe.egg-info/SOURCES.txt' reading manifest file 'src/allmydata_tahoe.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no previously-included files matching '*~' found anywhere in distribution writing manifest file 'src/allmydata_tahoe.egg-info/SOURCES.txt' running build_ext Creating /home/n/3p/github.com/tahoe-lafs/tahoe-lafs/support/lib/python2.7/site-packages/site.py Processing setuptools-0.6c16dev4.egg Copying setuptools-0.6c16dev4.egg to /home/n/3p/github.com/tahoe-lafs/tahoe-lafs/support/lib/python2.7/site-packages Adding setuptools 0.6c16dev4 to easy-install.pth file Installing easy_install_z-2.6 script to support/bin Installing easy_install_z script to support/bin Installed /home/n/3p/github.com/tahoe-lafs/tahoe-lafs/support/lib/python2.7/site-packages/setuptools-0.6c16dev4.egg Creating /home/n/3p/github.com/tahoe-lafs/tahoe-lafs/support/lib/python2.7/site-packages/allmydata-tahoe.egg-link (link to src) Adding allmydata-tahoe 1.10.0.post105 to easy-install.pth file Installing tahoe script to support/bin Installed /home/n/3p/github.com/tahoe-lafs/tahoe-lafs/src Processing dependencies for allmydata-tahoe==1.10.0.post105 Searching for pycryptopp>=0.6.0 Reading https://tahoe-lafs.org/source/tahoe-lafs/deps/tahoe-lafs-dep-sdists/ Reading https://tahoe-lafs.org/source/tahoe-lafs/deps/tahoe-lafs-dep-eggs/ Best match: pycryptopp 0.6.0.1206569328141510525648634803928199668821045408958 Downloading https://tahoe-lafs.org/source/tahoe-lafs/deps/tahoe-lafs-dep-eggs/pycryptopp-0.6.0.1206569328141510525648634803928199668821045408958-py2.7-linux-x86_64.egg Processing pycryptopp-0.6.0.1206569328141510525648634803928199668821045408958-py2.7-linux-x86_64.egg creating /home/n/3p/github.com/tahoe-lafs/tahoe-lafs/support/lib/python2.7/site-packages/pycryptopp-0.6.0.1206569328141510525648634803928199668821045408958-py2.7-linux-x86_64.egg Extracting pycryptopp-0.6.0.1206569328141510525648634803928199668821045408958-py2.7-linux-x86_64.egg to /home/n/3p/github.com/tahoe-lafs/tahoe-lafs/support/lib/python2.7/site-packages Adding pycryptopp 0.6.0.1206569328141510525648634803928199668821045408958 to easy-install.pth file Installed /home/n/3p/github.com/tahoe-lafs/tahoe-lafs/support/lib/python2.7/site-packages/pycryptopp-0.6.0.1206569328141510525648634803928199668821045408958-py2.7-linux-x86_64.egg Searching for mock>=0.8.0 Reading http://pypi.python.org/simple/mock/ Best match: mock 1.0.1 Downloading https://tahoe-lafs.org/source/tahoe-lafs/deps/tahoe-lafs-dep-sdists/mock-1.0.1.tar.gz Processing mock-1.0.1.tar.gz Running mock-1.0.1/setup.py -q bdist_egg --dist-dir /home/n/tmp/easy_install-H9bAb4/mock-1.0.1/egg-dist-tmp-1pgV45 warning: no files found matching '*.png' under directory 'docs' warning: no files found matching '*.css' under directory 'docs' warning: no files found matching '*.html' under directory 'docs' warning: no files found matching '*.js' under directory 'docs' zip_safe flag not set; analyzing archive contents... Adding mock 1.0.1 to easy-install.pth file Installed /home/n/3p/github.com/tahoe-lafs/tahoe-lafs/support/lib/python2.7/site-packages/mock-1.0.1-py2.7.egg Searching for pyasn1>=0.0.8a Reading http://pypi.python.org/simple/pyasn1/ Best match: pyasn1 0.1.7 Downloading https://pypi.python.org/packages/2.7/p/pyasn1/pyasn1-0.1.7-py2.7.egg#md5=15f079cabee01402bf86ca8b83356469 Processing pyasn1-0.1.7-py2.7.egg creating /home/n/3p/github.com/tahoe-lafs/tahoe-lafs/support/lib/python2.7/site-packages/pyasn1-0.1.7-py2.7.egg Extracting pyasn1-0.1.7-py2.7.egg to /home/n/3p/github.com/tahoe-lafs/tahoe-lafs/support/lib/python2.7/site-packages Adding pyasn1 0.1.7 to easy-install.pth file Installed /home/n/3p/github.com/tahoe-lafs/tahoe-lafs/support/lib/python2.7/site-packages/pyasn1-0.1.7-py2.7.egg Searching for pycrypto==2.1.0,==2.3,>=2.4.1 Reading http://pypi.python.org/simple/pycrypto/ Best match: pycrypto 2.5 Downloading https://tahoe-lafs.org/source/tahoe-lafs/deps/tahoe-lafs-dep-eggs/pycrypto-2.5-py2.7-linux-x86_64.egg Processing pycrypto-2.5-py2.7-linux-x86_64.egg creating /home/n/3p/github.com/tahoe-lafs/tahoe-lafs/support/lib/python2.7/site-packages/pycrypto-2.5-py2.7-linux-x86_64.egg Extracting pycrypto-2.5-py2.7-linux-x86_64.egg to /home/n/3p/github.com/tahoe-lafs/tahoe-lafs/support/lib/python2.7/site-packages Adding pycrypto 2.5 to easy-install.pth file Installed /home/n/3p/github.com/tahoe-lafs/tahoe-lafs/support/lib/python2.7/site-packages/pycrypto-2.5-py2.7-linux-x86_64.egg Searching for Nevow>=0.6.0 Reading http://pypi.python.org/simple/Nevow/ Best match: Nevow 0.11.1 Downloading https://pypi.python.org/packages/source/N/Nevow/Nevow-0.11.1.tar.gz#md5=acc5d23bd94a5399752065baae6117f6 Processing Nevow-0.11.1.tar.gz Running Nevow-0.11.1/setup.py -q bdist_egg --dist-dir /home/n/tmp/easy_install-aCJDtJ/Nevow-0.11.1/egg-dist-tmp-OD8MSC package init file 'twisted/plugins/__init__.py' not found (or not a regular file) Adding Nevow 0.11.1 to easy-install.pth file Installing nevow-xmlgettext script to support/bin Installing nit script to support/bin Installed /home/n/3p/github.com/tahoe-lafs/tahoe-lafs/support/lib/python2.7/site-packages/Nevow-0.11.1-py2.7.egg Searching for pyOpenSSL Reading http://pypi.python.org/simple/pyOpenSSL/ Best match: pyOpenSSL 0.14 Downloading https://pypi.python.org/packages/source/p/pyOpenSSL/pyOpenSSL-0.14.tar.gz#md5=8579ff3a1d858858acfba5f046a4ddf7 Processing pyOpenSSL-0.14.tar.gz Running pyOpenSSL-0.14/setup.py -q bdist_egg --dist-dir /home/n/tmp/easy_install-j3hV0o/pyOpenSSL-0.14/egg-dist-tmp-qXD98c warning: no previously-included files matching '*.pyc' found anywhere in distribution no previously-included directories found matching 'doc/_build' zip_safe flag not set; analyzing archive contents... Adding pyOpenSSL 0.14 to easy-install.pth file Installed /home/n/3p/github.com/tahoe-lafs/tahoe-lafs/support/lib/python2.7/site-packages/pyOpenSSL-0.14-py2.7.egg Searching for foolscap>=0.6.3 Reading http://pypi.python.org/simple/foolscap/ Reading http://foolscap.lothar.com/ Reading http://foolscap.lothar.com/trac Best match: foolscap 0.6.5 Downloading http://foolscap.lothar.com/releases/foolscap-0.6.5.tar.gz Processing foolscap-0.6.5.tar.gz Running foolscap-0.6.5/setup.py -q bdist_egg --dist-dir /home/n/tmp/easy_install-BxgOg2/foolscap-0.6.5/egg-dist-tmp-hMcU4O zip_safe flag not set; analyzing archive contents... foolscap.test.test_appserver: module references __file__ Adding foolscap 0.6.5 to easy-install.pth file Installing flogtool script to support/bin Installing flappclient script to support/bin Installing flappserver script to support/bin Installed /home/n/3p/github.com/tahoe-lafs/tahoe-lafs/support/lib/python2.7/site-packages/foolscap-0.6.5-py2.7.egg Searching for simplejson>=1.4 Reading http://pypi.python.org/simple/simplejson/ Best match: simplejson 3.6.3 Downloading https://pypi.python.org/packages/source/s/simplejson/simplejson-3.6.3.tar.gz#md5=bbb654c2d9b5e3c176af1a22522a458f Processing simplejson-3.6.3.tar.gz Running simplejson-3.6.3/setup.py -q bdist_egg --dist-dir /home/n/tmp/easy_install-qtw_Qi/simplejson-3.6.3/egg-dist-tmp-z7tN34 zip_safe flag not set; analyzing archive contents... simplejson.tests.__init__: module references __file__ Adding simplejson 3.6.3 to easy-install.pth file Installed /home/n/3p/github.com/tahoe-lafs/tahoe-lafs/support/lib/python2.7/site-packages/simplejson-3.6.3-py2.7-linux-x86_64.egg Searching for zfec>=1.1.0 Reading http://pypi.python.org/simple/zfec/ Best match: zfec 1.4.7 Downloading https://tahoe-lafs.org/source/tahoe-lafs/deps/tahoe-lafs-dep-eggs/zfec-1.4.7-py2.7-linux-x86_64.egg Processing zfec-1.4.7-py2.7-linux-x86_64.egg creating /home/n/3p/github.com/tahoe-lafs/tahoe-lafs/support/lib/python2.7/site-packages/zfec-1.4.7-py2.7-linux-x86_64.egg Extracting zfec-1.4.7-py2.7-linux-x86_64.egg to /home/n/3p/github.com/tahoe-lafs/tahoe-lafs/support/lib/python2.7/site-packages Adding zfec 1.4.7 to easy-install.pth file Installing zfec script to support/bin Installing zunfec script to support/bin Installed /home/n/3p/github.com/tahoe-lafs/tahoe-lafs/support/lib/python2.7/site-packages/zfec-1.4.7-py2.7-linux-x86_64.egg error: Installed distribution Twisted 11.1.0 conflicts with requirement twisted>=13.0
comment:9 in reply to: ↑ 5 Changed at 2014-08-19T17:06:38Z by nejucomo
Replying to daira:
I don't understand why an installed Twisted 12.2.0 should conflict with a requirement Twisted >= 13.0. Isn't that supposed to result in us building and using Twisted >= 13.0 under the support directory?
I, too, wonder about this. Is this a setuptools or pip bug? Is it only triggered by tahoe-lafs being too clever?
comment:10 follow-up: ↓ 11 Changed at 2014-08-19T17:07:29Z by zooko
I'll bet that removing the setup_requires, as mentioned in comment:13:ticket:2055 and comment:3:ticket:2066, would fix this ticket.
comment:11 in reply to: ↑ 10 ; follow-up: ↓ 12 Changed at 2014-08-19T17:08:19Z by nejucomo
Replying to zooko:
I'll bet that removing the setup_requires, as mentioned in comment:13:ticket:2055 and comment:3:ticket:2066, would fix this ticket.
I'll test that now.
comment:12 in reply to: ↑ 11 Changed at 2014-08-19T17:56:27Z by nejucomo
Replying to nejucomo:
Replying to zooko:
I'll bet that removing the setup_requires, as mentioned in comment:13:ticket:2055 and comment:3:ticket:2066, would fix this ticket.
I'll test that now.
I just tested that against https://github.com/nejucomo/tahoe-lafs/compare/2249_test_removal_of_all_of_setup_requires
Unfortunately I get the same error. Here's a full reproduction from scratch:
$ export PS1='\n\$ ' $ mkdir ~/tmp/2249-test $ cd ~/tmp/2249-test/ $ git clone 'https://github.com/nejucomo/tahoe-lafs' Cloning into 'tahoe-lafs'... remote: Counting objects: 38409, done. remote: Compressing objects: 100% (15323/15323), done. remote: Total 38409 (delta 20656), reused 38405 (delta 20654) Receiving objects: 100% (38409/38409), 62.14 MiB | 510.00 KiB/s, done. Resolving deltas: 100% (20656/20656), done. Checking connectivity... done. $ cd ./tahoe-lafs/ $ git checkout 2249_test_removal_of_all_of_setup_requires Branch 2249_test_removal_of_all_of_setup_requires set up to track remote branch 2249_test_removal_of_all_of_setup_requires from origin. Switched to a new branch '2249_test_removal_of_all_of_setup_requires' $ git rev-parse HEAD f6bdc75276c99f951b0d85f8e164000990be2b9b $ ls -ld ./venv ls: cannot access ./venv: No such file or directory $ virtualenv ./venv Using real prefix '/usr' New python executable in ./venv/bin/python Installing Setuptools..............................................................................................................................................................................................................................done. Installing Pip.....................................................................................................................................................................................................................................................................................................................................done. $ ./venv/bin/python ./setup.py test running update_version git-version: wrote '1.10.0-32-gf6bdc75' into 'src/allmydata/_version.py' running develop Not found: tahoe-deps Not found: ../tahoe-deps running egg_info creating src/allmydata_tahoe.egg-info writing requirements to src/allmydata_tahoe.egg-info/requires.txt writing src/allmydata_tahoe.egg-info/PKG-INFO writing top-level names to src/allmydata_tahoe.egg-info/top_level.txt writing dependency_links to src/allmydata_tahoe.egg-info/dependency_links.txt writing entry points to src/allmydata_tahoe.egg-info/entry_points.txt writing manifest file 'src/allmydata_tahoe.egg-info/SOURCES.txt' reading manifest file 'src/allmydata_tahoe.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no previously-included files matching '*~' found anywhere in distribution writing manifest file 'src/allmydata_tahoe.egg-info/SOURCES.txt' running build_ext Creating /home/n/tmp/2249-test/tahoe-lafs/support/lib/python2.7/site-packages/site.py Processing setuptools-0.6c16dev4.egg Copying setuptools-0.6c16dev4.egg to /home/n/tmp/2249-test/tahoe-lafs/support/lib/python2.7/site-packages Adding setuptools 0.6c16dev4 to easy-install.pth file Installing easy_install_z-2.6 script to support/bin Installing easy_install_z script to support/bin Installed /home/n/tmp/2249-test/tahoe-lafs/support/lib/python2.7/site-packages/setuptools-0.6c16dev4.egg Creating /home/n/tmp/2249-test/tahoe-lafs/support/lib/python2.7/site-packages/allmydata-tahoe.egg-link (link to src) Adding allmydata-tahoe 1.10.0.post32 to easy-install.pth file Installing tahoe script to support/bin Installed /home/n/tmp/2249-test/tahoe-lafs/src Processing dependencies for allmydata-tahoe==1.10.0.post32 Searching for pycryptopp>=0.6.0 Reading https://tahoe-lafs.org/source/tahoe-lafs/deps/tahoe-lafs-dep-sdists/ Reading https://tahoe-lafs.org/source/tahoe-lafs/deps/tahoe-lafs-dep-eggs/ Best match: pycryptopp 0.6.0.1206569328141510525648634803928199668821045408958 Downloading https://tahoe-lafs.org/source/tahoe-lafs/deps/tahoe-lafs-dep-eggs/pycryptopp-0.6.0.1206569328141510525648634803928199668821045408958-py2.7-linux-x86_64.egg Processing pycryptopp-0.6.0.1206569328141510525648634803928199668821045408958-py2.7-linux-x86_64.egg creating /home/n/tmp/2249-test/tahoe-lafs/support/lib/python2.7/site-packages/pycryptopp-0.6.0.1206569328141510525648634803928199668821045408958-py2.7-linux-x86_64.egg Extracting pycryptopp-0.6.0.1206569328141510525648634803928199668821045408958-py2.7-linux-x86_64.egg to /home/n/tmp/2249-test/tahoe-lafs/support/lib/python2.7/site-packages Adding pycryptopp 0.6.0.1206569328141510525648634803928199668821045408958 to easy-install.pth file Installed /home/n/tmp/2249-test/tahoe-lafs/support/lib/python2.7/site-packages/pycryptopp-0.6.0.1206569328141510525648634803928199668821045408958-py2.7-linux-x86_64.egg Searching for mock>=0.8.0 Reading http://pypi.python.org/simple/mock/ Best match: mock 1.0.1 Downloading https://tahoe-lafs.org/source/tahoe-lafs/deps/tahoe-lafs-dep-sdists/mock-1.0.1.tar.gz Processing mock-1.0.1.tar.gz Running mock-1.0.1/setup.py -q bdist_egg --dist-dir /home/n/tmp/easy_install-5N9lHA/mock-1.0.1/egg-dist-tmp-kRm5n9 warning: no files found matching '*.png' under directory 'docs' warning: no files found matching '*.css' under directory 'docs' warning: no files found matching '*.html' under directory 'docs' warning: no files found matching '*.js' under directory 'docs' zip_safe flag not set; analyzing archive contents... Adding mock 1.0.1 to easy-install.pth file Installed /home/n/tmp/2249-test/tahoe-lafs/support/lib/python2.7/site-packages/mock-1.0.1-py2.7.egg Searching for pyasn1>=0.0.8a Reading http://pypi.python.org/simple/pyasn1/ Best match: pyasn1 0.1.7 Downloading https://pypi.python.org/packages/2.7/p/pyasn1/pyasn1-0.1.7-py2.7.egg#md5=15f079cabee01402bf86ca8b83356469 Processing pyasn1-0.1.7-py2.7.egg creating /home/n/tmp/2249-test/tahoe-lafs/support/lib/python2.7/site-packages/pyasn1-0.1.7-py2.7.egg Extracting pyasn1-0.1.7-py2.7.egg to /home/n/tmp/2249-test/tahoe-lafs/support/lib/python2.7/site-packages Adding pyasn1 0.1.7 to easy-install.pth file Installed /home/n/tmp/2249-test/tahoe-lafs/support/lib/python2.7/site-packages/pyasn1-0.1.7-py2.7.egg Searching for pycrypto==2.1.0,==2.3,>=2.4.1 Reading http://pypi.python.org/simple/pycrypto/ Best match: pycrypto 2.5 Downloading https://tahoe-lafs.org/source/tahoe-lafs/deps/tahoe-lafs-dep-eggs/pycrypto-2.5-py2.7-linux-x86_64.egg Processing pycrypto-2.5-py2.7-linux-x86_64.egg creating /home/n/tmp/2249-test/tahoe-lafs/support/lib/python2.7/site-packages/pycrypto-2.5-py2.7-linux-x86_64.egg Extracting pycrypto-2.5-py2.7-linux-x86_64.egg to /home/n/tmp/2249-test/tahoe-lafs/support/lib/python2.7/site-packages Adding pycrypto 2.5 to easy-install.pth file Installed /home/n/tmp/2249-test/tahoe-lafs/support/lib/python2.7/site-packages/pycrypto-2.5-py2.7-linux-x86_64.egg Searching for Nevow>=0.6.0 Reading http://pypi.python.org/simple/Nevow/ Best match: Nevow 0.11.1 Downloading https://pypi.python.org/packages/source/N/Nevow/Nevow-0.11.1.tar.gz#md5=acc5d23bd94a5399752065baae6117f6 Processing Nevow-0.11.1.tar.gz Running Nevow-0.11.1/setup.py -q bdist_egg --dist-dir /home/n/tmp/easy_install-J9h2uV/Nevow-0.11.1/egg-dist-tmp-XlmXqe package init file 'twisted/plugins/__init__.py' not found (or not a regular file) Adding Nevow 0.11.1 to easy-install.pth file Installing nevow-xmlgettext script to support/bin Installing nit script to support/bin Installed /home/n/tmp/2249-test/tahoe-lafs/support/lib/python2.7/site-packages/Nevow-0.11.1-py2.7.egg Searching for pyOpenSSL Reading http://pypi.python.org/simple/pyOpenSSL/ Best match: pyOpenSSL 0.14 Downloading https://pypi.python.org/packages/source/p/pyOpenSSL/pyOpenSSL-0.14.tar.gz#md5=8579ff3a1d858858acfba5f046a4ddf7 Processing pyOpenSSL-0.14.tar.gz Running pyOpenSSL-0.14/setup.py -q bdist_egg --dist-dir /home/n/tmp/easy_install-HFgXKX/pyOpenSSL-0.14/egg-dist-tmp-JngX0j warning: no previously-included files matching '*.pyc' found anywhere in distribution no previously-included directories found matching 'doc/_build' zip_safe flag not set; analyzing archive contents... Adding pyOpenSSL 0.14 to easy-install.pth file Installed /home/n/tmp/2249-test/tahoe-lafs/support/lib/python2.7/site-packages/pyOpenSSL-0.14-py2.7.egg Searching for foolscap>=0.6.3 Reading http://pypi.python.org/simple/foolscap/ Reading http://foolscap.lothar.com/ Reading http://foolscap.lothar.com/trac Best match: foolscap 0.6.5 Downloading http://foolscap.lothar.com/releases/foolscap-0.6.5.tar.gz Processing foolscap-0.6.5.tar.gz Running foolscap-0.6.5/setup.py -q bdist_egg --dist-dir /home/n/tmp/easy_install-cgjonR/foolscap-0.6.5/egg-dist-tmp-R2EnHo zip_safe flag not set; analyzing archive contents... foolscap.test.test_appserver: module references __file__ Adding foolscap 0.6.5 to easy-install.pth file Installing flogtool script to support/bin Installing flappclient script to support/bin Installing flappserver script to support/bin Installed /home/n/tmp/2249-test/tahoe-lafs/support/lib/python2.7/site-packages/foolscap-0.6.5-py2.7.egg Searching for Twisted>=11.0.0 Reading http://pypi.python.org/simple/Twisted/ Best match: Twisted 11.1.0 Downloading https://tahoe-lafs.org/source/tahoe-lafs/deps/tahoe-lafs-dep-eggs/Twisted-11.1.0-py2.7-linux-x86_64.egg Processing Twisted-11.1.0-py2.7-linux-x86_64.egg creating /home/n/tmp/2249-test/tahoe-lafs/support/lib/python2.7/site-packages/Twisted-11.1.0-py2.7-linux-x86_64.egg Extracting Twisted-11.1.0-py2.7-linux-x86_64.egg to /home/n/tmp/2249-test/tahoe-lafs/support/lib/python2.7/site-packages Adding Twisted 11.1.0 to easy-install.pth file Installing tapconvert script to support/bin Installing manhole script to support/bin Installing tkconch script to support/bin Installing ckeygen script to support/bin Installing tap2deb script to support/bin Installing pyhtmlizer script to support/bin Installing trial script to support/bin Installing cftp script to support/bin Installing mailmail script to support/bin Installing twistd script to support/bin Installing conch script to support/bin Installing tap2rpm script to support/bin Installing lore script to support/bin Installed /home/n/tmp/2249-test/tahoe-lafs/support/lib/python2.7/site-packages/Twisted-11.1.0-py2.7-linux-x86_64.egg Searching for zope.interface==3.6.0,==3.6.1,==3.6.2,>=3.6.5 Reading http://pypi.python.org/simple/zope.interface/ Best match: zope.interface 3.6.1 Downloading https://tahoe-lafs.org/source/tahoe-lafs/deps/tahoe-lafs-dep-eggs/zope.interface-3.6.1-py2.7-linux-x86_64.egg Processing zope.interface-3.6.1-py2.7-linux-x86_64.egg creating /home/n/tmp/2249-test/tahoe-lafs/support/lib/python2.7/site-packages/zope.interface-3.6.1-py2.7-linux-x86_64.egg Extracting zope.interface-3.6.1-py2.7-linux-x86_64.egg to /home/n/tmp/2249-test/tahoe-lafs/support/lib/python2.7/site-packages Adding zope.interface 3.6.1 to easy-install.pth file Installed /home/n/tmp/2249-test/tahoe-lafs/support/lib/python2.7/site-packages/zope.interface-3.6.1-py2.7-linux-x86_64.egg Searching for simplejson>=1.4 Reading http://pypi.python.org/simple/simplejson/ Best match: simplejson 3.6.3 Downloading https://pypi.python.org/packages/source/s/simplejson/simplejson-3.6.3.tar.gz#md5=bbb654c2d9b5e3c176af1a22522a458f Processing simplejson-3.6.3.tar.gz Running simplejson-3.6.3/setup.py -q bdist_egg --dist-dir /home/n/tmp/easy_install-qU_Kkx/simplejson-3.6.3/egg-dist-tmp-7IGnGJ zip_safe flag not set; analyzing archive contents... simplejson.tests.__init__: module references __file__ Adding simplejson 3.6.3 to easy-install.pth file Installed /home/n/tmp/2249-test/tahoe-lafs/support/lib/python2.7/site-packages/simplejson-3.6.3-py2.7-linux-x86_64.egg Searching for zfec>=1.1.0 Reading http://pypi.python.org/simple/zfec/ Best match: zfec 1.4.7 Downloading https://tahoe-lafs.org/source/tahoe-lafs/deps/tahoe-lafs-dep-eggs/zfec-1.4.7-py2.7-linux-x86_64.egg Processing zfec-1.4.7-py2.7-linux-x86_64.egg creating /home/n/tmp/2249-test/tahoe-lafs/support/lib/python2.7/site-packages/zfec-1.4.7-py2.7-linux-x86_64.egg Extracting zfec-1.4.7-py2.7-linux-x86_64.egg to /home/n/tmp/2249-test/tahoe-lafs/support/lib/python2.7/site-packages Adding zfec 1.4.7 to easy-install.pth file Installing zfec script to support/bin Installing zunfec script to support/bin Installed /home/n/tmp/2249-test/tahoe-lafs/support/lib/python2.7/site-packages/zfec-1.4.7-py2.7-linux-x86_64.egg error: Installed distribution Twisted 11.1.0 conflicts with requirement twisted>=13.0
comment:13 Changed at 2014-08-19T18:11:49Z by nejucomo
I see that Tahoe-LAFS specifies Twisted >= 11.0.0 (see https://github.com/tahoe-lafs/tahoe-lafs/blob/master/src/allmydata/_auto_deps.py#L32).
Why doesn't the ./setup.py test process see the latest version of twisted (say 14.something) and decide that meets the constraint >= 11.0.0 and install *that*?
comment:14 Changed at 2014-08-30T00:09:59Z by daira
comment:15 Changed at 2014-08-30T00:13:28Z by daira
- Keywords windows added
comment:16 Changed at 2014-09-02T17:19:07Z by nejucomo
Warner just asked if ./setup.py build exhibits the same behavior and it does.
Here are the relevant commands I just ran:
$ git clone 'https://github.com/tahoe-lafs/tahoe-lafs' $ cd tahoe-lafs/ $ virtualenv ./venv $ ./venv/bin/python ./setup.py build
And here is the full log:
$ export PS1='\n\$ ' $ mkdir ~/tmp/lafs-2249-test $ cd ~/tmp/lafs-2249-test $ git clone 'https://github.com/tahoe-lafs/tahoe-lafs' Cloning into 'tahoe-lafs'... remote: Counting objects: 39848, done. remote: Compressing objects: 100% (44/44), done. remote: Total 39848 (delta 23), reused 0 (delta 0) Receiving objects: 100% (39848/39848), 60.98 MiB | 910.00 KiB/s, done. Resolving deltas: 100% (21717/21717), done. Checking connectivity... done. $ cd tahoe-lafs/ $ virtualenv ./venv Using real prefix '/usr' New python executable in ./venv/bin/python Installing Setuptools..............................................................................................................................................................................................................................done. Installing Pip.....................................................................................................................................................................................................................................................................................................................................done. $ ./venv/bin/python ./setup.py build Not found: tahoe-deps Not found: ../tahoe-deps Installed /home/n/tmp/lafs-2249-test/tahoe-lafs/Twisted-11.1.0-py2.7-linux-x86_64.egg Searching for zope.interface==3.6.0,==3.6.1,==3.6.2,>=3.6.5 Reading http://pypi.python.org/simple/zope.interface/ Best match: zope.interface 3.6.1 Downloading https://tahoe-lafs.org/source/tahoe-lafs/deps/tahoe-lafs-dep-eggs/zope.interface-3.6.1-py2.7-linux-x86_64.egg Processing zope.interface-3.6.1-py2.7-linux-x86_64.egg creating /home/n/tmp/lafs-2249-test/tahoe-lafs/zope.interface-3.6.1-py2.7-linux-x86_64.egg Extracting zope.interface-3.6.1-py2.7-linux-x86_64.egg to /home/n/tmp/lafs-2249-test/tahoe-lafs Installed /home/n/tmp/lafs-2249-test/tahoe-lafs/zope.interface-3.6.1-py2.7-linux-x86_64.egg running update_version git-version: wrote '1.10.0-122-gd95b370' into 'src/allmydata/_version.py' running develop Not found: tahoe-deps Not found: ../tahoe-deps running egg_info creating src/allmydata_tahoe.egg-info writing requirements to src/allmydata_tahoe.egg-info/requires.txt writing src/allmydata_tahoe.egg-info/PKG-INFO writing top-level names to src/allmydata_tahoe.egg-info/top_level.txt writing dependency_links to src/allmydata_tahoe.egg-info/dependency_links.txt writing entry points to src/allmydata_tahoe.egg-info/entry_points.txt writing manifest file 'src/allmydata_tahoe.egg-info/SOURCES.txt' reading manifest file 'src/allmydata_tahoe.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no previously-included files matching '*~' found anywhere in distribution writing manifest file 'src/allmydata_tahoe.egg-info/SOURCES.txt' running build_ext Creating /home/n/tmp/lafs-2249-test/tahoe-lafs/support/lib/python2.7/site-packages/site.py Processing setuptools-0.6c16dev4.egg Copying setuptools-0.6c16dev4.egg to /home/n/tmp/lafs-2249-test/tahoe-lafs/support/lib/python2.7/site-packages Adding setuptools 0.6c16dev4 to easy-install.pth file Installing easy_install_z-2.6 script to support/bin Installing easy_install_z script to support/bin Installed /home/n/tmp/lafs-2249-test/tahoe-lafs/support/lib/python2.7/site-packages/setuptools-0.6c16dev4.egg Creating /home/n/tmp/lafs-2249-test/tahoe-lafs/support/lib/python2.7/site-packages/allmydata-tahoe.egg-link (link to src) Adding allmydata-tahoe 1.10.0.post122 to easy-install.pth file Installing tahoe script to support/bin Installed /home/n/tmp/lafs-2249-test/tahoe-lafs/src Processing dependencies for allmydata-tahoe==1.10.0.post122 Searching for pycryptopp>=0.6.0 Reading https://tahoe-lafs.org/source/tahoe-lafs/deps/tahoe-lafs-dep-sdists/ Reading https://tahoe-lafs.org/source/tahoe-lafs/deps/tahoe-lafs-dep-eggs/ Best match: pycryptopp 0.6.0.1206569328141510525648634803928199668821045408958 Downloading https://tahoe-lafs.org/source/tahoe-lafs/deps/tahoe-lafs-dep-eggs/pycryptopp-0.6.0.1206569328141510525648634803928199668821045408958-py2.7-linux-x86_64.egg Processing pycryptopp-0.6.0.1206569328141510525648634803928199668821045408958-py2.7-linux-x86_64.egg creating /home/n/tmp/lafs-2249-test/tahoe-lafs/support/lib/python2.7/site-packages/pycryptopp-0.6.0.1206569328141510525648634803928199668821045408958-py2.7-linux-x86_64.egg Extracting pycryptopp-0.6.0.1206569328141510525648634803928199668821045408958-py2.7-linux-x86_64.egg to /home/n/tmp/lafs-2249-test/tahoe-lafs/support/lib/python2.7/site-packages Adding pycryptopp 0.6.0.1206569328141510525648634803928199668821045408958 to easy-install.pth file Installed /home/n/tmp/lafs-2249-test/tahoe-lafs/support/lib/python2.7/site-packages/pycryptopp-0.6.0.1206569328141510525648634803928199668821045408958-py2.7-linux-x86_64.egg Searching for mock>=0.8.0 Reading http://pypi.python.org/simple/mock/ Best match: mock 1.0.1 Downloading https://tahoe-lafs.org/source/tahoe-lafs/deps/tahoe-lafs-dep-sdists/mock-1.0.1.tar.gz Processing mock-1.0.1.tar.gz Running mock-1.0.1/setup.py -q bdist_egg --dist-dir /home/n/tmp/easy_install-F0xunk/mock-1.0.1/egg-dist-tmp-IXro16 warning: no files found matching '*.png' under directory 'docs' warning: no files found matching '*.css' under directory 'docs' warning: no files found matching '*.html' under directory 'docs' warning: no files found matching '*.js' under directory 'docs' zip_safe flag not set; analyzing archive contents... Adding mock 1.0.1 to easy-install.pth file Installed /home/n/tmp/lafs-2249-test/tahoe-lafs/support/lib/python2.7/site-packages/mock-1.0.1-py2.7.egg Searching for pyasn1>=0.0.8a Reading http://pypi.python.org/simple/pyasn1/ Best match: pyasn1 0.1.7 Downloading https://pypi.python.org/packages/2.7/p/pyasn1/pyasn1-0.1.7-py2.7.egg#md5=15f079cabee01402bf86ca8b83356469 Processing pyasn1-0.1.7-py2.7.egg creating /home/n/tmp/lafs-2249-test/tahoe-lafs/support/lib/python2.7/site-packages/pyasn1-0.1.7-py2.7.egg Extracting pyasn1-0.1.7-py2.7.egg to /home/n/tmp/lafs-2249-test/tahoe-lafs/support/lib/python2.7/site-packages Adding pyasn1 0.1.7 to easy-install.pth file Installed /home/n/tmp/lafs-2249-test/tahoe-lafs/support/lib/python2.7/site-packages/pyasn1-0.1.7-py2.7.egg Searching for pycrypto==2.1.0,==2.3,>=2.4.1 Reading http://pypi.python.org/simple/pycrypto/ Best match: pycrypto 2.5 Downloading https://tahoe-lafs.org/source/tahoe-lafs/deps/tahoe-lafs-dep-eggs/pycrypto-2.5-py2.7-linux-x86_64.egg Processing pycrypto-2.5-py2.7-linux-x86_64.egg creating /home/n/tmp/lafs-2249-test/tahoe-lafs/support/lib/python2.7/site-packages/pycrypto-2.5-py2.7-linux-x86_64.egg Extracting pycrypto-2.5-py2.7-linux-x86_64.egg to /home/n/tmp/lafs-2249-test/tahoe-lafs/support/lib/python2.7/site-packages Adding pycrypto 2.5 to easy-install.pth file Installed /home/n/tmp/lafs-2249-test/tahoe-lafs/support/lib/python2.7/site-packages/pycrypto-2.5-py2.7-linux-x86_64.egg Searching for Nevow>=0.6.0 Reading http://pypi.python.org/simple/Nevow/ Best match: Nevow 0.11.1 Downloading https://pypi.python.org/packages/source/N/Nevow/Nevow-0.11.1.tar.gz#md5=acc5d23bd94a5399752065baae6117f6 Processing Nevow-0.11.1.tar.gz Running Nevow-0.11.1/setup.py -q bdist_egg --dist-dir /home/n/tmp/easy_install-zzdjLK/Nevow-0.11.1/egg-dist-tmp-YmtI6n package init file 'twisted/plugins/__init__.py' not found (or not a regular file) Adding Nevow 0.11.1 to easy-install.pth file Installing nevow-xmlgettext script to support/bin Installing nit script to support/bin Installed /home/n/tmp/lafs-2249-test/tahoe-lafs/support/lib/python2.7/site-packages/Nevow-0.11.1-py2.7.egg Searching for pyOpenSSL Reading http://pypi.python.org/simple/pyOpenSSL/ Best match: pyOpenSSL 0.14 Downloading https://pypi.python.org/packages/source/p/pyOpenSSL/pyOpenSSL-0.14.tar.gz#md5=8579ff3a1d858858acfba5f046a4ddf7 Processing pyOpenSSL-0.14.tar.gz Running pyOpenSSL-0.14/setup.py -q bdist_egg --dist-dir /home/n/tmp/easy_install-2Wec3H/pyOpenSSL-0.14/egg-dist-tmp-l9XzUE warning: no previously-included files matching '*.pyc' found anywhere in distribution no previously-included directories found matching 'doc/_build' zip_safe flag not set; analyzing archive contents... Adding pyOpenSSL 0.14 to easy-install.pth file Installed /home/n/tmp/lafs-2249-test/tahoe-lafs/support/lib/python2.7/site-packages/pyOpenSSL-0.14-py2.7.egg Searching for foolscap>=0.6.3 Reading http://pypi.python.org/simple/foolscap/ Reading http://foolscap.lothar.com/ Reading http://foolscap.lothar.com/trac Best match: foolscap 0.6.5 Downloading http://foolscap.lothar.com/releases/foolscap-0.6.5.tar.gz Processing foolscap-0.6.5.tar.gz Running foolscap-0.6.5/setup.py -q bdist_egg --dist-dir /home/n/tmp/easy_install-GLT4gg/foolscap-0.6.5/egg-dist-tmp-601HWX zip_safe flag not set; analyzing archive contents... foolscap.test.test_appserver: module references __file__ Adding foolscap 0.6.5 to easy-install.pth file Installing flogtool script to support/bin Installing flappclient script to support/bin Installing flappserver script to support/bin Installed /home/n/tmp/lafs-2249-test/tahoe-lafs/support/lib/python2.7/site-packages/foolscap-0.6.5-py2.7.egg Searching for service-identity Reading http://pypi.python.org/simple/service-identity/ Best match: service-identity 14.0.0 Downloading https://pypi.python.org/packages/source/s/service_identity/service_identity-14.0.0.tar.gz#md5=cea0b0156d73b025ecef660fb51f0d9a Processing service_identity-14.0.0.tar.gz Running service_identity-14.0.0/setup.py -q bdist_egg --dist-dir /home/n/tmp/easy_install-lz7COH/service_identity-14.0.0/egg-dist-tmp-KvI19e /usr/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'extra_requires' warnings.warn(msg) zip_safe flag not set; analyzing archive contents... Adding service-identity 14.0.0 to easy-install.pth file Installed /home/n/tmp/lafs-2249-test/tahoe-lafs/support/lib/python2.7/site-packages/service_identity-14.0.0-py2.7.egg Searching for simplejson>=1.4 Reading http://pypi.python.org/simple/simplejson/ Best match: simplejson 3.6.3 Downloading https://pypi.python.org/packages/source/s/simplejson/simplejson-3.6.3.tar.gz#md5=bbb654c2d9b5e3c176af1a22522a458f Processing simplejson-3.6.3.tar.gz Running simplejson-3.6.3/setup.py -q bdist_egg --dist-dir /home/n/tmp/easy_install-OUFHM9/simplejson-3.6.3/egg-dist-tmp-F0EQxn zip_safe flag not set; analyzing archive contents... simplejson.tests.__init__: module references __file__ Adding simplejson 3.6.3 to easy-install.pth file Installed /home/n/tmp/lafs-2249-test/tahoe-lafs/support/lib/python2.7/site-packages/simplejson-3.6.3-py2.7-linux-x86_64.egg Searching for zfec>=1.1.0 Reading http://pypi.python.org/simple/zfec/ Best match: zfec 1.4.7 Downloading https://tahoe-lafs.org/source/tahoe-lafs/deps/tahoe-lafs-dep-eggs/zfec-1.4.7-py2.7-linux-x86_64.egg Processing zfec-1.4.7-py2.7-linux-x86_64.egg creating /home/n/tmp/lafs-2249-test/tahoe-lafs/support/lib/python2.7/site-packages/zfec-1.4.7-py2.7-linux-x86_64.egg Extracting zfec-1.4.7-py2.7-linux-x86_64.egg to /home/n/tmp/lafs-2249-test/tahoe-lafs/support/lib/python2.7/site-packages Adding zfec 1.4.7 to easy-install.pth file Installing zfec script to support/bin Installing zunfec script to support/bin Installed /home/n/tmp/lafs-2249-test/tahoe-lafs/support/lib/python2.7/site-packages/zfec-1.4.7-py2.7-linux-x86_64.egg error: Installed distribution Twisted 11.1.0 conflicts with requirement twisted>=13.0
comment:17 Changed at 2014-09-07T23:32:05Z by nejucomo
- Keywords debian added
This affects me on a debian system, so I added that keyword.
comment:18 Changed at 2014-09-26T01:51:03Z by zooko
See also #2291.
comment:19 Changed at 2014-09-26T23:43:55Z by daira
Please everyone who had this bug on their system, retry with the 2249-windows-dep-workaround-1 branch.
comment:20 Changed at 2014-09-29T18:02:08Z by daira
- Owner changed from daira to warner
Assigning to warner to look over https://github.com/tahoe-lafs/tahoe-lafs/pull/113.
comment:21 Changed at 2014-10-07T17:35:42Z by daira
comment:22 follow-up: ↓ 23 Changed at 2014-10-07T17:52:26Z by zooko
I had a question about whether to use pkg_resources.require('pyOpenSSL') or import OpenSSL; OpenSSL.__version__. The latter has a side-effect of importing some version of pyOpenSSL and adding it into sys.modules, which may corrupt the subsequent attempts to acquire, build, install a possibly different version of pyOpenSSL. But Daira says that the former is buggy and gives incorrect answers.
comment:23 in reply to: ↑ 22 ; follow-up: ↓ 25 Changed at 2014-10-07T18:13:20Z by nejucomo
Replying to zooko:
[...] But Daira says that the former is buggy and gives incorrect answers.
Is there a more complete explanation of the bug (or a ticket link)?
comment:24 follow-up: ↓ 27 Changed at 2014-10-07T18:20:50Z by nejucomo
On 2249-windows-dep-workaround-5 at dff955a46a28bd6c1da438e0e6d45e3c0e3503aa I see this problem:
$ ./venv/bin/python ./setup.py test Not found: tahoe-deps Not found: ../tahoe-deps /usr/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'install_requires' warnings.warn(msg) /usr/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'zip_safe' warnings.warn(msg) /usr/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'include_package_data' warnings.warn(msg) zip_safe flag not set; analyzing archive contents... twisted.manhole.explorer: module references __file__ twisted.manhole._inspectro: module references __file__ twisted.manhole.gladereactor: module references __file__ twisted.manhole.ui.gtk2manhole: module references __file__ twisted.persisted.sob: module references __file__ twisted.python.versions: module references __file__ twisted.python.util: module references __file__ twisted.python.deprecate: module references __path__ twisted.python.deprecate: module MAY be using inspect.getabsfile twisted.python.rebuild: module references __file__ twisted.python.failure: module MAY be using inspect.stack twisted.python.modules: module references __file__ twisted.python.modules: module references __path__ twisted.python.test.test_deprecate: module references __file__ twisted.python.test.test_sendmsg: module references __file__ twisted.python.test.pullpipe: module references __file__ twisted.python.test.test_reflectpy3: module references __file__ twisted.scripts.tkunzip: module references __file__ twisted.spread.ui.gtk2util: module references __file__ twisted.web.script: module references __file__ twisted.web.test.test_util: module references __file__ twisted.web.test.test_cgi: module references __file__ twisted.web.test.test_webclient: module references __file__ twisted.mail.test.test_options: module references __file__ twisted.mail.test.test_imap: module references __file__ twisted.test.test_randbytes: module references __file__ twisted.test.test_stdio: module references __file__ twisted.test.test_rebuild: module references __file__ twisted.test.test_doc: module references __file__ twisted.test.test_setup: module references __file__ twisted.test.test_paths: module references __file__ twisted.test.test_modules: module references __file__ twisted.test.test_process: module references __file__ twisted.test.test_ftp: module references __file__ twisted.test.ssl_helpers: module references __file__ twisted.test.test_internet: module references __file__ twisted.test.test_amp: module references __file__ twisted.test.test_plugin: module references __file__ twisted.test.test_plugin: module references __path__ twisted.test.test_twisted: module references __path__ twisted.trial.runner: module references __file__ twisted.trial._synctest: module MAY be using inspect.getabsfile twisted.trial.test.test_reporter: module references __file__ twisted.trial.test.test_loader: module references __file__ twisted.trial.test.test_runner: module references __file__ twisted.trial.test.test_assertions: module references __file__ twisted.trial.test.test_script: module references __file__ twisted.internet.test.process_helper: module references __file__ twisted.internet.test.process_gireactornocompat: module references __path__ twisted.internet.test.test_process: module references __file__ twisted.internet.test.test_gireactor: module references __file__ twisted.internet.test.test_endpoints: module references __file__ twisted.internet.test.test_endpoints: module references __path__ twisted.plugins.__init__: module references __path__ twisted.conch.test.test_transport: module references __file__ twisted.conch.test.test_recvline: module references __file__ twisted.conch.test.test_userauth: module references __file__ twisted.lore.tree: module references __file__ twisted.lore.test.test_lore: module references __file__ Traceback (most recent call last): File "./setup.py", line 470, in <module> **setup_args File "/usr/lib/python2.7/distutils/core.py", line 112, in setup _setup_distribution = dist = klass(attrs) File "/home/n/sandbox/lafs-tools/tahoe-lafs/setuptools-0.6c16dev4.egg/setuptools/dist.py", line 260, in __init__ File "/home/n/sandbox/lafs-tools/tahoe-lafs/setuptools-0.6c16dev4.egg/setuptools/dist.py", line 284, in fetch_build_eggs File "/home/n/sandbox/lafs-tools/tahoe-lafs/setuptools-0.6c16dev4.egg/pkg_resources.py", line 576, in resolve entry = dist.location File "/home/n/sandbox/lafs-tools/tahoe-lafs/setuptools-0.6c16dev4.egg/pkg_resources.py", line 826, in best_match File "/home/n/sandbox/lafs-tools/tahoe-lafs/setuptools-0.6c16dev4.egg/pkg_resources.py", line 838, in obtain dists.append(dist) File "/home/n/sandbox/lafs-tools/tahoe-lafs/setuptools-0.6c16dev4.egg/setuptools/dist.py", line 327, in fetch_build_egg File "/home/n/sandbox/lafs-tools/tahoe-lafs/setuptools-0.6c16dev4.egg/setuptools/command/easy_install.py", line 453, in easy_install File "/home/n/sandbox/lafs-tools/tahoe-lafs/setuptools-0.6c16dev4.egg/setuptools/command/easy_install.py", line 483, in install_item File "/home/n/sandbox/lafs-tools/tahoe-lafs/setuptools-0.6c16dev4.egg/setuptools/command/easy_install.py", line 663, in install_eggs File "/home/n/sandbox/lafs-tools/tahoe-lafs/setuptools-0.6c16dev4.egg/setuptools/command/easy_install.py", line 938, in build_and_install File "/home/n/sandbox/lafs-tools/tahoe-lafs/setuptools-0.6c16dev4.egg/setuptools/command/easy_install.py", line 927, in run_setup File "/home/n/sandbox/lafs-tools/tahoe-lafs/setuptools-0.6c16dev4.egg/setuptools/sandbox.py", line 62, in run_setup File "/home/n/sandbox/lafs-tools/tahoe-lafs/setuptools-0.6c16dev4.egg/setuptools/sandbox.py", line 105, in run File "/home/n/sandbox/lafs-tools/tahoe-lafs/setuptools-0.6c16dev4.egg/setuptools/sandbox.py", line 64, in <lambda> File "setup.py", line 64, in <module> execfile('src/allmydata/_auto_deps.py', adglobals) File "setup.py", line 59, in main File "./twisted/python/dist.py", line 79, in setup File "/usr/lib/python2.7/distutils/core.py", line 152, in setup dist.run_commands() File "/usr/lib/python2.7/distutils/dist.py", line 953, in run_commands self.run_command(cmd) File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command cmd_obj.run() File "/home/n/sandbox/lafs-tools/tahoe-lafs/setuptools-0.6c16dev4.egg/setuptools/command/bdist_egg.py", line 236, in run File "/home/n/sandbox/lafs-tools/tahoe-lafs/setuptools-0.6c16dev4.egg/setuptools/command/bdist_egg.py", line 289, in gen_header AttributeError: Distribution instance has no attribute 'entry_points'
comment:25 in reply to: ↑ 23 Changed at 2014-10-07T18:22:40Z by daira
comment:26 Changed at 2014-10-07T18:26:23Z by nejucomo
Daira noticed that I have multiple eggs:
$ ls -d setuptools* setuptools-0.6c16dev4.egg setuptools-0.6c16dev5.egg
(-and make clean doesn't address this issue.)
Daira is going to attempt to modify setup.py to be more strict on this branch to handle this edge case I've hit.
comment:27 in reply to: ↑ 24 Changed at 2014-10-07T18:36:22Z by daira
Replying to nejucomo:
On 2249-windows-dep-workaround-5 at dff955a46a28bd6c1da438e0e6d45e3c0e3503aa I see this problem:
$ ./venv/bin/python ./setup.py test [...] File "/home/n/sandbox/lafs-tools/tahoe-lafs/setuptools-0.6c16dev4.egg/setuptools/command/bdist_egg.py", line 236, in run File "/home/n/sandbox/lafs-tools/tahoe-lafs/setuptools-0.6c16dev4.egg/setuptools/command/bdist_egg.py", line 289, in gen_header AttributeError: Distribution instance has no attribute 'entry_points'
This is because setuptools-0.6c16dev4.egg got added to sys.path rather than setuptools-0.6c16dev5.egg. (I don't actually know why that should produce the quoted error, but it does.) I added another commit that should fix this problem even when setuptools-0.6c16dev4.egg is not deleted.
comment:28 Changed at 2014-10-08T11:45:57Z by Daira Hopwood <daira@…>
comment:29 Changed at 2014-10-08T11:48:50Z by daira
- Resolution set to fixed
- Status changed from new to closed
This interacts with https://github.com/twisted/nevow/issues/43 (why does Nevow depend on Twisted >= 13.0?).