Pipenv: Dependencies could not be resolved when installing both black and pylint

Created on 2 Oct 2018  路  1Comment  路  Source: pypa/pipenv

Can't install black and pylint together.

Expected result

Expected them to install correctly or a more precise hint about what's going wrong.

Actual result
$ pipenv install --verbose black pylint
Creating a virtualenv for this project...
Pipfile: /tmp/foo/Pipfile
Using /usr/bin/python3 (3.6.6) to create virtualenv...
鉅婣lready using interpreter /usr/bin/python3
Using base prefix '/usr'
New python executable in /home/mdk/.local/share/virtualenvs/foo-r-OLon9H/bin/python3
Also creating executable in /home/mdk/.local/share/virtualenvs/foo-r-OLon9H/bin/python
Installing setuptools, pip, wheel...done.
Setting project for foo-r-OLon9H to /tmp/foo

Virtualenv location: /home/mdk/.local/share/virtualenvs/foo-r-OLon9H
Creating a Pipfile for this project...                                                           Installing black...
鉅橧nstalling 'black'
$ "/home/mdk/.local/share/virtualenvs/foo-r-OLon9H/bin/pip" install   --verbose    "black" -i https://pypi.org/simple --exists-action w                                                            Created temporary directory: /tmp/pip-ephem-wheel-cache-kciyk5q6
Created temporary directory: /tmp/pip-req-tracker-7ceb5pb0
Created requirements tracker '/tmp/pip-req-tracker-7ceb5pb0'
Created temporary directory: /tmp/pip-install-la6oop0x
Collecting black
  1 location(s) to search for versions of black:
  * https://pypi.org/simple/black/
  Getting page https://pypi.org/simple/black/
  Looking up "https://pypi.org/simple/black/" in the cache
  Current age based on date: 111
  Freshness lifetime from max-age: 600
  Freshness lifetime from request max-age: 600
  The response is "fresh", returning cached response
  600 > 111
  Analyzing links from page https://pypi.org/simple/black/
[...]
Installing collected packages: appdirs, toml, attrs, click, black





  changing mode of /home/mdk/.local/share/virtualenvs/foo-r-OLon9H/bin/black to 755
  changing mode of /home/mdk/.local/share/virtualenvs/foo-r-OLon9H/bin/blackd to 755
Successfully installed appdirs-1.4.3 attrs-18.2.0 black-18.9b0 click-7.0 toml-0.9.6
Cleaning up...
Removed build tracker '/tmp/pip-req-tracker-7ceb5pb0'

Adding black to Pipfile's [packages]...
Installing pylint...
鉅嘔nstalling 'pylint'
$ "/home/mdk/.local/share/virtualenvs/foo-r-OLon9H/bin/pip" install   --verbose    "pylint" -i https://pypi.org/simple --exists-action w                                                           Created temporary directory: /tmp/pip-ephem-wheel-cache-j779k83k
Created temporary directory: /tmp/pip-req-tracker-84c3_5_t
Created requirements tracker '/tmp/pip-req-tracker-84c3_5_t'
Created temporary directory: /tmp/pip-install-twaa88eh
Collecting pylint
  1 location(s) to search for versions of pylint:
  * https://pypi.org/simple/pylint/
  Getting page https://pypi.org/simple/pylint/
  Looking up "https://pypi.org/simple/pylint/" in the cache
  No cache entry available
  Starting new HTTPS connection (1): pypi.org:443
  https://pypi.org:443 "GET /simple/pylint/ HTTP/1.1" 200 10058
  Updating cache with response from "https://pypi.org/simple/pylint/"
  Caching due to etag
  Analyzing links from page https://pypi.org/simple/pylint/
[... hundreds of lines of Found link, can't paste them on github, too long]
  Using version 1.10.11 (newest of versions: 1.0.0, 1.1.0, 1.1.1, 1.1.2, 1.1.3, 1.1.4, 1.2.0, 1.2.1, 1.3.0, 1.3.1, 1.4.0, 1.4.1, 1.4.2, 1.5.0, 1.5.1, 1.6.0, 1.7.0, 1.8.0, 1.9.0, 1.10.0, 1.10.1, 1.10.2, 1.10.4, 1.10.5, 1.10.6, 1.10.7, 1.10.8, 1.10.9, 1.10.10, 1.10.11)
  Created temporary directory: /tmp/pip-unpack-2l9md0jm
  Looking up "https://files.pythonhosted.org/packages/a0/47/66897906448185fcb77fc3c2b1bc20ed0ecca81a0f2f88eda3fc5a34fc3d/wrapt-1.10.11.tar.gz" in the cache
  No cache entry available
  https://files.pythonhosted.org:443 "GET /packages/a0/47/66897906448185fcb77fc3c2b1bc20ed0ecca81a0f2f88eda3fc5a34fc3d/wrapt-1.10.11.tar.gz HTTP/1.1" 200 27402
  Downloading https://files.pythonhosted.org/packages/a0/47/66897906448185fcb77fc3c2b1bc20ed0ecca81a0f2f88eda3fc5a34fc3d/wrapt-1.10.11.tar.gz
  Downloading from URL https://files.pythonhosted.org/packages/a0/47/66897906448185fcb77fc3c2b1bc20ed0ecca81a0f2f88eda3fc5a34fc3d/wrapt-1.10.11.tar.gz#sha256=d4d560d479f2c21e1b5443bbd15fe7ec4b37fe7e53d335d3b9b0a7b1226fe3c6 (from https://pypi.org/simple/wrapt/)
  Ignoring unknown cache-control directive: immutable
  Updating cache with response from "https://files.pythonhosted.org/packages/a0/47/66897906448185fcb77fc3c2b1bc20ed0ecca81a0f2f88eda3fc5a34fc3d/wrapt-1.10.11.tar.gz"
  Caching due to etag
  Added wrapt from https://files.pythonhosted.org/packages/a0/47/66897906448185fcb77fc3c2b1bc20ed0ecca81a0f2f88eda3fc5a34fc3d/wrapt-1.10.11.tar.gz#sha256=d4d560d479f2c21e1b5443bbd15fe7ec4b37fe7e53d335d3b9b0a7b1226fe3c6 (from astroid>=2.0.0->pylint) to build tracker '/tmp/pip-req-tracker-84c3_5_t'
  Running setup.py (path:/tmp/pip-install-twaa88eh/wrapt/setup.py) egg_info for package wrapt
    Running command python setup.py egg_info
    running egg_info
    creating pip-egg-info/wrapt.egg-info
    writing pip-egg-info/wrapt.egg-info/PKG-INFO
    writing dependency_links to pip-egg-info/wrapt.egg-info/dependency_links.txt
    writing top-level names to pip-egg-info/wrapt.egg-info/top_level.txt
    writing manifest file 'pip-egg-info/wrapt.egg-info/SOURCES.txt'
    reading manifest file 'pip-egg-info/wrapt.egg-info/SOURCES.txt'
    writing manifest file 'pip-egg-info/wrapt.egg-info/SOURCES.txt'
  Source in /tmp/pip-install-twaa88eh/wrapt has version 1.10.11, which satisfies requirement wrapt from https://files.pythonhosted.org/packages/a0/47/66897906448185fcb77fc3c2b1bc20ed0ecca81a0f2f88eda3fc5a34fc3d/wrapt-1.10.11.tar.gz#sha256=d4d560d479f2c21e1b5443bbd15fe7ec4b37fe7e53d335d3b9b0a7b1226fe3c6 (from astroid>=2.0.0->pylint)
  Removed wrapt from https://files.pythonhosted.org/packages/a0/47/66897906448185fcb77fc3c2b1bc20ed0ecca81a0f2f88eda3fc5a34fc3d/wrapt-1.10.11.tar.gz#sha256=d4d560d479f2c21e1b5443bbd15fe7ec4b37fe7e53d335d3b9b0a7b1226fe3c6 (from astroid>=2.0.0->pylint) from build tracker '/tmp/pip-req-tracker-84c3_5_t'
Building wheels for collected packages: wrapt
  Created temporary directory: /tmp/pip-wheel-g_8kczh2
  Running setup.py bdist_wheel for wrapt: started
  Destination directory: /tmp/pip-wheel-g_8kczh2
  Running command /home/mdk/.local/share/virtualenvs/foo-r-OLon9H/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-twaa88eh/wrapt/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-g_8kczh2 --python-tag cp36
  running bdist_wheel
  running build
  running build_py
  creating build
  creating build/lib.linux-x86_64-3.6
  creating build/lib.linux-x86_64-3.6/wrapt
  copying src/wrapt/importer.py -> build/lib.linux-x86_64-3.6/wrapt
  copying src/wrapt/wrappers.py -> build/lib.linux-x86_64-3.6/wrapt
  copying src/wrapt/arguments.py -> build/lib.linux-x86_64-3.6/wrapt
  copying src/wrapt/__init__.py -> build/lib.linux-x86_64-3.6/wrapt
  copying src/wrapt/decorators.py -> build/lib.linux-x86_64-3.6/wrapt
  warning: build_py: byte-compiling is disabled, skipping.

  running build_ext
  building 'wrapt._wrappers' extension
  creating build/temp.linux-x86_64-3.6
  creating build/temp.linux-x86_64-3.6/src
  creating build/temp.linux-x86_64-3.6/src/wrapt
  x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.6m -I/home/mdk/.local/share/virtualenvs/foo-r-OLon9H/include/python3.6m -c src/wrapt/_wrappers.c -o build/temp.linux-x86_64-3.6/src/wrapt/_wrappers.o
  x86_64-linux-gnu-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,relro -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-x86_64-3.6/src/wrapt/_wrappers.o -o build/lib.linux-x86_64-3.6/wrapt/_wrappers.cpython-36m-x86_64-linux-gnu.so
  installing to build/bdist.linux-x86_64/wheel
  running install
  running install_lib
  creating build/bdist.linux-x86_64
  creating build/bdist.linux-x86_64/wheel
  creating build/bdist.linux-x86_64/wheel/wrapt
  copying build/lib.linux-x86_64-3.6/wrapt/importer.py -> build/bdist.linux-x86_64/wheel/wrapt
  copying build/lib.linux-x86_64-3.6/wrapt/wrappers.py -> build/bdist.linux-x86_64/wheel/wrapt
  copying build/lib.linux-x86_64-3.6/wrapt/arguments.py -> build/bdist.linux-x86_64/wheel/wrapt
  copying build/lib.linux-x86_64-3.6/wrapt/__init__.py -> build/bdist.linux-x86_64/wheel/wrapt
  copying build/lib.linux-x86_64-3.6/wrapt/_wrappers.cpython-36m-x86_64-linux-gnu.so -> build/bdist.linux-x86_64/wheel/wrapt
  copying build/lib.linux-x86_64-3.6/wrapt/decorators.py -> build/bdist.linux-x86_64/wheel/wrapt
  warning: install_lib: byte-compiling is disabled, skipping.

  running install_egg_info
  running egg_info
  creating src/wrapt.egg-info
  writing src/wrapt.egg-info/PKG-INFO
  writing dependency_links to src/wrapt.egg-info/dependency_links.txt
  writing top-level names to src/wrapt.egg-info/top_level.txt
  writing manifest file 'src/wrapt.egg-info/SOURCES.txt'
  reading manifest file 'src/wrapt.egg-info/SOURCES.txt'
  writing manifest file 'src/wrapt.egg-info/SOURCES.txt'
  Copying src/wrapt.egg-info to build/bdist.linux-x86_64/wheel/wrapt-1.10.11-py3.6.egg-info
  running install_scripts
  adding license file "LICENSE" (matched pattern "LICEN[CS]E*")
  creating build/bdist.linux-x86_64/wheel/wrapt-1.10.11.dist-info/WHEEL
  creating '/tmp/pip-wheel-g_8kczh2/wrapt-1.10.11-cp36-cp36m-linux_x86_64.whl' and adding 'build/bdist.linux-x86_64/wheel' to it
  adding 'wrapt/__init__.py'
  adding 'wrapt/_wrappers.cpython-36m-x86_64-linux-gnu.so'
  adding 'wrapt/arguments.py'
  adding 'wrapt/decorators.py'
  adding 'wrapt/importer.py'
  adding 'wrapt/wrappers.py'
  adding 'wrapt-1.10.11.dist-info/LICENSE'
  adding 'wrapt-1.10.11.dist-info/METADATA'
  adding 'wrapt-1.10.11.dist-info/WHEEL'
  adding 'wrapt-1.10.11.dist-info/top_level.txt'
  adding 'wrapt-1.10.11.dist-info/RECORD'
  removing build/bdist.linux-x86_64/wheel
  Running setup.py bdist_wheel for wrapt: finished with status 'done'
  Stored in directory: /home/mdk/.cache/pipenv/wheels/48/5d/04/22361a593e70d23b1f7746d932802efe1f0e523376a74f321e
  Removing source in /tmp/pip-install-twaa88eh/wrapt
Successfully built wrapt
Installing collected packages: typed-ast, six, lazy-object-proxy, wrapt, astroid, isort, mccabe, pylint






  changing mode of /home/mdk/.local/share/virtualenvs/foo-r-OLon9H/bin/isort to 755

  *** Error compiling '/tmp/pip-install-twaa88eh/pylint/pylint/test/functional/anomalous_unicode_escape_py2.py'...
    File "/tmp/pip-install-twaa88eh/pylint/pylint/test/functional/anomalous_unicode_escape_py2.py", line 17
      RAW_UNICODE = ur"\u0062\n"
                               ^
  SyntaxError: invalid syntax

  *** Error compiling '/tmp/pip-install-twaa88eh/pylint/pylint/test/functional/async_functions.py'...
    File "/tmp/pip-install-twaa88eh/pylint/pylint/test/functional/async_functions.py", line 57
      async def func(a, a, b=[]):
           ^
  SyntaxError: duplicate argument 'a' in function definition

  *** Error compiling '/tmp/pip-install-twaa88eh/pylint/pylint/test/functional/bad_except_order.py'...
    File "/tmp/pip-install-twaa88eh/pylint/pylint/test/functional/bad_except_order.py", line 27
      __revision__ += 1
                     ^
  SyntaxError: default 'except:' must be last

  *** Error compiling '/tmp/pip-install-twaa88eh/pylint/pylint/test/functional/class_members_py27.py'...
    File "/tmp/pip-install-twaa88eh/pylint/pylint/test/functional/class_members_py27.py", line 24
      print self.nonexistent
               ^
  SyntaxError: Missing parentheses in call to 'print'. Did you mean print(self.nonexistent)?

  *** Error compiling '/tmp/pip-install-twaa88eh/pylint/pylint/test/functional/continue_in_finally.py'...
    File "/tmp/pip-install-twaa88eh/pylint/pylint/test/functional/continue_in_finally.py", line 9
      continue # [continue-in-finally]
      ^
  SyntaxError: 'continue' not supported inside 'finally' clause

  *** Error compiling '/tmp/pip-install-twaa88eh/pylint/pylint/test/functional/duplicate_argument_name.py'...
    File "/tmp/pip-install-twaa88eh/pylint/pylint/test/functional/duplicate_argument_name.py", line 4
      def foo1(_, _): # [duplicate-argument-name]
                                                ^
  SyntaxError: duplicate argument '_' in function definition

  *** Error compiling '/tmp/pip-install-twaa88eh/pylint/pylint/test/functional/exec_used_py2.py'...
    File "/tmp/pip-install-twaa88eh/pylint/pylint/test/functional/exec_used_py2.py", line 3
      exec 'a = __revision__' # [exec-used]
                            ^
  SyntaxError: Missing parentheses in call to 'exec'

  *** Error compiling '/tmp/pip-install-twaa88eh/pylint/pylint/test/functional/invalid_star_assignment_target.py'...
    File "/tmp/pip-install-twaa88eh/pylint/pylint/test/functional/invalid_star_assignment_target.py", line 3
      *FIRST = [1, 2, 3] # [invalid-star-assignment-target]
                                                          ^
  SyntaxError: starred assignment target must be in a list or tuple

  *** Error compiling '/tmp/pip-install-twaa88eh/pylint/pylint/test/functional/iterable_context_py2.py'...
    File "/tmp/pip-install-twaa88eh/pylint/pylint/test/functional/iterable_context_py2.py", line 16
      print i
            ^
  SyntaxError: Missing parentheses in call to 'print'. Did you mean print(i)?

  *** Error compiling '/tmp/pip-install-twaa88eh/pylint/pylint/test/functional/misplaced_future.py'...
    File "/tmp/pip-install-twaa88eh/pylint/pylint/test/functional/misplaced_future.py", line 3
      from __future__ import print_function # [misplaced-future]
                                                               ^
  SyntaxError: from __future__ imports must occur at the beginning of the file

  *** Error compiling '/tmp/pip-install-twaa88eh/pylint/pylint/test/functional/nonlocal_and_global.py'...
    File "/tmp/pip-install-twaa88eh/pylint/pylint/test/functional/nonlocal_and_global.py", line 5
      nonlocal missing
      ^
  SyntaxError: name 'missing' is nonlocal and global

  *** Error compiling '/tmp/pip-install-twaa88eh/pylint/pylint/test/functional/nonlocal_without_binding.py'...
    File "/tmp/pip-install-twaa88eh/pylint/pylint/test/functional/nonlocal_without_binding.py", line 22
      nonlocal b  # [nonlocal-without-binding]
      ^
  SyntaxError: no binding for nonlocal 'b' found

  *** Error compiling '/tmp/pip-install-twaa88eh/pylint/pylint/test/functional/not_in_loop.py'...
    File "/tmp/pip-install-twaa88eh/pylint/pylint/test/functional/not_in_loop.py", line 7
      continue # [not-in-loop]
      ^
  SyntaxError: 'continue' not properly in loop

  *** Error compiling '/tmp/pip-install-twaa88eh/pylint/pylint/test/functional/old_division_manually.py'...
    File "/tmp/pip-install-twaa88eh/pylint/pylint/test/functional/old_division_manually.py", line 2
      print 1 / 3
            ^
  SyntaxError: Missing parentheses in call to 'print'. Did you mean print(1 / 3)?

  *** Error compiling '/tmp/pip-install-twaa88eh/pylint/pylint/test/functional/postponed_evaluation_activated.py'...
    File "/tmp/pip-install-twaa88eh/pylint/pylint/test/functional/postponed_evaluation_activated.py", line 3
      from __future__ import annotations
                                       ^
  SyntaxError: future feature annotations is not defined

  *** Error compiling '/tmp/pip-install-twaa88eh/pylint/pylint/test/functional/print_always_warns.py'...
    File "/tmp/pip-install-twaa88eh/pylint/pylint/test/functional/print_always_warns.py", line 8
      print "Python 3 fails to parse print statements." # [print-statement]
                                                      ^
  SyntaxError: Missing parentheses in call to 'print'. Did you mean print("Python 3 fails to parse print statements." # [print-statement])?

  *** Error compiling '/tmp/pip-install-twaa88eh/pylint/pylint/test/functional/redefine_in_handler.py'...
    File "/tmp/pip-install-twaa88eh/pylint/pylint/test/functional/redefine_in_handler.py", line 19
      except KeyError, exceptions.RuntimeError: # [redefine-in-handler]
                     ^
  SyntaxError: invalid syntax

  *** Error compiling '/tmp/pip-install-twaa88eh/pylint/pylint/test/functional/return_outside_function.py'...
    File "/tmp/pip-install-twaa88eh/pylint/pylint/test/functional/return_outside_function.py", line 2
      return # [return-outside-function]
                                       ^
  SyntaxError: 'return' outside function

  *** Error compiling '/tmp/pip-install-twaa88eh/pylint/pylint/test/functional/star_needs_assignment_target.py'...
    File "/tmp/pip-install-twaa88eh/pylint/pylint/test/functional/star_needs_assignment_target.py", line 3
      FIRST = *[1, 2]  # [star-needs-assignment-target]
             ^
  SyntaxError: can't use starred expression here

  *** Error compiling '/tmp/pip-install-twaa88eh/pylint/pylint/test/functional/star_needs_assignment_target_py35.py'...
    File "/tmp/pip-install-twaa88eh/pylint/pylint/test/functional/star_needs_assignment_target_py35.py", line 15
      UNPACK_IN_COMP = {elem for elem in (*range(10))} # [star-needs-assignment-target]
                                         ^
  SyntaxError: can't use starred expression here

  *** Error compiling '/tmp/pip-install-twaa88eh/pylint/pylint/test/functional/syntax_error.py'...
    File "/tmp/pip-install-twaa88eh/pylint/pylint/test/functional/syntax_error.py", line 1
      def toto # [syntax-error]
                              ^
  SyntaxError: invalid syntax

  *** Error compiling '/tmp/pip-install-twaa88eh/pylint/pylint/test/functional/syntax_error_jython.py'...
    File "/tmp/pip-install-twaa88eh/pylint/pylint/test/functional/syntax_error_jython.py", line 1
      def toto # [syntax-error]
                              ^
  SyntaxError: invalid syntax

  *** Error compiling '/tmp/pip-install-twaa88eh/pylint/pylint/test/functional/too_many_star_expressions.py'...
    File "/tmp/pip-install-twaa88eh/pylint/pylint/test/functional/too_many_star_expressions.py", line 3
      *FIRST, *SECOND = [1, 2, 3] # [too-many-star-expressions]
                                                              ^
  SyntaxError: two starred expressions in assignment

  *** Error compiling '/tmp/pip-install-twaa88eh/pylint/pylint/test/functional/try_except_raise.py'...
    File "/tmp/pip-install-twaa88eh/pylint/pylint/test/functional/try_except_raise.py", line 64
      pass
      ^
  SyntaxError: default 'except:' must be last

  *** Error compiling '/tmp/pip-install-twaa88eh/pylint/pylint/test/functional/unpacked_exceptions.py'...
    File "/tmp/pip-install-twaa88eh/pylint/pylint/test/functional/unpacked_exceptions.py", line 7
      except IOError, (errno, message):  # [unpacking-in-except]
                    ^
  SyntaxError: invalid syntax

  *** Error compiling '/tmp/pip-install-twaa88eh/pylint/pylint/test/functional/used_prior_global_declaration.py'...
    File "/tmp/pip-install-twaa88eh/pylint/pylint/test/functional/used_prior_global_declaration.py", line 10
      global CONST
      ^
  SyntaxError: name 'CONST' is used prior to global declaration

  *** Error compiling '/tmp/pip-install-twaa88eh/pylint/pylint/test/functional/yield_from_outside_func.py'...
    File "/tmp/pip-install-twaa88eh/pylint/pylint/test/functional/yield_from_outside_func.py", line 2
      yield from [1, 2]  # [yield-outside-function]
                                                  ^
  SyntaxError: 'yield' outside function

  *** Error compiling '/tmp/pip-install-twaa88eh/pylint/pylint/test/functional/yield_inside_async_function.py'...
    File "/tmp/pip-install-twaa88eh/pylint/pylint/test/functional/yield_inside_async_function.py", line 12
      yield from [1, 2, 3] # [yield-inside-async-function]
      ^
  SyntaxError: 'yield from' inside async function

  *** Error compiling '/tmp/pip-install-twaa88eh/pylint/pylint/test/functional/yield_inside_async_function_py36.py'...
    File "/tmp/pip-install-twaa88eh/pylint/pylint/test/functional/yield_inside_async_function_py36.py", line 12
      yield from [1, 2, 3] # [yield-inside-async-function]
      ^
  SyntaxError: 'yield from' inside async function

  *** Error compiling '/tmp/pip-install-twaa88eh/pylint/pylint/test/functional/yield_outside_func.py'...
    File "/tmp/pip-install-twaa88eh/pylint/pylint/test/functional/yield_outside_func.py", line 2
      yield 1  # [yield-outside-function]
                                        ^
  SyntaxError: 'yield' outside function

  *** Error compiling '/tmp/pip-install-twaa88eh/pylint/pylint/test/input/func_w0122_py_30.py'...
    File "/tmp/pip-install-twaa88eh/pylint/pylint/test/input/func_w0122_py_30.py", line 5
      exec 'a = __revision__'
                            ^
  SyntaxError: Missing parentheses in call to 'exec'

  *** Error compiling '/tmp/pip-install-twaa88eh/pylint/pylint/test/input/func_w0332_py_30.py'...
    File "/tmp/pip-install-twaa88eh/pylint/pylint/test/input/func_w0332_py_30.py", line 4
      __revision__ = 1l
                      ^
  SyntaxError: invalid syntax

  *** Error compiling '/tmp/pip-install-twaa88eh/pylint/pylint/test/regrtest_data/bad_package/__init__.py'...
    File "/tmp/pip-install-twaa88eh/pylint/pylint/test/regrtest_data/bad_package/__init__.py", line 2
      raise missing.Missing..
                            ^
  SyntaxError: invalid syntax

  *** Error compiling '/tmp/pip-install-twaa88eh/pylint/pylint/test/regrtest_data/descriptor_crash.py'...
    File "/tmp/pip-install-twaa88eh/pylint/pylint/test/regrtest_data/descriptor_crash.py", line 20
      print p.getPage(sys.argv[1])
            ^
  SyntaxError: invalid syntax

  *** Error compiling '/tmp/pip-install-twaa88eh/pylint/pylint/test/regrtest_data/py3k_error_flag.py'...
    File "/tmp/pip-install-twaa88eh/pylint/pylint/test/regrtest_data/py3k_error_flag.py", line 4
      raise Exception, 1  # Error emitted here with the Python 3 checker.
                     ^
  SyntaxError: invalid syntax

  *** Error compiling '/tmp/pip-install-twaa88eh/pylint/pylint/test/regrtest_data/py3k_errors_and_warnings.py'...
    File "/tmp/pip-install-twaa88eh/pylint/pylint/test/regrtest_data/py3k_errors_and_warnings.py", line 8
      raise Exception, 1
                     ^
  SyntaxError: invalid syntax

  *** Error compiling '/tmp/pip-install-twaa88eh/pylint/pylint/test/regrtest_data/syntax_error.py'...
    File "/tmp/pip-install-twaa88eh/pylint/pylint/test/regrtest_data/syntax_error.py", line 1
      class A extends B {}
                    ^
  SyntaxError: invalid syntax


  changing mode of /home/mdk/.local/share/virtualenvs/foo-r-OLon9H/bin/epylint to 755
  changing mode of /home/mdk/.local/share/virtualenvs/foo-r-OLon9H/bin/pylint to 755
  changing mode of /home/mdk/.local/share/virtualenvs/foo-r-OLon9H/bin/pyreverse to 755
  changing mode of /home/mdk/.local/share/virtualenvs/foo-r-OLon9H/bin/symilar to 755
Successfully installed astroid-2.0.4 isort-4.3.4 lazy-object-proxy-1.3.1 mccabe-0.6.1 pylint-2.1.1 six-1.11.0 typed-ast-1.1.0 wrapt-1.10.11
Cleaning up...
Removed build tracker '/tmp/pip-req-tracker-84c3_5_t'

Adding pylint to Pipfile's [packages]...
Pipfile.lock not found, creating...
Locking [dev-packages] dependencies...
Locking [packages] dependencies...
using sources: [{'url': 'https://pypi.org/simple', 'verify_ssl': True, 'name': 'pypi'}]
Using pip: -i https://pypi.org/simple

                          ROUND 1                           
Current constraints:
  black (from -r /tmp/pipenv-n_1tst6p-requirements/pipenv-6n5tl82l-constraints.txt (line 2))
  pylint (from -r /tmp/pipenv-n_1tst6p-requirements/pipenv-6n5tl82l-constraints.txt (line 3))

Finding the best candidates:
Using pip: -i https://pypi.org/simple

                          ROUND 1                           
Current constraints:
  black (from -r /tmp/pipenv-n_1tst6p-requirements/pipenv-8wjwo9sb-constraints.txt (line 2))
  pylint (from -r /tmp/pipenv-n_1tst6p-requirements/pipenv-8wjwo9sb-constraints.txt (line 3))

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.
  Hint: try $ pipenv lock --pre if it is a pre-release dependency.
Could not find a version that matches black (from -r /tmp/pipenv-n_1tst6p-requirements/pipenv-6n5tl82l-constraints.txt (line 2))
Skipped pre-versions: 18.3a0, 18.3a0, 18.3a1, 18.3a1, 18.3a2, 18.3a2, 18.3a3, 18.3a3, 18.3a4, 18.3a4, 18.4a0, 18.4a0, 18.4a1, 18.4a1, 18.4a2, 18.4a2, 18.4a3, 18.4a3, 18.4a4, 18.4a4, 18.5b0, 18.5b0, 18.5b1, 18.5b1, 18.6b0, 18.6b0, 18.6b1, 18.6b1, 18.6b2, 18.6b2, 18.6b3, 18.6b3, 18.6b4, 18.6b4, 18.9b0, 18.9b0
There are incompatible versions in the resolved 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.
  Hint: try $ pipenv lock --pre if it is a pre-release dependency.
Could not find a version that matches black (from -r /tmp/pipenv-n_1tst6p-requirements/pipenv-8wjwo9sb-constraints.txt (line 2))
Skipped pre-versions: 18.3a0, 18.3a0, 18.3a1, 18.3a1, 18.3a2, 18.3a2, 18.3a3, 18.3a3, 18.3a4, 18.3a4, 18.4a0, 18.4a0, 18.4a1, 18.4a1, 18.4a2, 18.4a2, 18.4a3, 18.4a3, 18.4a4, 18.4a4, 18.5b0, 18.5b0, 18.5b1, 18.5b1, 18.6b0, 18.6b0, 18.6b1, 18.6b1, 18.6b2, 18.6b2, 18.6b3, 18.6b3, 18.6b4, 18.6b4, 18.9b0, 18.9b0
There are incompatible versions in the resolved dependencies.


Steps to replicate

pipenv install black pylint


$ pipenv --support

Pipenv version: '2018.7.1'

Pipenv location: '/home/mdk/.local/lib/python3.6/site-packages/pipenv'

Python location: '/usr/bin/python3'

Other Python installations in PATH:

  • 2.6: /usr/bin/python2.6
  • 2.6: /usr/bin/python2.6
  • 2.7: /usr/bin/python2.7
  • 2.7: /usr/bin/python2.7
  • 3.5: /home/mdk/.local/bin/python3.5
  • 3.5: /home/mdk/.local/bin/python3.5
  • 3.6: /usr/bin/python3.6m
  • 3.6: /usr/bin/python3.6
  • 3.7: /usr/bin/python3.7m
  • 3.7: /usr/bin/python3.7

  • 3.7.0: /home/mdk/.local/bin/python

  • 2.7.15: /usr/bin/python
  • 2.7.15: /usr/bin/python2
  • 3.6.6: /usr/bin/python3

PEP 508 Information:

{'implementation_name': 'cpython',
 'implementation_version': '3.6.6',
 'os_name': 'posix',
 'platform_machine': 'x86_64',
 'platform_python_implementation': 'CPython',
 'platform_release': '4.18.0-1-amd64',
 'platform_system': 'Linux',
 'platform_version': '#1 SMP Debian 4.18.6-1 (2018-09-06)',
 'python_full_version': '3.6.6',
 'python_version': '3.6',
 'sys_platform': 'linux'}

System environment variables:

  • LC_ALL
  • LS_COLORS
  • LC_MEASUREMENT
  • LESSCLOSE
  • LC_PAPER
  • LC_MONETARY
  • LANG
  • HISTCONTROL
  • DISPLAY
  • COMP_WORDBREAKS
  • EDITOR
  • DEBFULLNAME
  • COLORTERM
  • XDG_VTNR
  • SSH_AUTH_SOCK
  • LESS_TERMCAP_so
  • LESS_TERMCAP_se
  • LC_NAME
  • XDG_SESSION_ID
  • USER
  • PWD
  • HOME
  • LC_CTYPE
  • SSH_AGENT_PID
  • QT_ACCESSIBILITY
  • LESS_TERMCAP_mb
  • LC_ADDRESS
  • LESS_TERMCAP_md
  • LESS_TERMCAP_me
  • LC_NUMERIC
  • DESKTOP_STARTUP_ID
  • WINDOWPATH
  • TERM
  • SHELL
  • LC_MESSAGES
  • GPG_AGENT_INFO
  • COLORFGBG
  • SHLVL
  • XDG_SEAT
  • LANGUAGE
  • WINDOWID
  • LC_TELEPHONE
  • DEBEMAIL
  • LOGNAME
  • DBUS_SESSION_BUS_ADDRESS
  • XDG_RUNTIME_DIR
  • LESS_TERMCAP_ue
  • LESS_TERMCAP_us
  • PATH
  • LC_IDENTIFICATION
  • PS1
  • HISTSIZE
  • XDG_SESSION_COOKIE
  • HISTFILESIZE
  • LESSOPEN
  • LC_TIME
  • OLDPWD
  • _
  • PYTHONDONTWRITEBYTECODE
  • PIP_PYTHON_PATH

Pipenv鈥搒pecific environment variables:

Debug鈥搒pecific environment variables:

  • PATH: /home/mdk/.local/bin:/home/mdk/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games
  • SHELL: /bin/bash
  • EDITOR: emacs
  • LANG: en_US.UTF-8
  • PWD: /tmp/foo

Contents of Pipfile ('/tmp/foo/Pipfile'):

[[source]]
url = "https://pypi.org/simple"
verify_ssl = true
name = "pypi"

[packages]
black = "*"
pylint = "*"

[dev-packages]

[requires]
python_version = "3.6"

I tried pipenv install --skip-lock then to inspect pipenv graph:

black==18.9b0
  - appdirs [required: Any, installed: 1.4.3]
  - attrs [required: >=17.4.0, installed: 18.2.0]
  - click [required: >=6.5, installed: 7.0]
  - toml [required: >=0.9.4, installed: 0.9.6]
pylint==2.1.1
  - astroid [required: >=2.0.0, installed: 2.0.4]
    - lazy-object-proxy [required: Any, installed: 1.3.1]
    - six [required: Any, installed: 1.11.0]
    - typed-ast [required: Any, installed: 1.1.0]
    - wrapt [required: Any, installed: 1.10.11]
  - isort [required: >=4.2.5, installed: 4.3.4]
  - mccabe [required: Any, installed: 0.6.1]

But I was unable to see the conflicting thing.

Most helpful comment

The black still does not have a stable release.

Try to use pipenv install --pre to allow pre releases

>All comments

The black still does not have a stable release.

Try to use pipenv install --pre to allow pre releases

Was this page helpful?
0 / 5 - 0 ratings

Related issues

fbender picture fbender  路  3Comments

randName picture randName  路  3Comments

FooBarQuaxx picture FooBarQuaxx  路  3Comments

jacek-jablonski picture jacek-jablonski  路  3Comments

erinxocon picture erinxocon  路  3Comments