pypa / pipenv

Python Development Workflow for Humans.
https://pipenv.pypa.io
MIT License
24.82k stars 1.87k forks source link

"pipenv install pyqt5" produces a strange dependency warning #989

Closed nicholasbishop closed 6 years ago

nicholasbishop commented 6 years ago

pipenv install pyqt5 warns that it can't install dependencies, but it's not clear to me if there's actually a problem or not.

Describe you environment
  1. OS Type: Linux
  2. Python version: 3.6.2
  3. Pipenv version: 8.3.0
Expected result

pipenv install pyqt5 should succeed without any warnings.

Actual result

This warning is produced:

Warning: Your dependencies could not be resolved. You likely have a mismatch in your sub-dependencies.
  You can use $ pipenv install --skip-lock to bypass this mechanism, then run $ pipenv graph to inspect the situation.
Could not find a version that matches pyqt5
Tried: (no version found at all)

I tried doing what it suggested (pipenv install --skip-lock, pipenv graph) and I don't see anything in the output that indicates a problem:

$ pipenv graph
pipenv graph
PyQt5==5.9
  - sip [required: >=4.19.3,<4.20, installed: 4.19.3]
Steps to replicate

In an empty directory:

$ pipenv install --three
$ pipenv shell
$ pipenv install pyqt5

Here's the verbose output:

$ pipenv install pyqt5 --verbose
pipenv install pyqt5 --verbose
Installing pyqt5…
Installing u'pyqt5'
⠋$ "/home/nicholasbishop/.local/share/virtualenvs/myed-Vodb0czH/bin/pip" install   --verbose   "pyqt5" -i https://pypi.python.org/simple --exists-action w
Collecting pyqt5
  1 location(s) to search for versions of pyqt5:
  * https://pypi.python.org/simple/pyqt5/
  Getting page https://pypi.python.org/simple/pyqt5/
  Looking up "https://pypi.python.org/simple/pyqt5/" in the cache
  Current age based on date: 366
  Freshness lifetime from max-age: 600
  Freshness lifetime from request max-age: 600
  The response is "fresh", returning cached response
  600 > 366
  Analyzing links from page https://pypi.python.org/simple/pyqt5/
    Skipping link https://pypi.python.org/packages/01/8c/9d36bcb04f3c21bd449e438a5d52259a62dbbfe222698fa006099caf5143/PyQt5-5.8.1.1-5.8.0-cp35.cp36.cp37-none-win_amd64.whl#md5=04b2cb03efe5f544725f729eef723d28 (from https://pypi.python.org/simple/pyqt5/); it is not compatible with this Python
    Skipping link https://pypi.python.org/packages/07/7b/3223e33293be19e7666976db4ed346d83ba9b97be23aae2e4f94dcf37782/PyQt5-5.8.2-5.8.0-cp35.cp36.cp37-none-win32.whl#md5=1680375206a128d8325fb38efd784c03 (from https://pypi.python.org/simple/pyqt5/); it is not compatible with this Python
    Skipping link https://pypi.python.org/packages/0f/a8/71d918272a9ae17541942daffb15d663d7c9401346252a495a84822e81d5/PyQt5-5.8.2-5.8.0-cp35.cp36.cp37-abi3-macosx_10_6_intel.whl#md5=2b71949cfc748db399c0bd8157444a85 (from https://pypi.python.org/simple/pyqt5/); it is not compatible with this Python
    Found link https://pypi.python.org/packages/12/8a/83d96cef5f8155bc4eb140713bc479f56c15e542bec0c4340f65a0e8317a/PyQt5-5.7.1-5.7.1-cp34.cp35.cp36-abi3-manylinux1_x86_64.whl#md5=b4f4f015c60c6c6f0404acf3307b31c1 (from https://pypi.python.org/simple/pyqt5/), version: 5.7.1
    Found link https://pypi.python.org/packages/13/f4/dad8682ca966094fd3694746fba6b87c11ba793a4660022db7275d50b34b/PyQt5-5.8-5.8.0-cp34.cp35.cp36.cp37-abi3-manylinux1_x86_64.whl#md5=a2fdd5e3671aaef944c1a83ca1eaf60a (from https://pypi.python.org/simple/pyqt5/), version: 5.8
    Skipping link https://pypi.python.org/packages/14/60/cc8aacfc5c7fd1eb54aa91982d189b052100b2884ba7bc77b3515879a17d/PyQt5-5.9-5.9.1-cp35.cp36.cp37-none-win32.whl#md5=640473b50f6387c08fd84349793460ba (from https://pypi.python.org/simple/pyqt5/); it is not compatible with this Python
    Skipping link https://pypi.python.org/packages/26/97/b40b1052ffc676c9fb5e68cb0400309a9a22a4f582aa4294b319f3dc8b3f/PyQt5-5.8.1.1-5.8.0-cp35.cp36.cp37-none-win32.whl#md5=f486111e89542660ac29cfd791644b8b (from https://pypi.python.org/simple/pyqt5/); it is not compatible with this Python
    Skipping link https://pypi.python.org/packages/28/9e/ae20f544f99f6e5b28d806bf2c37b7069c8bb3fd7bdf84e6ed02ee853591/PyQt5-5.9-5.9.1-cp35.cp36.cp37-abi3-macosx_10_6_intel.whl#md5=bf07195ac2b81821ade2bc51762784c9 (from https://pypi.python.org/simple/pyqt5/); it is not compatible with this Python
    Skipping link https://pypi.python.org/packages/34/a7/ed3a2e7f74a7fcc112c1669968ca1be552f34d123bb4515a97520d69e8f3/PyQt5-5.6-cp35-cp35m-manylinux1_x86_64.whl#md5=787c331fb9b462a16f8526c964023c58 (from https://pypi.python.org/simple/pyqt5/); it is not compatible with this Python
    Skipping link https://pypi.python.org/packages/3b/08/32236a8fb73e4dfe51c8091a58ac24cc4987d1b12630a68939ebb6126d45/PyQt5-5.8-5.8.0-cp34.cp35.cp36.cp37-abi3-macosx_10_6_intel.whl#md5=73745a08f3cc1690922b6e21be341f43 (from https://pypi.python.org/simple/pyqt5/); it is not compatible with this Python
    Skipping link https://pypi.python.org/packages/3c/34/a768dacf653a883f57928ed971575c29f80b87db09a52c9b66724d6317a0/PyQt5-5.7-cp35-none-win_amd64.whl#md5=43f6617cd9d109ad334d55a1e2f8eecb (from https://pypi.python.org/simple/pyqt5/); it is not compatible with this Python
    Skipping link https://pypi.python.org/packages/40/f9/0be162881f4bdb6e828ee6db871310140a5278b4538e65716eae8b2d3dbd/PyQt5-5.6-cp35-cp35m-macosx_10_6_intel.whl#md5=51c8e78f58777eb71e0304ed8a35153d (from https://pypi.python.org/simple/pyqt5/); it is not compatible with this Python
    Found link https://pypi.python.org/packages/45/63/353403622330d335631ec3a3016f9e0a6a9519082488b1421003682f8ef4/PyQt5-5.9-5.9.1-cp35.cp36.cp37-abi3-manylinux1_x86_64.whl#md5=785f1aa6027e2b691b9117629657f104 (from https://pypi.python.org/simple/pyqt5/), version: 5.9
    Found link https://pypi.python.org/packages/4f/52/428af82f860dae1e08f8cb7f03399a9cc0f3756f2bd1b3e31ee749e126e4/PyQt5-5.8.2-5.8.0-cp35.cp36.cp37-abi3-manylinux1_x86_64.whl#md5=4c2c1577d8766b4ce6f328635b9556fe (from https://pypi.python.org/simple/pyqt5/), version: 5.8.2
    Skipping link https://pypi.python.org/packages/53/47/c3af02173da1c6887de05ec6201f8582eee4efcd9476d47739b42cb1a8b9/PyQt5-5.9-5.9.1-cp35.cp36.cp37-none-win_amd64.whl#md5=93e37890bcec8009ede4a39faaad96c6 (from https://pypi.python.org/simple/pyqt5/); it is not compatible with this Python
    Skipping link https://pypi.python.org/packages/55/08/a8cae8689ed928a6c7eba2e125b5cf96545995692d144d8b8f6471e47246/PyQt5-5.8.2-5.8.0-cp35.cp36.cp37-none-win_amd64.whl#md5=ab236f946ce9f7819a1e240b41e4d6ef (from https://pypi.python.org/simple/pyqt5/); it is not compatible with this Python
    Skipping link https://pypi.python.org/packages/5c/9b/c5a06dccbf7db02c83adca82321f4b8e97aaf088d73eb5fc52f4f1463399/PyQt5-5.7.1-5.7.1-cp34.cp35.cp36-abi3-macosx_10_6_intel.whl#md5=6f3d3496505a39c44aed09fca0850f2c (from https://pypi.python.org/simple/pyqt5/); it is not compatible with this Python
    Skipping link https://pypi.python.org/packages/71/c5/7e2a35682358f1be16f5f310e7ea3b64c5ecc168f83c3dc4d50dcee9f087/PyQt5-5.7-cp35-none-win32.whl#md5=f52427b4706eb4f9a371ef5d8c02c9ac (from https://pypi.python.org/simple/pyqt5/); it is not compatible with this Python
    Skipping link https://pypi.python.org/packages/87/e2/c31ca63e04c2b0ed8cf7d5afd564f1d254d684ae3b62cbc3c6c48f2875a1/PyQt5-5.8.1.1-5.8.0-cp35.cp36.cp37-abi3-macosx_10_6_intel.whl#md5=8fbb4ec4c8d7b3d510728625b9f9d24f (from https://pypi.python.org/simple/pyqt5/); it is not compatible with this Python
    Found link https://pypi.python.org/packages/b4/07/300a655328833b05646c6af50cfef795e4aaa5e58727f6b551c62e9ab173/PyQt5-5.8.1.1-5.8.0-cp35.cp36.cp37-abi3-manylinux1_x86_64.whl#md5=60a2fbe677fb9c4d5968a6c0292872f7 (from https://pypi.python.org/simple/pyqt5/), version: 5.8.1.1
    Skipping link https://pypi.python.org/packages/cc/eb/f2e115d21abec6d86b2af0b7fa6f71439767d0a91cb393607e4f72998b0a/PyQt5-5.6-cp35-none-win32.whl#md5=517c5bf65e2cb43a8f187a8674499e73 (from https://pypi.python.org/simple/pyqt5/); it is not compatible with this Python
    Skipping link https://pypi.python.org/packages/d0/e4/0fb306a86f0471d69e4f8c501def0af5dd5468cdcb47ccf68c0703e32571/PyQt5-5.7-cp35-cp35m-macosx_10_6_intel.whl#md5=bd4261df379dc4d704f1c04cd9ae784c (from https://pypi.python.org/simple/pyqt5/); it is not compatible with this Python
    Skipping link https://pypi.python.org/packages/d4/e2/369af0102c2fdd2c6fcd77dbd87c28342ca479959f3432c4209f0b29c660/PyQt5-5.7.1-5.7.1-cp34.cp35.cp36-none-win_amd64.whl#md5=7c7c2b530c8e812e4e697793a313cdad (from https://pypi.python.org/simple/pyqt5/); it is not compatible with this Python
    Skipping link https://pypi.python.org/packages/d8/d4/55e78a986b50f6551ba09d523a11d67535b3397b295e1ccedfaeaa26b88b/PyQt5-5.7.1-5.7.1-cp34.cp35.cp36.cp37-none-win32.whl#md5=8fe27302395174e5ccdfe74b8fff5221 (from https://pypi.python.org/simple/pyqt5/); it is not compatible with this Python
    Skipping link https://pypi.python.org/packages/f0/3a/8f2261c0477008057636b9f992952033748b9ee94541dd54373f7d6bf5f1/PyQt5-5.8-5.8.0-cp34.cp35.cp36.cp37-none-win32.whl#md5=ca36b1bace7cf374e9223ffdb0e137b4 (from https://pypi.python.org/simple/pyqt5/); it is not compatible with this Python
    Skipping link https://pypi.python.org/packages/f3/4d/8ef2d9db0a0450de985dfe04d64d09762ab2205179914aa3cc41f44af377/PyQt5-5.6-cp35-none-win_amd64.whl#md5=29243c64de9dc213221e3d13b18318bd (from https://pypi.python.org/simple/pyqt5/); it is not compatible with this Python
    Skipping link https://pypi.python.org/packages/f3/94/92e7c8b3c2279a3503a8ba41fce5e0234acdc6de3a1b278ebfdcfe532f67/PyQt5-5.7-cp35-cp35m-manylinux1_x86_64.whl#md5=e745c4331a3fbafb9b59636089d5bf9f (from https://pypi.python.org/simple/pyqt5/); it is not compatible with this Python
    Skipping link https://pypi.python.org/packages/f9/b4/54bd54fa47b8c9f2c3460c25f40ecc1ffa749b9e86ed39982be488660c33/PyQt5-5.8-5.8.0-cp34.cp35.cp36.cp37-none-win_amd64.whl#md5=53f7cf0d09f45c9e434ae2dbd63ecc15 (from https://pypi.python.org/simple/pyqt5/); it is not compatible with this Python
  Using version 5.9 (newest of versions: 5.7.1, 5.8, 5.8.1.1, 5.8.2, 5.9)
  Looking up "https://pypi.python.org/packages/45/63/353403622330d335631ec3a3016f9e0a6a9519082488b1421003682f8ef4/PyQt5-5.9-5.9.1-cp35.cp36.cp37-abi3-manylinux1_x86_64.whl" in the cache
  Current age based on date: 1003
  Freshness lifetime from max-age: 31557600
  The response is "fresh", returning cached response
  31557600 > 1003
  Using cached PyQt5-5.9-5.9.1-cp35.cp36.cp37-abi3-manylinux1_x86_64.whl
  Downloading from URL https://pypi.python.org/packages/45/63/353403622330d335631ec3a3016f9e0a6a9519082488b1421003682f8ef4/PyQt5-5.9-5.9.1-cp35.cp36.cp37-abi3-manylinux1_x86_64.whl#md5=785f1aa6027e2b691b9117629657f104 (from https://pypi.python.org/simple/pyqt5/)
Collecting sip<4.20,>=4.19.3 (from pyqt5)
  1 location(s) to search for versions of sip:
  * https://pypi.python.org/simple/sip/
  Getting page https://pypi.python.org/simple/sip/
  Looking up "https://pypi.python.org/simple/sip/" in the cache
  Current age based on date: 365
  Freshness lifetime from max-age: 600
  Freshness lifetime from request max-age: 600
  The response is "fresh", returning cached response
  600 > 365
  Analyzing links from page https://pypi.python.org/simple/sip/
    Found link https://pypi.python.org/packages/01/70/59ed0ffc69e0adb40d900c4ad20b09b78dcf2b8ed5d9ebac4d9c66304130/sip-4.19.3-cp36-cp36m-manylinux1_x86_64.whl#md5=7e0f95c59ec38e0de1017da88b2c6d09 (from https://pypi.python.org/simple/sip/), version: 4.19.3
    Skipping link https://pypi.python.org/packages/12/11/f7fee6889d91017c0e3375195ad5119afe1ecaca167d440c41d1432533f5/sip-4.19.1-cp35-none-win32.whl#md5=dd39096aac18a6784bf2cc6775ea48ad (from https://pypi.python.org/simple/sip/); it is not compatible with this Python
    Skipping link https://pypi.python.org/packages/17/ec/8651ca0c24595761c9b25f9fee2f3487c836eee286093e33294cae6c9924/sip-4.19.2-cp35-none-win32.whl#md5=ac81c46ada522c37d65b148824fdfa2a (from https://pypi.python.org/simple/sip/); it is not compatible with this Python
    Skipping link https://pypi.python.org/packages/19/5a/c50a0ccd211f864972da0f2e101722508ffb4e008347fd2a56a99beab9d0/sip-4.19.2-cp35-cp35m-manylinux1_x86_64.whl#md5=ad58ce7890e12285077e928982b2c96a (from https://pypi.python.org/simple/sip/); it is not compatible with this Python
    Skipping link https://pypi.python.org/packages/22/45/8af39cdd11fce2029c183caf0447d2c498aa6fe4bd0ade0cfc9297b5ae4f/sip-4.19.2-cp36-cp36m-macosx_10_6_intel.whl#md5=6d4fb4fd3ff4022a53b564b737462a26 (from https://pypi.python.org/simple/sip/); it is not compatible with this Python
    Skipping link https://pypi.python.org/packages/32/37/2b6ba5fba27510bf5e8431c9473e3627c2fdfca66da0ecf365968d929d2a/sip-4.19.3-cp36-none-win32.whl#md5=446cacfa4d0eda397f3de0f18b25647e (from https://pypi.python.org/simple/sip/); it is not compatible with this Python
    Skipping link https://pypi.python.org/packages/36/2c/7571c4d56d0dfc9baa5d8572aa349fdd60ea13f810aee1427691b77ef15b/sip-4.19.1-cp36-none-win32.whl#md5=23889910c30b74085a9421d744bce1a6 (from https://pypi.python.org/simple/sip/); it is not compatible with this Python
    Skipping link https://pypi.python.org/packages/40/48/295e0dcdb3b0180d74f8c3dd77c67e727f5aa7e4cc68005fee8c4fae92cb/sip-4.18.1-cp35-cp35m-manylinux1_x86_64.whl#md5=945654e4c3af6a7f6bcfa1b8fc2a45d8 (from https://pypi.python.org/simple/sip/); it is not compatible with this Python
    Skipping link https://pypi.python.org/packages/42/46/fc1c06fac246ffabc80f7f5de4a73be027112628c31594bee314954bd414/sip-4.18-cp35-none-win32.whl#md5=c9a109d5d51ba794bbd80fc305110d79 (from https://pypi.python.org/simple/sip/); it is not compatible with this Python
    Skipping link https://pypi.python.org/packages/4a/37/86cda76a49b767f3cf26a7b7fdb45e002d97a3ce4590e4f969b49d4eae92/sip-4.19-cp36-none-win_amd64.whl#md5=673497066d83c57c8ac08bd252592df5 (from https://pypi.python.org/simple/sip/); it is not compatible with this Python
    Skipping link https://pypi.python.org/packages/4a/d9/9579f01a6c2155204bf6da55509bb2287dea55709676cfc92bcd5055aa0b/sip-4.19.1-cp36-cp36m-macosx_10_6_intel.whl#md5=e1a8afad8af13dd7ccc212f4b62e4a4a (from https://pypi.python.org/simple/sip/); it is not compatible with this Python
    Skipping link https://pypi.python.org/packages/4d/be/b49d06739027998d06cf85c5e61cc6f87a6edd2c0ecf7496185f08f2730a/sip-4.19-cp35-none-win32.whl#md5=bbdce529873b10204da7d9dd47281da5 (from https://pypi.python.org/simple/sip/); it is not compatible with this Python
    Skipping link https://pypi.python.org/packages/51/63/85c2fec6498e4fa792af2640598d2fc26c048274b8fa3735164bbdd2226f/sip-4.19-cp36-cp36m-macosx_10_6_intel.whl#md5=13ebef418c63b749f5754380c528cd40 (from https://pypi.python.org/simple/sip/); it is not compatible with this Python
    Skipping link https://pypi.python.org/packages/53/e9/17b568b0b8cc388fe2987d8ad2904d39b06be66f069043c8c1b080d53896/sip-4.19.2-cp36-none-win32.whl#md5=d591b1f5e3c40dd850b046ebce98103c (from https://pypi.python.org/simple/sip/); it is not compatible with this Python
    Skipping link https://pypi.python.org/packages/56/a5/974eb9e9224eb21437f59733ca8e695cbb6507a510cd283cb664cf1ab9d7/sip-4.18-cp35-cp35m-manylinux1_x86_64.whl#md5=bb00e5761cb5c96f53df8eda0790386e (from https://pypi.python.org/simple/sip/); it is not compatible with this Python
    Skipping link https://pypi.python.org/packages/5f/c5/bd89e89e17f90f931fc0420dfa44603aa6a6d113fd9b0d7a415df0d2586f/sip-4.19.3-cp35-cp35m-macosx_10_6_intel.whl#md5=b3208c2700f62159863290d7128e60cb (from https://pypi.python.org/simple/sip/); it is not compatible with this Python
    Skipping link https://pypi.python.org/packages/73/7c/7f40c734bba4523190b87bc3ac95113264bd53efc69322712002192c9823/sip-4.18.1-cp35-none-win_amd64.whl#md5=eac5005e7a55a07805f436e7a1b6780e (from https://pypi.python.org/simple/sip/); it is not compatible with this Python
    Skipping link https://pypi.python.org/packages/7b/d0/7c9a7b69d1504c27e65b1efb053966f3b232e9071bb99ecc447232319f98/sip-4.18-cp35-none-win_amd64.whl#md5=ab8228070b3a8e549b309013e5b199d9 (from https://pypi.python.org/simple/sip/); it is not compatible with this Python
    Found link https://pypi.python.org/packages/7d/4f/e7b0f20e4106857e85e0bf47c663427bb78434a241d36be9aeb4d400fbc0/sip-4.19.1-cp36-cp36m-manylinux1_x86_64.whl#md5=3472346aab6be1c02a928590f9a29975 (from https://pypi.python.org/simple/sip/), version: 4.19.1
    Found link https://pypi.python.org/packages/7e/55/903260dab5a0bd60e43377f9da9df8ad952684aa75a74c85d16ca1bdc1c4/sip-4.19.2-cp36-cp36m-manylinux1_x86_64.whl#md5=9b698fc5e19adeafabdbfc2a05e4d196 (from https://pypi.python.org/simple/sip/), version: 4.19.2
    Skipping link https://pypi.python.org/packages/8d/db/fe1df0c49ec794e4dab232142d835c1b57e2cf9f8ef101c34c840a420335/sip-4.19-cp36-none-win32.whl#md5=b8744c002e0c10cca30679deddbe30ee (from https://pypi.python.org/simple/sip/); it is not compatible with this Python
    Skipping link https://pypi.python.org/packages/90/e1/103eba6a762a8e48357488352221d1ec24a5c44de372d204313e1e5215f8/sip-4.18.1-cp35-none-win32.whl#md5=696162ddaff39189809df1598fac9ee7 (from https://pypi.python.org/simple/sip/); it is not compatible with this Python
    Skipping link https://pypi.python.org/packages/98/66/0420471445e9f2ecc7a9dff0250c804a528e25d00b844b25685c58d2a134/sip-4.19.1-cp36-none-win_amd64.whl#md5=4c9a786d9c566028d69824ef17db4ae0 (from https://pypi.python.org/simple/sip/); it is not compatible with this Python
    Skipping link https://pypi.python.org/packages/99/81/f5af0765837bb29cc55c73a85119101e80e0dcd5a6df867fd3ba41a00f8f/sip-4.19.3-cp36-none-win_amd64.whl#md5=34cd2a3119021d34dfd74aaf0fa59094 (from https://pypi.python.org/simple/sip/); it is not compatible with this Python
    Skipping link https://pypi.python.org/packages/a1/66/8aba2d5e0f8d6c7fc43a68d4d3b2971bb2228342d94e0516cd88ae5f0464/sip-4.19-cp35-cp35m-macosx_10_6_intel.whl#md5=a373aa77b45486eea34a6c3cbe97a18a (from https://pypi.python.org/simple/sip/); it is not compatible with this Python
    Skipping link https://pypi.python.org/packages/a4/13/5b392334328aa01a8fac128b9b3dddfbeb71926a5e887fd2f0cac273f548/sip-4.19.1-cp35-cp35m-macosx_10_6_intel.whl#md5=0cc698a274293e64082e0b1fe9b5e21b (from https://pypi.python.org/simple/sip/); it is not compatible with this Python
    Skipping link https://pypi.python.org/packages/a5/e1/729644723f5b70d7103644bb9c56a18c2a899d7016c5b6790e0b3878564b/sip-4.19.3-cp35-none-win32.whl#md5=f04c75f318ce57de9a2ca7a62d58799b (from https://pypi.python.org/simple/sip/); it is not compatible with this Python
    Skipping link https://pypi.python.org/packages/aa/61/d3e33258a7f65c17074de62a8a34bbb999e7ffb0688e562e6e68df7fde4f/sip-4.18.1-cp35-cp35m-macosx_10_6_intel.whl#md5=ebf9fb471c220daf21faa1300942f23b (from https://pypi.python.org/simple/sip/); it is not compatible with this Python
    Skipping link https://pypi.python.org/packages/ab/e2/3e4435da3ed818a186f04f149a769a55c84c97d345a24e6e0574cb21c10d/sip-4.19.1-cp35-none-win_amd64.whl#md5=b70a70f15ca6e0330f632363c0983f7a (from https://pypi.python.org/simple/sip/); it is not compatible with this Python
    Found link https://pypi.python.org/packages/b0/09/c5cf0f69036909c11c4f6135295f1b3600578cd6fc65737eb66c0c88436d/sip-4.19-cp36-cp36m-manylinux1_x86_64.whl#md5=e28fbe3b88e74571c8cef9ce0a4f13f5 (from https://pypi.python.org/simple/sip/), version: 4.19
    Skipping link https://pypi.python.org/packages/be/f4/04f2fac0491f4fe25371ece16f1de71174f8de1757a2906937e5c475d652/sip-4.19.3-cp35-none-win_amd64.whl#md5=628cb0543071509330b36fc8ac62ca6e (from https://pypi.python.org/simple/sip/); it is not compatible with this Python
    Skipping link https://pypi.python.org/packages/c2/1e/44017184f68c94d4fa3898ca15079868d083a05aac0d33f65cd8fed07dd9/sip-4.19-cp35-none-win_amd64.whl#md5=23c477a52b5ca5e0b5d27c61a49b59d8 (from https://pypi.python.org/simple/sip/); it is not compatible with this Python
    Skipping link https://pypi.python.org/packages/cb/51/8df9ae05eaa4e6c1496ebc12449f12c4dd158eb7663cfa84c8054037d50b/sip-4.19.1-cp35-cp35m-manylinux1_x86_64.whl#md5=611b993ddbd73983542fa0a8e840f9a2 (from https://pypi.python.org/simple/sip/); it is not compatible with this Python
    Skipping link https://pypi.python.org/packages/d4/b9/3f506d00561be860919688aa917fcf8d18ba39a7c8ad85deddfb4a346c51/sip-4.18-cp35-cp35m-macosx_10_6_intel.whl#md5=d8baf3685f55d490073a078ef62c179b (from https://pypi.python.org/simple/sip/); it is not compatible with this Python
    Skipping link https://pypi.python.org/packages/db/07/d17e08b8e18e021e6614622ef73d6907cc272f053373e6719e2dc1a2b7c4/sip-4.19.2-cp36-none-win_amd64.whl#md5=524c49ffb1d8c0ee1eeb591e8bce27b6 (from https://pypi.python.org/simple/sip/); it is not compatible with this Python
    Skipping link https://pypi.python.org/packages/e4/b6/707fb3cfa76e6f566270b296ed079b0c91c9270047d42daad2d21d56bcc0/sip-4.19.3-cp36-cp36m-macosx_10_6_intel.whl#md5=ec37fa1809a3fb5a8651bb35f2bad9ae (from https://pypi.python.org/simple/sip/); it is not compatible with this Python
    Skipping link https://pypi.python.org/packages/e5/d3/909f9971037c79bbd0c8a59bf8ba2b5359bf1384a1a8973daff838388af6/sip-4.19.3-cp35-cp35m-manylinux1_x86_64.whl#md5=c1201823946e61c09c4113dee1f3e188 (from https://pypi.python.org/simple/sip/); it is not compatible with this Python
    Skipping link https://pypi.python.org/packages/ee/cc/6ebf2d859aa6f48e91ea6807d4b552135e03570b4ae8142d90d2dcb94405/sip-4.19-cp35-cp35m-manylinux1_x86_64.whl#md5=66e157bcbc8ec92d6411d101209898fa (from https://pypi.python.org/simple/sip/); it is not compatible with this Python
    Skipping link https://pypi.python.org/packages/f9/8c/23d88c8e4d457031111b70ec25bf97844776ec16cfd4688f318dcaeba5d6/sip-4.19.2-cp35-cp35m-macosx_10_6_intel.whl#md5=eb42e9975cae2b936ecc980b9a3266ed (from https://pypi.python.org/simple/sip/); it is not compatible with this Python
    Skipping link https://pypi.python.org/packages/fb/89/82da2474d0e2183d77a87d217589b55366d60f1101ed9abbea5c0f8fc210/sip-4.19.2-cp35-none-win_amd64.whl#md5=15d337f6696b82543350afbc9ce831e1 (from https://pypi.python.org/simple/sip/); it is not compatible with this Python
  Using version 4.19.3 (newest of versions: 4.19.3)
  Looking up "https://pypi.python.org/packages/01/70/59ed0ffc69e0adb40d900c4ad20b09b78dcf2b8ed5d9ebac4d9c66304130/sip-4.19.3-cp36-cp36m-manylinux1_x86_64.whl" in the cache
  Current age based on date: 983
  Freshness lifetime from max-age: 31557600
  The response is "fresh", returning cached response
  31557600 > 983
  Using cached sip-4.19.3-cp36-cp36m-manylinux1_x86_64.whl
  Downloading from URL https://pypi.python.org/packages/01/70/59ed0ffc69e0adb40d900c4ad20b09b78dcf2b8ed5d9ebac4d9c66304130/sip-4.19.3-cp36-cp36m-manylinux1_x86_64.whl#md5=7e0f95c59ec38e0de1017da88b2c6d09 (from https://pypi.python.org/simple/sip/)
Installing collected packages: sip, pyqt5

  changing mode of /home/nicholasbishop/.local/share/virtualenvs/myed-Vodb0czH/bin/pylupdate5 to 775
  changing mode of /home/nicholasbishop/.local/share/virtualenvs/myed-Vodb0czH/bin/pyrcc5 to 775
  changing mode of /home/nicholasbishop/.local/share/virtualenvs/myed-Vodb0czH/bin/pyuic5 to 775
Successfully installed pyqt5-5.9 sip-4.19.3
Cleaning up...

Adding pyqt5 to Pipfile's [packages]…
Locking [dev-packages] dependencies…
Locking [packages] dependencies…
Warning: Your dependencies could not be resolved. You likely have a mismatch in your sub-dependencies.
  You can use $ pipenv install --skip-lock to bypass this mechanism, then run $ pipenv graph to inspect the situation.
Could not find a version that matches pyqt5
Tried: (no version found at all)
techalchemy commented 6 years ago

Can you try pipenv lock --clear --verbose?

nicholasbishop commented 6 years ago
$ pipenv lock --clear --verbose
pipenv lock --clear --verbose
Locking [dev-packages] dependencies…
Using pip: -i https://pypi.python.org/simple

                          ROUND 1                           
Current constraints:

Finding the best candidates:

Finding secondary dependencies:
------------------------------------------------------------
Result of round 1: stable, done
Locking [packages] dependencies…
Using pip: -i https://pypi.python.org/simple

                          ROUND 1                           
Current constraints:
  pyqt5

Finding the best candidates:
Warning: Your dependencies could not be resolved. You likely have a mismatch in your sub-dependencies.
  You can use $ pipenv install --skip-lock to bypass this mechanism, then run $ pipenv graph to inspect the situation.
Could not find a version that matches pyqt5
Tried: (no version found at all)
techalchemy commented 6 years ago

I'm actually having incredibly high latency hitting pypi right now, that might be causing your issue,,,

techalchemy commented 6 years ago

Oh, @nicholasbishop sorry for missing this earlier, you should not be running pipenv install from inside pipenv shell. You really shouldn't be doing much of anything from inside a pipenv shell. This is a convenience function for people who really need subshells. Firstly, anything that absolutely needs to run inside the virtualenv should run with pipenv run <script>. Secondly, you don't actually have pipenv installed in your virtualenv, so it can't possibly resolve accurately when you are in that context. Pipenv is designed to manage the environment for you, along with your dependencies. It can only do this from outside the environment. The minute you enter a subshell and start using pip or pipenv you will break things.

To summarize, never ever use pipenv inside its own shell -- it isn't designed for this and won't work

nicholasbishop commented 6 years ago

Oh, interesting. Perhaps the documentation should make that clearer? It's not obvious what the shell command is for from the help:

shell Spawns a shell within the virtualenv.

nicholasbishop commented 6 years ago

I get the same problem from outside the subshell:

$ pipenv install pyqt5
Creating a Pipfile for this project…
Installing pyqt5…
⠙equirement already satisfied: pyqt5 in /home/nicholasbishop/.local/share/virtualenvs/myed-Vodb0czH/lib/python3.6/site-packages
Requirement already satisfied: sip<4.20,>=4.19.3 in /home/nicholasbishop/.local/share/virtualenvs/myed-Vodb0czH/lib/python3.6/site-packages (from pyqt5)

Adding pyqt5 to Pipfile's [packages]…
Locking [dev-packages] dependencies…
Locking [packages] dependencies…
Warning: Your dependencies could not be resolved. You likely have a mismatch in your sub-dependencies.
  You can use $ pipenv install --skip-lock to bypass this mechanism, then run $ pipenv graph to inspect the situation.
Could not find a version that matches pyqt5
Tried: (no version found at all)
techalchemy commented 6 years ago

@nicholasbishop can you provide the full contents of your Pipfile and Pipfile.lock

nicholasbishop commented 6 years ago
$ cat Pipfile
[[source]]

url = "https://pypi.python.org/simple"
verify_ssl = true
name = "pypi"

[dev-packages]

[packages]

"pyqt5" = "*"

And there is no lock file.

techalchemy commented 6 years ago

@nicholasbishop from the error message it looks like you went into the subshell and installed the package. Can you try this from a fresh environment and tell me the output of all of the following commands:

$ python --version && pipenv --version && which pip && which pipenv
$ pipenv --rm
$ pipenv install pyqt5
$ pipenv lock --clear --verbose
$ cat Pipfile && echo '---------------' && cat Pipfile.lock && env
nicholasbishop commented 6 years ago
$ python --version && pipenv --version && which pip && which pipenv
Python 2.7.13
pipenv, version 8.3.0
/usr/bin/pip
~/.local/bin/pipenv
07:07:42 nicholasbishop@jordan /tmp/tmp.L4FgCrOVPA
$ pipenv --rm
No virtualenv has been created for this project yet!
07:07:50 nicholasbishop@jordan /tmp/tmp.L4FgCrOVPA
$ pipenv install pyqt5
Creating a virtualenv for this project…
⠋New python executable in /home/nicholasbishop/.local/share/virtualenvs/tmp.L4FgCrOVPA-GFVoyN_V/bin/python2
Also creating executable in /home/nicholasbishop/.local/share/virtualenvs/tmp.L4FgCrOVPA-GFVoyN_V/bin/python
Installing setuptools, pip, wheel...done.

Virtualenv location: /home/nicholasbishop/.local/share/virtualenvs/tmp.L4FgCrOVPA-GFVoyN_V
Creating a Pipfile for this project…
Installing pyqt5…
Collecting pyqt5

Error:  An error occurred while installing pyqt5!
  Could not find a version that satisfies the requirement pyqt5 (from versions: )
No matching distribution found for pyqt5

07:07:57 nicholasbishop@jordan /tmp/tmp.L4FgCrOVPA
$ pipenv lock --clear --verbose
Locking [dev-packages] dependencies…
Using pip: -i https://pypi.python.org/simple

                          ROUND 1                           
Current constraints:

Finding the best candidates:

Finding secondary dependencies:
------------------------------------------------------------
Result of round 1: stable, done
Locking [packages] dependencies…
Using pip: -i https://pypi.python.org/simple

                          ROUND 1                           
Current constraints:

Finding the best candidates:

Finding secondary dependencies:
------------------------------------------------------------
Result of round 1: stable, done
Updated Pipfile.lock (c23e27)!
07:08:12 nicholasbishop@jordan /tmp/tmp.L4FgCrOVPA
$ cat Pipfile && echo '---------------' && cat Pipfile.lock && env
[[source]]

url = "https://pypi.python.org/simple"
verify_ssl = true
name = "pypi"

[dev-packages]

[packages]

---------------
{
    "_meta": {
        "hash": {
            "sha256": "5f0257fe8c7a73db1c8de519faa92c658282a01087eb2bfafba7962704c23e27"
        },
        "host-environment-markers": {
            "implementation_name": "cpython",
            "implementation_version": "0",
            "os_name": "posix",
            "platform_machine": "x86_64",
            "platform_python_implementation": "CPython",
            "platform_release": "4.12.13-20170913.amdstg.fc26.x86_64",
            "platform_system": "Linux",
            "platform_version": "#1 SMP Fri Sep 15 11:02:59 UTC 2017",
            "python_full_version": "2.7.13",
            "python_version": "2.7",
            "sys_platform": "linux2"
        },
        "pipfile-spec": 6,
        "requires": {},
        "sources": [
            {
                "name": "pypi",
                "url": "https://pypi.python.org/simple",
                "verify_ssl": true
            }
        ]
    },
    "default": {},
    "develop": {}
}
QTINC=/usr/lib64/qt-3.3/include
LS_COLORS=
XDG_MENU_PREFIX=gnome-
LANG=en_US.UTF-8
GDM_LANG=en_US.UTF-8
HISTCONTROL=ignoredups
DISPLAY=:0
GUESTFISH_RESTORE=\e[0m
HOSTNAME=jordan.home
OLDPWD=/home/nicholasbishop/tmp
QTDIR=/usr/lib64/qt-3.3
EDITOR=emacsclient
GUESTFISH_INIT=\e[1;34m
USERNAME=nicholasbishop
INSIDE_EMACS=25.3.1,comint
XDG_VTNR=2
GIO_LAUNCHED_DESKTOP_FILE_PID=6302
SSH_AUTH_SOCK=/run/user/1000/keyring/ssh
S_COLORS=auto
XDG_SESSION_ID=2
USER=nicholasbishop
GUESTFISH_PS1=\[\e[1;32m\]><fs>\[\e[0;31m\] 
DESKTOP_SESSION=gnome
WAYLAND_DISPLAY=wayland-0
PWD=/tmp/tmp.L4FgCrOVPA
SSH_ASKPASS=/usr/libexec/openssh/gnome-ssh-askpass
HOME=/home/nicholasbishop
JOURNAL_STREAM=9:39476
XDG_SESSION_TYPE=wayland
XDG_DATA_DIRS=/home/nicholasbishop/.local/share/flatpak/exports/share/:/var/lib/flatpak/exports/share/:/usr/local/share/:/usr/share/
XDG_SESSION_DESKTOP=gnome
CHROME_DEVEL_SANDBOX=/usr/local/sbin/chrome-devel-sandbox
GJS_DEBUG_OUTPUT=stderr
LOADEDMODULES=
COLUMNS=93
MAIL=/var/spool/mail/nicholasbishop
QTLIB=/usr/lib64/qt-3.3/lib
SHELL=/bin/bash
TERM=dumb
QT_IM_MODULE=ibus
XMODIFIERS=@im=ibus
XDG_CURRENT_DESKTOP=GNOME
GIO_LAUNCHED_DESKTOP_FILE=/usr/share/applications/emacs.desktop
XDG_SEAT=seat0
SHLVL=2
MODULEPATH=/etc/scl/modulefiles:/etc/scl/modulefiles:/usr/share/Modules/modulefiles:/etc/modulefiles:/usr/share/modulefiles
GDMSESSION=gnome
GNOME_DESKTOP_SESSION_ID=this-is-deprecated
LOGNAME=nicholasbishop
DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus
XDG_RUNTIME_DIR=/run/user/1000
PATH=/home/nicholasbishop/.cargo/bin:/home/nicholasbishop/.cargo/bin:/home/nicholasbishop/.cargo/bin:/usr/lib64/qt-3.3/bin:/usr/lib64/ccache:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/mnt/btr/depot_tools:/home/nicholasbishop/.local/bin:/home/nicholasbishop/bin:/mnt/btr/depot_tools
GUESTFISH_OUTPUT=\e[0m
PS1=\T ${debian_chroot:+($debian_chroot)}\u@\h \w\n\$ 
MODULESHOME=/usr/share/Modules
HISTSIZE=1000
GJS_DEBUG_TOPICS=JS ERROR;JS LOG
TERMCAP=
SESSION_MANAGER=local/unix:@/tmp/.ICE-unix/2630,unix/unix:/tmp/.ICE-unix/2630
LESSOPEN=||/usr/bin/lesspipe.sh %s
BASH_FUNC_module%%=() {  eval `/usr/bin/modulecmd bash $*`
}
BASH_FUNC_scl%%=() {  local CMD=$1;
 if [ "$CMD" = "load" -o "$CMD" = "unload" ]; then
 eval "module $@";
 else
 /usr/bin/scl "$@";
 fi
}
_=/usr/bin/env
techalchemy commented 6 years ago

Huh, that is very odd @nicholasbishop -- so it's not finding any match for pyqt5 at all when you run pipenv install pyqt5? Do you have internet connectivity? I can see SHLVL=2 -- is this inside a subshell like inside emacs or in a chroot? I'm concerned that your install was pulling from the local wheel cache in the first place which would explain why you can't resolve dependencies which requires the ability to query PyPI.

nicholasbishop commented 6 years ago

I get the same result outside of an emacs shell. And other packages work, for example:

$ pipenv install attrs
Creating a virtualenv for this project…
⠋New python executable in /home/nicholasbishop/.local/share/virtualenvs/tmp.uYw87cGZpN-6QA2u6tR/bin/python2
Also creating executable in /home/nicholasbishop/.local/share/virtualenvs/tmp.uYw87cGZpN-6QA2u6tR/bin/python
Installing setuptools, pip, wheel...done.

Virtualenv location: /home/nicholasbishop/.local/share/virtualenvs/tmp.uYw87cGZpN-6QA2u6tR
Creating a Pipfile for this project…
Installing attrs…
Collecting attrs
  Using cached attrs-17.2.0-py2.py3-none-any.whl
Installing collected packages: attrs
Successfully installed attrs-17.2.0

Adding attrs to Pipfile's [packages]…
Locking [dev-packages] dependencies…
Locking [packages] dependencies…
Updated Pipfile.lock (d99309)!
08:18:10 nicholasbishop@jordan /tmp/tmp.uYw87cGZpN
$ pipenv install pyqt5
Installing pyqt5…
Collecting pyqt5

Error:  An error occurred while installing pyqt5!
  Could not find a version that satisfies the requirement pyqt5 (from versions: )
No matching distribution found for pyqt5

I take it that on your machine pipenv install pyqt5 works fine?

techalchemy commented 6 years ago

@nicholasbishop it does work fine, but I only tried with pyenv and python 2,7.14. I installed 2.7.13 and promptly had this issue, however I accidentally forgot to specify which python version to make my virtualenv with when I did this which inadvertently uncovered the actual problem.

I had called pyenv local 2.7.13 followed by pip install pipenv which mean I was using a python 2.7.13 build of pipenv to resolve dependencies. This provided an additional hint, because like you, I can no longer install pyqt5 on python 2.7.13 at all. So I dug a bit deeper and checked PyPI's json-formatted pyqt5 package listing and discovered that pyqt5 only lists wheels for licensing reasons and those wheels only support python 3.5 and higher.

Digging even deeper I found that, according to the current pyqt5 documentation, this is an intended behavior and you can only use python 3 to install pyqt5 from pypi now.

Like you, I was able to get this to install on python 2.7 earlier today, but unlike you I was using a python 3.6 install of pipenv which handles locking, which explains why I had success where you didn't. I have to assume this change was made very recently since it was installing successfully from pypi within the last few hours and now it isn't

nicholasbishop commented 6 years ago

To close the loop on this in case anyone else runs into it, here's how I ended up resolving the problem on my system:


# Clean out the old installation
rm -r ~/.local/venvs
rm ~/.local/bin/pew
rm ~/.local/bin/pipenv
rm ~/.local/bin/pipsi

# Slightly different method of installing pipsi as suggested here: https://github.com/mitsuhiko/pipsi/issues/89
curl https://raw.githubusercontent.com/mitsuhiko/pipsi/master/get-pipsi.py | python3 - --src 'git+https://github.com/mitsuhiko/pipsi.git#egg=pipsi' --ignore-existing

pipsi install pew
pipsi install pipenv

Now when I install pyqt5 everything looks fine:

$ pipenv install pyqt5
Installing pyqt5…
Collecting pyqt5
  Using cached PyQt5-5.9-5.9.1-cp35.cp36.cp37-abi3-manylinux1_x86_64.whl
Collecting sip<4.20,>=4.19.3 (from pyqt5)
  Using cached sip-4.19.5-cp36-cp36m-manylinux1_x86_64.whl
Installing collected packages: sip, pyqt5
Successfully installed pyqt5-5.9 sip-4.19.5

Adding pyqt5 to Pipfile's [packages]…
Locking [dev-packages] dependencies…
Locking [packages] dependencies…
Updated Pipfile.lock (12913f)!