Summary
Python 2.7 reached end-of-life in 2020. At this point all of the major Python projects, including packaging and installation tools like setuptools and pip, have dropped support. Dropping support for Python 2.7 will accelerate development of the Python driver and dramatically reduce the maintenance burden.
Note that the 3.x branch of PyMongo, which supports Python 2.7, will continue to receive bug fixes until the second half of 2022.
Motivation
Python 3 was released in 2008 and supported in our driver by 2012. 8 years later, we can now see that 75% of PyMongo downloads are Python 3 and many of the most popular Python libraries have already dropped support for Python 2. Continuing to support Python 2 would have significant development cost and would only benefit a small portion of our users.
Cast of Characters
- Product Owner: Rachelle Palmer
- Project Lead:
- Program Manager: Alexander Golin
- causes
-
PYTHON-2514 Test Failure - SUSE 12 Python 3.4.10 ImportError: No module named 'setuptools'
- Closed
-
PYTHON-2516 Coverage failing: Couldn't combine from non-existent path 'coverage/coverage.*'
- Closed
-
PYTHON-2530 Test failure - MONGODB-AWS Auth Windows: prepare_mongodb_aws.sh: line 2: python3: command not found
- Closed
-
PYTHON-2579 Fix Atlas planned maintenance test runner
- Closed
- is depended on by
-
PYTHON-2387 PyMongo 4.0 Breaking Changes
- Released
-
PYTHON-2444 Remove code that manually reties on EINTR
- Backlog
-
PYTHON-2503 Use time.monotonic always
- Closed
-
PYTHON-2505 Always use match_hostname from the ssl module
- Closed
- is related to
-
PYTHON-2190 In-place C extensions cannot be loaded on macOS with Python 2.7
- Closed
-
PYTHON-2187 Remove easy_install from documentation
- Backlog
-
PYTHON-2517 Remove any Jython specific code or workarounds
- Backlog
-
PYTHON-2435 Add task that runs the test suite with a lower sys.setswitchinterval
- Backlog
-
PYTHON-1322 Rename py3compat.py to py2compat.py
- Closed
-
PYTHON-1908 Drop Jython
- Closed
-
PYTHON-2437 Rely on venv instead of virtualenv
- Closed
- mentioned in
-
Page Loading...