-
-
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
ast_unparse - AttributeError: 'Name' object has no attribute 'update' #4357
Comments
I have encountered the same issue.
Has this issue fixed? Or some way to walk around? |
I downgraded to |
Ubuntu 20.04LTS installed pipenv 2020.8.13 that had the same Attribute error issue with the svn [package] trachtmlnotification = {svn = "https://trac-hacks.org/svn/trachtmlnotificationplugin/0.12"} I downgraded to pipenv==2018.11.26 and that resolved the issue. I hope this info will help resolve the issue. I also note that -v option is much more informative in the older release.
|
I can't reproduce either case with normal installation by pip. It may be a downstream packaging issue. You can try reporting it to Ubuntu. |
What python 2 are you using? This was using the system python2 2.7.18 and a virtualenv 2.7.17 |
I traced the code and it seems like this can happen if both the first iteration would set |
Fixed on v2021.11.5 |
* Fix uplink with Python 2.7 * Switch on six.moves.collections_abc * Add abc in __all__ * Add link to GitHub Discussions for repo in README * Update "Question" GitHub issue template * Fix @uplink.*Map to not throw error if converter is None Fixes #221 * Fix B018 flake error Flake is failing with "B018 Found useless expression." https://app.travis-ci.com/github/prkumar/uplink/jobs/553555288 * Add 3.9 and 3.10.1 to travis build (#239) * Add 3.9 and 3.10 to travis build * Replace 3.10 with 3.10-dev * Update travis to use Ubuntu 18.04 18.04 has 3.10.0 and 3.10.1 according to: https://docs.travis-ci.com/user/languages/python/ * Bump python 3.10 to 3.10.1 in travis * Unpin pytest version Travis build for 3.10.1 failed because of issue in pytest that was fixed in a later release: pytest-dev/pytest#8540 * Fix uplink with Python 2.7 * Switch on six.moves.collections_abc * Add abc in __all__ * Add python 2.7 to travis build * Omit "keywords" attribute when invoking setup for py2.7 Context: pypa/pipenv#4357 (comment) * Pin pipenv==2018.11.26 for py2.7 travis build Context: pypa/pipenv#4357 (comment) * Fix syntax error in travis config file * Try pinning pipenv version in tox.ini * Make integration tests work with py2.7 * Make integration tests work with py2.7 * Fix flake8 E231 error Co-authored-by: P. Raj Kumar <raj.pritvi.kumar@gmail.com> Co-authored-by: Alexander Shadchinr <shadchin@users.noreply.github.com>
Issue description
I recently installed Ubuntu 20.04 from scratch (reformatted the hard disk, etc.). I verified there were no files named
pipenv*
anywhere on the system -- including~/.cache/
.I've included the full traceback.
Expected result
I expecte
pipenv
toupdate
Actual result
It didn't update.
Steps to replicate
$ pipenv --support
Pipenv version:
'2020.6.2'
Pipenv location:
'/home/kjcole/.local/lib/python3.8/site-packages/pipenv'
Python location:
'/usr/bin/python3'
Python installations found:
3.8.2
:/usr/bin/python3.8
3.8.2
:/usr/bin/python3
3.8.2
:/bin/python3.8
3.8.2
:/bin/python3
2.7.18
:/usr/bin/python2.7
2.7.18
:/usr/bin/python2
2.7.18
:/bin/python2.7
2.7.18
:/bin/python2
PEP 508 Information:
System environment variables:
SHELL
SESSION_MANAGER
WINDOWID
QT_ACCESSIBILITY
COLORTERM
BYOBU_PYTHON
XDG_CONFIG_DIRS
LESS
XDG_SESSION_PATH
BYOBU_HIGHLIGHT
LANGUAGE
MANDATORY_PATH
SSH_AUTH_SOCK
MOST_SWITCHES
BYOBU_DATE
SHELL_SESSION_ID
DEBFULLNAME
DESKTOP_SESSION
SSH_AGENT_PID
GTK_RC_FILES
BYOBU_CONFIG_DIR
GPG_TTY
EDITOR
XDG_SEAT
PWD
XDG_SESSION_DESKTOP
LOGNAME
XDG_SESSION_TYPE
DSSI_PATH
GPG_AGENT_INFO
XAUTHORITY
FONT_HOME
BYOBU_EDITOR
VIRTUALENVWRAPPER_VIRTUALENV
GTK2_RC_FILES
HOME
SSH_ASKPASS
LANG
VST_PATH
LS_COLORS
XDG_CURRENT_DESKTOP
KONSOLE_DBUS_SERVICE
BYOBU_ULIMIT
BYOBU_BACKEND
BYOBU_ACCENT
KONSOLE_DBUS_SESSION
PROFILEHOME
DEBEMAIL
XDG_SEAT_PATH
VIRTUALENVWRAPPER_PYTHON
OPENSCADPATH
KONSOLE_VERSION
BYOBU_DARK
BYOBU_PAGER
KDE_SESSION_UID
WORKON_HOME
LESSCLOSE
XDG_SESSION_CLASS
BYOBU_SED
TERM
DEFAULTS_PATH
LESSOPEN
LIBVIRT_DEFAULT_URI
USER
COLORFGBG
KDE_SESSION_VERSION
PAM_KWALLET5_LOGIN
BYOBU_PREFIX
DISPLAY
SHLVL
BYOBU_LIGHT
PAGER
BYOBU_TIME
XDG_VTNR
BYOBU_WINDOW_NAME
XDG_SESSION_ID
BYOBU_READLINK
BYOBU_DISTRO
XDG_RUNTIME_DIR
QT_AUTO_SCREEN_SCALE_FACTOR
XCURSOR_THEME
XDG_DATA_DIRS
KDE_FULL_SESSION
PATH
DBUS_SESSION_BUS_ADDRESS
LV2_PATH
EMSDK
WASMER_DIR
OLDPWD
LADSPA_PATH
BYOBU_RUN_DIR
CADENCE_AUTO_STARTED
_
PIP_DISABLE_PIP_VERSION_CHECK
PYTHONDONTWRITEBYTECODE
PIP_SHIMS_BASE_MODULE
PIP_PYTHON_PATH
PYTHONFINDER_IGNORE_UNSUPPORTED
Pipenv–specific environment variables:
Debug–specific environment variables:
PATH
:/home/kjcole/Packages/AUR/emsdk/src/emsdk-portable:/home/kjcole/.cargo/bin:/home/kjcole/.cabal/bin:/home/kjcole/.cask/bin:/home/kjcole/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/home/kjcole/.local/bin
SHELL
:/bin/bash
EDITOR
:emacs -nw
LANG
:en_US.UTF-8
PWD
:/home/kjcole/gits/novaweb/rerc/SoundAdvice/pythonqt
Contents of
Pipfile
('/home/kjcole/gits/novaweb/rerc/SoundAdvice/pythonqt/Pipfile'):The text was updated successfully, but these errors were encountered: