Skip to content

Commit 2fdf707

Browse files
authored
PYTHON-4507 [v4.8] pip>=21.3 is required for editable installs (#1711)
1 parent 5139adb commit 2fdf707

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

doc/changelog.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ Unavoidable breaking changes
2020

2121
- Since we are now using ``hatch`` as our build backend, we no longer have a usable ``setup.py`` file
2222
and require installation using ``pip``. Attempts to invoke the ``setup.py`` file will raise an exception.
23+
Additionally, ``pip`` >= 21.3 is now required for editable installs.
2324

2425
Changes in Version 4.7.3
2526
-------------------------

setup.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
from __future__ import annotations
22

3-
msg = "PyMongo>=4.8 no longer supports building via setup.py, use python -m pip install <path/to/pymongo> instead"
3+
msg = (
4+
"PyMongo>=4.8 no longer supports building via setup.py, use python -m pip install <path/to/pymongo> instead. If "
5+
"this is an editable install (-e) please upgrade to pip>=21.3 first: python -m pip install --upgrade pip"
6+
)
47

58
raise RuntimeError(msg)

0 commit comments

Comments
 (0)