-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
pipenv ignores explicitly specified index for package #2730
Comments
Same here, for some reason "index" isn't honored. Every source is pulled for every package - so private repository feature is completely broken. |
The most terrible issue here is that since you add some additional index I believe there should be an option to prevent that by making |
Pipfile.lock contains the information about the package, so it has to be somewhere in Line 645 in 9084792
|
This may be a duplicate of #2159 |
this is a duplicate for sure, there are a few reasons for doing things this way and a possible solution, but it will require behavior changes and therefore needs to be thought through carefully -- see my comments here: #2159 (comment) I am not opposed to this in any way, but I wonder if your use case is served by using Closing this for now to continue the discussion over in #2159 - thanks! |
Issue description
The package
flask
is specified asflask = {version = "*", index = "test"}
and instead of installing from thetest
source containingflask==0.11.0
, it is installed from PyPI which containsflask==1.0.2
.Expected result
Expected
flask==0.11.0
to be installed, howeverflask==1.0.2
is installed.Actual result
$ pipenv install --verbose
Steps to replicate
Commands:
Pipfile:
$ pipenv --support
Pipenv version:
'2018.7.1.dev0'
Pipenv location:
'/nix/store/a2mjk4izrrlhjw84336pr2amm2iswzbv-pipenv-2018.8.11/lib/python3.6/site-packages/pipenv'
Python location:
'/nix/store/8wfgl06xbcsxs6pmwr3n04kyhnvsh31d-python3-3.6.6/bin/python3.6m'
Python installations found:
3.6.6
:/nix/store/8wfgl06xbcsxs6pmwr3n04kyhnvsh31d-python3-3.6.6/bin/python3.6
3.6.6
:/nix/store/8wfgl06xbcsxs6pmwr3n04kyhnvsh31d-python3-3.6.6/bin/python3.6m
3.6.5
:/nix/store/razrn0bc0dvrzfv00vhxynab3r15x4ff-python3-3.6.5-env/bin/python3
3.6.5
:/nix/store/pz8nl4cnppd3p1cykshcb40mqxjd5yvy-python3-3.6.5/bin/python3.6
3.6.5
:/nix/store/pz8nl4cnppd3p1cykshcb40mqxjd5yvy-python3-3.6.5/bin/python3.6m
2.7.15
:/nix/store/c0dyhdpj3gbmirsaysjym6hjpa3iz79c-python-2.7.15-env/bin/python
PEP 508 Information:
System environment variables:
WINDRES
HOST_PATH
OS
NVM_DIR
LD_LIBRARY_PATH
propagatedBuildInputs
stdenv
LANG
LESS
DISPLAY
SANE_CONFIG_DIR
QT_STYLE_OVERRIDE
OLDPWD
EDITOR
out
COLORTERM
__ETC_ZSHENV_SOURCED
MOZ_PLUGIN_PATH
KDEDIRS
CONFIG_SHELL
buildInputs
NO_AT_BRIDGE
XDG_VTNR
QTWEBKIT_PLUGIN_PATH
builder
LESS_TERMCAP_so
CC
READELF
LESS_TERMCAP_se
XDG_SESSION_ID
buildCommandPath
USER
PAGER
SLIM_THEMESDIR
PYTHONHASHSEED
STRIP
TZDIR
depsBuildTarget
OBJCOPY
LIBEXEC_PATH
propagatedNativeBuildInputs
NIX_PROFILES
PYTHONNOUSERSITE
depsTargetTarget
system
NIX_PATH
PWD
SSH_ASKPASS
HOME
TMP
strictDeps
NIX_ENFORCE_NO_NATIVE
GTK_PATH
XDG_DATA_DIRS
RANLIB
OBJDUMP
AS
AR
NIX_CC
NIX_CFLAGS_COMPILE
depsBuildBuild
NIX_STORE
NIX_CC_WRAPPER_x86_64_unknown_linux_gnu_TARGET_HOST
STRIGI_PLUGIN_PATH
configureFlags
_PATH
GIO_EXTRA_MODULES
DETERMINISTIC_BUILD
LESS_TERMCAP_mb
LESS_TERMCAP_md
LESS_TERMCAP_me
TMPDIR
name
NIX_BINTOOLS_WRAPPER_x86_64_unknown_linux_gnu_TARGET_HOST
TERMINFO_DIRS
GDK_PIXBUF_MODULE_FILE
IN_NIX_SHELL
NIX_BINTOOLS
NM
MAIL
depsHostHostPropagated
CXX
VISUAL
depsBuildBuildPropagated
QT_PLUGIN_PATH
STEAM_FRAME_FORCE_CLOSE
NIX_USER_PROFILE_DIR
SHELL
TERM
VTE_VERSION
NIX_LDFLAGS
QT_IM_MODULE
TEMPDIR
XMODIFIERS
shell
NIX_HARDENING_ENABLE
passAsFile
SHLVL
XDG_SEAT
PYTHONPATH
LOCALE_ARCHIVE
NIX_BUILD_CORES
WINDOWID
SOURCE_DATE_EPOCH
TEMP
STRINGS
LOGNAME
DBUS_SESSION_BUS_ADDRESS
NIXPKGS_CONFIG
XDG_RUNTIME_DIR
XAUTHORITY
depsHostHost
LESS_TERMCAP_ue
LESS_TERMCAP_us
XDG_CONFIG_DIRS
PATH
NIX_BUILD_TOP
depsBuildTargetPropagated
INFOPATH
SIZE
nativeBuildInputs
LD
XCURSOR_PATH
__ETC_PROFILE_DONE
GTK_IM_MODULE
depsTargetTargetPropagated
PYTHONDONTWRITEBYTECODE
PIP_PYTHON_PATH
Pipenv–specific environment variables:
Debug–specific environment variables:
PATH
:/nix/store/8wfgl06xbcsxs6pmwr3n04kyhnvsh31d-python3-3.6.6/bin:/nix/store/a2mjk4izrrlhjw84336pr2amm2iswzbv-pipenv-2018.8.11/bin:/nix/store/i6r40scp0lkr3hhbsvvi20p4v61i2cm7-pew-1.1.2/bin:/nix/store/w559y4p2l1a3alyg44gc7srkn3ybsrqw-python3.6-virtualenv-16.0.0/bin:/nix/store/d7dix66flf3y5862yjyidh5wbl5wgqvb-python3.6-setuptools-40.0.0/bin:/nix/store/gg615xyir7jipfqbrwkiyhmc8n777ra3-python3.6-virtualenv-clone-0.2.5/bin:/nix/store/qj61xh16640k8ly599h5d7mc393h8rrh-python3.6-pip-18.0/bin:/nix/store/386a6mincsimvqc57vlqfk53hicifw36-python3.6-chardet-3.0.4/bin:/nix/store/8brhihqginqxwlmvi5mxvcnh92j1zs04-python3.6-flake8-3.5.0/bin:/nix/store/vmr7x2115jl53xn6rvzvpbvp7ajndai2-python3.6-pyflakes-2.0.0/bin:/nix/store/l39k6sviwl28mzglr3ph74vj4dr51bs0-python3.6-pycodestyle-2.4.0/bin:/nix/store/1wlrx1ckjfnddl88ik4hf4dds4rzq7zl-python3.6-invoke-1.1.0/bin:/nix/store/517mx0hmmmhcl2f20g3lw96azixc6dl5-patchelf-0.9/bin:/nix/store/dxjnkd3rd244ipkc05xdpk6wgjzhlvzl-paxctl-0.9/bin:/nix/store/wkfafgwgs1na5f808wybs8l6v8yjrvqz-gcc-wrapper-7.3.0/bin:/nix/store/5d2njc16vdwq5ivc8y53cdlr63vmbzpf-gcc-7.3.0/bin:/nix/store/y75amg1fc859ppgmvdg2klp0bi38v7x4-glibc-2.27-bin/bin:/nix/store/nvm4kdwk2jf8xsg4xdqmvcnjmhy8h4gw-coreutils-8.29/bin:/nix/store/d2r0ha0m1sk9bsh29snnbprfyhgmwllv-binutils-wrapper-2.30/bin:/nix/store/1hi76hr87bd1y1q1qjk0lv8nmcjip1c8-binutils-2.30/bin:/nix/store/y75amg1fc859ppgmvdg2klp0bi38v7x4-glibc-2.27-bin/bin:/nix/store/nvm4kdwk2jf8xsg4xdqmvcnjmhy8h4gw-coreutils-8.29/bin:/nix/store/a2mjk4izrrlhjw84336pr2amm2iswzbv-pipenv-2018.8.11/bin:/nix/store/i6r40scp0lkr3hhbsvvi20p4v61i2cm7-pew-1.1.2/bin:/nix/store/w559y4p2l1a3alyg44gc7srkn3ybsrqw-python3.6-virtualenv-16.0.0/bin:/nix/store/8wfgl06xbcsxs6pmwr3n04kyhnvsh31d-python3-3.6.6/bin:/nix/store/d7dix66flf3y5862yjyidh5wbl5wgqvb-python3.6-setuptools-40.0.0/bin:/nix/store/gg615xyir7jipfqbrwkiyhmc8n777ra3-python3.6-virtualenv-clone-0.2.5/bin:/nix/store/qj61xh16640k8ly599h5d7mc393h8rrh-python3.6-pip-18.0/bin:/nix/store/386a6mincsimvqc57vlqfk53hicifw36-python3.6-chardet-3.0.4/bin:/nix/store/8brhihqginqxwlmvi5mxvcnh92j1zs04-python3.6-flake8-3.5.0/bin:/nix/store/vmr7x2115jl53xn6rvzvpbvp7ajndai2-python3.6-pyflakes-2.0.0/bin:/nix/store/l39k6sviwl28mzglr3ph74vj4dr51bs0-python3.6-pycodestyle-2.4.0/bin:/nix/store/1wlrx1ckjfnddl88ik4hf4dds4rzq7zl-python3.6-invoke-1.1.0/bin:/nix/store/nvm4kdwk2jf8xsg4xdqmvcnjmhy8h4gw-coreutils-8.29/bin:/nix/store/5yl80a6mvrvs7qjpacv2w8hfkvi5y7f6-findutils-4.6.0/bin:/nix/store/dbcn3vixwb892gzg0i8snpdqbnxfqd23-diffutils-3.6/bin:/nix/store/g9mbwrsn10llm968hlaqvwnlb4frs984-gnused-4.5/bin:/nix/store/7x63bxivrk58xwqxh3yzxa257dy1r769-gnugrep-3.1/bin:/nix/store/fz0s16k0lwb07fzh7j0rwwa0qpmnffqj-gawk-4.2.1/bin:/nix/store/igrs1ns8i2vc1lifapyjxpn6xc53hk1k-gnutar-1.30/bin:/nix/store/qicx06y64b0mjwf60wwl3qz8py1ify01-gzip-1.9/bin:/nix/store/slm6059ll30pawd22wwlj013cnkncifb-bzip2-1.0.6.0.1-bin/bin:/nix/store/7s1s2brv9jkwy2m5crw1q9405dmp267g-gnumake-4.2.1/bin:/nix/store/dkh7l9a4sx7zqh8riqbj3z21sz25p8xy-bash-4.4-p23/bin:/nix/store/mb1wy0rc4x8gj9lvdypfid6xil799wyz-patch-2.7.6/bin:/nix/store/rzfwir2wavpf474jgixzm3jdyxnksf86-xz-5.2.4-bin/bin:/home/enzime/bin:/run/wrappers/bin:/home/enzime/.nix-profile/bin:/nix/var/nix/profiles/default/bin:/run/current-system/sw/bin:/etc/profiles/per-user/enzime/bin
SHELL
:/nix/store/dkh7l9a4sx7zqh8riqbj3z21sz25p8xy-bash-4.4-p23/bin/bash
EDITOR
:nvim
LANG
:en_AU.UTF-8
PWD
:/home/enzime/pipenv-test
Contents of
Pipfile
('/home/enzime/pipenv-test/Pipfile'):Contents of
Pipfile.lock
('/home/enzime/pipenv-test/Pipfile.lock'):The text was updated successfully, but these errors were encountered: