-
-
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 tests fail with Python 3.7: RuntimeError: generator raised StopIteration (from prettytoml) #2426
Comments
This was, PEP 479 enabled Pythons (such as 3.7) work again. Otherwise you get: RuntimeError: generator raised StopIteration Fixes pypa/pipenv#2426
Upstream (dead?) PR: https://github.com/jumpscale7/python-pretty-toml/pull/2 I am not sending a PR here, as it says in big DO NOT TOUCH. I wonder who has the touching powers. |
This makes PEP 479 enabled Pythons (such as 3.7) work again. Otherwise you get: RuntimeError: generator raised StopIteration Fixes pypa/pipenv#2426
You do! :p if you have a fix feel free to patch (I think you know the process but |
oof i'm glad you posted this, I hadn't read that pep. I am going to get super burned by that if I don't fix stuff |
Wow, I didn’t even know there’s a behaviour change. Thanks for the catch. |
Checking patch pipenv/patched/notpip/_internal/pep425tags.py...
def get_darwin_arches(major, minor, machine): error: patch failed: pipenv/patched/notpip/_internal/pep425tags.py:157 |
This makes PEP 479 enabled Pythons (such as 3.7) work again. Otherwise you get: RuntimeError: generator raised StopIteration Fixes pypa#2426
This makes PEP 479 enabled Pythons (such as 3.7) work again. Otherwise you get: RuntimeError: generator raised StopIteration Fixes pypa#2426
This makes PEP 479 enabled Pythons (such as 3.7) work again. Otherwise you get: RuntimeError: generator raised StopIteration Fixes pypa#2426
This makes PEP 479 enabled Pythons (such as 3.7) work again. Otherwise you get: RuntimeError: generator raised StopIteration Fixes pypa#2426
The testuite fails on Python 3.7 due to PEP 479.
$ python -m pipenv.help output
Pipenv version:
'2018.6.26.dev0'
Pipenv location:
'/home/churchyard/Dokumenty/RedHat/pipenv/pipenv'
Python location:
'/home/churchyard/.local/share/virtualenvs/pipenv-7nIhKB6W-3.7/bin/python'
Other Python installations in
PATH
:2.6
:/usr/bin/python2.6
2.6
:/usr/bin/python2.6
2.6
:/bin/python2.6
2.7
:/usr/bin/python2.7
2.7
:/usr/bin/python2.7
2.7
:/bin/python2.7
3.4
:/usr/bin/python3.4m
3.4
:/usr/bin/python3.4
3.4
:/bin/python3.4
3.5
:/usr/bin/python3.5m
3.5
:/usr/bin/python3.5
3.5
:/bin/python3.5
3.6
:/usr/bin/python3.6m
3.6
:/usr/bin/python3.6
3.6
:/bin/python3.6
3.7
:/home/churchyard/.local/share/virtualenvs/pipenv-7nIhKB6W-3.7/bin/python3.7m
3.7
:/home/churchyard/.local/share/virtualenvs/pipenv-7nIhKB6W-3.7/bin/python3.7
3.7
:/usr/bin/python3.7
3.7
:/bin/python3.7
3.7.0
:/home/churchyard/.local/share/virtualenvs/pipenv-7nIhKB6W-3.7/bin/python
2.7.14
:/usr/bin/python
2.7.14
:/bin/python
2.7.14
:/usr/bin/python2
2.7.14
:/bin/python2
3.7.0
:/home/churchyard/.local/share/virtualenvs/pipenv-7nIhKB6W-3.7/bin/python3
3.6.5
:/usr/bin/python3
3.6.5
:/bin/python3
PEP 508 Information:
System environment variables:
PIPENV_PYTHON
LS_COLORS
GIT_PS1_SHOWUNTRACKEDFILES
XDG_MENU_PREFIX
LANG
HISTCONTROL
DISPLAY
GUESTFISH_RESTORE
HOSTNAME
OLDPWD
COLORTERM
GUESTFISH_INIT
XDG_VTNR
CVSROOT
SSH_AUTH_SOCK
GLADE_CATALOG_PATH
XDG_SESSION_ID
XDG_GREETER_DATA_DIR
USER
GLADE_MODULE_PATH
GUESTFISH_PS1
DESKTOP_SESSION
VAGRANT_DEFAULT_PROVIDER
PWD
SSH_ASKPASS
HOME
GIT_PS1_SHOWDIRTYSTATE
SSH_AGENT_PID
LMOD_VERSION
LMOD_SETTARG_CMD
XDG_SESSION_TYPE
BASH_ENV
XDG_DATA_DIRS
AUTOJUMP_ERROR_PATH
XDG_SESSION_DESKTOP
LMOD_sys
GLADE_PIXMAP_PATH
_JAVA_OPTIONS
MAIL
AUTOJUMP_SOURCED
VTE_VERSION
SHELL
TERM
GNOME_KEYRING_CONTROL
XDG_SEAT_PATH
XDG_CURRENT_DESKTOP
SHLVL
XDG_SEAT
MANPATH
WINDOWID
MODULEPATH
GDMSESSION
LOGNAME
DBUS_SESSION_BUS_ADDRESS
XDG_RUNTIME_DIR
XAUTHORITY
MODULEPATH_ROOT
XDG_SESSION_PATH
XDG_CONFIG_DIRS
PATH
GUESTFISH_OUTPUT
PS1
MODULESHOME
HISTSIZE
LMOD_PKG
SESSION_MANAGER
LMOD_CMD
CVS_RSH
LESSOPEN
LMOD_FULL_SETTARG_SUPPORT
LMOD_DIR
BASH_FUNC_module%%
BASH_FUNC_ml%%
_
PYTHONDONTWRITEBYTECODE
PIP_PYTHON_PATH
HELLO
PYPI_VENDOR_DIR
Pipenv–specific environment variables:
PIPENV_PYTHON
:3.7
Debug–specific environment variables:
PATH
:/home/churchyard/.local/share/virtualenvs/pipenv-7nIhKB6W-3.7/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/home/churchyard/.local/bin:/home/churchyard/bin
SHELL
:/bin/bash
LANG
:cs_CZ.utf8
PWD
:/home/churchyard/Dokumenty/RedHat/pipenv
Contents of
Pipfile
('/home/churchyard/Dokumenty/RedHat/pipenv/Pipfile'):Contents of
Pipfile.lock
('/home/churchyard/Dokumenty/RedHat/pipenv/Pipfile.lock'):Expected result
The testsuite should pass, pipenv should work on Python 3.7.
Actual result
Steps to replicate
I run the testuite as:
Or just the failing test:
$ PIPENV_PYTHON=3.7 pipenv run time pytest -v -n auto tests -k test_table
The text was updated successfully, but these errors were encountered: