2020-01-03T13:49:52 Created temporary directory: /tmp/pip-ephem-wheel-cache-ann__kt3 2020-01-03T13:49:52 Created temporary directory: /tmp/pip-req-tracker-gvs_db52 2020-01-03T13:49:52 Created requirements tracker '/tmp/pip-req-tracker-gvs_db52' 2020-01-03T13:49:52 Created temporary directory: /tmp/pip-wheel-tudpox27 2020-01-03T13:49:52 Collecting vsc-install==0.14.2 2020-01-03T13:49:52 1 location(s) to search for versions of vsc-install: 2020-01-03T13:49:52 * https://pypi.org/simple/vsc-install/ 2020-01-03T13:49:52 Getting page https://pypi.org/simple/vsc-install/ 2020-01-03T13:49:52 Analyzing links from page https://pypi.org/simple/vsc-install/ 2020-01-03T13:49:52 Found link https://files.pythonhosted.org/packages/bf/fd/c157ef76d4cef527610493b2784ebed9697ece3546f513e732eead1c394d/vsc-install-0.9.3.tar.gz#sha256=ebbc5a389be3220f2aff06a699093d2a23bd155be5a6cac579d035923f4b3eab (from https://pypi.org/simple/vsc-install/), version: 0.9.3 2020-01-03T13:49:52 Found link https://files.pythonhosted.org/packages/54/37/024b515060dedee2f26f5dc2b85a52a89ae445658cb527b1a5c3cd9bac87/vsc-install-0.9.6.tar.gz#sha256=0fe0da409ce20d89572b65809f7214e328fe0ce2a903afa55e0a491a231a1df1 (from https://pypi.org/simple/vsc-install/), version: 0.9.6 2020-01-03T13:49:52 Found link https://files.pythonhosted.org/packages/1f/03/14ac4518bb4912bf2974c03f2ae570b9caf0aa81ce7696860bde93dede27/vsc-install-0.9.12.tar.gz#sha256=75f819946724d45ccd82ff6083b3c3e4d98922676657efc9469f8f06a9ab3e33 (from https://pypi.org/simple/vsc-install/), version: 0.9.12 2020-01-03T13:49:52 Found link https://files.pythonhosted.org/packages/77/ac/6ba45999c334b45f27bf6a1b605a43e60bfaac1d1ae0f4aa033482596224/vsc-install-0.9.18.tar.gz#sha256=3320bd4c78cfb2449e54a05e8164107493fc78df0fb934091c0a8ea90c350b6a (from https://pypi.org/simple/vsc-install/), version: 0.9.18 2020-01-03T13:49:52 Found link https://files.pythonhosted.org/packages/64/ff/d06467131a36bad417f420b7395261f1081163933a86a2ca5a97f2a1e5f1/vsc-install-0.9.19.tar.gz#sha256=0c9b24edcd850b06f3db1a608904d55018d42f5059e3ff59ad29aa40f9fd0e20 (from https://pypi.org/simple/vsc-install/), version: 0.9.19 2020-01-03T13:49:52 Found link https://files.pythonhosted.org/packages/43/a8/4ee40e8f4ac74107e5a56748ee6ea32bc5e73f521ccf04808fdd017ada6b/vsc-install-0.9.21.tar.gz#sha256=8e974831052252298a27401ce85c0dacf3c2daca49cb7f141cbe18e98da91ec2 (from https://pypi.org/simple/vsc-install/), version: 0.9.21 2020-01-03T13:49:52 Found link https://files.pythonhosted.org/packages/ab/59/51dbad508d4b441f9c21772f0e5ef8fc4f85ac292429091a930a26820105/vsc-install-0.10.2.tar.gz#sha256=c716621f262f44acd62ba0d20ef7f0ba760466df83eb7ec9fa4197d9ebfc293a (from https://pypi.org/simple/vsc-install/), version: 0.10.2 2020-01-03T13:49:52 Found link https://files.pythonhosted.org/packages/18/7a/c983e61bb91687ad74faab0edd7471b5e78f12cf3c71087581eedc6dd9e5/vsc-install-0.10.6.tar.gz#sha256=f101729ed6a11fb4c971e1fe19dceaf3782c0d7c9aa8c54b27ef3ba4660860f2 (from https://pypi.org/simple/vsc-install/), version: 0.10.6 2020-01-03T13:49:52 Found link https://files.pythonhosted.org/packages/9a/35/60ed9238f7c2154176a09330019011b2ec161bc048540e795c611bd52ae2/vsc-install-0.10.9.tar.gz#sha256=90f2c094b533ac6a99bb40900503e7da8c2e4d2fc8515057f0bbf3f570362461 (from https://pypi.org/simple/vsc-install/), version: 0.10.9 2020-01-03T13:49:52 Found link https://files.pythonhosted.org/packages/36/f3/37e94174235e5ec5ae6433891f9d1a32f8bc2f8daf16dc8d179dd92a2dfe/vsc-install-0.10.10.tar.gz#sha256=05e0c34fccd5ab82bcffe394c074d795c232c1735213739644852b319f61b93c (from https://pypi.org/simple/vsc-install/), version: 0.10.10 2020-01-03T13:49:52 Found link https://files.pythonhosted.org/packages/03/d0/291da76d7da921cf8e70dd7db79b0838e0f633655e8f2dd06093d99ce851/vsc-install-0.10.11.tar.gz#sha256=1938df49acf8de0b5b5b6c4e4362bef031f3b4359123a2b6a03e2b42e7f1ed21 (from https://pypi.org/simple/vsc-install/), version: 0.10.11 2020-01-03T13:49:52 Found link https://files.pythonhosted.org/packages/44/b6/ebbb5d29d81dd131e2b13f0e1026474f1b95a52e0072e88954809a017072/vsc-install-0.10.13.tar.gz#sha256=41ad822f53c282894d5b9215cc9f9903b9ef928b3070f260646d978a7f0d2829 (from https://pypi.org/simple/vsc-install/), version: 0.10.13 2020-01-03T13:49:52 Found link https://files.pythonhosted.org/packages/0e/83/4ed8215c5b27ba4ee4a6da3d43ce9579b67c5fe7a91f33f48991f878db13/vsc-install-0.10.15.tar.gz#sha256=ad9d2127fba527e4fa8c91882c7fbc09531dfbb8b22c8f22f59f13022c526bc6 (from https://pypi.org/simple/vsc-install/), version: 0.10.15 2020-01-03T13:49:52 Found link https://files.pythonhosted.org/packages/75/80/7ab6b2d9e93b19b6aac4c1b700a99e5898a11da49fc439c4b8fc861375d1/vsc-install-0.10.17.tar.gz#sha256=71498db975015a2b2c6a977bb9e80964a0573b960023ac8070b429c02a4ef57f (from https://pypi.org/simple/vsc-install/), version: 0.10.17 2020-01-03T13:49:52 Found link https://files.pythonhosted.org/packages/4a/1c/abb1bcd09523a7c9d52e2703f67dec4807751674c13be17e89a7602677b0/vsc-install-0.10.19.tar.gz#sha256=e7cabe1a8f39663a70b09619c0fa5a81ead9294e99837c17628608159c721ef2 (from https://pypi.org/simple/vsc-install/), version: 0.10.19 2020-01-03T13:49:52 Found link https://files.pythonhosted.org/packages/9c/fa/648c7484cef36f752a41f7a3d8ef1db7ed7741b0440eae87694b7de835ae/vsc-install-0.10.20.tar.gz#sha256=63c6b5268c1287c2161d802991ff6c0fac8884ace97c62da7d3f6e390a64dc39 (from https://pypi.org/simple/vsc-install/), version: 0.10.20 2020-01-03T13:49:52 Found link https://files.pythonhosted.org/packages/aa/d9/7dc5b88a5644975683b4df1d0a16be90f6af4598528aa68dba27f7f3c532/vsc-install-0.10.21.tar.gz#sha256=87241e60ea64d98006c5aac33f69db82521afb3e19a4b1e0cb3d241782ebe212 (from https://pypi.org/simple/vsc-install/), version: 0.10.21 2020-01-03T13:49:52 Found link https://files.pythonhosted.org/packages/94/54/611cb71c61aae9833ee87e7d86768e9a86b411afe9f608c15e267fe7a986/vsc-install-0.10.22.tar.gz#sha256=c128c98dd173c9a0d52e1e6c228a4aff6ed4fe20cd244acf72abf08ae198f430 (from https://pypi.org/simple/vsc-install/), version: 0.10.22 2020-01-03T13:49:52 Found link https://files.pythonhosted.org/packages/01/90/8edf6ca2d9185fe1512f7da91eceeca3122daeafced7289beaf144dbabef/vsc-install-0.10.23.tar.gz#sha256=99511d09bc333b2cb56640e3103f7e8e2ae9f60971cda0325f8e51117db40ad4 (from https://pypi.org/simple/vsc-install/), version: 0.10.23 2020-01-03T13:49:52 Found link https://files.pythonhosted.org/packages/1c/9d/ab7d449602c7053b4fec37b555b491da0ed06ac8cb1672b6edade4f37a75/vsc-install-0.10.24.tar.gz#sha256=01eb5cdad16bd4be4959eb6da49bd1200cffd7963b87a5c5b392bc59099818cf (from https://pypi.org/simple/vsc-install/), version: 0.10.24 2020-01-03T13:49:52 Found link https://files.pythonhosted.org/packages/ef/c7/640c6d791ba452321c0d1371b6626486bb495e0645bb896d33c78a09f810/vsc-install-0.10.25.tar.gz#sha256=744fa52b45577251d94e9298ecb115afd295f2530eba64c524f469b5e283f19c (from https://pypi.org/simple/vsc-install/), version: 0.10.25 2020-01-03T13:49:52 Found link https://files.pythonhosted.org/packages/82/ec/19d85d2bb91b562195d00db9ac82d7529904e7eabc0597720966bf74714f/vsc-install-0.10.26.tar.gz#sha256=f97b5ca8b171964c12347e5b814ae5266698f5ea134056f04ff752a1eb562f30 (from https://pypi.org/simple/vsc-install/), version: 0.10.26 2020-01-03T13:49:52 Found link https://files.pythonhosted.org/packages/a4/ef/eb43a154161abb736b596b22494dc40710a81242920222ca7252a816c9ff/vsc-install-0.10.27.tar.gz#sha256=1b152fcd494a72b24d575beece209c3018833a909aa8842267c6f56183872624 (from https://pypi.org/simple/vsc-install/), version: 0.10.27 2020-01-03T13:49:52 Found link https://files.pythonhosted.org/packages/37/4b/ff6409ac33f0440e47b940efa027423e38551618a10199b39022652f2c46/vsc-install-0.10.29.tar.gz#sha256=af87b05fb1f05cac82268884ed8c71c05bac6b3913544ae21750e700b691d901 (from https://pypi.org/simple/vsc-install/), version: 0.10.29 2020-01-03T13:49:52 Found link https://files.pythonhosted.org/packages/7a/8c/c67e08a05b6585604f56cebc41158a8d5f070a97596d1ead2732a5fbe03f/vsc-install-0.10.31.tar.gz#sha256=b8478624e4758ea7e1f449f67f0ff33b40deb23b1eee071d198a12cc8c748b79 (from https://pypi.org/simple/vsc-install/), version: 0.10.31 2020-01-03T13:49:52 Found link https://files.pythonhosted.org/packages/5d/ca/1c41be2964be1355e15b4a88c7eef11c13c621220e27b69b2686c23cace2/vsc-install-0.10.32.tar.gz#sha256=56f614328451d924aeb9ece0b53552b1f3c247d723e741794aa201762af61b64 (from https://pypi.org/simple/vsc-install/), version: 0.10.32 2020-01-03T13:49:52 Found link https://files.pythonhosted.org/packages/81/21/7c4e9359f740b223e57c77c5757136bfb98c9f3c66b53d84c3c136c9995d/vsc-install-0.11.0.tar.gz#sha256=fa080cde728f8cc672a5751e5ac28177e8ffe7f388028813f7bc880c8831451e (from https://pypi.org/simple/vsc-install/), version: 0.11.0 2020-01-03T13:49:52 Found link https://files.pythonhosted.org/packages/b5/2d/ba03794a9f710f5c65d0a6d296f099cd68581c9a6f78c1de2268da18fdb0/vsc-install-0.11.1.tar.gz#sha256=afbec5532f9f692c49fbefe8656975547b515eb8eb01c6ba8b85dd7af07cc1f4 (from https://pypi.org/simple/vsc-install/), version: 0.11.1 2020-01-03T13:49:52 Found link https://files.pythonhosted.org/packages/b6/03/becd813f5c4e8890254c79db8d2558b658f5a3ab52157bc0c077c6c9beea/vsc-install-0.11.2.tar.gz#sha256=c03ce30a54cc5be53acc55addb027d67be58386bebdd9d2274ed6429b1fc0512 (from https://pypi.org/simple/vsc-install/), version: 0.11.2 2020-01-03T13:49:52 Found link https://files.pythonhosted.org/packages/18/59/3274a58af6af84a87f7655735b452c06c769586ee73954f5ee15d303aa29/vsc-install-0.11.3.tar.gz#sha256=8b102ba585863769d974ad117764039ac3cea21372a3baa5cdb6b93166673ad6 (from https://pypi.org/simple/vsc-install/), version: 0.11.3 2020-01-03T13:49:52 Found link https://files.pythonhosted.org/packages/a5/55/584f437f785d4c2cff1cbe17f5f835c12a296f0b48f892aefa37bb5573f4/vsc-install-0.11.4.tar.gz#sha256=265089fd1f28116d82cb28b753cfca64597a75ffa0d6347daadc47bd108c8159 (from https://pypi.org/simple/vsc-install/), version: 0.11.4 2020-01-03T13:49:52 Found link https://files.pythonhosted.org/packages/51/80/a6761298902c4bffab4d96415092fb744fb9be1405140b39d0c442452905/vsc-install-0.11.5.tar.gz#sha256=0af9608ba374124a97e3297e5b2fc38d6b618e59de70594757e3efb6107c856c (from https://pypi.org/simple/vsc-install/), version: 0.11.5 2020-01-03T13:49:52 Found link https://files.pythonhosted.org/packages/48/d3/c8939fbfd072236d22a82b1e578dd8d1bd2f960ca2577ee2c17b52a6eca2/vsc-install-0.11.6.tar.gz#sha256=b1c5fc63663d5a8d65160d644eee04a61599baae104fd9149b2839c3e9d275ae (from https://pypi.org/simple/vsc-install/), version: 0.11.6 2020-01-03T13:49:52 Found link https://files.pythonhosted.org/packages/55/a4/0f4cec1f97273200f83d98be443cedbd18d762e628fa9dcd57caa100a750/vsc-install-0.11.7.tar.gz#sha256=9e6988ff16a73e60aa6b565bf865c08e17ab5390f4f29b199550fba82ec8cf95 (from https://pypi.org/simple/vsc-install/), version: 0.11.7 2020-01-03T13:49:52 Found link https://files.pythonhosted.org/packages/3a/c1/d6b482b536b7e063f222b1fc468a85ddbdfc3f76ebee57ee166427e15701/vsc-install-0.12.1.tar.gz#sha256=f0e9e26ffc1d0fe4e0cbc02b1452c8a34d19f55e080b3988c33e6babb1d87a04 (from https://pypi.org/simple/vsc-install/), version: 0.12.1 2020-01-03T13:49:52 Found link https://files.pythonhosted.org/packages/d1/63/3de47fb689d4b051457eafd9b9737211689de5db3b03c6ff981f9ff9a3e6/vsc-install-0.12.2.tar.gz#sha256=bdaf6e737aba65d71905db17500aadbc91621fef73f8503129299d06a992b6a6 (from https://pypi.org/simple/vsc-install/), version: 0.12.2 2020-01-03T13:49:52 Found link https://files.pythonhosted.org/packages/74/87/bb828f566ee3e0b58ab04e000722c1eb98884e7b96afd965a82321d8f805/vsc-install-0.12.3.tar.gz#sha256=d225a58b9fb60af334015a64801e01a07535eb3f8089165d9967a67b0f21fa62 (from https://pypi.org/simple/vsc-install/), version: 0.12.3 2020-01-03T13:49:52 Found link https://files.pythonhosted.org/packages/43/db/7944408c0ea9414662c8d1c948f153da88c4c2eca50556b787af5fbf0b55/vsc-install-0.12.4.tar.gz#sha256=e07e20561daaf0baf3a0f54d9cd9dcc0dfc12bd278313647fbfdc28708d1d55d (from https://pypi.org/simple/vsc-install/), version: 0.12.4 2020-01-03T13:49:52 Found link https://files.pythonhosted.org/packages/43/82/26c2cdbe47d5ae1f2da6376a730921d3743a0eb1848bdf6cf4748b31f52a/vsc-install-0.12.7.tar.gz#sha256=f1d0796aa6201c0d7e1c6bde591153be1b8bde2f04860494272432c1d30f18f5 (from https://pypi.org/simple/vsc-install/), version: 0.12.7 2020-01-03T13:49:52 Found link https://files.pythonhosted.org/packages/3e/de/e23aa0a85cbbaa46d7c579cfdbe594791951b5bd404deac07d0261598d23/vsc-install-0.12.8.tar.gz#sha256=e57ced8d063ea4062d32633dc9f14df23616270c27bc40da56540a75090a9b79 (from https://pypi.org/simple/vsc-install/), version: 0.12.8 2020-01-03T13:49:52 Found link https://files.pythonhosted.org/packages/0d/2d/6736e46558a3428395d0a88013933390480c468ff32a3f4f130919974505/vsc-install-0.12.9.tar.gz#sha256=495a8c27a5dd66b4c31dfbe87cb173cd16dfb91a2445296cb209c3e30945f91f (from https://pypi.org/simple/vsc-install/), version: 0.12.9 2020-01-03T13:49:52 Found link https://files.pythonhosted.org/packages/e5/ce/63986820c6a72dea24aaf3507a12b9e45f106fc87af56502ed7026d063f5/vsc-install-0.12.12.tar.gz#sha256=75c20bbdd5017922b4075551324ffa4c66d9d9e81b4a00f2204e2ceb6ee841eb (from https://pypi.org/simple/vsc-install/), version: 0.12.12 2020-01-03T13:49:52 Found link https://files.pythonhosted.org/packages/9a/6d/5937d8e077bc4989d18803a0a0c27055004da74e8c0090a3d50c6c4e2269/vsc-install-0.13.1.tar.gz#sha256=8889c2dc52b471535ae8685445617ca0b0dd6d718e20121d26be4d99028a51aa (from https://pypi.org/simple/vsc-install/), version: 0.13.1 2020-01-03T13:49:52 Found link https://files.pythonhosted.org/packages/e0/7d/d60905c5d3614ffad04b869b72c95919610b9ac424bd7b4d690d8ca51569/vsc-install-0.13.2.tar.gz#sha256=c84b861933f825f246f320c4746828699577485a6485cd79ae9ba5a534232e96 (from https://pypi.org/simple/vsc-install/), version: 0.13.2 2020-01-03T13:49:52 Found link https://files.pythonhosted.org/packages/23/53/754f0e84de266aff3bd74e658fa10a99a9d57bfc1b3d21883bd5360e4da8/vsc-install-0.13.3.tar.gz#sha256=4a684b02b7ded1707f73edc0d533d65e5d5e1e3f3971ef2884b8f5a84d84fbd9 (from https://pypi.org/simple/vsc-install/), version: 0.13.3 2020-01-03T13:49:52 Found link https://files.pythonhosted.org/packages/03/ad/ce7c68c85c781319f8576637bba4b97a71a98ad419ba5a689caaff466df8/vsc-install-0.13.4.tar.gz#sha256=690a878a22d453ebe144e74ba3e1b6f22682bce2aa64a82773cff393e2a3fb6d (from https://pypi.org/simple/vsc-install/), version: 0.13.4 2020-01-03T13:49:52 Found link https://files.pythonhosted.org/packages/53/a9/2717083cb459145d1b16058d6e1a915eb5acedc2e17b30c3c29122570572/vsc-install-0.13.5.tar.gz#sha256=7a6e135cf76dbd42ac2963a92540a38a7f7e1a6980ca16e2dee04d410bd0f864 (from https://pypi.org/simple/vsc-install/), version: 0.13.5 2020-01-03T13:49:52 Found link https://files.pythonhosted.org/packages/41/64/114a86f9750643fd5d3d9521c0d7adcb750b0cb67da1a36d4141b08ce8c0/vsc-install-0.13.6.tar.gz#sha256=bddbbb474f55d5d7be117ba8a9f63d3c8b2fbd7097a7744f35c625020ac26200 (from https://pypi.org/simple/vsc-install/), version: 0.13.6 2020-01-03T13:49:52 Found link https://files.pythonhosted.org/packages/68/56/88084429893df21159ed5e5be60d960146c4ef713d77144699b381bc47d0/vsc-install-0.14.0.tar.gz#sha256=a0f068f86f4f1b8b09cfe595a43be31cab233a62c2c9dca8b6b04eba85d7ccc3 (from https://pypi.org/simple/vsc-install/), version: 0.14.0 2020-01-03T13:49:52 Found link https://files.pythonhosted.org/packages/55/00/a08012936d28f8742017a10810846bab8f2d475dde460932cf4d0b6cf54a/vsc-install-0.14.2.tar.gz#sha256=d0d4f9757a857a219d899137c25979621e884ba26b4b88d65a9e28a622d24edb (from https://pypi.org/simple/vsc-install/), version: 0.14.2 2020-01-03T13:49:52 Using version 0.14.2 (newest of versions: 0.14.2) 2020-01-03T13:49:52 Created temporary directory: /tmp/pip-unpack-ydf1kfl6 2020-01-03T13:49:52 Downloading https://files.pythonhosted.org/packages/55/00/a08012936d28f8742017a10810846bab8f2d475dde460932cf4d0b6cf54a/vsc-install-0.14.2.tar.gz (71kB) 2020-01-03T13:49:52 Downloading from URL https://files.pythonhosted.org/packages/55/00/a08012936d28f8742017a10810846bab8f2d475dde460932cf4d0b6cf54a/vsc-install-0.14.2.tar.gz#sha256=d0d4f9757a857a219d899137c25979621e884ba26b4b88d65a9e28a622d24edb (from https://pypi.org/simple/vsc-install/) 2020-01-03T13:49:52 Added vsc-install==0.14.2 from https://files.pythonhosted.org/packages/55/00/a08012936d28f8742017a10810846bab8f2d475dde460932cf4d0b6cf54a/vsc-install-0.14.2.tar.gz#sha256=d0d4f9757a857a219d899137c25979621e884ba26b4b88d65a9e28a622d24edb to build tracker '/tmp/pip-req-tracker-gvs_db52' 2020-01-03T13:49:52 Running setup.py (path:/tmp/pip-wheel-tudpox27/vsc-install/setup.py) egg_info for package vsc-install 2020-01-03T13:49:52 Running command python setup.py egg_info 2020-01-03T13:49:54 INFO: This is (based on) vsc.install.shared_setup 0.14.2 2020-01-03T13:49:54 INFO: (using setuptools version 41.0.1 located at /usr/local/lib/python3.7/dist-packages/setuptools/__init__.py) 2020-01-03T13:49:54 INFO: run_tests from base dir /tmp/pip-wheel-tudpox27/vsc-install (using executable /tmp/pip-wheel-tudpox27/vsc-install/-c) 2020-01-03T13:49:54 WARN: cleanup lib/vsc_install.egg-info 2020-01-03T13:49:54 INFO: initial packages list: dict_keys(['vsc', 'vsc.install']) 2020-01-03T13:49:54 INFO: generated list: dict_keys(['vsc', 'vsc.install']) 2020-01-03T13:49:54 INFO: generated packages list: dict_keys(['vsc', 'vsc.install']) 2020-01-03T13:49:54 INFO: makesetupcfg set to True, (re)creating setup.cfg 2020-01-03T13:49:54 INFO: found license /tmp/pip-wheel-tudpox27/vsc-install/LICENSE with md5sum 5f30f0716dfdd0d91eb439ebec522ec2 2020-01-03T13:49:54 INFO: Found license name LGPLv2+ and classifier License :: OSI Approved :: GNU Lesser General Public License v2 or later (LGPLv2+) 2020-01-03T13:49:54 INFO: setting license LGPLv2+ 2020-01-03T13:49:54 INFO: found match name vsc-install in /tmp/pip-wheel-tudpox27/vsc-install/PKG-INFO 2020-01-03T13:49:54 INFO: found match url https://github.com/hpcugent/vsc-install in /tmp/pip-wheel-tudpox27/vsc-install/PKG-INFO 2020-01-03T13:49:54 INFO: Removing None download_url 2020-01-03T13:49:54 INFO: get_name_url returns {'name': 'vsc-install', 'url': 'https://github.com/hpcugent/vsc-install'} 2020-01-03T13:49:54 INFO: using long_description vsc-install provides shared setuptools functions and classes for python libraries developed by UGent's HPC group 2020-01-03T13:49:54 INFO: generated list: ['bin/python-stripped-env', 'bin/python-noenv.sh'] 2020-01-03T13:49:54 INFO: generated scripts list: ['bin/python-stripped-env', 'bin/python-noenv.sh'] 2020-01-03T13:49:54 INFO: adding prospector to tests_require 2020-01-03T13:49:54 {'cmdclass': {'bdist_rpm': , 'egg_info': , 'install_scripts': , 'sdist': , 'test': , 'vsc_release': }, 'command_packages': ['vsc.install.shared_setup', 'shared_setup_dist_only', 'setuptools.command', 'distutils.command'], 'download_url': '', 'package_dir': {'': 'lib'}, 'setup_requires': ['setuptools'], 'test_suite': 'test', 'url': 'https://github.com/hpcugent/vsc-install', 'dependency_links': [], 'install_requires': ['setuptools<42.0', 'mock'], 'tests_require': ['pydocstyle < 4.0', 'prospector >= 1.1.6.4'], 'packages': dict_keys(['vsc', 'vsc.install']), 'classifiers': ['License :: OSI Approved :: GNU Lesser General Public License v2 or later (LGPLv2+)'], 'license': 'LGPLv2+', 'description': "vsc-install provides shared setuptools functions and classes for python libraries developed by UGent's HPC group", 'long_description': 'Description\n===========\nvsc-install provides shared setuptools functions and classes for python libraries developed by UGent\'s HPC group\n\nCommon pitfalls\n=========\nbdist_rpm will fail if your install_requires = \'setuptools\' because it will fail to find a setuptools rpm.\n```\nexport VSC_RPM_PYTHON=1\n```\nwill make sure the `python-` prefix is added to the packages in install_requires for building RPM\'s so python-setuptools will be used.\n\nAdd tests\n=========\n\nTest are python modules in the `test` directory which have subclass of `TestCase`\nand at least one method that has a name starting with `test_`\n\nYou are advised to use\n```python\nfrom vsc.install.testing import TestCase\n```\n(instead of basic `TestCase` from `unittest`).\n\nAnd any `__main__` or `suite()` is not needed (anymore).\n\nInitialise the test directory with\n\n```bash\nmkdir -p test\necho \'\' > test/__init__.py\necho \'from vsc.install.commontest import CommonTest\' > test/00-import.py\n```\n\nWhen the tests are run, `test`, `lib` and `bin` (if relevant) are added to `sys.path`,\nso no need to do so in the tets modules.\n\nRun tests\n=========\n\n```bash\npython setup.py test\n```\n\nFilter tests with `-F` (test module names) and `-f` (test method names)\n\nSee also\n\n```bash\npython setup.py test --help\n```\n\nThe dependencies are installed automatically in the `.eggs` directory. It will first try\n`github.ugent.be` and then `github.com` to install them. The same method is used as through\nwhich the original repository was cloned (http, ssh, ...). In case you need private\ndependencies, always clone with ssh.\n\nIn case following error occurs, it means there is a test module `XYZ` that cannot be imported.\n\n```txt\nFile "setup.py", line 499, in loadTestsFromModule\n testsuites = ScanningLoader.loadTestsFromModule(self, module)\nFile "build/bdist.linux-x86_64/egg/setuptools/command/test.py", line 37, in loadTestsFromModule\nFile "/usr/lib64/python2.7/unittest/loader.py", line 100, in loadTestsFromName\n parent, obj = obj, getattr(obj, part)\nAttributeError: \'module\' object has no attribute \'XYZ\'\n```\n\nYou can try get the actual import error for fixing the issue with\n```bash\npython -c \'import sys;sys.path.insert(0, "test");import XYZ;\'\n```\n\nFix failing tests\n=================\n\n* Missing / incorrect `LICENSE`\n\n * Copy the appropirate license file under `known_licenses` in the project directory and name the file `LICENSE`\n\n* Missing `README.md`\n\n * Create a `README.md` file with at least a `Description` section\n\n* Fix license headers as described in https://github.com/hpcugent/vsc-install/blob/master/lib/vsc/install/headers.py\n\n ```\n cd \n REPO_BASE_DIR=$PWD python -m vsc.install.headers path/to/file script_or_not\n ```\n\n Fix them all at once using find\n\n ```\n find ./{lib,test} -type f -name \'*.py\' | REPO_BASE_DIR=$PWD xargs -I \'{}\' python -m vsc.install.headers \'{}\'\n find ./bin -type f -name \'*.py\' | REPO_BASE_DIR=$PWD xargs -I \'{}\' python -m vsc.install.headers \'{}\' 1\n ```\n\n Do not forget to check the diff.\n Modules/scripts without docstring (or magic comment \'### END OF HEADER\') (incl. test modules)\n will get correct header appended to existing one. Add a docstring (or magic comment) to resolve this.\n* Python scripts (i.e. with a python shebang and installed as scripts in setup) have to use `#!/usr/bin/env python` as shebang\n* Remove any `build_rpms_settings.sh` leftovers\n* The `TARGET` dict in `setup.py` should be minimal unless you really know what you are doing (i.e. if it is truly different from defaults)\n\n * Remove `name`, `scripts`, ...\n\n* `Exception: vsc namespace packages do not allow non-shared namespace`\n\n * Add to the `__init__.py`\n\n ```python\n """\n Allow other packages to extend this namespace, zip safe setuptools style\n """\n import pkg_resources\n pkg_resources.declare_namespace(__name__)\n ```\n\n\nbare-except\n-----------\n```python\ntry:\n # something\nexcept:\n```\nThis is bad, because this except will also catch sys.exit() or Keyboardinterupts, something you\ntypically do not want, if you catch these the program will be in a weird state and then continue on,\nwhilst the person who just pressed ctrl+c is wondering what is going on and why it is not stopping.\n\nso at the very least make this\nexcept Exception (which doesn\'t catch sys.exit and KeyboardInterupt)\nand it would be appreciated if you could actually figure out what exceptions to expect and only catch those\nand let your program crash if something you did not intend happens\nbecause it helps developers catch weird errors on their side better.\n\nif you do something like\n```python\ntry:\n open(int(somestring)).write(\'important data\')\nexcept Exception:\n pass # if somestring is not an integer, we didn\'t need to write anyway, but otherwise we do\n```\nbecause you know sometimes this string does not contain an integer, so the int() call can fail\nyou should really only catch ValueError, because this will also fail when your disk is full, or you don\'t have permissions\nor xxx other reasons, and the important data will not be written out and nobody will notice anything!\n\n\n\nif not \'a\' in somelist -> if \'a\' not in somelist\n-------------------------------------------------\n\nthis isn\'t that big of a deal, but if everyone is consistent it\'s less likely to introduce bugs when a not is added or removed where it didn\'t need to.\nAlso helps code review, not in reads better, like english.\n\n\narguments-differ\n-----------------\n\nthis will give you errors if you override a function of a superclass but don\'t use the same amount of arguments,\nusing less will surely give you errors, so the linter catches this for you now\n\nunused-argument\n-----------------\nif you have a function definition witch accepts an argument that is never used in the function body this will now give an error.\nclean up your function definition, or fix the error where you actually do need to take this argument into account\n\nunused-variable\n----------------\ndefining a variable and then not using it anymore smells bad, why did you do that?\nsometimes you do things like\n```python\nout, exit_code = run_command(something)\n```\nbut you are not interested in the out, only in the exit code,\nin this case, write\n```python\n_, exit_code = run_command(something)\n```\n\nusing _ as a variable name lets pylint and other readers know you do not intend to use that output in the first place.\n\n\nreimported\n-------------\nwhen you re import a name somewhere else,\nusually this is just an import to much, or 2 imports with the same name, pay attention.\n```python\nimport six\nfrom django import six\n```\n=>\n```python\nimport six\nfrom django import six as django_six\n```\n\nredefinition of unused name\n----------------------------\nthis usually also points to something you did not expect\n```python\nfrom vsc.accountpageclient import VscGroup\n\n\nclass VscGroup(object):\n pass\n```\n\n=> do you need the import? use import as\ndid you mean to use the same name? ...\n\nRedefined builtin\n-----------------\nuse different name, for example change\n\n```python\ndef filter(b_b):\n """Function filter"""\n return b_b\n```\n=>\n```python\ndef new_filter(b_b):\n """Function filter"""\n return b_b\n```\n\nFix Python 3 failing tests\n==========================\n\n* We try to follow https://docs.python.org/3/howto/pyporting.html\n* some useful info can be found here as well https://portingguide.readthedocs.io/en/latest/index.html\n\nunpacking-in-except / redefine-in-handler\n-----------------------------------------\n\nMultiple exception have to be grouped in a tuple like\n\n```python\n ...\nexcept (ExceptionOne, ExceptionTwo) ...\n ...\n```\n\n(espcially when used like `except A, B:` which should be `except (A, B):`.\n\nFixing print statement\n----------------------\n\nUse the oneliner:\n```bash\nfind lib bin -name \'*.py\' | xargs futurize -w -f libfuturize.fixes.fix_print_with_import -n\n```\nNote: You need to install `python(2)-future` if you want to use `futurize` (or you have to have the `future` Python package).\n\nMetaclass assignment\n--------------------\n\n```python\nclass Foo(Bar):\n\n __metaclass__ = Baz\n```\n=>\n```python\nfrom future.utils import with_metaclass\n\nclass Foo(with_metaclass(Baz,Bar):\n```\n\nOld raise syntax\n----------------\nPython 2’s **raise** statement was designed at a time when exceptions weren’t classes, and an exception’s _type_, _value_, and _traceback_ components were three separate objects. In Python 3, one single object includes all information about an exception.\n\n```python\nraise NameError, "Error"\n```\n=>\n```python\nraise NameError("Error")\n```\n\nor change\n```python\nraise NameError, "Error", some_traceback\n```\n=>\n```python\nraise NameError("Error")\n\ne = NameError("Error")\ne.__traceback__ = some_traceback\n```\n\nbacktick\n--------\n\n```python\nA = 2\nB = `A`\n```\n=>\n```python\nA = 2\nB = str(A)\n```\n\nOld ne operator\n---------------\n\n```python\nif 2 <> 3:\n```\n=>\n```python\nif 2 != 3:\n```\n\nOctal literal\n-------------\n\n```python\nos.chmod(foo, 0700)\n```\n=>\n```python\nos.chmod(foo, 0o700)\n```\n\nImport star module level\n------------------------\nDo not import \\*, be more specific. If it is impossible, import it in the top level (and suppress the pyflakes error F403.)\n```python\ndef coords(angle, distance):\n """Function coords"""\n from math import *\n return distance * cos(angle), distance * sin(angle)\n```\n=>\n```python\nfrom math import * # noqa: F403\ndef coords(angle, distance):\n """Function coords"""\n return distance * cos(angle), distance * sin(angle)\n```\n\nRaising string\n--------------\n```python\nraise ValueError, \'message\'\n```\n=>\n```python\nraise ValueError(\'message\')\n```\n\nIndexing exception\n------------------\n```python\nexcept IndexError as err:\n err[0]\n```\n=>\n```python\nexcept IndexError as err:\n IndexError.args[0]\n```\n\nturning off these errors\n-------------------------\n\nIf in any of these cases you think: yes, I really needed to do this,\nI\'m monkeypatching things, I\'m adding extra functionality that does indeed have an extra(default) paramenter, etc, etc\nyou can let pylint know to ignore this error in this one specific block of code\nby adding e.g. the comment `# pylint: disable=`\n\n```python\nclass Something(object):\n def dosomething(self, some, thing):\n # do something\n\nclass MyFancyThing(SomeThing):\n # pylint: disable=arguments-differ\n def dosomething(self, some, thing, fancy=None):\n # do something fancy\n```\n\nFull list with all codes is available at http://pylint-messages.wikidot.com/all-codes\n\nAuto-generated `Jenkinsfile` / `tox.ini`\n========================================\n\n`vsc-install` has support for auto-generating the `Jenkinsfile` (and accompanying `tox.ini`), via:\n\n python -m vsc.install.ci\n\nFailing check on (contents of) `Jenkinsfile` or `tox.ini`\n---------------------------------------------------------\n\nThere are dedicated tests that check whether the `Jenkinsfile` and `tox.ini` files were auto-generated\nby `vsc-install`.\n\nTo fix the tests, simply run `python -m vsc.install.ci` using the latest version of `vsc-install`\nto re-generate `Jenkinsfile` and `tox.ini`, and then commit & push the changes.\n\nIf the contents of the file that is auto-generated by the latest version of `vsc-install` is incorrect\nfor whatever reason, you can temporarily bypass the failing test by adding an a file named `Jenkinsfile.NOT_AUTOGENERATED_YET` or `tox.ini.NOT_AUTOGENERATED_YET`.\n\nThe file **must** contain the URL of a vsc-install issue, created via via https://github.com/hpcugent/vsc-install/issues/new, where the incorrectly generated file is reported.\n\nExample:\n\n echo "see https://github.com/hpcugent/vsc-install/issues/1234 for more info" > Jenkinsfile.NOT_AUTOGENERATED_YET\n\n\nRequiring JIRA issue ref in PR title\n------------------------------------\n\nTo also include a check in the `Jenkinsfile` for having a JIRA issue ref (like `[HPC-1234]`) in the pull request title,\nadd a configuration file for `python -m vsc.install.ci` named `vsc-ci.ini` like this into the repository:\n\n```ini\n[vsc-ci]\njira_issue_id_in_pr_title=1\n```\n', 'long_description_content_type': 'text/markdown', 'scripts': ['bin/python-stripped-env', 'bin/python-noenv.sh'], 'namespace_packages': ['vsc'], 'version': '0.14.2', 'author': 'Stijn De Weirdt;Andy Georges;Jens Timmerman', 'author_email': 'stijn.deweirdt@ugent.be, andy.georges@ugent.be, jens.timmerman@ugent.be', 'maintainer': 'Stijn De Weirdt;Andy Georges;Jens Timmerman', 'maintainer_email': 'stijn.deweirdt@ugent.be, andy.georges@ugent.be, jens.timmerman@ugent.be', 'name': 'vsc-install'} 2020-01-03T13:49:54 INFO: running egg_info 2020-01-03T13:49:54 INFO: run_tests from base dir /tmp/pip-wheel-tudpox27/vsc-install (using executable /tmp/pip-wheel-tudpox27/vsc-install/-c) 2020-01-03T13:49:54 INFO: creating pip-egg-info/vsc_install.egg-info 2020-01-03T13:49:54 INFO: writing pip-egg-info/vsc_install.egg-info/PKG-INFO 2020-01-03T13:49:54 INFO: writing dependency_links to pip-egg-info/vsc_install.egg-info/dependency_links.txt 2020-01-03T13:49:54 INFO: writing namespace_packages to pip-egg-info/vsc_install.egg-info/namespace_packages.txt 2020-01-03T13:49:54 INFO: writing requirements to pip-egg-info/vsc_install.egg-info/requires.txt 2020-01-03T13:49:54 INFO: writing top-level names to pip-egg-info/vsc_install.egg-info/top_level.txt 2020-01-03T13:49:54 INFO: writing manifest file 'pip-egg-info/vsc_install.egg-info/SOURCES.txt' 2020-01-03T13:49:54 INFO: reading manifest file 'pip-egg-info/vsc_install.egg-info/SOURCES.txt' 2020-01-03T13:49:54 INFO: writing manifest file 'pip-egg-info/vsc_install.egg-info/SOURCES.txt' 2020-01-03T13:49:54 INFO: looking for extra dist files 2020-01-03T13:49:54 Source in /tmp/pip-wheel-tudpox27/vsc-install has version 0.14.2, which satisfies requirement vsc-install==0.14.2 from https://files.pythonhosted.org/packages/55/00/a08012936d28f8742017a10810846bab8f2d475dde460932cf4d0b6cf54a/vsc-install-0.14.2.tar.gz#sha256=d0d4f9757a857a219d899137c25979621e884ba26b4b88d65a9e28a622d24edb 2020-01-03T13:49:54 Removed vsc-install==0.14.2 from https://files.pythonhosted.org/packages/55/00/a08012936d28f8742017a10810846bab8f2d475dde460932cf4d0b6cf54a/vsc-install-0.14.2.tar.gz#sha256=d0d4f9757a857a219d899137c25979621e884ba26b4b88d65a9e28a622d24edb from build tracker '/tmp/pip-req-tracker-gvs_db52' 2020-01-03T13:49:54 Building wheels for collected packages: vsc-install 2020-01-03T13:49:54 Created temporary directory: /tmp/pip-wheel-yx_t29re 2020-01-03T13:49:54 Building wheel for vsc-install (setup.py): started 2020-01-03T13:49:54 Destination directory: /tmp/pip-wheel-yx_t29re 2020-01-03T13:49:54 Running command /usr/bin/python3 -u -c 'import setuptools, tokenize;__file__='"'"'/tmp/pip-wheel-tudpox27/vsc-install/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-yx_t29re 2020-01-03T13:49:56 INFO: This is (based on) vsc.install.shared_setup 0.14.2 2020-01-03T13:49:56 INFO: (using setuptools version 41.0.1 located at /usr/local/lib/python3.7/dist-packages/setuptools/__init__.py) 2020-01-03T13:49:56 INFO: run_tests from base dir /tmp/pip-wheel-tudpox27/vsc-install (using executable /tmp/pip-wheel-tudpox27/vsc-install/-c) 2020-01-03T13:49:56 INFO: initial packages list: dict_keys(['vsc', 'vsc.install']) 2020-01-03T13:49:56 INFO: generated list: dict_keys(['vsc', 'vsc.install']) 2020-01-03T13:49:56 INFO: generated packages list: dict_keys(['vsc', 'vsc.install']) 2020-01-03T13:49:56 INFO: makesetupcfg set to True, (re)creating setup.cfg 2020-01-03T13:49:56 INFO: found license /tmp/pip-wheel-tudpox27/vsc-install/LICENSE with md5sum 5f30f0716dfdd0d91eb439ebec522ec2 2020-01-03T13:49:56 INFO: Found license name LGPLv2+ and classifier License :: OSI Approved :: GNU Lesser General Public License v2 or later (LGPLv2+) 2020-01-03T13:49:56 INFO: setting license LGPLv2+ 2020-01-03T13:49:56 INFO: found match name vsc-install in /tmp/pip-wheel-tudpox27/vsc-install/PKG-INFO 2020-01-03T13:49:56 INFO: found match url https://github.com/hpcugent/vsc-install in /tmp/pip-wheel-tudpox27/vsc-install/PKG-INFO 2020-01-03T13:49:56 INFO: Removing None download_url 2020-01-03T13:49:56 INFO: get_name_url returns {'name': 'vsc-install', 'url': 'https://github.com/hpcugent/vsc-install'} 2020-01-03T13:49:56 INFO: using long_description vsc-install provides shared setuptools functions and classes for python libraries developed by UGent's HPC group 2020-01-03T13:49:56 INFO: generated list: ['bin/python-stripped-env', 'bin/python-noenv.sh'] 2020-01-03T13:49:56 INFO: generated scripts list: ['bin/python-stripped-env', 'bin/python-noenv.sh'] 2020-01-03T13:49:56 INFO: adding prospector to tests_require 2020-01-03T13:49:56 {'cmdclass': {'bdist_rpm': , 'egg_info': , 'install_scripts': , 'sdist': , 'test': , 'vsc_release': }, 'command_packages': ['vsc.install.shared_setup', 'shared_setup_dist_only', 'setuptools.command', 'distutils.command'], 'download_url': '', 'package_dir': {'': 'lib'}, 'setup_requires': ['setuptools'], 'test_suite': 'test', 'url': 'https://github.com/hpcugent/vsc-install', 'dependency_links': [], 'install_requires': ['setuptools<42.0', 'mock'], 'tests_require': ['pydocstyle < 4.0', 'prospector >= 1.1.6.4'], 'packages': dict_keys(['vsc', 'vsc.install']), 'classifiers': ['License :: OSI Approved :: GNU Lesser General Public License v2 or later (LGPLv2+)'], 'license': 'LGPLv2+', 'description': "vsc-install provides shared setuptools functions and classes for python libraries developed by UGent's HPC group", 'long_description': 'Description\n===========\nvsc-install provides shared setuptools functions and classes for python libraries developed by UGent\'s HPC group\n\nCommon pitfalls\n=========\nbdist_rpm will fail if your install_requires = \'setuptools\' because it will fail to find a setuptools rpm.\n```\nexport VSC_RPM_PYTHON=1\n```\nwill make sure the `python-` prefix is added to the packages in install_requires for building RPM\'s so python-setuptools will be used.\n\nAdd tests\n=========\n\nTest are python modules in the `test` directory which have subclass of `TestCase`\nand at least one method that has a name starting with `test_`\n\nYou are advised to use\n```python\nfrom vsc.install.testing import TestCase\n```\n(instead of basic `TestCase` from `unittest`).\n\nAnd any `__main__` or `suite()` is not needed (anymore).\n\nInitialise the test directory with\n\n```bash\nmkdir -p test\necho \'\' > test/__init__.py\necho \'from vsc.install.commontest import CommonTest\' > test/00-import.py\n```\n\nWhen the tests are run, `test`, `lib` and `bin` (if relevant) are added to `sys.path`,\nso no need to do so in the tets modules.\n\nRun tests\n=========\n\n```bash\npython setup.py test\n```\n\nFilter tests with `-F` (test module names) and `-f` (test method names)\n\nSee also\n\n```bash\npython setup.py test --help\n```\n\nThe dependencies are installed automatically in the `.eggs` directory. It will first try\n`github.ugent.be` and then `github.com` to install them. The same method is used as through\nwhich the original repository was cloned (http, ssh, ...). In case you need private\ndependencies, always clone with ssh.\n\nIn case following error occurs, it means there is a test module `XYZ` that cannot be imported.\n\n```txt\nFile "setup.py", line 499, in loadTestsFromModule\n testsuites = ScanningLoader.loadTestsFromModule(self, module)\nFile "build/bdist.linux-x86_64/egg/setuptools/command/test.py", line 37, in loadTestsFromModule\nFile "/usr/lib64/python2.7/unittest/loader.py", line 100, in loadTestsFromName\n parent, obj = obj, getattr(obj, part)\nAttributeError: \'module\' object has no attribute \'XYZ\'\n```\n\nYou can try get the actual import error for fixing the issue with\n```bash\npython -c \'import sys;sys.path.insert(0, "test");import XYZ;\'\n```\n\nFix failing tests\n=================\n\n* Missing / incorrect `LICENSE`\n\n * Copy the appropirate license file under `known_licenses` in the project directory and name the file `LICENSE`\n\n* Missing `README.md`\n\n * Create a `README.md` file with at least a `Description` section\n\n* Fix license headers as described in https://github.com/hpcugent/vsc-install/blob/master/lib/vsc/install/headers.py\n\n ```\n cd \n REPO_BASE_DIR=$PWD python -m vsc.install.headers path/to/file script_or_not\n ```\n\n Fix them all at once using find\n\n ```\n find ./{lib,test} -type f -name \'*.py\' | REPO_BASE_DIR=$PWD xargs -I \'{}\' python -m vsc.install.headers \'{}\'\n find ./bin -type f -name \'*.py\' | REPO_BASE_DIR=$PWD xargs -I \'{}\' python -m vsc.install.headers \'{}\' 1\n ```\n\n Do not forget to check the diff.\n Modules/scripts without docstring (or magic comment \'### END OF HEADER\') (incl. test modules)\n will get correct header appended to existing one. Add a docstring (or magic comment) to resolve this.\n* Python scripts (i.e. with a python shebang and installed as scripts in setup) have to use `#!/usr/bin/env python` as shebang\n* Remove any `build_rpms_settings.sh` leftovers\n* The `TARGET` dict in `setup.py` should be minimal unless you really know what you are doing (i.e. if it is truly different from defaults)\n\n * Remove `name`, `scripts`, ...\n\n* `Exception: vsc namespace packages do not allow non-shared namespace`\n\n * Add to the `__init__.py`\n\n ```python\n """\n Allow other packages to extend this namespace, zip safe setuptools style\n """\n import pkg_resources\n pkg_resources.declare_namespace(__name__)\n ```\n\n\nbare-except\n-----------\n```python\ntry:\n # something\nexcept:\n```\nThis is bad, because this except will also catch sys.exit() or Keyboardinterupts, something you\ntypically do not want, if you catch these the program will be in a weird state and then continue on,\nwhilst the person who just pressed ctrl+c is wondering what is going on and why it is not stopping.\n\nso at the very least make this\nexcept Exception (which doesn\'t catch sys.exit and KeyboardInterupt)\nand it would be appreciated if you could actually figure out what exceptions to expect and only catch those\nand let your program crash if something you did not intend happens\nbecause it helps developers catch weird errors on their side better.\n\nif you do something like\n```python\ntry:\n open(int(somestring)).write(\'important data\')\nexcept Exception:\n pass # if somestring is not an integer, we didn\'t need to write anyway, but otherwise we do\n```\nbecause you know sometimes this string does not contain an integer, so the int() call can fail\nyou should really only catch ValueError, because this will also fail when your disk is full, or you don\'t have permissions\nor xxx other reasons, and the important data will not be written out and nobody will notice anything!\n\n\n\nif not \'a\' in somelist -> if \'a\' not in somelist\n-------------------------------------------------\n\nthis isn\'t that big of a deal, but if everyone is consistent it\'s less likely to introduce bugs when a not is added or removed where it didn\'t need to.\nAlso helps code review, not in reads better, like english.\n\n\narguments-differ\n-----------------\n\nthis will give you errors if you override a function of a superclass but don\'t use the same amount of arguments,\nusing less will surely give you errors, so the linter catches this for you now\n\nunused-argument\n-----------------\nif you have a function definition witch accepts an argument that is never used in the function body this will now give an error.\nclean up your function definition, or fix the error where you actually do need to take this argument into account\n\nunused-variable\n----------------\ndefining a variable and then not using it anymore smells bad, why did you do that?\nsometimes you do things like\n```python\nout, exit_code = run_command(something)\n```\nbut you are not interested in the out, only in the exit code,\nin this case, write\n```python\n_, exit_code = run_command(something)\n```\n\nusing _ as a variable name lets pylint and other readers know you do not intend to use that output in the first place.\n\n\nreimported\n-------------\nwhen you re import a name somewhere else,\nusually this is just an import to much, or 2 imports with the same name, pay attention.\n```python\nimport six\nfrom django import six\n```\n=>\n```python\nimport six\nfrom django import six as django_six\n```\n\nredefinition of unused name\n----------------------------\nthis usually also points to something you did not expect\n```python\nfrom vsc.accountpageclient import VscGroup\n\n\nclass VscGroup(object):\n pass\n```\n\n=> do you need the import? use import as\ndid you mean to use the same name? ...\n\nRedefined builtin\n-----------------\nuse different name, for example change\n\n```python\ndef filter(b_b):\n """Function filter"""\n return b_b\n```\n=>\n```python\ndef new_filter(b_b):\n """Function filter"""\n return b_b\n```\n\nFix Python 3 failing tests\n==========================\n\n* We try to follow https://docs.python.org/3/howto/pyporting.html\n* some useful info can be found here as well https://portingguide.readthedocs.io/en/latest/index.html\n\nunpacking-in-except / redefine-in-handler\n-----------------------------------------\n\nMultiple exception have to be grouped in a tuple like\n\n```python\n ...\nexcept (ExceptionOne, ExceptionTwo) ...\n ...\n```\n\n(espcially when used like `except A, B:` which should be `except (A, B):`.\n\nFixing print statement\n----------------------\n\nUse the oneliner:\n```bash\nfind lib bin -name \'*.py\' | xargs futurize -w -f libfuturize.fixes.fix_print_with_import -n\n```\nNote: You need to install `python(2)-future` if you want to use `futurize` (or you have to have the `future` Python package).\n\nMetaclass assignment\n--------------------\n\n```python\nclass Foo(Bar):\n\n __metaclass__ = Baz\n```\n=>\n```python\nfrom future.utils import with_metaclass\n\nclass Foo(with_metaclass(Baz,Bar):\n```\n\nOld raise syntax\n----------------\nPython 2’s **raise** statement was designed at a time when exceptions weren’t classes, and an exception’s _type_, _value_, and _traceback_ components were three separate objects. In Python 3, one single object includes all information about an exception.\n\n```python\nraise NameError, "Error"\n```\n=>\n```python\nraise NameError("Error")\n```\n\nor change\n```python\nraise NameError, "Error", some_traceback\n```\n=>\n```python\nraise NameError("Error")\n\ne = NameError("Error")\ne.__traceback__ = some_traceback\n```\n\nbacktick\n--------\n\n```python\nA = 2\nB = `A`\n```\n=>\n```python\nA = 2\nB = str(A)\n```\n\nOld ne operator\n---------------\n\n```python\nif 2 <> 3:\n```\n=>\n```python\nif 2 != 3:\n```\n\nOctal literal\n-------------\n\n```python\nos.chmod(foo, 0700)\n```\n=>\n```python\nos.chmod(foo, 0o700)\n```\n\nImport star module level\n------------------------\nDo not import \\*, be more specific. If it is impossible, import it in the top level (and suppress the pyflakes error F403.)\n```python\ndef coords(angle, distance):\n """Function coords"""\n from math import *\n return distance * cos(angle), distance * sin(angle)\n```\n=>\n```python\nfrom math import * # noqa: F403\ndef coords(angle, distance):\n """Function coords"""\n return distance * cos(angle), distance * sin(angle)\n```\n\nRaising string\n--------------\n```python\nraise ValueError, \'message\'\n```\n=>\n```python\nraise ValueError(\'message\')\n```\n\nIndexing exception\n------------------\n```python\nexcept IndexError as err:\n err[0]\n```\n=>\n```python\nexcept IndexError as err:\n IndexError.args[0]\n```\n\nturning off these errors\n-------------------------\n\nIf in any of these cases you think: yes, I really needed to do this,\nI\'m monkeypatching things, I\'m adding extra functionality that does indeed have an extra(default) paramenter, etc, etc\nyou can let pylint know to ignore this error in this one specific block of code\nby adding e.g. the comment `# pylint: disable=`\n\n```python\nclass Something(object):\n def dosomething(self, some, thing):\n # do something\n\nclass MyFancyThing(SomeThing):\n # pylint: disable=arguments-differ\n def dosomething(self, some, thing, fancy=None):\n # do something fancy\n```\n\nFull list with all codes is available at http://pylint-messages.wikidot.com/all-codes\n\nAuto-generated `Jenkinsfile` / `tox.ini`\n========================================\n\n`vsc-install` has support for auto-generating the `Jenkinsfile` (and accompanying `tox.ini`), via:\n\n python -m vsc.install.ci\n\nFailing check on (contents of) `Jenkinsfile` or `tox.ini`\n---------------------------------------------------------\n\nThere are dedicated tests that check whether the `Jenkinsfile` and `tox.ini` files were auto-generated\nby `vsc-install`.\n\nTo fix the tests, simply run `python -m vsc.install.ci` using the latest version of `vsc-install`\nto re-generate `Jenkinsfile` and `tox.ini`, and then commit & push the changes.\n\nIf the contents of the file that is auto-generated by the latest version of `vsc-install` is incorrect\nfor whatever reason, you can temporarily bypass the failing test by adding an a file named `Jenkinsfile.NOT_AUTOGENERATED_YET` or `tox.ini.NOT_AUTOGENERATED_YET`.\n\nThe file **must** contain the URL of a vsc-install issue, created via via https://github.com/hpcugent/vsc-install/issues/new, where the incorrectly generated file is reported.\n\nExample:\n\n echo "see https://github.com/hpcugent/vsc-install/issues/1234 for more info" > Jenkinsfile.NOT_AUTOGENERATED_YET\n\n\nRequiring JIRA issue ref in PR title\n------------------------------------\n\nTo also include a check in the `Jenkinsfile` for having a JIRA issue ref (like `[HPC-1234]`) in the pull request title,\nadd a configuration file for `python -m vsc.install.ci` named `vsc-ci.ini` like this into the repository:\n\n```ini\n[vsc-ci]\njira_issue_id_in_pr_title=1\n```\n', 'long_description_content_type': 'text/markdown', 'scripts': ['bin/python-stripped-env', 'bin/python-noenv.sh'], 'namespace_packages': ['vsc'], 'version': '0.14.2', 'author': 'Stijn De Weirdt;Andy Georges;Jens Timmerman', 'author_email': 'stijn.deweirdt@ugent.be, andy.georges@ugent.be, jens.timmerman@ugent.be', 'maintainer': 'Stijn De Weirdt;Andy Georges;Jens Timmerman', 'maintainer_email': 'stijn.deweirdt@ugent.be, andy.georges@ugent.be, jens.timmerman@ugent.be', 'name': 'vsc-install'} 2020-01-03T13:49:56 INFO: running bdist_wheel 2020-01-03T13:49:56 INFO: running build 2020-01-03T13:49:56 INFO: running build_py 2020-01-03T13:49:56 INFO: creating build 2020-01-03T13:49:56 INFO: creating build/lib 2020-01-03T13:49:56 INFO: creating build/lib/vsc 2020-01-03T13:49:56 INFO: copying lib/vsc/__init__.py -> build/lib/vsc 2020-01-03T13:49:56 INFO: creating build/lib/vsc/install 2020-01-03T13:49:56 INFO: copying lib/vsc/install/commontest.py -> build/lib/vsc/install 2020-01-03T13:49:56 INFO: copying lib/vsc/install/testing.py -> build/lib/vsc/install 2020-01-03T13:49:56 INFO: copying lib/vsc/install/__init__.py -> build/lib/vsc/install 2020-01-03T13:49:56 INFO: copying lib/vsc/install/ci.py -> build/lib/vsc/install 2020-01-03T13:49:56 INFO: copying lib/vsc/install/methodinspector.py -> build/lib/vsc/install 2020-01-03T13:49:56 INFO: copying lib/vsc/install/headers.py -> build/lib/vsc/install 2020-01-03T13:49:56 INFO: copying lib/vsc/install/shared_setup.py -> build/lib/vsc/install 2020-01-03T13:49:56 INFO: running build_scripts 2020-01-03T13:49:56 INFO: creating build/scripts-3.7 2020-01-03T13:49:56 INFO: copying bin/python-stripped-env -> build/scripts-3.7 2020-01-03T13:49:56 INFO: copying bin/python-noenv.sh -> build/scripts-3.7 2020-01-03T13:49:56 INFO: changing mode of build/scripts-3.7/python-noenv.sh from 644 to 755 2020-01-03T13:49:56 INFO: installing to build/bdist.linux-armv7l/wheel 2020-01-03T13:49:56 INFO: running install 2020-01-03T13:49:56 INFO: running install_lib 2020-01-03T13:49:56 WARN: Skipping installation of build/bdist.linux-armv7l/wheel/vsc/__init__.py (namespace package) 2020-01-03T13:49:56 INFO: copying vsc/install/commontest.py -> build/bdist.linux-armv7l/wheel/vsc/install 2020-01-03T13:49:56 INFO: copying vsc/install/testing.py -> build/bdist.linux-armv7l/wheel/vsc/install 2020-01-03T13:49:56 INFO: copying vsc/install/__init__.py -> build/bdist.linux-armv7l/wheel/vsc/install 2020-01-03T13:49:56 INFO: copying vsc/install/ci.py -> build/bdist.linux-armv7l/wheel/vsc/install 2020-01-03T13:49:56 INFO: copying vsc/install/methodinspector.py -> build/bdist.linux-armv7l/wheel/vsc/install 2020-01-03T13:49:56 INFO: copying vsc/install/headers.py -> build/bdist.linux-armv7l/wheel/vsc/install 2020-01-03T13:49:56 INFO: copying vsc/install/shared_setup.py -> build/bdist.linux-armv7l/wheel/vsc/install 2020-01-03T13:49:56 INFO: running install_egg_info 2020-01-03T13:49:56 INFO: run_tests from base dir /tmp/pip-wheel-tudpox27/vsc-install (using executable /tmp/pip-wheel-tudpox27/vsc-install/-c) 2020-01-03T13:49:56 INFO: running egg_info 2020-01-03T13:49:56 INFO: creating lib/vsc_install.egg-info 2020-01-03T13:49:56 INFO: writing lib/vsc_install.egg-info/PKG-INFO 2020-01-03T13:49:56 INFO: writing dependency_links to lib/vsc_install.egg-info/dependency_links.txt 2020-01-03T13:49:56 INFO: writing namespace_packages to lib/vsc_install.egg-info/namespace_packages.txt 2020-01-03T13:49:56 INFO: writing requirements to lib/vsc_install.egg-info/requires.txt 2020-01-03T13:49:56 INFO: writing top-level names to lib/vsc_install.egg-info/top_level.txt 2020-01-03T13:49:56 INFO: writing manifest file 'lib/vsc_install.egg-info/SOURCES.txt' 2020-01-03T13:49:56 INFO: reading manifest file 'lib/vsc_install.egg-info/SOURCES.txt' 2020-01-03T13:49:56 INFO: writing manifest file 'lib/vsc_install.egg-info/SOURCES.txt' 2020-01-03T13:49:56 INFO: looking for extra dist files 2020-01-03T13:49:56 INFO: Copying lib/vsc_install.egg-info to build/bdist.linux-armv7l/wheel/vsc_install-0.14.2-py3.7.egg-info 2020-01-03T13:49:56 INFO: Installing build/bdist.linux-armv7l/wheel/vsc_install-0.14.2-py3.7-nspkg.pth 2020-01-03T13:49:57 INFO: running install_scripts 2020-01-03T13:49:57 INFO: creating build/bdist.linux-armv7l/wheel/vsc_install-0.14.2.data 2020-01-03T13:49:57 INFO: creating build/bdist.linux-armv7l/wheel/vsc_install-0.14.2.data/scripts 2020-01-03T13:49:57 INFO: copying build/scripts-3.7/python-stripped-env -> build/bdist.linux-armv7l/wheel/vsc_install-0.14.2.data/scripts 2020-01-03T13:49:57 INFO: copying build/scripts-3.7/python-noenv.sh -> build/bdist.linux-armv7l/wheel/vsc_install-0.14.2.data/scripts 2020-01-03T13:49:57 INFO: changing mode of build/bdist.linux-armv7l/wheel/vsc_install-0.14.2.data/scripts/python-stripped-env to 755 2020-01-03T13:49:57 INFO: changing mode of build/bdist.linux-armv7l/wheel/vsc_install-0.14.2.data/scripts/python-noenv.sh to 755 2020-01-03T13:49:57 INFO: adding license file "LICENSE" (matched pattern "LICEN[CS]E*") 2020-01-03T13:49:57 INFO: creating build/bdist.linux-armv7l/wheel/vsc_install-0.14.2.dist-info/WHEEL 2020-01-03T13:49:57 INFO: creating '/tmp/pip-wheel-yx_t29re/vsc_install-0.14.2-py3-none-any.whl' and adding 'build/bdist.linux-armv7l/wheel' to it 2020-01-03T13:49:57 INFO: adding 'vsc_install-0.14.2-py3.7-nspkg.pth' 2020-01-03T13:49:57 INFO: adding 'vsc/install/__init__.py' 2020-01-03T13:49:57 INFO: adding 'vsc/install/ci.py' 2020-01-03T13:49:57 INFO: adding 'vsc/install/commontest.py' 2020-01-03T13:49:57 INFO: adding 'vsc/install/headers.py' 2020-01-03T13:49:57 INFO: adding 'vsc/install/methodinspector.py' 2020-01-03T13:49:57 INFO: adding 'vsc/install/shared_setup.py' 2020-01-03T13:49:57 INFO: adding 'vsc/install/testing.py' 2020-01-03T13:49:57 INFO: adding 'vsc_install-0.14.2.data/scripts/python-noenv' 2020-01-03T13:49:57 INFO: adding 'vsc_install-0.14.2.data/scripts/python-stripped-env' 2020-01-03T13:49:57 INFO: adding 'vsc_install-0.14.2.dist-info/LICENSE' 2020-01-03T13:49:57 INFO: adding 'vsc_install-0.14.2.dist-info/METADATA' 2020-01-03T13:49:57 INFO: adding 'vsc_install-0.14.2.dist-info/WHEEL' 2020-01-03T13:49:57 INFO: adding 'vsc_install-0.14.2.dist-info/namespace_packages.txt' 2020-01-03T13:49:57 INFO: adding 'vsc_install-0.14.2.dist-info/top_level.txt' 2020-01-03T13:49:57 INFO: adding 'vsc_install-0.14.2.dist-info/RECORD' 2020-01-03T13:49:57 INFO: removing build/bdist.linux-armv7l/wheel 2020-01-03T13:49:57 Building wheel for vsc-install (setup.py): finished with status 'done' 2020-01-03T13:49:57 Stored in directory: /tmp/tmp9l7iq9__ 2020-01-03T13:49:57 Successfully built vsc-install 2020-01-03T13:49:57 Cleaning up... 2020-01-03T13:49:57 Removing source in /tmp/pip-wheel-tudpox27/vsc-install 2020-01-03T13:49:57 Removed build tracker '/tmp/pip-req-tracker-gvs_db52'