You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I discovered this trying to upgrade pants from the 0.8 pex series to 1.0.0.
A minimal repro using twitter.common.collections which has a single dependency on twitter.common.lang follows:
The failing case with 1st resolve round including [twitter.common.collections, twitter.common.lang] and the second round including [twitter.common.lang]:
jsirois@gill ~ $ pex --versionpex 1.0.0jsirois@gill ~ $ rm -rf ~/.pex/jsirois@gill ~ $ pex -vvv twitter.common.collections twitter.common.lang -o example.pex/home/jsirois/.pyenv/versions/pex/lib/python2.7/site-packages/requests/packages/urllib3/util/ssl_.py:90: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. For more information, see https://urllib3.readthedocs.org/en/latest/security.html#insecureplatformwarning. InsecurePlatformWarningpex: Building pex :: Resolving interpreter :: Setting up interpreter /home/jsirois/.pyenv/versions/pex/bin/python :: Interpreter cache resolving wheel<0.25.0,>=0.24.0 :: Fetching SourcePackage(u'https://pypi.python.org/packages/source/w/wheel/wheel-0.24.0.tar.gz#md5=3b0d66f0d127ea8befapex: Building pex :: Resolving interpreter :: Setting up interpreter /home/jsirois/.pyenv/versions/pex/bin/python :: Interpreter cache resolving wheel<0.25.0,>=0.24.0 :: Fetching SourcePackage(u'https://pypi.python.org/packages/source/w/wheel/wheel-0.24.0.tar.gz#md5=3b0d66f0d127ea8befapex: Validated wheel-0.24.0.tar.gz (md5=3b0d66f0d127ea8befaa5d11453107fd) pex: Validated wheel-0.24.0.tar.gz (md5=3b0d66f0d127ea8befaa5d11453107fd)
pex: Building pex :: Resolving interpreter :: Setting up interpreter /home/jsirois/.pyenv/versions/pex/bin/python :: Interpreter cache resolving wheel<0.25.0,>=0.24.0 :: Installing SourcePackage(u'https://pypi.python.org/packages/source/w/wheel/wheel-0.24.0.tar.gz#md5=3b0d66f0d127ea8bepex: Building pex :: Resolving interpreter :: Setting up interpreter /home/jsirois/.pyenv/versions/pex/bin/python :: Interpreter cache resolving wheel<0.25.0,>=0.24.0 :: Installing SourcePackage(u'https://pypi.python.org/packages/source/w/wheel/wheel-0.24.0.tar.gz#md5=3b0d66f0d127ea8bepex: Building pex :: Resolving distributions /home/jsirois/.pyenv/versions/pex/lib/python2.7/site-packages/requests/packages/urllib3/util/ssl_.py:90: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. For more information, see https://urllib3.readthedocs.org/en/latest/security.html#insecureplatformwarning.
InsecurePlatformWarningpex: Validated twitter.common.collections-0.3.3.tar.gz (md5=902ebdb7e3daa5d6a5c33f5cc6ea5f8f) pex: Validated twitter.common.collections-0.3.3.tar.gz (md5=902ebdb7e3daa5d6a5c33f5cc6ea5f8f)pex: Validated twitter.common.lang-0.3.3.tar.gz (md5=d4f9ad4fc0f1974570d575f25713ebe6) pex: Validated twitter.common.lang-0.3.3.tar.gz (md5=d4f9ad4fc0f1974570d575f25713ebe6)Could not satisfy all requirements for twitter.common.lang: /tmp/tmpq6cetK/twitter.common.lang-0.3.3.tar.gz into distribution :: Packaging twitter.common.lang :: Installing /tmp/tmpbxXozQ twitter.common.lang, twitter.common.lang==0.3.3(from: twitter.common.collections)^jsirois@gill ~ $
As opposed to 2 round that do not have overlapping deps, ie round 1 [twitter.common.collections], round 2 [twitter.common.lang]:
jsirois@gill ~ $ rm -rf ~/.pex/jsirois@gill ~ $ pex -vvv twitter.common.collections -o example.pex/home/jsirois/.pyenv/versions/pex/lib/python2.7/site-packages/requests/packages/urllib3/util/ssl_.py:90: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. For more information, see https://urllib3.readthedocs.org/en/latest/security.html#insecureplatformwarning. InsecurePlatformWarningpex: Building pex :: Resolving interpreter :: Setting up interpreter /home/jsirois/.pyenv/versions/pex/bin/python :: Interpreter cache resolving wheel<0.25.0,>=0.24.0 :: Fetching SourcePackage(u'https://pypi.python.org/packages/source/w/wheel/wheel-0.24.0.tar.gz#md5=3b0d66f0d127ea8befapex: Building pex :: Resolving interpreter :: Setting up interpreter /home/jsirois/.pyenv/versions/pex/bin/python :: Interpreter cache resolving wheel<0.25.0,>=0.24.0 :: Fetching SourcePackage(u'https://pypi.python.org/packages/source/w/wheel/wheel-0.24.0.tar.gz#md5=3b0d66f0d127ea8befapex: Validated wheel-0.24.0.tar.gz (md5=3b0d66f0d127ea8befaa5d11453107fd) pex: Validated wheel-0.24.0.tar.gz (md5=3b0d66f0d127ea8befaa5d11453107fd)
pex: Building pex :: Resolving interpreter :: Setting up interpreter /home/jsirois/.pyenv/versions/pex/bin/python :: Interpreter cache resolving wheel<0.25.0,>=0.24.0 :: Installing SourcePackage(u'https://pypi.python.org/packages/source/w/wheel/wheel-0.24.0.tar.gz#md5=3b0d66f0d127ea8bepex: Building pex :: Resolving interpreter :: Setting up interpreter /home/jsirois/.pyenv/versions/pex/bin/python :: Interpreter cache resolving wheel<0.25.0,>=0.24.0 :: Installing SourcePackage(u'https://pypi.python.org/packages/source/w/wheel/wheel-0.24.0.tar.gz#md5=3b0d66f0d127ea8bepex: Building pex :: Resolving distributions /home/jsirois/.pyenv/versions/pex/lib/python2.7/site-packages/requests/packages/urllib3/util/ssl_.py:90: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. For more information, see https://urllib3.readthedocs.org/en/latest/security.html#insecureplatformwarning.
InsecurePlatformWarningpex: Validated twitter.common.collections-0.3.3.tar.gz (md5=902ebdb7e3daa5d6a5c33f5cc6ea5f8f) pex: Validated twitter.common.collections-0.3.3.tar.gz (md5=902ebdb7e3daa5d6a5c33f5cc6ea5f8f)pex: Validated twitter.common.lang-0.3.3.tar.gz (md5=d4f9ad4fc0f1974570d575f25713ebe6) pex: Validated twitter.common.lang-0.3.3.tar.gz (md5=d4f9ad4fc0f1974570d575f25713ebe6) twitter.common.lang 0.3.3ing distributions :: Translating /tmp/tmpKIVBtn/twitter.common.lang-0.3.3.tar.gz into distribution :: Packaging twitter.common.lang :: Installing /tmp/tmpnIAgGX twitter.common.collections 0.3.3pex: Building pex: 1294.3ms pex: Resolving interpreter: 653.6mspex: Setting up interpreter /home/jsirois/.pyenv/versions/pex/bin/python: 653.6mspex: Interpreter cache resolving wheel<0.25.0,>=0.24.0: 403.1mspex: Fetching SourcePackage(u'https://pypi.python.org/packages/source/w/wheel/wheel-0.24.0.tar.gz#md5=3b0d66f0d127ea8befaa5d11453107fd'): 270.4mspex: Fetching https://pypi.python.org/packages/source/w/wheel/wheel-0.24.0.tar.gz#md5=3b0d66f0d127ea8befaa5d11453107fd: 269.0mspex: Installing SourcePackage(u'https://pypi.python.org/packages/source/w/wheel/wheel-0.24.0.tar.gz#md5=3b0d66f0d127ea8befaa5d11453107fd'): 132.5mspex: Installing /tmp/tmpiaylJN: 124.5mspex: Resolving distributions: 636.5mspex: Fetching https://pypi.python.org/packages/source/t/twitter.common.collections/twitter.common.collections-0.3.3.tar.gz#md5=902ebdb7e3daa5d6a5c33f5cc6ea5f8f: 64.1mspex: Fetching file:///home/jsirois/.pex/build/twitter.common.collections-0.3.3.tar.gz: 0.3mspex: Fetching file:///home/jsirois/.pex/build/twitter.common.collections-0.3.3.tar.gz: 0.1mspex: Translating /tmp/tmpEs5eu8/twitter.common.collections-0.3.3.tar.gz into distribution: 114.4mspex: Packaging twitter.common.collections: 111.2mspex: Installing /tmp/tmp3PLIYG: 109.2mspex: Fetching https://pypi.python.org/packages/source/t/twitter.common.lang/twitter.common.lang-0.3.3.tar.gz#md5=d4f9ad4fc0f1974570d575f25713ebe6: 55.5mspex: Fetching file:///home/jsirois/.pex/build/twitter.common.lang-0.3.3.tar.gz: 0.6mspex: Fetching file:///home/jsirois/.pex/build/twitter.common.lang-0.3.3.tar.gz: 0.2mspex: Translating /tmp/tmpKIVBtn/twitter.common.lang-0.3.3.tar.gz into distribution: 109.1mspex: Packaging twitter.common.lang: 104.9mspex: Installing /tmp/tmpnIAgGX: 104.0msSaving PEX file to example.pex
Note though that the multi-round with repeated dep case does work with the cache turned off:
jsirois@gill ~ $ rm -rf ~/.pex/jsirois@gill ~ $ pex -vvv --disable-cache twitter.common.collections twitter.common.lang -o example.pex/home/jsirois/.pyenv/versions/pex/lib/python2.7/site-packages/requests/packages/urllib3/util/ssl_.py:90: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. For more information, see https://urllib3.readthedocs.org/en/latest/security.html#insecureplatformwarning. InsecurePlatformWarningpex: Building pex :: Resolving interpreter :: Setting up interpreter /home/jsirois/.pyenv/versions/pex/bin/python :: Interpreter cache resolving wheel<0.25.0,>=0.24.0 :: Fetching SourcePackage(u'https://pypi.python.org/packages/source/w/wheel/wheel-0.24.0.tar.gz#md5=3b0d66f0d127ea8befapex: Building pex :: Resolving interpreter :: Setting up interpreter /home/jsirois/.pyenv/versions/pex/bin/python :: Interpreter cache resolving wheel<0.25.0,>=0.24.0 :: Fetching SourcePackage(u'https://pypi.python.org/packages/source/w/wheel/wheel-0.24.0.tar.gz#md5=3b0d66f0d127ea8befapex: Validated wheel-0.24.0.tar.gz (md5=3b0d66f0d127ea8befaa5d11453107fd) pex: Validated wheel-0.24.0.tar.gz (md5=3b0d66f0d127ea8befaa5d11453107fd)
pex: Building pex :: Resolving interpreter :: Setting up interpreter /home/jsirois/.pyenv/versions/pex/bin/python :: Interpreter cache resolving wheel<0.25.0,>=0.24.0 :: Installing SourcePackage(u'https://pypi.python.org/packages/source/w/wheel/wheel-0.24.0.tar.gz#md5=3b0d66f0d127ea8bepex: Building pex :: Resolving interpreter :: Setting up interpreter /home/jsirois/.pyenv/versions/pex/bin/python :: Interpreter cache resolving wheel<0.25.0,>=0.24.0 :: Installing SourcePackage(u'https://pypi.python.org/packages/source/w/wheel/wheel-0.24.0.tar.gz#md5=3b0d66f0d127ea8bepex: Building pex :: Resolving distributions /home/jsirois/.pyenv/versions/pex/lib/python2.7/site-packages/requests/packages/urllib3/util/ssl_.py:90: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. For more information, see https://urllib3.readthedocs.org/en/latest/security.html#insecureplatformwarning.
InsecurePlatformWarningpex: Building pex :: Resolving distributions :: Fetching https://pypi.python.org/packages/source/t/twitter.common.collections/twitter.common.collections-0.3.3.tar.gz#md5=902ebdb7e3daa5d6a5c33f5cc6ea5f8f :: Fetching https://pypi.python.org/packages/source/t/twitter.common.collections/twpex: Validated twitter.common.collections-0.3.3.tar.gz (md5=902ebdb7e3daa5d6a5c33f5cc6ea5f8f) pex: Validated twitter.common.collections-0.3.3.tar.gz (md5=902ebdb7e3daa5d6a5c33f5cc6ea5f8f)pex: Building pex :: Resolving distributions :: Fetching https://pypi.python.org/packages/source/t/twitter.common.lang/twitter.common.lang-0.3.3.tar.gz#md5=d4f9ad4fc0f1974570d575f25713ebe6 :: Fetching https://pypi.python.org/packages/source/t/twitter.common.lang/twitter.common.lang-0.3pex: Validated twitter.common.lang-0.3.3.tar.gz (md5=d4f9ad4fc0f1974570d575f25713ebe6) pex: Validated twitter.common.lang-0.3.3.tar.gz (md5=d4f9ad4fc0f1974570d575f25713ebe6) twitter.common.lang 0.3.3ing distributions :: Translating /tmp/tmpQ1eZhv/twitter.common.lang-0.3.3.tar.gz into distribution :: Packaging twitter.common.lang :: Installing /tmp/tmpg5vN8z twitter.common.collections 0.3.3pex: Building pex: 1349.9ms pex: Resolving interpreter: 712.8mspex: Setting up interpreter /home/jsirois/.pyenv/versions/pex/bin/python: 712.8mspex: Interpreter cache resolving wheel<0.25.0,>=0.24.0: 403.7mspex: Fetching SourcePackage(u'https://pypi.python.org/packages/source/w/wheel/wheel-0.24.0.tar.gz#md5=3b0d66f0d127ea8befaa5d11453107fd'): 270.9mspex: Fetching https://pypi.python.org/packages/source/w/wheel/wheel-0.24.0.tar.gz#md5=3b0d66f0d127ea8befaa5d11453107fd: 269.6mspex: Installing SourcePackage(u'https://pypi.python.org/packages/source/w/wheel/wheel-0.24.0.tar.gz#md5=3b0d66f0d127ea8befaa5d11453107fd'): 132.5mspex: Installing /tmp/tmpBB31J4: 124.4mspex: Resolving distributions: 632.6mspex: Fetching https://pypi.python.org/packages/source/t/twitter.common.collections/twitter.common.collections-0.3.3.tar.gz#md5=902ebdb7e3daa5d6a5c33f5cc6ea5f8f: 62.5mspex: Fetching https://pypi.python.org/packages/source/t/twitter.common.collections/twitter.common.collections-0.3.3.tar.gz#md5=902ebdb7e3daa5d6a5c33f5cc6ea5f8f: 62.1mspex: Translating /tmp/tmpDgFCAa/twitter.common.collections-0.3.3.tar.gz into distribution: 108.6mspex: Packaging twitter.common.collections: 104.9mspex: Installing /tmp/tmpACpPAa: 103.9mspex: Fetching https://pypi.python.org/packages/source/t/twitter.common.lang/twitter.common.lang-0.3.3.tar.gz#md5=d4f9ad4fc0f1974570d575f25713ebe6: 52.3mspex: Fetching https://pypi.python.org/packages/source/t/twitter.common.lang/twitter.common.lang-0.3.3.tar.gz#md5=d4f9ad4fc0f1974570d575f25713ebe6: 52.0mspex: Translating /tmp/tmpQ1eZhv/twitter.common.lang-0.3.3.tar.gz into distribution: 104.6mspex: Packaging twitter.common.lang: 101.8mspex: Installing /tmp/tmpg5vN8z: 100.9msSaving PEX file to example.pex
The text was updated successfully, but these errors were encountered:
I discovered this trying to upgrade pants from the 0.8 pex series to 1.0.0.
A minimal repro using twitter.common.collections which has a single dependency on twitter.common.lang follows:
The failing case with 1st resolve round including [twitter.common.collections, twitter.common.lang] and the second round including [twitter.common.lang]:
As opposed to 2 round that do not have overlapping deps, ie round 1 [twitter.common.collections], round 2 [twitter.common.lang]:
Note though that the multi-round with repeated dep case does work with the cache turned off:
The text was updated successfully, but these errors were encountered: