Bug 1668447
| Summary: | [abrt] pipenv: do_uninstall(): core.py:2012:do_uninstall:ModuleNotFoundError: No module named 'pipenv.vendor.packaging' | ||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Sander Alberink <alberink> | ||||||||||||||||
| Component: | pipenv | Assignee: | Miro Hrončok <mhroncok> | ||||||||||||||||
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||||||||||||
| Severity: | high | Docs Contact: | |||||||||||||||||
| Priority: | unspecified | ||||||||||||||||||
| Version: | 29 | CC: | h3x, mhroncok | ||||||||||||||||
| Target Milestone: | --- | ||||||||||||||||||
| Target Release: | --- | ||||||||||||||||||
| Hardware: | x86_64 | ||||||||||||||||||
| OS: | Unspecified | ||||||||||||||||||
| URL: | https://retrace.fedoraproject.org/faf/reports/bthash/d0f3c2d09273cfb5830324c150e20e891fdcd535 | ||||||||||||||||||
| Whiteboard: | abrt_hash:9a468151e837915a9d18b88ab0775285859ceb02;VARIANT_ID=workstation; | ||||||||||||||||||
| Fixed In Version: | pipenv-2018.11.26-5.fc29 | Doc Type: | If docs needed, set a value | ||||||||||||||||
| Doc Text: | Story Points: | --- | |||||||||||||||||
| Clone Of: | Environment: | ||||||||||||||||||
| Last Closed: | 2019-02-05 02:17:29 UTC | Type: | --- | ||||||||||||||||
| Regression: | --- | Mount Type: | --- | ||||||||||||||||
| Documentation: | --- | CRM: | |||||||||||||||||
| Verified Versions: | Category: | --- | |||||||||||||||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||||||||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||||||||||||
| Embargoed: | |||||||||||||||||||
| Attachments: |
|
||||||||||||||||||
Created attachment 1522490 [details]
File: backtrace
Created attachment 1522491 [details]
File: cgroup
Created attachment 1522492 [details]
File: cpuinfo
Created attachment 1522493 [details]
File: environ
Created attachment 1522494 [details]
File: mountinfo
Created attachment 1522495 [details]
File: namespaces
Created attachment 1522496 [details]
File: open_fds
pipenv-2018.11.26-4.fc29 has been submitted as an update to Fedora 29. https://bodhi.fedoraproject.org/updates/FEDORA-2019-e28eddd04d pipenv-2018.11.26-4.fc29 has been pushed to the Fedora 29 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-e28eddd04d The problem still persist.
Python 3.7.2
pipenv-2018.11.26-4.fc29
/usr/bin/python3 /usr/bin/pipenv uninstall fcm_django
Traceback (most recent call last):
File "/usr/bin/pipenv", line 11, in <module>
load_entry_point('pipenv==2018.11.26', 'console_scripts', 'pipenv')()
File "/usr/lib/python3.7/site-packages/pipenv/vendor/click/core.py", line 764, in __call__
return self.main(*args, **kwargs)
File "/usr/lib/python3.7/site-packages/pipenv/vendor/click/core.py", line 717, in main
rv = self.invoke(ctx)
File "/usr/lib/python3.7/site-packages/pipenv/vendor/click/core.py", line 1137, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/usr/lib/python3.7/site-packages/pipenv/vendor/click/core.py", line 956, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/usr/lib/python3.7/site-packages/pipenv/vendor/click/core.py", line 555, in invoke
return callback(*args, **kwargs)
File "/usr/lib/python3.7/site-packages/pipenv/vendor/click/decorators.py", line 64, in new_func
return ctx.invoke(f, obj, *args, **kwargs)
File "/usr/lib/python3.7/site-packages/pipenv/vendor/click/core.py", line 555, in invoke
return callback(*args, **kwargs)
File "/usr/lib/python3.7/site-packages/pipenv/vendor/click/decorators.py", line 17, in new_func
return f(get_current_context(), *args, **kwargs)
File "/usr/lib/python3.7/site-packages/pipenv/cli/command.py", line 301, in uninstall
ctx=ctx
File "/usr/lib/python3.7/site-packages/pipenv/core.py", line 2012, in do_uninstall
from .vendor.packaging.utils import canonicalize_name
ModuleNotFoundError: No module named 'pipenv.vendor.packaging'
Thanks for the report. I'll stop that update and fix the fix :( https://src.fedoraproject.org/rpms/pipenv/pull-request/14 Any chance you could test the simple koji ci result (on the right side) of that PR? I can eventually get to it, but not fast enough. The version pipenv-2018.11.26-5.fc30.noarch.rpm fixed the issue. pipenv uninstall fcm_django was successful without any error. pipenv-2018.11.26-5.fc29 has been submitted as an update to Fedora 29. https://bodhi.fedoraproject.org/updates/FEDORA-2019-ef440e9861 pipenv-2018.11.26-5.fc29 has been pushed to the Fedora 29 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-ef440e9861 pipenv-2018.11.26-5.fc29 has been pushed to the Fedora 29 stable repository. If problems still persist, please make note of it in this bug report. |
Version-Release number of selected component: pipenv-2018.11.26-1.fc29 Additional info: reporter: libreport-2.9.7 cmdline: /usr/bin/python3 /usr/bin/pipenv uninstall fcm_django crash_function: do_uninstall exception_type: ModuleNotFoundError executable: /usr/bin/pipenv interpreter: python3-3.7.2-1.fc29.x86_64 kernel: 4.19.13-300.fc29.x86_64 runlevel: N 5 type: Python3 uid: 1000 Truncated backtrace: core.py:2012:do_uninstall:ModuleNotFoundError: No module named 'pipenv.vendor.packaging' Traceback (most recent call last): File "/usr/bin/pipenv", line 11, in <module> load_entry_point('pipenv==2018.11.26', 'console_scripts', 'pipenv')() File "/usr/lib/python3.7/site-packages/pipenv/vendor/click/core.py", line 764, in __call__ return self.main(*args, **kwargs) File "/usr/lib/python3.7/site-packages/pipenv/vendor/click/core.py", line 717, in main rv = self.invoke(ctx) File "/usr/lib/python3.7/site-packages/pipenv/vendor/click/core.py", line 1137, in invoke return _process_result(sub_ctx.command.invoke(sub_ctx)) File "/usr/lib/python3.7/site-packages/pipenv/vendor/click/core.py", line 956, in invoke return ctx.invoke(self.callback, **ctx.params) File "/usr/lib/python3.7/site-packages/pipenv/vendor/click/core.py", line 555, in invoke return callback(*args, **kwargs) File "/usr/lib/python3.7/site-packages/pipenv/vendor/click/decorators.py", line 64, in new_func return ctx.invoke(f, obj, *args, **kwargs) File "/usr/lib/python3.7/site-packages/pipenv/vendor/click/core.py", line 555, in invoke return callback(*args, **kwargs) File "/usr/lib/python3.7/site-packages/pipenv/vendor/click/decorators.py", line 17, in new_func return f(get_current_context(), *args, **kwargs) File "/usr/lib/python3.7/site-packages/pipenv/cli/command.py", line 301, in uninstall ctx=ctx File "/usr/lib/python3.7/site-packages/pipenv/core.py", line 2012, in do_uninstall from .vendor.packaging.utils import canonicalize_name ModuleNotFoundError: No module named 'pipenv.vendor.packaging' Local variables in innermost frame: packages: ['fcm_django'] editable_packages: [] three: None python: False system: False lock: True all_dev: False all: False keep_outdated: None pypi_mirror: None ctx: <click.core.Context object at 0x7fb9ec508dd8> PIPENV_USE_SYSTEM: False Requirement: <class 'pipenv.vendor.requirementslib.models.requirements.Requirement'>