-
-
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
package from private index always prerelease ignoring --pre #5100
Comments
I don't want to misdirect, but possibly related to #5042 |
@rubyisbeautiful I closed the #5042 as a request for support, with a comment outlining what would be required to open a new ticket to examine adding support for determining private indexes of sub-dependencies, possibly via setup.cfg or some other means. I think your report about I just realized you are saying you are always getting pre-releases even when you are specifying not to. So can you help me understand from your example which package that is getting installed is a pre-release that shouldn't be getting that version when the |
@matteius Thanks for the reply. In both examples, ssqt: 1.8.2+6.g08766f3 is a package from a private index I might be able to contribute. Perhaps initially at recreating this issue with a demo private index and package. |
@matteius I think this has either been fixed, or is not reproducible. First, I was using Sonatype Nexus, which I could not use for the reproduction (pay). I used devpi instead. I did create this repo with a setup to reproduce the issue in case it is useful to look at or use. I was not able to reproduce with this repo, but it was a good learning experience. Thanks for looking at and responding to the issue. |
Issue description
Locking packages from a private index seem to ignore the
--pre
flagExpected result
Without the
--pre
flag, only release versions would be installedActual result
Either with or without the
--pre
flag, prerelease versions are installedwithout
--pre
:with
--pre
:Steps to replicate
Provide the steps to replicate (which usually at least includes the commands and the Pipfile).
Pipfile:
Please run
$ pipenv --support
, and paste the results here. Don't put backticks (`
) around it! The output already contains Markdown formatting.$ pipenv --support
Pipenv version:
'2022.5.2'
Pipenv location:
'/Users/sg0218947/.asdf/installs/python/3.9.11/lib/python3.9/site-packages/pipenv'
Python location:
'/Users/sg0218947/.asdf/installs/python/3.9.11/bin/python3.9'
Python installations found:
3.10.3
:/Users/sg0218947/.asdf/installs/python/3.10.3/bin/python3
3.9.11
:/Users/sg0218947/.local/share/virtualenvs/pipenv-pre-thing-EJY1a04N/bin/python3
3.9.11
:/Users/sg0218947/.local/share/virtualenvs/pipenv-pre-thing-EJY1a04N/bin/python
3.9.11
:/Users/sg0218947/.local/share/virtualenvs/pipenv-pre-thing-EJY1a04N/bin/python3.9
3.9.11
:/Users/sg0218947/.asdf/installs/python/3.9.11/bin/python3
3.9.11
:/Users/sg0218947/.asdf/installs/python/3.9.11/bin/python
3.9.11
:/Users/sg0218947/.asdf/installs/python/3.9.11/bin/python3.9
3.9.11
:/Users/sg0218947/.local/share/virtualenvs/pipenv-pre-thing-EJY1a04N/bin/python3
3.9.11
:/Users/sg0218947/.local/share/virtualenvs/pipenv-pre-thing-EJY1a04N/bin/python
3.9.11
:/Users/sg0218947/.local/share/virtualenvs/pipenv-pre-thing-EJY1a04N/bin/python3.9
3.9.11
:/Users/sg0218947/.asdf/installs/python/3.9.11/bin/python3
3.9.10
:/Users/sg0218947/.asdf/installs/python/3.9.10/bin/python3
3.8.12
:/Users/sg0218947/.asdf/installs/python/3.8.12/bin/python3
3.8.9
:/usr/bin/python3
3.8.7
:/Users/sg0218947/.asdf/installs/python/3.8.7/bin/python3
3.7.9
:/usr/local/bin/python3
3.7.9
:/usr/local/bin/python3.7m
3.7.9
:/usr/local/bin/python3.7
2.7.18
:/Users/sg0218947/.asdf/installs/python/2.7.18/bin/python
2.7.18
:/opt/local/bin/python2.7
PEP 508 Information:
System environment variables:
PATH
SHELL
ITERM_PROFILE
COLORTERM
XPC_FLAGS
TERM_PROGRAM_VERSION
PIPENV_ACTIVE
__CFBundleIdentifier
JAVA_HOME
SSH_AUTH_SOCK
SGUSER
TERM_SESSION_ID
NEXUS_CREDS_PSW
EDITOR
PWD
LOGNAME
LaunchInstanceID
NEXUS_CREDS_USR
NEXUS_USER_TOKEN
COMMAND_MODE
ITERM_SESSION_ID
PIP_PYTHON_PATH
HOME
LANG
SECURITYSESSIONID
VIRTUAL_ENV
MINISHIFT_USERNAME
TMPDIR
LC_TERMINAL
PROMPT_COMMAND
PROMOTE_USER_TOKEN
BASH_SILENCE_DEPRECATION_WARNING
REPOSITORY_TOKEN
TERM
ASDF_DIR
USER
PIP_DISABLE_PIP_VERSION_CHECK
COLORFGBG
VISUAL
LC_TERMINAL_VERSION
SHLVL
PYTHONDONTWRITEBYTECODE
XPC_SERVICE_NAME
AWS_SDK_LOAD_CONFIG
MINISHIFT_PASSWORD
LC_CTYPE
ANSIBLE_PYTHON_INTERPRETER
LC_ALL
REPOSITORY
REPOSITORY_USER
OLDPWD
__CF_USER_TEXT_ENCODING
TERM_PROGRAM
PIP_SHIMS_BASE_MODULE
PYTHONFINDER_IGNORE_UNSUPPORTED
Pipenv–specific environment variables:
PIPENV_ACTIVE
:1
Debug–specific environment variables:
PATH
:/Users/sg0218947/.asdf/installs/python/3.9.11/bin:/Users/sg0218947/.local/share/virtualenvs/pipenv-pre-thing-EJY1a04N/bin:/Users/sg0218947/.krew/bin:/Users/sg0218947/.asdf/shims:/Users/sg0218947/.asdf/bin:/Users/sg0218947/bin:/Users/sg0218947/.local/bin:/opt/local/bin:/opt/local/sbin:/usr/local/sbin:/Users/sg0218947/.asdf/installs/python/3.9.11/bin:/Users/sg0218947/.krew/bin:/Users/sg0218947/bin:/Users/sg0218947/.local/bin:/opt/local/bin:/opt/local/sbin:/usr/local/sbin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/Apple/usr/bin
SHELL
:/opt/local/bin/bash
EDITOR
:vi
LANG
:en_US.utf8
PWD
:/tmp/pipenv-pre-thing
VIRTUAL_ENV
:/Users/sg0218947/.local/share/virtualenvs/pipenv-pre-thing-EJY1a04N
Contents of
Pipfile
('/private/tmp/pipenv-pre-thing/Pipfile'):Contents of
Pipfile.lock
('/private/tmp/pipenv-pre-thing/Pipfile.lock'):The text was updated successfully, but these errors were encountered: