Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dependency conflict with but no conflict listed in graph #2687

Closed
vickeryj opened this issue Aug 1, 2018 · 1 comment
Closed

dependency conflict with but no conflict listed in graph #2687

vickeryj opened this issue Aug 1, 2018 · 1 comment
Labels
Type: Duplicate This issue is a duplicate of an already-existing issue.

Comments

@vickeryj
Copy link

vickeryj commented Aug 1, 2018

Issue description

If I have both pytest and pytest-watch in my Pipfile I get a complaint that "Could not find a version that matches pluggy<0.7,>=0.5,>=0.7" when running pipenv install

Expected result

Since the only dependency in the graph is from pytest pluggy [required: >=0.7, installed: 0.7.1] the install should proceed.

Actual result

Could not find a version that matches pluggy<0.7,>=0.5,>=0.7

Joshuas-MacBook-Pro-2:temp vickeryj$ pipenv graph | grep pluggy
    - pluggy [required: >=0.7, installed: 0.7.1]
    - pluggy [required: >=0.7, installed: 0.7.1]
Steps to replicate

Provide the steps to replicate (which usually at least includes the commands and the Pipfile).

Joshuas-MacBook-Pro-2:temp vickeryj$ cat Pipfile
[[source]]
url = "https://pypi.org/simple"
verify_ssl = true
name = "pypi"

[packages]
pytest = "*"
pytest-watch = "*"

[requires]
python_full_version = "3.6.5"
Joshuas-MacBook-Pro-2:temp vickeryj$ pipenv install
Pipfile.lock (cdc0b9) out of date, updating to (94bd57)...
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.
  Hint: try $ pipenv lock --pre if it is a pre-release dependency.
Could not find a version that matches pluggy<0.7,>=0.5,>=0.7
Tried: 0.3.0, 0.3.0, 0.3.1, 0.3.1, 0.4.0, 0.4.0, 0.5.0, 0.5.1, 0.5.1, 0.5.2, 0.5.2, 0.6.0, 0.6.0, 0.6.0, 0.7.1, 0.7.1
There are incompatible versions in the resolved dependencies.
Joshuas-MacBook-Pro-2:temp vickeryj$  pipenv install --skip-lock
Installing dependencies from Pipfile...
  🐍   ▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉ 2/2 — 00:00:01
To activate this project's virtualenv, run pipenv shell.
Alternatively, run a command inside the virtualenv with pipenv run.
Joshuas-MacBook-Pro-2:temp vickeryj$ pipenv graph
boto3==1.7.67
  - botocore [required: >=1.10.67,<1.11.0, installed: 1.10.67]
    - docutils [required: >=0.10, installed: 0.14]
    - jmespath [required: >=0.7.1,<1.0.0, installed: 0.9.3]
    - python-dateutil [required: >=2.1,<3.0.0, installed: 2.7.3]
      - six [required: >=1.5, installed: 1.11.0]
  - jmespath [required: >=0.7.1,<1.0.0, installed: 0.9.3]
  - s3transfer [required: >=0.1.10,<0.2.0, installed: 0.1.13]
    - botocore [required: >=1.3.0,<2.0.0, installed: 1.10.67]
      - docutils [required: >=0.10, installed: 0.14]
      - jmespath [required: >=0.7.1,<1.0.0, installed: 0.9.3]
      - python-dateutil [required: >=2.1,<3.0.0, installed: 2.7.3]
        - six [required: >=1.5, installed: 1.11.0]
listings-importer-streams==1.0.21
  - marshmallow [required: Any, installed: 2.15.3]
  - marshmallow-enum [required: Any, installed: 1.4.1]
    - marshmallow [required: >=2.0.0, installed: 2.15.3]
  - marshmallow-ext [required: Any, installed: 1.0.6]
    - marshmallow [required: Any, installed: 2.15.3]
  - marshmallow-oneofschema [required: Any, installed: 1.0.5]
    - marshmallow [required: >=2.6.0, installed: 2.15.3]
  - shared-listing-types [required: Any, installed: 1.0.3]
  - typing-extensions [required: Any, installed: 3.6.5]
mypy==0.620
  - typed-ast [required: >=1.1.0,<1.2.0, installed: 1.1.0]
pytest-flake8==1.0.2
  - flake8 [required: >=3.5, installed: 3.5.0]
    - mccabe [required: >=0.6.0,<0.7.0, installed: 0.6.1]
    - pycodestyle [required: >=2.0.0,<2.4.0, installed: 2.3.1]
    - pyflakes [required: >=1.5.0,<1.7.0, installed: 1.6.0]
  - pytest [required: >=3.5, installed: 3.7.0]
    - atomicwrites [required: >=1.0, installed: 1.1.5]
    - attrs [required: >=17.4.0, installed: 18.1.0]
    - more-itertools [required: >=4.0.0, installed: 4.3.0]
      - six [required: >=1.0.0,<2.0.0, installed: 1.11.0]
    - pluggy [required: >=0.7, installed: 0.7.1]
    - py [required: >=1.5.0, installed: 1.5.4]
    - setuptools [required: Any, installed: 40.0.0]
    - six [required: >=1.10.0, installed: 1.11.0]
pytest-watch==4.2.0
  - colorama [required: >=0.3.3, installed: 0.3.9]
  - docopt [required: >=0.4.0, installed: 0.6.2]
  - pytest [required: >=2.6.4, installed: 3.7.0]
    - atomicwrites [required: >=1.0, installed: 1.1.5]
    - attrs [required: >=17.4.0, installed: 18.1.0]
    - more-itertools [required: >=4.0.0, installed: 4.3.0]
      - six [required: >=1.0.0,<2.0.0, installed: 1.11.0]
    - pluggy [required: >=0.7, installed: 0.7.1]
    - py [required: >=1.5.0, installed: 1.5.4]
    - setuptools [required: Any, installed: 40.0.0]
    - six [required: >=1.10.0, installed: 1.11.0]
  - watchdog [required: >=0.6.0, installed: 0.8.3]
    - argh [required: >=0.24.1, installed: 0.26.2]
    - pathtools [required: >=0.1.1, installed: 0.1.2]
    - PyYAML [required: >=3.10, installed: 3.13]

Joshuas-MacBook-Pro-2:temp vickeryj$ pipenv --support

$ pipenv --support

Pipenv version: '2018.7.1'

Pipenv location: '/anaconda3/lib/python3.6/site-packages/pipenv'

Python location: '/anaconda3/bin/python'

Other Python installations in PATH:

  • 2.7: /usr/bin/python2.7

  • 2.7: /usr/bin/python2.7

  • 3.6: /anaconda3/bin/python3.6m

  • 3.6: /anaconda3/bin/python3.6

  • 3.6: /anaconda3/bin/python3.6

  • 3.6.5: /anaconda3/bin/python

  • 3.6.5: /anaconda3/bin/python

  • 2.7.10: /usr/bin/python

  • 3.6.5: /anaconda3/bin/python3

  • 3.6.5: /anaconda3/bin/python3

PEP 508 Information:

{'implementation_name': 'cpython',
 'implementation_version': '3.6.5',
 'os_name': 'posix',
 'platform_machine': 'x86_64',
 'platform_python_implementation': 'CPython',
 'platform_release': '17.4.0',
 'platform_system': 'Darwin',
 'platform_version': 'Darwin Kernel Version 17.4.0: Sun Dec 17 09:19:54 PST '
                     '2017; root:xnu-4570.41.2~1/RELEASE_X86_64',
 'python_full_version': '3.6.5',
 'python_version': '3.6',
 'sys_platform': 'darwin'}

System environment variables:

  • MANPATH
  • rvm_bin_path
  • TERM_PROGRAM
  • GOOGLE_MAPS_KEY
  • NVM_CD_FLAGS
  • GEM_HOME
  • SHELL
  • TERM
  • IRBRC
  • TMPDIR
  • Apple_PubSub_Socket_Render
  • TERM_PROGRAM_VERSION
  • OLDPWD
  • MY_RUBY_HOME
  • TERM_SESSION_ID
  • NVM_DIR
  • USER
  • _system_type
  • rvm_path
  • SSH_AUTH_SOCK
  • rvm_prefix
  • PATH
  • NVM_NODEJS_ORG_MIRROR
  • PWD
  • LANG
  • _system_arch
  • XPC_FLAGS
  • _system_version
  • XPC_SERVICE_NAME
  • rvm_version
  • SHLVL
  • HOME
  • LOGNAME
  • GEM_PATH
  • NVM_BIN
  • NVM_IOJS_ORG_MIRROR
  • GEMFURY_PYPI_AUTH
  • RUBY_VERSION
  • SECURITYSESSIONID
  • _system_name
  • TWILIO_AUTH_TOKEN
  • _
  • PYTHONDONTWRITEBYTECODE
  • PIP_PYTHON_PATH

Pipenv–specific environment variables:

Debug–specific environment variables:

  • PATH: /anaconda3/bin:/anaconda3/bin:/Users/vickeryj/.nvm/versions/node/v7.1.0/bin:/Users/vickeryj/.rvm/gems/ruby-2.4.1/bin:/Users/vickeryj/.rvm/gems/ruby-2.4.1@global/bin:/Users/vickeryj/.rvm/rubies/ruby-2.4.1/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Users/vickeryj/bin/apache-maven-3.5.2/bin:/Users/vickeryj/.rvm/bin
  • SHELL: /bin/bash
  • LANG: en_US.UTF-8
  • PWD: /Users/vickeryj/temp

Contents of Pipfile ('/Users/vickeryj/temp/Pipfile'):

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

[packages]
pytest = "*"
pytest-watch = "*"

[requires]
python_full_version = "3.6.5"

Contents of Pipfile.lock ('/Users/vickeryj/temp/Pipfile.lock'):

{
    "_meta": {
        "hash": {
            "sha256": "bfff95e191b6fbd30234683538904a0284aee0f1d23cdd63208fe2c466cdc0b9"
        },
        "pipfile-spec": 6,
        "requires": {
            "python_full_version": "3.6.5"
        },
        "sources": [
            {
                "name": "pypi",
                "url": "https://pypi.org/simple",
                "verify_ssl": true
            }
        ]
    },
    "default": {},
    "develop": {
        "atomicwrites": {
            "hashes": [
                "sha256:240831ea22da9ab882b551b31d4225591e5e447a68c5e188db5b89ca1d487585",
                "sha256:a24da68318b08ac9c9c45029f4a10371ab5b20e4226738e150e6e7c571630ae6"
            ],
            "version": "==1.1.5"
        },
        "attrs": {
            "hashes": [
                "sha256:4b90b09eeeb9b88c35bc642cbac057e45a5fd85367b985bd2809c62b7b939265",
                "sha256:e0d0eb91441a3b53dab4d9b743eafc1ac44476296a2053b6ca3af0b139faf87b"
            ],
            "version": "==18.1.0"
        },
        "flake8": {
            "hashes": [
                "sha256:7253265f7abd8b313e3892944044a365e3f4ac3fcdcfb4298f55ee9ddf188ba0",
                "sha256:c7841163e2b576d435799169b78703ad6ac1bbb0f199994fc05f700b2a90ea37"
            ],
            "version": "==3.5.0"
        },
        "mccabe": {
            "hashes": [
                "sha256:ab8a6258860da4b6677da4bd2fe5dc2c659cff31b3ee4f7f5d64e79735b80d42",
                "sha256:dd8d182285a0fe56bace7f45b5e7d1a6ebcbf524e8f3bd87eb0f125271b8831f"
            ],
            "version": "==0.6.1"
        },
        "more-itertools": {
            "hashes": [
                "sha256:c187a73da93e7a8acc0001572aebc7e3c69daf7bf6881a2cea10650bd4420092",
                "sha256:c476b5d3a34e12d40130bc2f935028b5f636df8f372dc2c1c01dc19681b2039e",
                "sha256:fcbfeaea0be121980e15bc97b3817b5202ca73d0eae185b4550cbfce2a3ebb3d"
            ],
            "version": "==4.3.0"
        },
        "mypy": {
            "hashes": [
                "sha256:673ea75fb750289b7d1da1331c125dc62fc1c3a8db9129bb372ae7b7d5bf300a",
                "sha256:c770605a579fdd4a014e9f0a34b6c7a36ce69b08100ff728e96e27445cef3b3c"
            ],
            "index": "pypi",
            "version": "==0.620"
        },
        "pluggy": {
            "hashes": [
                "sha256:6e3836e39f4d36ae72840833db137f7b7d35105079aee6ec4a62d9f80d594dd1",
                "sha256:95eb8364a4708392bae89035f45341871286a333f749c3141c20573d2b3876e1"
            ],
            "markers": "python_version >= '2.7' and python_version != '3.1.*' and python_version != '3.2.*' and python_version != '3.0.*' and python_version != '3.3.*'",
            "version": "==0.7.1"
        },
        "py": {
            "hashes": [
                "sha256:3fd59af7435864e1a243790d322d763925431213b6b8529c6ca71081ace3bbf7",
                "sha256:e31fb2767eb657cbde86c454f02e99cb846d3cd9d61b318525140214fdc0e98e"
            ],
            "markers": "python_version != '3.1.*' and python_version != '3.3.*' and python_version != '3.2.*' and python_version >= '2.7' and python_version != '3.0.*'",
            "version": "==1.5.4"
        },
        "pycodestyle": {
            "hashes": [
                "sha256:682256a5b318149ca0d2a9185d365d8864a768a28db66a84a2ea946bcc426766",
                "sha256:6c4245ade1edfad79c3446fadfc96b0de2759662dc29d07d80a6f27ad1ca6ba9"
            ],
            "version": "==2.3.1"
        },
        "pyflakes": {
            "hashes": [
                "sha256:08bd6a50edf8cffa9fa09a463063c425ecaaf10d1eb0335a7e8b1401aef89e6f",
                "sha256:8d616a382f243dbf19b54743f280b80198be0bca3a5396f1d2e1fca6223e8805"
            ],
            "version": "==1.6.0"
        },
        "pytest": {
            "hashes": [
                "sha256:8214ab8446104a1d0c17fbd218ec6aac743236c6ffbe23abc038e40213c60b88",
                "sha256:e2b2c6e1560b8f9dc8dd600b0923183fbd68ba3d9bdecde04467be6dd296a384"
            ],
            "index": "pypi",
            "version": "==3.7.0"
        },
        "pytest-flake8": {
            "hashes": [
                "sha256:4f30f5be3efb89755f38f11bdb2a5e22d19a6f5faa73428f703a3292a9572cd3",
                "sha256:c740ad6aa19e3958947d2118f70bed218caf1d2097039fb7318573a2a72f89a1"
            ],
            "index": "pypi",
            "version": "==1.0.2"
        },
        "six": {
            "hashes": [
                "sha256:70e8a77beed4562e7f14fe23a786b54f6296e34344c23bc42f07b15018ff98e9",
                "sha256:832dc0e10feb1aa2c68dcc57dbb658f1c7e65b9b61af69048abc87a2db00a0eb"
            ],
            "version": "==1.11.0"
        },
        "typed-ast": {
            "hashes": [
                "sha256:0948004fa228ae071054f5208840a1e88747a357ec1101c17217bfe99b299d58",
                "sha256:10703d3cec8dcd9eef5a630a04056bbc898abc19bac5691612acba7d1325b66d",
                "sha256:1f6c4bd0bdc0f14246fd41262df7dfc018d65bb05f6e16390b7ea26ca454a291",
                "sha256:25d8feefe27eb0303b73545416b13d108c6067b846b543738a25ff304824ed9a",
                "sha256:29464a177d56e4e055b5f7b629935af7f49c196be47528cc94e0a7bf83fbc2b9",
                "sha256:2e214b72168ea0275efd6c884b114ab42e316de3ffa125b267e732ed2abda892",
                "sha256:3e0d5e48e3a23e9a4d1a9f698e32a542a4a288c871d33ed8df1b092a40f3a0f9",
                "sha256:519425deca5c2b2bdac49f77b2c5625781abbaf9a809d727d3a5596b30bb4ded",
                "sha256:57fe287f0cdd9ceaf69e7b71a2e94a24b5d268b35df251a88fef5cc241bf73aa",
                "sha256:668d0cec391d9aed1c6a388b0d5b97cd22e6073eaa5fbaa6d2946603b4871efe",
                "sha256:68ba70684990f59497680ff90d18e756a47bf4863c604098f10de9716b2c0bdd",
                "sha256:6de012d2b166fe7a4cdf505eee3aaa12192f7ba365beeefaca4ec10e31241a85",
                "sha256:79b91ebe5a28d349b6d0d323023350133e927b4de5b651a8aa2db69c761420c6",
                "sha256:8550177fa5d4c1f09b5e5f524411c44633c80ec69b24e0e98906dd761941ca46",
                "sha256:898f818399cafcdb93cbbe15fc83a33d05f18e29fb498ddc09b0214cdfc7cd51",
                "sha256:94b091dc0f19291adcb279a108f5d38de2430411068b219f41b343c03b28fb1f",
                "sha256:a26863198902cda15ab4503991e8cf1ca874219e0118cbf07c126bce7c4db129",
                "sha256:a8034021801bc0440f2e027c354b4eafd95891b573e12ff0418dec385c76785c",
                "sha256:bc978ac17468fe868ee589c795d06777f75496b1ed576d308002c8a5756fb9ea",
                "sha256:c05b41bc1deade9f90ddc5d988fe506208019ebba9f2578c622516fd201f5863",
                "sha256:c9b060bd1e5a26ab6e8267fd46fc9e02b54eb15fffb16d112d4c7b1c12987559",
                "sha256:edb04bdd45bfd76c8292c4d9654568efaedf76fe78eb246dde69bdb13b2dad87",
                "sha256:f19f2a4f547505fe9072e15f6f4ae714af51b5a681a97f187971f50c283193b6"
            ],
            "version": "==1.1.0"
        }
    }
}
@techalchemy
Copy link
Member

Try pipenv lock --clear (see #2684)

@techalchemy techalchemy added the Type: Duplicate This issue is a duplicate of an already-existing issue. label Aug 1, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Duplicate This issue is a duplicate of an already-existing issue.
Projects
None yet
Development

No branches or pull requests

2 participants