Skip to content
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

connect to Windows port with no listener returns ETIMEDOUT instead of ECONNREFUSED when Windows firewall is enabled #5791

Closed
ddhorstman opened this issue Aug 21, 2020 · 15 comments
Labels

Comments

@ddhorstman
Copy link

ddhorstman commented Aug 21, 2020

Environment

Windows build number: [Version 10.0.19041.450]
Your Distribution version: [Ubunu 20.04]
Whether the issue is on WSL 2 and/or WSL 1: [WSL 2]

Steps to reproduce

  1. Windows Defender Firewall is on with all default settings
  2. Open Windows Terminal
  3. sudo apt install python3 python3-pip
  4. pip3 install --verbose autopep8 (Attempted for several different packages)
  5. Wait as the program hangs for several minutes, then installs normally

WSL logs:

Non-user install because site-packages writeable
Created temporary directory: /tmp/pip-ephem-wheel-cache-8yn33kzk
Created temporary directory: /tmp/pip-req-tracker-u3lnlqrr
Initialized build tracking at /tmp/pip-req-tracker-u3lnlqrr
Created build tracker: /tmp/pip-req-tracker-u3lnlqrr
Entered build tracker: /tmp/pip-req-tracker-u3lnlqrr
Created temporary directory: /tmp/pip-install-mnc1fr9y
1 location(s) to search for versions of autopep8:
* https://pypi.org/simple/autopep8/
Fetching project page and analyzing links: https://pypi.org/simple/autopep8/
Getting page https://pypi.org/simple/autopep8/
Found index url https://pypi.org/simple
Getting credentials from keyring for https://pypi.org/simple
Getting credentials from keyring for pypi.org
Looking up "https://pypi.org/simple/autopep8/" in the cache
Request header has "max_age" as 0, cache bypassed
Starting new HTTPS connection (1): pypi.org:443
https://pypi.org:443 "GET /simple/autopep8/ HTTP/1.1" 200 6212
Updating cache with response from "https://pypi.org/simple/autopep8/"
Caching due to etag
  Found link https://files.pythonhosted.org/packages/e6/ed/0c570555b6d785fd53aed92f55d947ca74cf5f43676da98741e86c6e9f2f/autopep8-0.1.tar.gz#sha256=9cef3bb01d0c48ce1bee5918922d4a7db6d33342966aa61dd1266c15292d4c2d (from https://pypi.org/simple/autopep8/), version: 0.1
  Found link https://files.pythonhosted.org/packages/15/e0/a315407b16b2ffa69a9efb07c61172bb22fd9bf12bf7910c1a00478a4149/autopep8-0.1.1.tar.gz#sha256=7b2c60adf3805ec8e114c3ad84f787e74f595c9fa00da6f2c5a8b52d451579e9 (from https://pypi.org/simple/autopep8/), version: 0.1.1
  Found link https://files.pythonhosted.org/packages/92/15/db4d0b21984f7a40e78619a9b4310b5e7f6ce6ca900b143999674cf39b80/autopep8-0.1.2.tar.gz#sha256=7d86de327c02d775d50caba261b8646acc84c5dc41446a0835d622b1b04430ab (from https://pypi.org/simple/autopep8/), version: 0.1.2
  Found link https://files.pythonhosted.org/packages/bf/76/5940b44afeba712dfaaa3b34182f17ac233e5ac4faf058763db8c64eff5b/autopep8-0.1.3.tar.gz#sha256=b9e3fad744002d33132687cbb4ea00ceeac027d591b672e7fe0763cefd763575 (from https://pypi.org/simple/autopep8/), version: 0.1.3
  Found link https://files.pythonhosted.org/packages/79/5b/1ecd62cb06d1c15d65f2886f60e37dd282ff2d8a3a57496fd8d07ad0ab7d/autopep8-0.2.tar.gz#sha256=9702cec613d3e16af064646a17f029e544339b17ec9d040542948e12c934b79f (from https://pypi.org/simple/autopep8/), version: 0.2
  Found link https://files.pythonhosted.org/packages/46/b3/a2b300c02c6011bb1e7342322b4a7f0f846b38dc821918ac13e1e284677a/autopep8-0.3.tar.gz#sha256=3efb4a175d744642531d36ad37054fa94886fb32374e258748cb0ff35d78f7b4 (from https://pypi.org/simple/autopep8/), version: 0.3
  Found link https://files.pythonhosted.org/packages/f6/9a/73dfa3014af76983437ec2b6e19533c220ba26bc28fc70ff7eb9cf88ec87/autopep8-0.4.tar.gz#sha256=14410111ea790f8ba21f2cfa4570739041e01e93a16fd004d12da3ff12321e55 (from https://pypi.org/simple/autopep8/), version: 0.4
  Found link https://files.pythonhosted.org/packages/a5/4d/391d23e3423fdbb71ff5a19ac376f11f9900f2063dc80fcbbf040b83a084/autopep8-0.5.tar.gz#sha256=2e724c71b67639695fcc1dc8ef5cb941856a729fcea0b09442be65dbd68af8a6 (from https://pypi.org/simple/autopep8/), version: 0.5
  Found link https://files.pythonhosted.org/packages/57/80/764208a5e7caac5c7317ba354a5325d8bea8499d3d66e64f33a85ff303ee/autopep8-0.5.1.tar.gz#sha256=0a45bf872f45c521ebf0486bbbf0bedf7b4a8c4b14631c0d5b4d9a1d9e031329 (from https://pypi.org/simple/autopep8/), version: 0.5.1
  Found link https://files.pythonhosted.org/packages/af/1a/2f8f9681961527a9500f3ea6283a93aae32b891fc8bec29d3e07abf39c16/autopep8-0.5.2.tar.gz#sha256=a9a808bac49605036bdeaa4bf5b50a9bbf87088a54b9a2e54e18c85abcecb70f (from https://pypi.org/simple/autopep8/), version: 0.5.2
  Found link https://files.pythonhosted.org/packages/9c/45/9a3958b69062662b71db460f8150b1b3b63c4ff01c735d99eca5dcac2f38/autopep8-0.6.tar.gz#sha256=5fac8242161b5cf991fda32872c2163918993e64d432414a801da9de28176992 (from https://pypi.org/simple/autopep8/), version: 0.6
  Found link https://files.pythonhosted.org/packages/38/62/d17a63a267f64875735fd81da3729e626860ddd0a3f18360897db41b0fde/autopep8-0.6.1.tar.gz#sha256=eae5724099d70b73a160bf2c6c83085c7bf6f558352d7e1d841b9fcc61054832 (from https://pypi.org/simple/autopep8/), version: 0.6.1
  Found link https://files.pythonhosted.org/packages/8d/28/0252a0f76c6e914cd001cdc0af87cb04abd593e745db96fc28dc551716c5/autopep8-0.6.2.tar.gz#sha256=b6dc5bd386dfc858d34b9dedde7641b59c7694461049e190ff52f7f6a02f0efe (from https://pypi.org/simple/autopep8/), version: 0.6.2
  Found link https://files.pythonhosted.org/packages/7e/d7/59ba03ff9b773e64122d250c230423c34f1078558bf01c8b1ae7ac7d952e/autopep8-0.6.3.tar.gz#sha256=f78d281017ccd91682294b0af55441353bca7acfa867f287846f3479b6ddde7b (from https://pypi.org/simple/autopep8/), version: 0.6.3
  Found link https://files.pythonhosted.org/packages/13/64/d28039effe0a2b0aa86307bbab04a4504ab34c5ff2c41449eb55a8e12ac8/autopep8-0.6.4.tar.gz#sha256=a21765e01995e1cfbde97055ddc82ca7472e19cf088317b4cdab5049f0f27c88 (from https://pypi.org/simple/autopep8/), version: 0.6.4
  Found link https://files.pythonhosted.org/packages/38/5c/a88f47ba644b6a93d99ba6f2c7e68e5d5836c05e71012ab9f4b915803cb8/autopep8-0.6.5.tar.gz#sha256=da77ff1d82fff772144d79cce844711b540c0e7a2610430dda93e729f8398880 (from https://pypi.org/simple/autopep8/), version: 0.6.5
  Found link https://files.pythonhosted.org/packages/e0/10/9b0199b7beaf7cd7072aea621c2712ca3c1e282f516669c250f044828dd1/autopep8-0.7.tar.gz#sha256=bc58cffdaae31c6c63b73ce10ca078fd5dfa157514ab1f7fa5a7e900cb12e9d0 (from https://pypi.org/simple/autopep8/), version: 0.7
  Found link https://files.pythonhosted.org/packages/3e/5b/8777e0c5102d65ef86433e5a8363257dfaa2797789d867e6457c199a385d/autopep8-0.7.1.tar.gz#sha256=83c2dbd1d51151e6183a4e463635ae1da7f8f1f645f821aeba61a2397e6e2a7d (from https://pypi.org/simple/autopep8/), version: 0.7.1
  Found link https://files.pythonhosted.org/packages/50/fe/bc7b4840d32c75e6984f73fe0507e09fef7bcadff9b41bfcafee94f40e92/autopep8-0.7.2.tar.gz#sha256=d38edaf8b28af179d83cd52b04faaf1feb48a59745b468562a1d782ae6da3b18 (from https://pypi.org/simple/autopep8/), version: 0.7.2
  Found link https://files.pythonhosted.org/packages/0c/48/48a093bc5a8478ed4b7783b72642e272ed0d2c0db32bd5412d829c16f89a/autopep8-0.7.3.tar.gz#sha256=6c89ebbc8bc46e175bbaf308566fe094465b320c84964f90aede9800d65729b9 (from https://pypi.org/simple/autopep8/), version: 0.7.3
  Found link https://files.pythonhosted.org/packages/54/9b/cd2418767c9ac4f70b35ffe886c4849328c35215c62d69177b8fc8da2ab3/autopep8-0.8.tar.gz#sha256=b363982590c9f764c1614464a13b1820421e72ddf6d32bb0bbbc5bc3bf14d1a8 (from https://pypi.org/simple/autopep8/), version: 0.8
  Found link https://files.pythonhosted.org/packages/98/84/cac6a42d25f63df51e32ffd0d9a41bed0336bfe4784b7febbc8e87f10017/autopep8-0.8.1.tar.gz#sha256=ebf3ab97fcf710cc5a03a2d5692b376b30b61b92fbd6b3f8072b9c441ab6db49 (from https://pypi.org/simple/autopep8/), version: 0.8.1
  Found link https://files.pythonhosted.org/packages/5b/fa/4ca9cae50294b2d77bc6e09d5eb095798f7c82cc88ff907cbb15ab97f653/autopep8-0.8.2.tar.gz#sha256=bdc93e16bfc54a6cc1cbf18cf400e8a95ceb4612389242ab081f9c9494850904 (from https://pypi.org/simple/autopep8/), version: 0.8.2
  Found link https://files.pythonhosted.org/packages/8a/7b/d02ccf0307010ff3e2f2a9cc3d1d1f23434563025e261e37b8625cfad4b2/autopep8-0.8.3.tar.gz#sha256=daa13bc6c04ddeb0e29cda430a645c9b26fded96a80516d8a5b5ba2814486bae (from https://pypi.org/simple/autopep8/), version: 0.8.3
  Found link https://files.pythonhosted.org/packages/5e/92/bc1f86c88caa7857f4a77a777ef3ba419baa0f36b581a86542e1dd70e23e/autopep8-0.8.4.tar.gz#sha256=c50e264d66c873eb0416ec8b539b2a47f2e7be85779eadebe7be1d60d517f82e (from https://pypi.org/simple/autopep8/), version: 0.8.4
  Found link https://files.pythonhosted.org/packages/5c/05/84f921b1b284e80b5ff2bdb7b5c7f7c58fac86b17ac408783d3e433925bb/autopep8-0.8.5.tar.gz#sha256=e6eeb7c97d53c9013aaab6cfb2f0223c8d85492b37b29006d4cfa312b2cd6b97 (from https://pypi.org/simple/autopep8/), version: 0.8.5
  Found link https://files.pythonhosted.org/packages/7d/32/436f91f2593ec8a4476db6b815a1f5724def3ae6d9f5b81eb6b433b5c7c9/autopep8-0.8.6.tar.gz#sha256=c1729874a46d5fb89a530f72812aedaa06bc42998196355eaba7142165253360 (from https://pypi.org/simple/autopep8/), version: 0.8.6
  Found link https://files.pythonhosted.org/packages/35/66/f7ffa2d65c625eadb53438196e5abd255811608af6cab0b4cd20707e17e5/autopep8-0.8.7.tar.gz#sha256=9fe2d00e5e103f379c2992181690b3e877d2c9ef2daff01029c626ccdcfe69ea (from https://pypi.org/simple/autopep8/), version: 0.8.7
  Found link https://files.pythonhosted.org/packages/3c/d6/02be9df46044e9b15b62b33949f190a707732922f742626817a20e69beac/autopep8-0.9.tar.gz#sha256=62633f1113cf4809abf45388c2529041a173e791b6e73d1c8a8861a880a15d44 (from https://pypi.org/simple/autopep8/), version: 0.9
  Found link https://files.pythonhosted.org/packages/5c/fa/69468a7674b7e23df2eafc1c5e4a8cbae644643d35235acc978d697d3ae3/autopep8-0.9.1.tar.gz#sha256=c387af9a0b95857a94671beda0e1821a1514cb48dc30f8e7b1483e74c1b97140 (from https://pypi.org/simple/autopep8/), version: 0.9.1
  Found link https://files.pythonhosted.org/packages/5d/e6/78618df05ed1f6321dbaff2b1512a76e0365500e109f7e1bfcb718156ede/autopep8-0.9.2.tar.gz#sha256=1e044e29ed4a00ea7fd896d8ef6fc09df5f725c01215dda5bdf9d7f6bf6b499f (from https://pypi.org/simple/autopep8/), version: 0.9.2
  Found link https://files.pythonhosted.org/packages/c5/4a/c9d36add169a819184d8de6864947b68c4163bb88f8198f40a5936c1911b/autopep8-0.9.3.tar.gz#sha256=54bee10a8c1627284b1a4d828e162a92a6167d987ea369b0afc7caa6cbefcad2 (from https://pypi.org/simple/autopep8/), version: 0.9.3
  Found link https://files.pythonhosted.org/packages/c9/8c/c2981c9a0b318ab8c111e670a40eb0b206378438fa5f0e167f217dd5a579/autopep8-0.9.4.tar.gz#sha256=dcd877abb5aaaa5e630891a81c1646cbefccbd5daac92c715e1748f5330d25e7 (from https://pypi.org/simple/autopep8/), version: 0.9.4
  Found link https://files.pythonhosted.org/packages/7a/1c/c965cbf4177844e597c26e3613ddadf20f453ac139cd14104bf50cea608a/autopep8-0.9.5.tar.gz#sha256=f24af8a1a72c73a2ac5779ab8c1f508849e2398468b3c7c7b67a8dcaeb1e9360 (from https://pypi.org/simple/autopep8/), version: 0.9.5
  Found link https://files.pythonhosted.org/packages/b4/80/12a35afe10c2531bccac3fb54cffc77e022fdb218c7fefd4d60797ef27d2/autopep8-0.9.6.tar.gz#sha256=d239a3bda6421ce681669862a17e3b4234252495ec3d18b2e030b5baed8909e9 (from https://pypi.org/simple/autopep8/), version: 0.9.6
  Found link https://files.pythonhosted.org/packages/86/4a/d4c5a67366a92a57187f43a06c448bff5d9342eaf969b432d2656f3d3095/autopep8-0.9.7.tar.gz#sha256=9071ef91a9cd5fdacca64d92fbb82feaa8552d2f01ceed85fb6f8a914f742038 (from https://pypi.org/simple/autopep8/), version: 0.9.7
  Found link https://files.pythonhosted.org/packages/42/c4/7569706d4a6787975bb0505e82cdbcaea55be74dab42613480194e7b6022/autopep8-1.0.tar.gz#sha256=c05d523b59c5b47c47d6c8b2c41a71117211866788e27853a29a480f137cde1a (from https://pypi.org/simple/autopep8/), version: 1.0
  Found link https://files.pythonhosted.org/packages/b3/73/f7934c3a16189bb3fb0cceed6e1d8f49f6a89e375a31ac2701052666276f/autopep8-1.0.1.tar.gz#sha256=c5e3d56fa747ec5a30f8e68f5bae895da3536d3be0e3d45df3a4210b46246896 (from https://pypi.org/simple/autopep8/), version: 1.0.1
  Found link https://files.pythonhosted.org/packages/08/4a/010950ecfef8e5c56f0563b59bc9e47e942575ddb9199b22909f5e89b476/autopep8-1.0.2.tar.gz#sha256=856d0d88240f1ecba78a209d5d5af277ef26dc7398a3d9ae4c5c37c443e80472 (from https://pypi.org/simple/autopep8/), version: 1.0.2
  Found link https://files.pythonhosted.org/packages/e2/c7/51bcafe861cffe5632ef6839de3c5418937a128dc2d578d7aa964c01b68f/autopep8-1.0.3.tar.gz#sha256=28cd7bd8f369e2a71c44f08027d4123acd45f3d49124051af29035399aaa1e2f (from https://pypi.org/simple/autopep8/), version: 1.0.3
  Found link https://files.pythonhosted.org/packages/c4/71/da2fd74830ed6fc936e2903ba39e09cc9ad3e647fa7562717cee50ac9450/autopep8-1.0.4.tar.gz#sha256=c122aefa57d05fe982c7c5f61db24b0fac5a56ee2e46739bc245258f2a6e9e9e (from https://pypi.org/simple/autopep8/), version: 1.0.4
  Found link https://files.pythonhosted.org/packages/dc/f0/93c851e56a8c0ea8f34f0235c2a44559ad86ed3ba6377c0800ac7749d7eb/autopep8-1.1-py2.py3-none-any.whl#sha256=845750a2be9403e4d4c054d7970ef656d587c0852bbb8dfb01fc3c4b8d51337d (from https://pypi.org/simple/autopep8/), version: 1.1
  Found link https://files.pythonhosted.org/packages/bc/c5/5d48bf007334d863068f8638a8baa403425f8c57d8191ef8b6f53cdea5c5/autopep8-1.1.tar.gz#sha256=4d97ef7ee8db336f0707beb8d09680d692ff0963462cde15d5eed336f5001d1f (from https://pypi.org/simple/autopep8/), version: 1.1
  Found link https://files.pythonhosted.org/packages/fe/bf/eaf8cf2c51c07e1e901a84a6c0b702970fc7e277d2aaaac6933bbb5f596a/autopep8-1.1.1-py2.py3-none-any.whl#sha256=6e943c7ead5e82e699590e54879e75475440e1b4e4da07ec1e4ca2342753e1bc (from https://pypi.org/simple/autopep8/), version: 1.1.1
  Found link https://files.pythonhosted.org/packages/21/7f/7e576ded0f0c6adad2598144ad5b8db57ede458faf18281bfe122b2795db/autopep8-1.1.1.tar.gz#sha256=d4844c9420f0b5ec3cfc1a3cf264f139c16eb891aba55884a601edeb11c40adc (from https://pypi.org/simple/autopep8/), version: 1.1.1
  Found link https://files.pythonhosted.org/packages/ab/61/e53d68499d2f4e4b4d119ec82d12d0b468756c531d2ac9d135dd23ede6e8/autopep8-1.2.tar.gz#sha256=b1c8560706e9327b64a71c7b08c6db1abbdbac9247fa6e0d47baac7db0a12028 (from https://pypi.org/simple/autopep8/), version: 1.2
  Found link https://files.pythonhosted.org/packages/92/4e/d0359b76abeeb1d24f13b43428f7cfcd4ed8ea26a79d893007c926c64b89/autopep8-1.2.1.tar.gz#sha256=d0a7cdc397e46be0d91a968acb3f561cc1b9244f5df94a2514cf32acfc8a2e94 (from https://pypi.org/simple/autopep8/), version: 1.2.1
  Found link https://files.pythonhosted.org/packages/4e/5d/dc21d2f2c5cab564feb8879d2474dfddf4181a34b07624cce05774244b71/autopep8-1.2.2.tar.gz#sha256=ecc51614755c7f697e83478f87eb6bbd009075a397c15080f0311aaecbbdfca8 (from https://pypi.org/simple/autopep8/), version: 1.2.2
  Found link https://files.pythonhosted.org/packages/64/ed/64dcd01fbf2f22414d79f8306a625531eb4ada211c6c750144d36c272503/autopep8-1.2.3.tar.gz#sha256=dc1a155da545affd4c862b628ab2e0109bb0896fc7b0c76fa3450e315eb828fd (from https://pypi.org/simple/autopep8/), version: 1.2.3
  Found link https://files.pythonhosted.org/packages/cc/37/669e64656240d1cbcf375731abc52440ff77ae7184f702aae031e381c8ea/autopep8-1.2.4-py2.py3-none-any.whl#sha256=a2ab1a03a58c8d664ee875ca73d5b96b7135c13863e9aad4b64b888acdeb619b (from https://pypi.org/simple/autopep8/), version: 1.2.4
  Found link https://files.pythonhosted.org/packages/98/ac/d447a958abd0d0f80424eafd1f1e2d96380305bd5dfb0df1f7fd5e4bcc56/autopep8-1.2.4.tar.gz#sha256=38e31e266e29808e8a65a307778ed8e402e1f0d87472009420d6d18146cdeaa2 (from https://pypi.org/simple/autopep8/), version: 1.2.4
  Found link https://files.pythonhosted.org/packages/94/90/1d1b88ea986636b3b64f4d1fcf8dbbd550c62b4b6f928d47aa27749c8719/autopep8-1.3.tar.gz#sha256=c44b3ad59992b41303a249689753d0261eee0572cce16844bcd352e457f2aabd (from https://pypi.org/simple/autopep8/), version: 1.3
  Found link https://files.pythonhosted.org/packages/8e/15/eff7372840d20506afacfb4550e1dc69668d7540c2c6729a70d0448d48cb/autopep8-1.3.1.tar.gz#sha256=405eaa5199c74a0570125916e6af44d39343c1fcaaafee117fc329a3f86048c4 (from https://pypi.org/simple/autopep8/), version: 1.3.1
  Found link https://files.pythonhosted.org/packages/f1/31/75b31ea8e2507822a49fca925887da7071bd6bc870852d5de896c772500a/autopep8-1.3.2-py2.py3-none-any.whl#sha256=eb1685527355809967a0363572289303dc05f4b05edbeee4c9051762103e0ee6 (from https://pypi.org/simple/autopep8/), version: 1.3.2
  Found link https://files.pythonhosted.org/packages/0a/fc/c541b2fa1b244e0484216076b95468dc011ae90016b8f37333a24a11e468/autopep8-1.3.2.tar.gz#sha256=7e82590bf366b4d891ac5c1535554c46a5f79e4400a190a8493e92e75c5037dd (from https://pypi.org/simple/autopep8/), version: 1.3.2
  Found link https://files.pythonhosted.org/packages/24/67/1b62431c8529b3e6e9cc377b9c0d1cfd69fdc8342bc821c4908d15757758/autopep8-1.3.3.tar.gz#sha256=ff787bffb812818c3071784b5ce9a35f8c481a0de7ea0ce4f8b68b8788a12f30 (from https://pypi.org/simple/autopep8/), version: 1.3.3
  Found link https://files.pythonhosted.org/packages/4b/b1/a9a682067584ef35682240c3815b94f36b87d2f3bc274e12e51cc006c182/autopep8-1.3.4.tar.gz#sha256=c7be71ab0cb2f50c9c22c82f0c9acaafc6f57492c3fbfee9790c415005c2b9a5 (from https://pypi.org/simple/autopep8/), version: 1.3.4
  Found link https://files.pythonhosted.org/packages/b7/0c/20cf0a438d5273bfd2d607ada3a7a782845ab3776c1c83c1d3baca05535e/autopep8-1.3.5.tar.gz#sha256=2284d4ae2052fedb9f466c09728e30d2e231cfded5ffd7b1a20c34123fdc4ba4 (from https://pypi.org/simple/autopep8/), version: 1.3.5
  Found link https://files.pythonhosted.org/packages/cf/30/9efc988f92f41e2ba51211e3d317ee82260d563ae84dceb53f7021a1bdfe/autopep8-1.4.tar.gz#sha256=655e3ee8b4545be6cfed18985f581ee9ecc74a232550ee46e9797b6fbf4f336d (from https://pypi.org/simple/autopep8/), version: 1.4
  Found link https://files.pythonhosted.org/packages/d7/33/86a857db9c5081b0e8241568e64c1cb1acc03a869448729fbb6d9822bbee/autopep8-1.4.1.tar.gz#sha256=096426ef4b489784c08395d7fc7f8cbf38a107b806984513e4c2d9070b0dc1d8 (from https://pypi.org/simple/autopep8/), version: 1.4.1
  Found link https://files.pythonhosted.org/packages/dd/35/85dc65305bd86ad78aefdb6247bd786ec85e3cb7d86357c5c7ba2e6ae099/autopep8-1.4.2.tar.gz#sha256=1b8d42ebba751a91090d3adb5c06840b1151d71ed43e1c7a9ed6911bfe8ebe6c (from https://pypi.org/simple/autopep8/), version: 1.4.2
  Found link https://files.pythonhosted.org/packages/5b/ba/37d30e4263c51ee5a655118ac8c331e96a4e45fd4cea876a74b87af9ffc1/autopep8-1.4.3.tar.gz#sha256=33d2b5325b7e1afb4240814fe982eea3a92ebea712869bfd08b3c0393404248c (from https://pypi.org/simple/autopep8/), version: 1.4.3
  Found link https://files.pythonhosted.org/packages/45/f3/24b437da561b6af4840c871fbbda32889ca304fc1f7b6cc3ada8b09f394a/autopep8-1.4.4.tar.gz#sha256=4d8eec30cc81bc5617dbf1218201d770dc35629363547f17577c61683ccfb3ee (from https://pypi.org/simple/autopep8/), version: 1.4.4
  Found link https://files.pythonhosted.org/packages/12/55/7b07585ca0c30e5b216e4d627f82f96f1a7e82d2dd727b1f926cb3f3d58b/autopep8-1.5.tar.gz#sha256=0f592a0447acea0c2b0a9602be1e4e3d86db52badd2e3c84f0193bfd89fd3a43 (from https://pypi.org/simple/autopep8/), version: 1.5
  Found link https://files.pythonhosted.org/packages/ca/d3/bb1c5781415b2a4f7d48bcd4c62e735d5ebf40d4f8c325d654870bedb7a6/autopep8-1.5.1.tar.gz#sha256=cc6be1dfd46f2c7fa00e84a357f1a269683985b09eaffb47654ed551194399eb (from https://pypi.org/simple/autopep8/), version: 1.5.1
  Found link https://files.pythonhosted.org/packages/41/5b/3bd26811d311ae0b819487a3d97557ca0181de1c49a8dca1ab2c8dfac4f6/autopep8-1.5.2.tar.gz#sha256=152fd8fe47d02082be86e05001ec23d6f420086db56b17fc883f3f965fb34954 (from https://pypi.org/simple/autopep8/), version: 1.5.2
  Found link https://files.pythonhosted.org/packages/33/9e/69587808c3f77088c96a99a2a4bd8e4a17e8ddbbc2ab1495b5df4c2cd37e/autopep8-1.5.3.tar.gz#sha256=60fd8c4341bab59963dafd5d2a566e94f547e660b9b396f772afe67d8481dbf0 (from https://pypi.org/simple/autopep8/), version: 1.5.3
  Found link https://files.pythonhosted.org/packages/94/37/19bc53fd63fc1caaa15ddb695e32a5d6f6463b3de6b0922ba2a3cbb798c8/autopep8-1.5.4.tar.gz#sha256=d21d3901cb0da6ebd1e83fc9b0dfbde8b46afc2ede4fe32fbda0c7c6118ca094 (from https://pypi.org/simple/autopep8/), version: 1.5.4
Given no hashes to check 68 links for project 'autopep8': discarding no candidates
Using version 1.5.4 (newest of versions: 0.1, 0.1.1, 0.1.2, 0.1.3, 0.2, 0.3, 0.4, 0.5, 0.5.1, 0.5.2, 0.6, 0.6.1, 0.6.2, 0.6.3, 0.6.4, 0.6.5, 0.7, 0.7.1, 0.7.2, 0.7.3, 0.8, 0.8.1, 0.8.2, 0.8.3, 0.8.4, 0.8.5, 0.8.6, 0.8.7, 0.9, 0.9.1, 0.9.2, 0.9.3, 0.9.4, 0.9.5, 0.9.6, 0.9.7, 1.0, 1.0.1, 1.0.2, 1.0.3, 1.0.4, 1.1, 1.1.1, 1.2, 1.2.1, 1.2.2, 1.2.3, 1.2.4, 1.3, 1.3.1, 1.3.2, 1.3.3, 1.3.4, 1.3.5, 1.4, 1.4.1, 1.4.2, 1.4.3, 1.4.4, 1.5, 1.5.1, 1.5.2, 1.5.3, 1.5.4)
Collecting autopep8
  Created temporary directory: /tmp/pip-unpack-ukdy9i0p
  Getting credentials from keyring for files.pythonhosted.org
  Looking up "https://files.pythonhosted.org/packages/94/37/19bc53fd63fc1caaa15ddb695e32a5d6f6463b3de6b0922ba2a3cbb798c8/autopep8-1.5.4.tar.gz" in the cache
  No cache entry available
  Starting new HTTPS connection (1): files.pythonhosted.org:443
  https://files.pythonhosted.org:443 "GET /packages/94/37/19bc53fd63fc1caaa15ddb695e32a5d6f6463b3de6b0922ba2a3cbb798c8/autopep8-1.5.4.tar.gz HTTP/1.1" 200 121471
  Downloading autopep8-1.5.4.tar.gz (121 kB)
     |█████████████████████████████▊  | 112 kB 250 kB/s eta 0:00:01  Ignoring unknown cache-control directive: immutable
  Updating cache with response from "https://files.pythonhosted.org/packages/94/37/19bc53fd63fc1caaa15ddb695e32a5d6f6463b3de6b0922ba2a3cbb798c8/autopep8-1.5.4.tar.gz"
  Caching due to etag
     |████████████████████████████████| 121 kB 250 kB/s
  Added autopep8 from https://files.pythonhosted.org/packages/94/37/19bc53fd63fc1caaa15ddb695e32a5d6f6463b3de6b0922ba2a3cbb798c8/autopep8-1.5.4.tar.gz#sha256=d21d3901cb0da6ebd1e83fc9b0dfbde8b46afc2ede4fe32fbda0c7c6118ca094 to build tracker '/tmp/pip-req-tracker-u3lnlqrr'
    Running setup.py (path:/tmp/pip-install-mnc1fr9y/autopep8/setup.py) egg_info for package autopep8
    Running command python setup.py egg_info
    running egg_info
    creating /tmp/pip-install-mnc1fr9y/autopep8/pip-egg-info/autopep8.egg-info
    writing /tmp/pip-install-mnc1fr9y/autopep8/pip-egg-info/autopep8.egg-info/PKG-INFO
    writing dependency_links to /tmp/pip-install-mnc1fr9y/autopep8/pip-egg-info/autopep8.egg-info/dependency_links.txt
    writing entry points to /tmp/pip-install-mnc1fr9y/autopep8/pip-egg-info/autopep8.egg-info/entry_points.txt
    writing requirements to /tmp/pip-install-mnc1fr9y/autopep8/pip-egg-info/autopep8.egg-info/requires.txt
    writing top-level names to /tmp/pip-install-mnc1fr9y/autopep8/pip-egg-info/autopep8.egg-info/top_level.txt
    writing manifest file '/tmp/pip-install-mnc1fr9y/autopep8/pip-egg-info/autopep8.egg-info/SOURCES.txt'
    reading manifest file '/tmp/pip-install-mnc1fr9y/autopep8/pip-egg-info/autopep8.egg-info/SOURCES.txt'
    reading manifest template 'MANIFEST.in'
    warning: no files found matching 'test/example'
    warning: no files found matching 'test/example/x.py'
    warning: no previously-included files matching '*.py' found under directory 'test/suite'
    warning: no previously-included files matching '*.py' found under directory 'test/suite/out'
    warning: no previously-included files found matching '.travis.yml'
    warning: no previously-included files found matching 'CONTRIBUTING.rst'
    warning: no previously-included files found matching 'Makefile'
    warning: no previously-included files found matching 'coveralls.bash'
    warning: no previously-included files found matching 'hooks'
    warning: no previously-included files found matching 'hooks/pre-push'
    warning: no previously-included files found matching 'install_hooks.bash'
    warning: no previously-included files found matching 'test/.gitignore'
    warning: no previously-included files found matching 'test/acid.py'
    warning: no previously-included files found matching 'test/acid_pypi.py'
    warning: no previously-included files found matching 'test/suite'
    warning: no previously-included files found matching 'test/suite/out'
    warning: no previously-included files found matching 'test/vim_autopep8.py'
    warning: no previously-included files found matching 'tox.ini'
    warning: no previously-included files found matching 'update_readme.py'
    writing manifest file '/tmp/pip-install-mnc1fr9y/autopep8/pip-egg-info/autopep8.egg-info/SOURCES.txt'
  Source in /tmp/pip-install-mnc1fr9y/autopep8 has version 1.5.4, which satisfies requirement autopep8 from https://files.pythonhosted.org/packages/94/37/19bc53fd63fc1caaa15ddb695e32a5d6f6463b3de6b0922ba2a3cbb798c8/autopep8-1.5.4.tar.gz#sha256=d21d3901cb0da6ebd1e83fc9b0dfbde8b46afc2ede4fe32fbda0c7c6118ca094
  Removed autopep8 from https://files.pythonhosted.org/packages/94/37/19bc53fd63fc1caaa15ddb695e32a5d6f6463b3de6b0922ba2a3cbb798c8/autopep8-1.5.4.tar.gz#sha256=d21d3901cb0da6ebd1e83fc9b0dfbde8b46afc2ede4fe32fbda0c7c6118ca094 from build tracker '/tmp/pip-req-tracker-u3lnlqrr'
1 location(s) to search for versions of pycodestyle:
* https://pypi.org/simple/pycodestyle/
Fetching project page and analyzing links: https://pypi.org/simple/pycodestyle/
Getting page https://pypi.org/simple/pycodestyle/
Found index url https://pypi.org/simple
Getting credentials from keyring for https://pypi.org/simple
Getting credentials from keyring for pypi.org
Looking up "https://pypi.org/simple/pycodestyle/" in the cache
Request header has "max_age" as 0, cache bypassed
https://pypi.org:443 "GET /simple/pycodestyle/ HTTP/1.1" 200 2353
Updating cache with response from "https://pypi.org/simple/pycodestyle/"
Caching due to etag
  Found link https://files.pythonhosted.org/packages/ba/d1/9973e3eb4a45342b6b377f7d3f40f02c25b49fe783c42199ea653f41e87a/pycodestyle-1.8.0.dev0-py2.py3-none-any.whl#sha256=015b6d6372dd5b7da024e0a526a4d11686e87442bdf4ebfcafe949f0d67131ef (from https://pypi.org/simple/pycodestyle/), version: 1.8.0.dev0
  Found link https://files.pythonhosted.org/packages/dd/66/fda85afe66edcd5e41a8cca7cc6a1da0cabef0fca8fdff197d82adf17a7a/pycodestyle-1.8.0.dev0.tar.gz#sha256=ea59e187052d370de6f7ea5fb1a167e847f16fe8c4fb2b98310791163fdacbef (from https://pypi.org/simple/pycodestyle/), version: 1.8.0.dev0
  Found link https://files.pythonhosted.org/packages/f3/af/5b89bfeb26b1ddc7ca6b502e2e6bf92ea3eeb04099929288753b084100a5/pycodestyle-2.0.0a1-py2.py3-none-any.whl#sha256=be51c0b7f5cf9f773bcc7e02bb77e044a40ad20ecc66ca5c6e543e3df8e2d263 (from https://pypi.org/simple/pycodestyle/), version: 2.0.0a1
  Found link https://files.pythonhosted.org/packages/e7/9c/2b551f54271c08fd920edbefcea3defe2edf662a86757708df9ca866a033/pycodestyle-2.0.0a1.tar.gz#sha256=de39c5fd2761ff2e5fbf7546dc39d53f82a7bb62e6c71c7da0c2a866315a1d0c (from https://pypi.org/simple/pycodestyle/), version: 2.0.0a1
  Found link https://files.pythonhosted.org/packages/73/31/136a79364c1681a3c276796d1f5090833bd03461b78a1b037638d1a2c484/pycodestyle-2.0.0-py2.py3-none-any.whl#sha256=2ce83f2046f5ab85c652ceceddfbde7a64a909900989b4b43e92b10b743d0ce5 (from https://pypi.org/simple/pycodestyle/), version: 2.0.0
  Found link https://files.pythonhosted.org/packages/db/b1/9f798e745a4602ab40bf6a9174e1409dcdde6928cf800d3aab96a65b1bbf/pycodestyle-2.0.0.tar.gz#sha256=37f0420b14630b0eaaf452978f3a6ea4816d787c3e6dcbba6fb255030adae2e7 (from https://pypi.org/simple/pycodestyle/), version: 2.0.0
  Found link https://files.pythonhosted.org/packages/49/16/455af11e9afef9a38804c516910ba8093f673981a55dbfd4688974b45f40/pycodestyle-2.1.0-py2.py3-none-any.whl#sha256=14588a4a51f464b784eb199ade0a04103e93f9ed7d69551f29f295a9e9668030 (from https://pypi.org/simple/pycodestyle/), version: 2.1.0
  Found link https://files.pythonhosted.org/packages/1d/31/c63f6dbede25dc53135e54175b5cbbc4932f417e169c0a4b2339a69bffc5/pycodestyle-2.1.0.tar.gz#sha256=5b540e4f19b4938c082cfd13f5d778d1ad2308b337abbc687ab9335233f5f3e2 (from https://pypi.org/simple/pycodestyle/), version: 2.1.0
  Found link https://files.pythonhosted.org/packages/46/95/0b74196cb512cbf5127c27636115d63126c0f1a10383d828b9ad7295f381/pycodestyle-2.2.0-py2.py3-none-any.whl#sha256=60c4e1c36f301ac539a550a29e9d16862069ec240472d86e5e71c4fc645829cb (from https://pypi.org/simple/pycodestyle/), version: 2.2.0
  Found link https://files.pythonhosted.org/packages/43/9f/56e824b197398582b0c1aaaa2272560bc51f395fe3e45e1dd88de4bb24dc/pycodestyle-2.2.0.tar.gz#sha256=df81dc3293e0123e2e8d1f2aaf819600e4ae287d8b3af8b72181af50257e5d9a (from https://pypi.org/simple/pycodestyle/), version: 2.2.0
  Found link https://files.pythonhosted.org/packages/32/09/8e580517e4af96141c41f531bca14c4408e7cb716864022737811aaac1be/pycodestyle-2.3.0-py2.py3-none-any.whl#sha256=ae308be77310759b722965cfe4a81b69c10aacaecb2db2c874ceb1720cc8f1aa (from https://pypi.org/simple/pycodestyle/), version: 2.3.0
  Found link https://files.pythonhosted.org/packages/ab/59/bfe563694774450cf6e614b67b2a03f57827c716b7468c64254d9f8c0ec6/pycodestyle-2.3.0.tar.gz#sha256=a5910db118cf7e66ff92fb281a203c19ca2b5134620dd2538a794e636253863b (from https://pypi.org/simple/pycodestyle/), version: 2.3.0
  Found link https://files.pythonhosted.org/packages/e4/81/78fe51eb4038d1388b7217dd63770b0f428370207125047312886c923b26/pycodestyle-2.3.1-py2.py3-none-any.whl#sha256=6c4245ade1edfad79c3446fadfc96b0de2759662dc29d07d80a6f27ad1ca6ba9 (from https://pypi.org/simple/pycodestyle/), version: 2.3.1
  Found link https://files.pythonhosted.org/packages/e1/88/0e2cbf412bd849ea6f1af1f97882add46a374f4ba1d2aea39353609150ad/pycodestyle-2.3.1.tar.gz#sha256=682256a5b318149ca0d2a9185d365d8864a768a28db66a84a2ea946bcc426766 (from https://pypi.org/simple/pycodestyle/), version: 2.3.1
  Found link https://files.pythonhosted.org/packages/e5/c6/ce130213489969aa58610042dff1d908c25c731c9575af6935c2dfad03aa/pycodestyle-2.4.0-py2.py3-none-any.whl#sha256=cbc619d09254895b0d12c2c691e237b2e91e9b2ecf5e84c26b35400f93dcfb83 (from https://pypi.org/simple/pycodestyle/), version: 2.4.0
  Skipping link: unsupported archive format: .egg: https://files.pythonhosted.org/packages/4f/b3/eeab0685e0acdd2e16c12d3b6d0113aeb2ab89619feb4f3040460cca1267/pycodestyle-2.4.0-py3.6.egg#sha256=74abc4e221d393ea5ce1f129ea6903209940c1ecd29e002e8c6933c2b21026e0 (from https://pypi.org/simple/pycodestyle/)
  Found link https://files.pythonhosted.org/packages/28/ad/cae9654d7fd64eb3d2ab2c44c9bf8dc5bd4fb759625beab99532239aa6e8/pycodestyle-2.4.0.tar.gz#sha256=cbfca99bd594a10f674d0cd97a3d802a1fdef635d4361e1a2658de47ed261e3a (from https://pypi.org/simple/pycodestyle/), version: 2.4.0
  Found link https://files.pythonhosted.org/packages/0e/0c/04a353e104d2f324f8ee5f4b32012618c1c86dd79e52a433b64fceed511b/pycodestyle-2.5.0-py2.py3-none-any.whl#sha256=95a2219d12372f05704562a14ec30bc76b05a5b297b21a5dfe3f6fac3491ae56 (from https://pypi.org/simple/pycodestyle/) (requires-python:>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*), version: 2.5.0
  Found link https://files.pythonhosted.org/packages/1c/d1/41294da5915f4cae7f4b388cea6c2cd0d6cd53039788635f6875dfe8c72f/pycodestyle-2.5.0.tar.gz#sha256=e40a936c9a450ad81df37f549d676d127b1b66000a6c500caa2b085bc0ca976c (from https://pypi.org/simple/pycodestyle/) (requires-python:>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*), version: 2.5.0
  Found link https://files.pythonhosted.org/packages/72/c4/fbe4b6739203c7dbcb8735b3910e354c43aa323faefe75b8d93d0ec4e148/pycodestyle-2.6.0a1-py2.py3-none-any.whl#sha256=933bfe8d45355fbb35f9017d81fc51df8cb7ce58b82aca2568b870bf7bea1611 (from https://pypi.org/simple/pycodestyle/) (requires-python:>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*), version: 2.6.0a1
  Found link https://files.pythonhosted.org/packages/e6/4d/09b2583fa9439a5625fe02dc3b99aa589a2304326ece689cca60d733a590/pycodestyle-2.6.0a1.tar.gz#sha256=c1362bf675a7c0171fa5f795917c570c2e405a97e5dc473b51f3656075d73acc (from https://pypi.org/simple/pycodestyle/) (requires-python:>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*), version: 2.6.0a1
  Found link https://files.pythonhosted.org/packages/10/5b/88879fb861ab79aef45c7e199cae3ef7af487b5603dcb363517a50602dd7/pycodestyle-2.6.0-py2.py3-none-any.whl#sha256=2295e7b2f6b5bd100585ebcb1f616591b652db8a741695b3d8f5d28bdc934367 (from https://pypi.org/simple/pycodestyle/) (requires-python:>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*), version: 2.6.0
  Found link https://files.pythonhosted.org/packages/bb/82/0df047a5347d607be504ad5faa255caa7919562962b934f9372b157e8a70/pycodestyle-2.6.0.tar.gz#sha256=c58a7d2815e0e8d7972bf1803331fb0152f867bd89adf8a01dfd55085434192e (from https://pypi.org/simple/pycodestyle/) (requires-python:>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*), version: 2.6.0
Given no hashes to check 2 links for project 'pycodestyle': discarding no candidates
Using version 2.6.0 (newest of versions: 2.6.0)
Collecting pycodestyle>=2.6.0
  Created temporary directory: /tmp/pip-unpack-em1pl76l
  Getting credentials from keyring for files.pythonhosted.org
  Looking up "https://files.pythonhosted.org/packages/10/5b/88879fb861ab79aef45c7e199cae3ef7af487b5603dcb363517a50602dd7/pycodestyle-2.6.0-py2.py3-none-any.whl" in the cache
  No cache entry available
  https://files.pythonhosted.org:443 "GET /packages/10/5b/88879fb861ab79aef45c7e199cae3ef7af487b5603dcb363517a50602dd7/pycodestyle-2.6.0-py2.py3-none-any.whl HTTP/1.1" 200 41364
  Downloading pycodestyle-2.6.0-py2.py3-none-any.whl (41 kB)
     |███████████████████████████████▊| 40 kB 540 kB/s eta 0:00:01  Ignoring unknown cache-control directive: immutable
  Updating cache with response from "https://files.pythonhosted.org/packages/10/5b/88879fb861ab79aef45c7e199cae3ef7af487b5603dcb363517a50602dd7/pycodestyle-2.6.0-py2.py3-none-any.whl"
  Caching due to etag
     |████████████████████████████████| 41 kB 110 kB/s
  Added pycodestyle>=2.6.0 from https://files.pythonhosted.org/packages/10/5b/88879fb861ab79aef45c7e199cae3ef7af487b5603dcb363517a50602dd7/pycodestyle-2.6.0-py2.py3-none-any.whl#sha256=2295e7b2f6b5bd100585ebcb1f616591b652db8a741695b3d8f5d28bdc934367 (from autopep8) to build tracker '/tmp/pip-req-tracker-u3lnlqrr'
  Removed pycodestyle>=2.6.0 from https://files.pythonhosted.org/packages/10/5b/88879fb861ab79aef45c7e199cae3ef7af487b5603dcb363517a50602dd7/pycodestyle-2.6.0-py2.py3-none-any.whl#sha256=2295e7b2f6b5bd100585ebcb1f616591b652db8a741695b3d8f5d28bdc934367 (from autopep8) from build tracker '/tmp/pip-req-tracker-u3lnlqrr'
Requirement already satisfied: toml in /usr/local/lib/python3.8/dist-packages (from autopep8) (0.10.1)
Building wheels for collected packages: autopep8
  Created temporary directory: /tmp/pip-wheel-2a8jtvd5
  Building wheel for autopep8 (setup.py) ...   Destination directory: /tmp/pip-wheel-2a8jtvd5
  Running command /usr/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-mnc1fr9y/autopep8/setup.py'"'"'; __file__='"'"'/tmp/pip-install-mnc1fr9y/autopep8/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-2a8jtvd5
  running bdist_wheel
  running build
  running build_py
  creating build
  creating build/lib
  copying autopep8.py -> build/lib
  installing to build/bdist.linux-x86_64/wheel
  running install
  running install_lib
  creating build/bdist.linux-x86_64
  creating build/bdist.linux-x86_64/wheel
  copying build/lib/autopep8.py -> build/bdist.linux-x86_64/wheel
  running install_egg_info
  running egg_info
  writing autopep8.egg-info/PKG-INFO
  writing dependency_links to autopep8.egg-info/dependency_links.txt
  writing entry points to autopep8.egg-info/entry_points.txt
  writing requirements to autopep8.egg-info/requires.txt
  writing top-level names to autopep8.egg-info/top_level.txt
  reading manifest file 'autopep8.egg-info/SOURCES.txt'
  reading manifest template 'MANIFEST.in'
  warning: no files found matching 'test/example'
  warning: no files found matching 'test/example/x.py'
  warning: no previously-included files matching '*.py' found under directory 'test/suite'
  warning: no previously-included files matching '*.py' found under directory 'test/suite/out'
  warning: no previously-included files found matching '.travis.yml'
  warning: no previously-included files found matching 'CONTRIBUTING.rst'
  warning: no previously-included files found matching 'Makefile'
  warning: no previously-included files found matching 'coveralls.bash'
  warning: no previously-included files found matching 'hooks'
  warning: no previously-included files found matching 'hooks/pre-push'
  warning: no previously-included files found matching 'install_hooks.bash'
  warning: no previously-included files found matching 'test/.gitignore'
  warning: no previously-included files found matching 'test/acid.py'
  warning: no previously-included files found matching 'test/acid_pypi.py'
  warning: no previously-included files found matching 'test/suite'
  warning: no previously-included files found matching 'test/suite/out'
  warning: no previously-included files found matching 'test/vim_autopep8.py'
  warning: no previously-included files found matching 'tox.ini'
  warning: no previously-included files found matching 'update_readme.py'
  writing manifest file 'autopep8.egg-info/SOURCES.txt'
  Copying autopep8.egg-info to build/bdist.linux-x86_64/wheel/autopep8-1.5.4.egg-info
  running install_scripts
  adding license file "LICENSE" (matched pattern "LICEN[CS]E*")
  adding license file "AUTHORS.rst" (matched pattern "AUTHORS*")
  creating build/bdist.linux-x86_64/wheel/autopep8-1.5.4.dist-info/WHEEL
  creating '/tmp/pip-wheel-2a8jtvd5/autopep8-1.5.4-py2.py3-none-any.whl' and adding 'build/bdist.linux-x86_64/wheel' to it
  adding 'autopep8.py'
  adding 'autopep8-1.5.4.dist-info/AUTHORS.rst'
  adding 'autopep8-1.5.4.dist-info/LICENSE'
  adding 'autopep8-1.5.4.dist-info/METADATA'
  adding 'autopep8-1.5.4.dist-info/WHEEL'
  adding 'autopep8-1.5.4.dist-info/entry_points.txt'
  adding 'autopep8-1.5.4.dist-info/top_level.txt'
  adding 'autopep8-1.5.4.dist-info/RECORD'
  removing build/bdist.linux-x86_64/wheel
done
  Created wheel for autopep8: filename=autopep8-1.5.4-py2.py3-none-any.whl size=45286 sha256=17a635eaff7f47f998a2cfccec96b2867c7d1ad11fb0e34c7325b4bb6c9f0834
  Stored in directory: /root/.cache/pip/wheels/5f/b4/93/a30fa45720240e1106155083bac98146542dd614e1e6ce12da
Successfully built autopep8
Installing collected packages: pycodestyle, autopep8
  Created temporary directory: /tmp/pip-unpacked-wheel-1qm5o6ar

  changing mode of /usr/local/bin/pycodestyle to 755
  Created temporary directory: /tmp/pip-unpacked-wheel-70z7juco

  changing mode of /usr/local/bin/autopep8 to 755
Successfully installed autopep8-1.5.4 pycodestyle-2.6.0
Cleaning up...
  Removing source in /tmp/pip-install-mnc1fr9y/autopep8
Removed build tracker: '/tmp/pip-req-tracker-u3lnlqrr'

Expected behavior

With Windows Defender Firewall turned off, pip3 installs happen in seconds.

Actual behavior

With Windows Defender Firewall turned on, pip3 hangs for several minutes doing nothing. Even with --verbose on, nothing is printed to the console while it hangs. Then it begins the install normally.

Additional notes

This behavior is unique to pip - nvm does not hang before doing an installation.

@therealkenc
Copy link
Collaborator

If you do "sudo bash -c 'echo "nameserver 8.8.8.8" > /etc/resolv.conf" is it faster.

@ddhorstman
Copy link
Author

Hmm, I tried updating the nameserver as you described, but that file is automatically overwritten so it had no effect. And my attempts to edit wsl.conf to prevent that as per the directions in the file have also failed.

@therealkenc
Copy link
Collaborator

Update the resolv.conf and then immediately do the pip thing. The overwrite behavior is #5420. All we're trying to establish is whether this is two minutes for a DNS resolution fail, with the presumptive cause being related to an unmentioned network configuration (usual suspect being a VPN). Or whether the fail is something else.

@ddhorstman
Copy link
Author

My bad, I misunderstood. I ran sudo bash -c 'echo "nameserver 8.8.8.8" > /etc/resolv.conf' && pip3 install pipenv - it still hangs. I also tried following the steps in #5420 to permanently change resolv.conf before running pip. This also didn't solve the issue.

@therealkenc
Copy link
Collaborator

Alright thanks. Cannot repro here natch.

image

@ddhorstman
Copy link
Author

Hmm, must be something with the configuration of my local machine then. I'll keep digging.

@davidbruce
Copy link

I was running into the same issue with pip hanging forever with Windows defender enabled. Adding nameserver 8.8.8.8 to my resolve.conf made no difference. After some digging I discovered a fix with: #4805

It looks like having the DISPLAY variable set prevents pip from running properly while Windows Defender is active.

@ddhorstman
Copy link
Author

Good catch, thanks a bunch! I did indeed have DISPLAY set - I was using X11 forwarding on my other machine and had copied over the dotfiles but not the X11 server.

@davidbruce
Copy link

I don't really think this should be closed, this is some pretty odd behavior.
@therealkenc Any thoughts?

@ddhorstman
Copy link
Author

ddhorstman commented Aug 31, 2020

Oh sorry, this is my first time opening an issue on GitHub. Should it be merged with #4805?

@ddhorstman ddhorstman reopened this Aug 31, 2020
@therealkenc
Copy link
Collaborator

It's linux behavior. Yes same #4805, thanks @davidbruce.

image

@therealkenc
Copy link
Collaborator

Bouncing this back open, because while WSL2 (ie Linux) is behaving as intended, Windows Defender Firewall does behave in a non-obvious way, and that much probably deserves a landing zone.

A repro would be, from elevated Powershell:

PS C:\> New-NetFirewallRule -DisplayName "inbound 3000" -Direction Inbound -LocalPort 3000 -Protocol TCP -Action Allow

And from WSL2, Ubuntu 20.04, build 20201:

$ sudo apt install socat
$ winip=$(ip route | grep default | awk '{print $3}')
$ strace -f -o socat.strace socat - TCP:$winip:3000

Assuming nothing is listening on 3000, the socat will block until timing out 30 seconds later.

image

If Windows Firewall is disabled entirely, you get the expected ECONNREFUSED immediately:

image

I can't personally tell ya how to coerce Windows Firewall into allowing the expected ECONNREFUSED behavior without disabling it. Work-around absent an alternative would be: have something listening on the port.

@therealkenc therealkenc reopened this Sep 1, 2020
@therealkenc therealkenc changed the title Pip hangs for several minutes when Windows Defender Firewall is enabled connect to Windows port with no listener returns ETIMEDOUT instead of ECONNREFUSED when Windows firewall is enabled Sep 1, 2020
@UncleCJ
Copy link

UncleCJ commented Dec 12, 2020

I also got this issue since I set a DISPLAY variable (used in another context). Assuming clearing the variable is not a desirable option, how would one fix it otherwise?

@mloskot
Copy link

mloskot commented Feb 19, 2021

@UncleCJ Install and run https://sourceforge.net/projects/vcxsrv/ then the DISPLAY will become 'responsive'.

I noticed this issue with freezing pip3 after configuring the DISPLAY for the VcxSrv, at times when the VcxSrv X Server was not running. Lauching the VcxSrv fixed the issue at instant, obviously.

Copy link
Contributor

This issue has been automatically closed since it has not had any activity for the past year. If you're still experiencing this issue please re-file this as a new issue or feature request.

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants