{"action":"opened","issue":{"url":"https://api.github.com/repos/pypa/pipenv/issues/2410","repository_url":"https://api.github.com/repos/pypa/pipenv","labels_url":"https://api.github.com/repos/pypa/pipenv/issues/2410/labels{/name}","comments_url":"https://api.github.com/repos/pypa/pipenv/issues/2410/comments","events_url":"https://api.github.com/repos/pypa/pipenv/issues/2410/events","html_url":"https://github.com/pypa/pipenv/issues/2410","id":335452691,"node_id":"MDU6SXNzdWUzMzU0NTI2OTE=","number":2410,"title":"Upgrading a dependency with --selective-upgrade doesn't seem to work","user":{"login":"mark-adams","id":472350,"node_id":"MDQ6VXNlcjQ3MjM1MA==","avatar_url":"https://avatars3.githubusercontent.com/u/472350?v=4","gravatar_id":"","url":"https://api.github.com/users/mark-adams","html_url":"https://github.com/mark-adams","followers_url":"https://api.github.com/users/mark-adams/followers","following_url":"https://api.github.com/users/mark-adams/following{/other_user}","gists_url":"https://api.github.com/users/mark-adams/gists{/gist_id}","starred_url":"https://api.github.com/users/mark-adams/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mark-adams/subscriptions","organizations_url":"https://api.github.com/users/mark-adams/orgs","repos_url":"https://api.github.com/users/mark-adams/repos","events_url":"https://api.github.com/users/mark-adams/events{/privacy}","received_events_url":"https://api.github.com/users/mark-adams/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-06-25T15:17:50Z","updated_at":"2018-06-25T15:17:50Z","closed_at":null,"author_association":"NONE","body":"Running with both the latest release and the latest `master` of pipenv, selective upgrades don't appear to work as expected. (If I'm doing something wrong, please let me know :-) )\r\n\r\n<details><summary>$ python -m pipenv.help output</summary>\r\n\r\nPipenv version: `'2018.6.25'`\r\n\r\nPipenv location: `'/home/madams/dev/pipenv/pipenv'`\r\n\r\nPython location: `'/usr/bin/python3'`\r\n\r\nOther Python installations in `PATH`:\r\n\r\n  - `2.7`: `/usr/bin/python2.7`\r\n  - `2.7`: `/usr/bin/python2.7`\r\n  - `3.6`: `/usr/bin/python3.6m`\r\n  - `3.6`: `/usr/bin/python3.6`\r\n\r\n  - `2.7.15`: `/usr/bin/python`\r\n  - `2.7.15`: `/usr/bin/python2`\r\n  - `3.6.5`: `/usr/bin/python3`\r\n\r\nPEP 508 Information:\r\n\r\n```\r\n{'implementation_name': 'cpython',\r\n 'implementation_version': '3.6.5',\r\n 'os_name': 'posix',\r\n 'platform_machine': 'x86_64',\r\n 'platform_python_implementation': 'CPython',\r\n 'platform_release': '4.15.0-23-generic',\r\n 'platform_system': 'Linux',\r\n 'platform_version': '#25-Ubuntu SMP Wed May 23 18:02:16 UTC 2018',\r\n 'python_full_version': '3.6.5',\r\n 'python_version': '3.6',\r\n 'sys_platform': 'linux'}\r\n```\r\n\r\nSystem environment variables:\r\n\r\n  - `CLUTTER_IM_MODULE`\r\n  - `LS_COLORS`\r\n  - `VIRTUALENVWRAPPER_WORKON_CD`\r\n  - `XDG_MENU_PREFIX`\r\n  - `VIRTUALENVWRAPPER_HOOK_DIR`\r\n  - `LANG`\r\n  - `LESS`\r\n  - `DISPLAY`\r\n  - `OLDPWD`\r\n  - `WORKON_HOME`\r\n  - `GNOME_SHELL_SESSION_MODE`\r\n  - `EDITOR`\r\n  - `DEBFULLNAME`\r\n  - `COLORTERM`\r\n  - `USERNAME`\r\n  - `XDG_VTNR`\r\n  - `ZSH`\r\n  - `SSH_AUTH_SOCK`\r\n  - `MANDATORY_PATH`\r\n  - `XDG_SESSION_ID`\r\n  - `USER`\r\n  - `PAGER`\r\n  - `LSCOLORS`\r\n  - `DESKTOP_SESSION`\r\n  - `QT4_IM_MODULE`\r\n  - `GOPATH`\r\n  - `TEXTDOMAINDIR`\r\n  - `GNOME_TERMINAL_SCREEN`\r\n  - `DEFAULTS_PATH`\r\n  - `PWD`\r\n  - `HOME`\r\n  - `LC_CTYPE`\r\n  - `GSM_SKIP_SSH_AGENT_WORKAROUND`\r\n  - `TEXTDOMAIN`\r\n  - `QT_ACCESSIBILITY`\r\n  - `XDG_SESSION_TYPE`\r\n  - `KRB5CCNAME`\r\n  - `XDG_DATA_DIRS`\r\n  - `XDG_SESSION_DESKTOP`\r\n  - `GJS_DEBUG_OUTPUT`\r\n  - `PROJECT_HOME`\r\n  - `GTK_MODULES`\r\n  - `WINDOWPATH`\r\n  - `VIRTUALENVWRAPPER_SCRIPT`\r\n  - `TERM`\r\n  - `SHELL`\r\n  - `VTE_VERSION`\r\n  - `ATOM_REPOS_HOME`\r\n  - `QT_IM_MODULE`\r\n  - `XMODIFIERS`\r\n  - `IM_CONFIG_PHASE`\r\n  - `XDG_CURRENT_DESKTOP`\r\n  - `GPG_AGENT_INFO`\r\n  - `GNOME_TERMINAL_SERVICE`\r\n  - `XDG_SEAT`\r\n  - `SHLVL`\r\n  - `DEBEMAIL`\r\n  - `GDMSESSION`\r\n  - `GNOME_DESKTOP_SESSION_ID`\r\n  - `LOGNAME`\r\n  - `DBUS_SESSION_BUS_ADDRESS`\r\n  - `XDG_RUNTIME_DIR`\r\n  - `XAUTHORITY`\r\n  - `VIRTUALENVWRAPPER_PROJECT_FILENAME`\r\n  - `XDG_CONFIG_DIRS`\r\n  - `PATH`\r\n  - `GJS_DEBUG_TOPICS`\r\n  - `SESSION_MANAGER`\r\n  - `GTK_IM_MODULE`\r\n  - `_`\r\n  - `VSCODE_CLI`\r\n  - `ELECTRON_NO_ATTACH_CONSOLE`\r\n  - `VSCODE_IPC_HOOK`\r\n  - `VSCODE_NLS_CONFIG`\r\n  - `PYPI_PASSWORD`\r\n  - `VSCODE_NODE_CACHED_DATA_DIR_29546`\r\n  - `CHROME_DESKTOP`\r\n  - `TERM_PROGRAM`\r\n  - `TERM_PROGRAM_VERSION`\r\n  - `PYPI_USERNAME`\r\n  - `VSCODE_NODE_CACHED_DATA_DIR_5546`\r\n  - `PYTHONDONTWRITEBYTECODE`\r\n  - `PIP_PYTHON_PATH`\r\n\r\nPipenv–specific environment variables:\r\n\r\n\r\nDebug–specific environment variables:\r\n\r\n  - `PATH`: `./node_modules/.bin:/home/madams/.cargo/bin:/usr/local/go/bin:./node_modules/.bin:/home/madams/.cargo/bin:/usr/local/go/bin:./node_modules/.bin:/home/madams/.cargo/bin:/usr/local/go/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/home/madams/dev/go/bin:/usr/lib/scala/bin:/home/madams/.rvm/bin:/opt/node/bin:/home/madams/.local/bin:/home/madams/dev/go/bin:/usr/lib/scala/bin:/home/madams/.rvm/bin:/opt/node/bin:/home/madams/.local/bin:/home/madams/dev/go/bin:/usr/lib/scala/bin:/home/madams/.rvm/bin:/opt/node/bin:/home/madams/.local/bin`\r\n  - `SHELL`: `/usr/bin/zsh`\r\n  - `EDITOR`: `vim`\r\n  - `LANG`: `en_US.UTF-8`\r\n  - `PWD`: `/home/madams/dev/pipenv-selective-upgrade-test`\r\n\r\n\r\n---------------------------\r\n\r\nContents of `Pipfile` ('/home/madams/dev/pipenv-selective-upgrade-test/Pipfile'):\r\n\r\n```toml\r\n[[source]]\r\nurl = \"https://pypi.org/simple\"\r\nverify_ssl = true\r\nname = \"pypi\"\r\n\r\n[dev-packages]\r\n\r\n[packages]\r\narrow = \"*\"\r\nrequests = \"*\"\r\n\r\n[requires]\r\npython_version = \"3.6\"\r\n\r\n```\r\n\r\n\r\nContents of `Pipfile.lock` ('/home/madams/dev/pipenv-selective-upgrade-test/Pipfile.lock'):\r\n\r\n```json\r\n{\r\n    \"_meta\": {\r\n        \"hash\": {\r\n            \"sha256\": \"0315ef9be6d34b575d5d8214db33cd0167cdd98c08b5a7b1fea08ed32ffe220f\"\r\n        },\r\n        \"pipfile-spec\": 6,\r\n        \"requires\": {\r\n            \"python_version\": \"3.6\"\r\n        },\r\n        \"sources\": [\r\n            {\r\n                \"name\": \"pypi\",\r\n                \"url\": \"https://pypi.org/simple\",\r\n                \"verify_ssl\": true\r\n            }\r\n        ]\r\n    },\r\n    \"default\": {\r\n        \"arrow\": {\r\n            \"hashes\": [\r\n                \"sha256:c266f0db8f7aeb79764ce3c0aca6cb88978cfd27bfb9fb7588405b5ed331fd3e\"\r\n            ],\r\n            \"index\": \"pypi\",\r\n            \"version\": \"==0.9.0\"\r\n        },\r\n        \"certifi\": {\r\n            \"hashes\": [\r\n                \"sha256:13e698f54293db9f89122b0581843a782ad0934a4fe0172d2a980ba77fc61bb7\",\r\n                \"sha256:9fa520c1bacfb634fa7af20a76bcbd3d5fb390481724c597da32c719a7dca4b0\"\r\n            ],\r\n            \"version\": \"==2018.4.16\"\r\n        },\r\n        \"chardet\": {\r\n            \"hashes\": [\r\n                \"sha256:84ab92ed1c4d4f16916e05906b6b75a6c0fb5db821cc65e70cbd64a3e2a5eaae\",\r\n                \"sha256:fc323ffcaeaed0e0a02bf4d117757b98aed530d9ed4531e3e15460124c106691\"\r\n            ],\r\n            \"version\": \"==3.0.4\"\r\n        },\r\n        \"idna\": {\r\n            \"hashes\": [\r\n                \"sha256:156a6814fb5ac1fc6850fb002e0852d56c0c8d2531923a51032d1b70760e186e\",\r\n                \"sha256:684a38a6f903c1d71d6d5fac066b58d7768af4de2b832e426ec79c30daa94a16\"\r\n            ],\r\n            \"version\": \"==2.7\"\r\n        },\r\n        \"python-dateutil\": {\r\n            \"hashes\": [\r\n                \"sha256:1adb80e7a782c12e52ef9a8182bebeb73f1d7e24e374397af06fb4956c8dc5c0\",\r\n                \"sha256:e27001de32f627c22380a688bcc43ce83504a7bc5da472209b4c70f02829f0b8\"\r\n            ],\r\n            \"version\": \"==2.7.3\"\r\n        },\r\n        \"requests\": {\r\n            \"hashes\": [\r\n                \"sha256:421cfc8d9dde7d6aff68196420afd86b88c65d77d8da9cf83f4ecad785d7b9d6\",\r\n                \"sha256:cc408268d0e21589bcc2b2c248e42932b8c4d112f499c12c92e99e2178a6134c\"\r\n            ],\r\n            \"index\": \"pypi\",\r\n            \"version\": \"==2.19.0\"\r\n        },\r\n        \"six\": {\r\n            \"hashes\": [\r\n                \"sha256:70e8a77beed4562e7f14fe23a786b54f6296e34344c23bc42f07b15018ff98e9\",\r\n                \"sha256:832dc0e10feb1aa2c68dcc57dbb658f1c7e65b9b61af69048abc87a2db00a0eb\"\r\n            ],\r\n            \"version\": \"==1.11.0\"\r\n        },\r\n        \"urllib3\": {\r\n            \"hashes\": [\r\n                \"sha256:a68ac5e15e76e7e5dd2b8f94007233e01effe3e50e8daddf69acfd81cb686baf\",\r\n                \"sha256:b5725a0bd4ba422ab0e66e89e030c806576753ea3ee08554382c14e685d117b5\"\r\n            ],\r\n            \"version\": \"==1.23\"\r\n        }\r\n    },\r\n    \"develop\": {}\r\n}\r\n\r\n```\r\n</details>\r\n```\r\n\r\n------------\r\n\r\n##### Expected result\r\nIf I run `pipenv install --selective-upgrade requests`, I expect the lockfile to be updated to `requests==2.19.1` and the new version to be installed in the virtualenv.\r\n\r\n\r\n##### Actual result\r\nThe lockfile is not updated and the new version of requests is not installed.\r\n\r\n##### Steps to replicate\r\n\r\n1. Clone https://github.com/mark-adams/pipenv-selective-upgrade-test\r\n2. Run `pipenv install`\r\n3. Run `pipenv install --selective-upgrade requests`\r\n"}}
{"actor":{"display_login":"mark-adams"}}