-
Notifications
You must be signed in to change notification settings - Fork 5.9k
Closed
Description
Steps to reproduce
git clone https://github.com/python-telegram-bot/python-telegram-bot && cd python-telegram-botgit submodule update --init --recursivepython setup.py
Expected behaviour
Successful build
Actual behaviour
Build fails: error: package directory 'telegram/vendor/urllib3/urllib3' does not exist
Configuration
Operating System:
ArchLinux x86_64 linux-ck 4.11.2-1-ck
Version of Python, python-telegram-bot & dependencies:
$ python -m telegram
python-telegram-bot 6.0.1
urllib3 1.21.1
certifi 2017.04.17
future 0.16.0
Python 3.6.1 (default, Mar 27 2017, 00:27:06) [GCC 6.3.1 20170306]Using latest commit from master branch:
ff897ce (HEAD -> master, origin/master, origin/HEAD) Avoid confusion with user's urllib3 by renaming vendored urllib3
Logs
running build
running build_py
creating build
creating build/lib
creating build/lib/telegram
copying telegram/inlinequeryresultcachedvideo.py -> build/lib/telegram
copying telegram/emoji.py -> build/lib/telegram
copying telegram/user.py -> build/lib/telegram
copying telegram/voice.py -> build/lib/telegram
copying telegram/inlinekeyboardmarkup.py -> build/lib/telegram
copying telegram/userprofilephotos.py -> build/lib/telegram
copying telegram/photosize.py -> build/lib/telegram
copying telegram/__main__.py -> build/lib/telegram
copying telegram/document.py -> build/lib/telegram
copying telegram/inlinequeryresultcachedphoto.py -> build/lib/telegram
copying telegram/audio.py -> build/lib/telegram
copying telegram/inlinequeryresultmpeg4gif.py -> build/lib/telegram
copying telegram/inlinequeryresultcachedmpeg4gif.py -> build/lib/telegram
copying telegram/inlinequeryresultgame.py -> build/lib/telegram
copying telegram/replymarkup.py -> build/lib/telegram
copying telegram/replykeyboardmarkup.py -> build/lib/telegram
copying telegram/callbackgame.py -> build/lib/telegram
copying telegram/chatmember.py -> build/lib/telegram
copying telegram/inlinequeryresultaudio.py -> build/lib/telegram
copying telegram/base.py -> build/lib/telegram
copying telegram/keyboardbutton.py -> build/lib/telegram
copying telegram/choseninlineresult.py -> build/lib/telegram
copying telegram/bot.py -> build/lib/telegram
copying telegram/inputcontactmessagecontent.py -> build/lib/telegram
copying telegram/inputtextmessagecontent.py -> build/lib/telegram
copying telegram/messageentity.py -> build/lib/telegram
copying telegram/inlinequeryresultvoice.py -> build/lib/telegram
copying telegram/inlinequeryresultdocument.py -> build/lib/telegram
copying telegram/inlinequeryresultcachedgif.py -> build/lib/telegram
copying telegram/inlinequeryresultvenue.py -> build/lib/telegram
copying telegram/file.py -> build/lib/telegram
copying telegram/inlinequeryresultcachedsticker.py -> build/lib/telegram
copying telegram/inlinequeryresultvideo.py -> build/lib/telegram
copying telegram/contact.py -> build/lib/telegram
copying telegram/replykeyboardremove.py -> build/lib/telegram
copying telegram/inputfile.py -> build/lib/telegram
copying telegram/gamehighscore.py -> build/lib/telegram
copying telegram/webhookinfo.py -> build/lib/telegram
copying telegram/callbackquery.py -> build/lib/telegram
copying telegram/chataction.py -> build/lib/telegram
copying telegram/inlinequeryresultgif.py -> build/lib/telegram
copying telegram/message.py -> build/lib/telegram
copying telegram/inputmessagecontent.py -> build/lib/telegram
copying telegram/inlinequeryresultcachedvoice.py -> build/lib/telegram
copying telegram/inputlocationmessagecontent.py -> build/lib/telegram
copying telegram/inputvenuemessagecontent.py -> build/lib/telegram
copying telegram/__init__.py -> build/lib/telegram
copying telegram/venue.py -> build/lib/telegram
copying telegram/inlinequery.py -> build/lib/telegram
copying telegram/error.py -> build/lib/telegram
copying telegram/inlinequeryresultcontact.py -> build/lib/telegram
copying telegram/inlinequeryresultcacheddocument.py -> build/lib/telegram
copying telegram/update.py -> build/lib/telegram
copying telegram/inlinequeryresultarticle.py -> build/lib/telegram
copying telegram/inlinekeyboardbutton.py -> build/lib/telegram
copying telegram/chat.py -> build/lib/telegram
copying telegram/parsemode.py -> build/lib/telegram
copying telegram/version.py -> build/lib/telegram
copying telegram/inlinequeryresultlocation.py -> build/lib/telegram
copying telegram/inlinequeryresult.py -> build/lib/telegram
copying telegram/inlinequeryresultcachedaudio.py -> build/lib/telegram
copying telegram/game.py -> build/lib/telegram
copying telegram/forcereply.py -> build/lib/telegram
copying telegram/constants.py -> build/lib/telegram
copying telegram/video.py -> build/lib/telegram
copying telegram/location.py -> build/lib/telegram
copying telegram/animation.py -> build/lib/telegram
copying telegram/inlinequeryresultphoto.py -> build/lib/telegram
copying telegram/sticker.py -> build/lib/telegram
creating build/lib/telegram/ext
copying telegram/ext/inlinequeryhandler.py -> build/lib/telegram/ext
copying telegram/ext/callbackqueryhandler.py -> build/lib/telegram/ext
copying telegram/ext/conversationhandler.py -> build/lib/telegram/ext
copying telegram/ext/dispatcher.py -> build/lib/telegram/ext
copying telegram/ext/updater.py -> build/lib/telegram/ext
copying telegram/ext/typehandler.py -> build/lib/telegram/ext
copying telegram/ext/filters.py -> build/lib/telegram/ext
copying telegram/ext/__init__.py -> build/lib/telegram/ext
copying telegram/ext/handler.py -> build/lib/telegram/ext
copying telegram/ext/messagequeue.py -> build/lib/telegram/ext
copying telegram/ext/choseninlineresulthandler.py -> build/lib/telegram/ext
copying telegram/ext/stringregexhandler.py -> build/lib/telegram/ext
copying telegram/ext/messagehandler.py -> build/lib/telegram/ext
copying telegram/ext/jobqueue.py -> build/lib/telegram/ext
copying telegram/ext/commandhandler.py -> build/lib/telegram/ext
copying telegram/ext/regexhandler.py -> build/lib/telegram/ext
copying telegram/ext/stringcommandhandler.py -> build/lib/telegram/ext
creating build/lib/telegram/utils
copying telegram/utils/promise.py -> build/lib/telegram/utils
copying telegram/utils/webhookhandler.py -> build/lib/telegram/utils
copying telegram/utils/helpers.py -> build/lib/telegram/utils
copying telegram/utils/__init__.py -> build/lib/telegram/utils
copying telegram/utils/request.py -> build/lib/telegram/utils
copying telegram/utils/deprecate.py -> build/lib/telegram/utils
copying telegram/utils/botan.py -> build/lib/telegram/utils
creating build/lib/telegram/vendor
copying telegram/vendor/__init__.py -> build/lib/telegram/vendor
creating build/lib/telegram/contrib
copying telegram/contrib/__init__.py -> build/lib/telegram/contrib
copying telegram/contrib/botan.py -> build/lib/telegram/contrib
creating build/lib/telegram/vendor/ptb_urllib3
copying telegram/vendor/ptb_urllib3/setup.py -> build/lib/telegram/vendor/ptb_urllib3
copying telegram/vendor/ptb_urllib3/__init__.py -> build/lib/telegram/vendor/ptb_urllib3
creating build/lib/telegram/vendor/ptb_urllib3/dummyserver
copying telegram/vendor/ptb_urllib3/dummyserver/server.py -> build/lib/telegram/vendor/ptb_urllib3/dummyserver
copying telegram/vendor/ptb_urllib3/dummyserver/handlers.py -> build/lib/telegram/vendor/ptb_urllib3/dummyserver
copying telegram/vendor/ptb_urllib3/dummyserver/__init__.py -> build/lib/telegram/vendor/ptb_urllib3/dummyserver
copying telegram/vendor/ptb_urllib3/dummyserver/testcase.py -> build/lib/telegram/vendor/ptb_urllib3/dummyserver
copying telegram/vendor/ptb_urllib3/dummyserver/proxy.py -> build/lib/telegram/vendor/ptb_urllib3/dummyserver
creating build/lib/telegram/vendor/ptb_urllib3/urllib3
copying telegram/vendor/ptb_urllib3/urllib3/_collections.py -> build/lib/telegram/vendor/ptb_urllib3/urllib3
copying telegram/vendor/ptb_urllib3/urllib3/exceptions.py -> build/lib/telegram/vendor/ptb_urllib3/urllib3
copying telegram/vendor/ptb_urllib3/urllib3/connection.py -> build/lib/telegram/vendor/ptb_urllib3/urllib3
copying telegram/vendor/ptb_urllib3/urllib3/filepost.py -> build/lib/telegram/vendor/ptb_urllib3/urllib3
copying telegram/vendor/ptb_urllib3/urllib3/__init__.py -> build/lib/telegram/vendor/ptb_urllib3/urllib3
copying telegram/vendor/ptb_urllib3/urllib3/connectionpool.py -> build/lib/telegram/vendor/ptb_urllib3/urllib3
copying telegram/vendor/ptb_urllib3/urllib3/request.py -> build/lib/telegram/vendor/ptb_urllib3/urllib3
copying telegram/vendor/ptb_urllib3/urllib3/poolmanager.py -> build/lib/telegram/vendor/ptb_urllib3/urllib3
copying telegram/vendor/ptb_urllib3/urllib3/fields.py -> build/lib/telegram/vendor/ptb_urllib3/urllib3
copying telegram/vendor/ptb_urllib3/urllib3/response.py -> build/lib/telegram/vendor/ptb_urllib3/urllib3
creating build/lib/telegram/vendor/ptb_urllib3/test
copying telegram/vendor/ptb_urllib3/test/test_util.py -> build/lib/telegram/vendor/ptb_urllib3/test
copying telegram/vendor/ptb_urllib3/test/benchmark.py -> build/lib/telegram/vendor/ptb_urllib3/test
copying telegram/vendor/ptb_urllib3/test/test_connection.py -> build/lib/telegram/vendor/ptb_urllib3/test
copying telegram/vendor/ptb_urllib3/test/test_filepost.py -> build/lib/telegram/vendor/ptb_urllib3/test
copying telegram/vendor/ptb_urllib3/test/test_collections.py -> build/lib/telegram/vendor/ptb_urllib3/test
copying telegram/vendor/ptb_urllib3/test/test_response.py -> build/lib/telegram/vendor/ptb_urllib3/test
copying telegram/vendor/ptb_urllib3/test/test_proxymanager.py -> build/lib/telegram/vendor/ptb_urllib3/test
copying telegram/vendor/ptb_urllib3/test/test_fields.py -> build/lib/telegram/vendor/ptb_urllib3/test
copying telegram/vendor/ptb_urllib3/test/test_poolmanager.py -> build/lib/telegram/vendor/ptb_urllib3/test
copying telegram/vendor/ptb_urllib3/test/test_retry.py -> build/lib/telegram/vendor/ptb_urllib3/test
copying telegram/vendor/ptb_urllib3/test/test_exceptions.py -> build/lib/telegram/vendor/ptb_urllib3/test
copying telegram/vendor/ptb_urllib3/test/socketpair_helper.py -> build/lib/telegram/vendor/ptb_urllib3/test
copying telegram/vendor/ptb_urllib3/test/__init__.py -> build/lib/telegram/vendor/ptb_urllib3/test
copying telegram/vendor/ptb_urllib3/test/test_compatibility.py -> build/lib/telegram/vendor/ptb_urllib3/test
copying telegram/vendor/ptb_urllib3/test/test_queue_monkeypatch.py -> build/lib/telegram/vendor/ptb_urllib3/test
copying telegram/vendor/ptb_urllib3/test/test_selectors.py -> build/lib/telegram/vendor/ptb_urllib3/test
copying telegram/vendor/ptb_urllib3/test/test_connectionpool.py -> build/lib/telegram/vendor/ptb_urllib3/test
copying telegram/vendor/ptb_urllib3/test/test_no_ssl.py -> build/lib/telegram/vendor/ptb_urllib3/test
copying telegram/vendor/ptb_urllib3/test/port_helpers.py -> build/lib/telegram/vendor/ptb_urllib3/test
creating build/lib/telegram/vendor/ptb_urllib3/urllib3/util
copying telegram/vendor/ptb_urllib3/urllib3/util/url.py -> build/lib/telegram/vendor/ptb_urllib3/urllib3/util
copying telegram/vendor/ptb_urllib3/urllib3/util/selectors.py -> build/lib/telegram/vendor/ptb_urllib3/urllib3/util
copying telegram/vendor/ptb_urllib3/urllib3/util/wait.py -> build/lib/telegram/vendor/ptb_urllib3/urllib3/util
copying telegram/vendor/ptb_urllib3/urllib3/util/connection.py -> build/lib/telegram/vendor/ptb_urllib3/urllib3/util
copying telegram/vendor/ptb_urllib3/urllib3/util/__init__.py -> build/lib/telegram/vendor/ptb_urllib3/urllib3/util
copying telegram/vendor/ptb_urllib3/urllib3/util/retry.py -> build/lib/telegram/vendor/ptb_urllib3/urllib3/util
copying telegram/vendor/ptb_urllib3/urllib3/util/timeout.py -> build/lib/telegram/vendor/ptb_urllib3/urllib3/util
copying telegram/vendor/ptb_urllib3/urllib3/util/request.py -> build/lib/telegram/vendor/ptb_urllib3/urllib3/util
copying telegram/vendor/ptb_urllib3/urllib3/util/response.py -> build/lib/telegram/vendor/ptb_urllib3/urllib3/util
copying telegram/vendor/ptb_urllib3/urllib3/util/ssl_.py -> build/lib/telegram/vendor/ptb_urllib3/urllib3/util
creating build/lib/telegram/vendor/ptb_urllib3/urllib3/packages
copying telegram/vendor/ptb_urllib3/urllib3/packages/ordered_dict.py -> build/lib/telegram/vendor/ptb_urllib3/urllib3/packages
copying telegram/vendor/ptb_urllib3/urllib3/packages/__init__.py -> build/lib/telegram/vendor/ptb_urllib3/urllib3/packages
copying telegram/vendor/ptb_urllib3/urllib3/packages/six.py -> build/lib/telegram/vendor/ptb_urllib3/urllib3/packages
creating build/lib/telegram/vendor/ptb_urllib3/urllib3/contrib
copying telegram/vendor/ptb_urllib3/urllib3/contrib/socks.py -> build/lib/telegram/vendor/ptb_urllib3/urllib3/contrib
copying telegram/vendor/ptb_urllib3/urllib3/contrib/pyopenssl.py -> build/lib/telegram/vendor/ptb_urllib3/urllib3/contrib
copying telegram/vendor/ptb_urllib3/urllib3/contrib/ntlmpool.py -> build/lib/telegram/vendor/ptb_urllib3/urllib3/contrib
copying telegram/vendor/ptb_urllib3/urllib3/contrib/__init__.py -> build/lib/telegram/vendor/ptb_urllib3/urllib3/contrib
copying telegram/vendor/ptb_urllib3/urllib3/contrib/appengine.py -> build/lib/telegram/vendor/ptb_urllib3/urllib3/contrib
creating build/lib/telegram/vendor/ptb_urllib3/urllib3/packages/ssl_match_hostname
copying telegram/vendor/ptb_urllib3/urllib3/packages/ssl_match_hostname/_implementation.py -> build/lib/telegram/vendor/ptb_urllib3/urllib3/packages/ssl_match_hostname
copying telegram/vendor/ptb_urllib3/urllib3/packages/ssl_match_hostname/__init__.py -> build/lib/telegram/vendor/ptb_urllib3/urllib3/packages/ssl_match_hostname
creating build/lib/telegram/vendor/ptb_urllib3/urllib3/packages/backports
copying telegram/vendor/ptb_urllib3/urllib3/packages/backports/makefile.py -> build/lib/telegram/vendor/ptb_urllib3/urllib3/packages/backports
copying telegram/vendor/ptb_urllib3/urllib3/packages/backports/__init__.py -> build/lib/telegram/vendor/ptb_urllib3/urllib3/packages/backports
creating build/lib/telegram/vendor/ptb_urllib3/test/appengine
copying telegram/vendor/ptb_urllib3/test/appengine/test_urlfetch.py -> build/lib/telegram/vendor/ptb_urllib3/test/appengine
copying telegram/vendor/ptb_urllib3/test/appengine/__init__.py -> build/lib/telegram/vendor/ptb_urllib3/test/appengine
creating build/lib/telegram/vendor/ptb_urllib3/test/with_dummyserver
copying telegram/vendor/ptb_urllib3/test/with_dummyserver/test_poolmanager.py -> build/lib/telegram/vendor/ptb_urllib3/test/with_dummyserver
copying telegram/vendor/ptb_urllib3/test/with_dummyserver/test_chunked_transfer.py -> build/lib/telegram/vendor/ptb_urllib3/test/with_dummyserver
copying telegram/vendor/ptb_urllib3/test/with_dummyserver/__init__.py -> build/lib/telegram/vendor/ptb_urllib3/test/with_dummyserver
copying telegram/vendor/ptb_urllib3/test/with_dummyserver/test_connectionpool.py -> build/lib/telegram/vendor/ptb_urllib3/test/with_dummyserver
copying telegram/vendor/ptb_urllib3/test/with_dummyserver/test_https.py -> build/lib/telegram/vendor/ptb_urllib3/test/with_dummyserver
copying telegram/vendor/ptb_urllib3/test/with_dummyserver/test_no_ssl.py -> build/lib/telegram/vendor/ptb_urllib3/test/with_dummyserver
copying telegram/vendor/ptb_urllib3/test/with_dummyserver/test_proxy_poolmanager.py -> build/lib/telegram/vendor/ptb_urllib3/test/with_dummyserver
copying telegram/vendor/ptb_urllib3/test/with_dummyserver/test_socketlevel.py -> build/lib/telegram/vendor/ptb_urllib3/test/with_dummyserver
creating build/lib/telegram/vendor/ptb_urllib3/test/contrib
copying telegram/vendor/ptb_urllib3/test/contrib/test_pyopenssl.py -> build/lib/telegram/vendor/ptb_urllib3/test/contrib
copying telegram/vendor/ptb_urllib3/test/contrib/test_socks.py -> build/lib/telegram/vendor/ptb_urllib3/test/contrib
copying telegram/vendor/ptb_urllib3/test/contrib/__init__.py -> build/lib/telegram/vendor/ptb_urllib3/test/contrib
copying telegram/vendor/ptb_urllib3/test/contrib/test_pyopenssl_dependencies.py -> build/lib/telegram/vendor/ptb_urllib3/test/contrib
copying telegram/vendor/ptb_urllib3/test/contrib/test_gae_manager.py -> build/lib/telegram/vendor/ptb_urllib3/test/contrib
error: package directory 'telegram/vendor/urllib3/urllib3' does not exist