pipenv is broken in 22.04 as it is incompatible with python 3.10 and 3.11
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pipenv (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
On Python 3.10 and Python 3.11 does not have `MutableMapping` in the `collections` package any more, so it conflics with the `vendor/requests` provided in the `pipenv` version `11.9.0-2`. A newer version of `pipenv` (e.g. version `2022.11.25` installed via `pip`) works using the same Python versions.
This problem has been discoverd on Ubuntu jammy (22.04) and kinetic (22.10) with Python 3.10 and 3.11.
```
$ python3.10 -m pipenv
Traceback (most recent call last):
File "/usr/lib/
return _run_code(code, main_globals, None,
File "/usr/lib/
exec(code, run_globals)
File "/usr/lib/
cli()
File "/usr/lib/
return self.main(*args, **kwargs)
File "/usr/lib/
with self.make_
File "/usr/lib/
self.
File "/usr/lib/
rest = Command.
File "/usr/lib/
parser = self.make_
File "/usr/lib/
for param in self.get_
File "/usr/lib/
help_option = self.get_
File "/usr/lib/
from .import core
File "/usr/lib/
import requests
File "/usr/lib/
from . import utils
File "/usr/lib/
from .cookies import RequestsCookieJar, cookiejar_from_dict
File "/usr/lib/
class RequestsCookieJ
AttributeError: module 'collections' has no attribute 'MutableMapping'
```
Status changed to 'Confirmed' because the bug affects multiple users.