Skip to content

Commit ce6efc8

Browse files
authored
Drop Python 3.4 support (#2143)
1 parent c746322 commit ce6efc8

File tree

17 files changed

+18
-71
lines changed

17 files changed

+18
-71
lines changed

.github/workflows/check.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ jobs:
3434
- pypy2
3535
include:
3636
- { os: macos-latest, py: brew@py3 }
37-
- { os: "ubuntu-18.04", py: 3.4.10 }
3837
steps:
3938
- name: Install OS dependencies
4039
run: |

docs/changelog/2141.removal.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Drop python ``3.4`` support as it has been over 2 years since EOL - by :user:`gaborbernat`.

docs/installation.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,8 +88,8 @@ Python and OS Compatibility
8888

8989
virtualenv works with the following Python interpreter implementations:
9090

91-
- `CPython <https://www.python.org/>`_ versions 2.7, 3.4, 3.5, 3.6, 3.7, 3.8, 3.9
92-
- `PyPy <https://pypy.org/>`_ 2.7 and 3.4+.
91+
- `CPython <https://www.python.org/>`_ versions 2.7, 3.5, 3.6, 3.7, 3.8, 3.9, 3.10
92+
- `PyPy <https://pypy.org/>`_ 2.7 and 3.5+.
9393

9494
This means virtualenv works on the latest patch version of each of these minor versions. Previous patch versions are
9595
supported on a best effort approach.

docs/user_guide.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ at the moment has two types of virtual environments:
106106

107107
- ``venv`` - this delegates the creation process towards the ``venv`` module, as described in
108108
`PEP 405 <https://www.python.org/dev/peps/pep-0405>`_. This is only available on Python interpreters having version
109-
``3.4`` or later, and also has the downside that virtualenv **must** create a process to invoke that module (unless
109+
``3.5`` or later, and also has the downside that virtualenv **must** create a process to invoke that module (unless
110110
virtualenv is installed in the system python), which can be an expensive operation (especially true on Windows).
111111

112112
- ``builtin`` - this means ``virtualenv`` is able to do the creation operation itself (by knowing exactly what files to

setup.cfg

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ classifiers =
2121
Programming Language :: Python :: 2
2222
Programming Language :: Python :: 2.7
2323
Programming Language :: Python :: 3
24-
Programming Language :: Python :: 3.4
2524
Programming Language :: Python :: 3.5
2625
Programming Language :: Python :: 3.6
2726
Programming Language :: Python :: 3.7
@@ -48,7 +47,7 @@ install_requires =
4847
importlib-metadata>=0.12;python_version<"3.8"
4948
importlib-resources>=1.0;python_version<"3.7"
5049
pathlib2>=2.3.3,<3;python_version < '3.4' and sys.platform != 'win32'
51-
python_requires = >=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*
50+
python_requires = >=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*
5251
package_dir =
5352
=src
5453
zip_safe = True

src/virtualenv/discovery/cached_py_info.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ def from_exe(cls, app_data, exe, env=None, raise_on_error=True, ignore_cache=Fal
3737

3838
def _get_from_cache(cls, app_data, exe, env, ignore_cache=True):
3939
# note here we cannot resolve symlinks, as the symlink may trigger different prefix information if there's a
40-
# pyenv.cfg somewhere alongside on python3.4+
40+
# pyenv.cfg somewhere alongside on python3.5+
4141
exe_path = Path(exe)
4242
if not ignore_cache and exe_path in _CACHE: # check in the in-memory cache
4343
result = _CACHE[exe_path]

src/virtualenv/seed/wheels/embed/__init__.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,6 @@
3535
"setuptools": "setuptools-50.3.2-py3-none-any.whl",
3636
"wheel": "wheel-0.36.2-py2.py3-none-any.whl",
3737
},
38-
"3.4": {
39-
"pip": "pip-19.1.1-py2.py3-none-any.whl",
40-
"setuptools": "setuptools-43.0.0-py2.py3-none-any.whl",
41-
"wheel": "wheel-0.33.6-py2.py3-none-any.whl",
42-
},
4338
"2.7": {
4439
"pip": "pip-20.3.4-py2.py3-none-any.whl",
4540
"setuptools": "setuptools-44.1.1-py2.py3-none-any.whl",
Binary file not shown.
Binary file not shown.
Binary file not shown.

0 commit comments

Comments
 (0)