Bug 1668447 - [abrt] pipenv: do_uninstall(): core.py:2012:do_uninstall:ModuleNotFoundError: No module named 'pipenv.vendor.packaging'
Summary: [abrt] pipenv: do_uninstall(): core.py:2012:do_uninstall:ModuleNotFoundError:...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: pipenv
Version: 29
Hardware: x86_64
OS: Unspecified
unspecified
high
Target Milestone: ---
Assignee: Miro Hrončok
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:9a468151e837915a9d18b88ab07...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-01-22 18:43 UTC by Sander Alberink
Modified: 2019-02-05 02:17 UTC (History)
2 users (show)

Fixed In Version: pipenv-2018.11.26-5.fc29
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-02-05 02:17:29 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (1.96 KB, text/plain)
2019-01-22 18:43 UTC, Sander Alberink
no flags Details
File: cgroup (389 bytes, text/plain)
2019-01-22 18:43 UTC, Sander Alberink
no flags Details
File: cpuinfo (1.42 KB, text/plain)
2019-01-22 18:43 UTC, Sander Alberink
no flags Details
File: environ (7.18 KB, text/plain)
2019-01-22 18:43 UTC, Sander Alberink
no flags Details
File: mountinfo (9.59 KB, text/plain)
2019-01-22 18:43 UTC, Sander Alberink
no flags Details
File: namespaces (129 bytes, text/plain)
2019-01-22 18:43 UTC, Sander Alberink
no flags Details
File: open_fds (244 bytes, text/plain)
2019-01-22 18:43 UTC, Sander Alberink
no flags Details

Description Sander Alberink 2019-01-22 18:43:12 UTC
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'>

Comment 1 Sander Alberink 2019-01-22 18:43:15 UTC
Created attachment 1522490 [details]
File: backtrace

Comment 2 Sander Alberink 2019-01-22 18:43:16 UTC
Created attachment 1522491 [details]
File: cgroup

Comment 3 Sander Alberink 2019-01-22 18:43:17 UTC
Created attachment 1522492 [details]
File: cpuinfo

Comment 4 Sander Alberink 2019-01-22 18:43:19 UTC
Created attachment 1522493 [details]
File: environ

Comment 5 Sander Alberink 2019-01-22 18:43:20 UTC
Created attachment 1522494 [details]
File: mountinfo

Comment 6 Sander Alberink 2019-01-22 18:43:21 UTC
Created attachment 1522495 [details]
File: namespaces

Comment 7 Sander Alberink 2019-01-22 18:43:22 UTC
Created attachment 1522496 [details]
File: open_fds

Comment 9 Fedora Update System 2019-01-23 21:50:44 UTC
pipenv-2018.11.26-4.fc29 has been submitted as an update to Fedora 29. https://bodhi.fedoraproject.org/updates/FEDORA-2019-e28eddd04d

Comment 10 Fedora Update System 2019-01-24 05:31:54 UTC
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

Comment 11 David Bauer 2019-01-24 17:41:26 UTC
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'

Comment 12 Miro Hrončok 2019-01-24 17:49:55 UTC
Thanks for the report. I'll stop that update and fix the fix :(

Comment 13 Miro Hrončok 2019-01-24 19:27:44 UTC
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.

Comment 14 David Bauer 2019-01-26 15:59:56 UTC
The version pipenv-2018.11.26-5.fc30.noarch.rpm fixed the issue.
pipenv uninstall fcm_django was successful without any error.

Comment 15 Fedora Update System 2019-01-27 08:57:40 UTC
pipenv-2018.11.26-5.fc29 has been submitted as an update to Fedora 29. https://bodhi.fedoraproject.org/updates/FEDORA-2019-ef440e9861

Comment 16 Fedora Update System 2019-01-28 02:24:48 UTC
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

Comment 17 Fedora Update System 2019-02-05 02:17:29 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.