Skip to content

Commit 060d951

Browse files
committed
bump python 3.9+
1 parent 61a403a commit 060d951

File tree

6 files changed

+7
-9
lines changed

6 files changed

+7
-9
lines changed

.github/workflows/_legacy-checkpoints.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ jobs:
6060
- uses: actions/setup-python@v5
6161
with:
6262
# Python version here needs to be supported by all PL versions listed in back-compatible-versions.txt.
63-
python-version: 3.8
63+
python-version: "3.9"
6464

6565
- name: Install PL from source
6666
env:

docs/source-pytorch/accelerators/tpu_faq.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,9 @@ Unsupported datatype transfer to TPUs?
4040

4141
.. code-block::
4242
43-
File "/usr/local/lib/python3.8/dist-packages/torch_xla/utils/utils.py", line 205, in _for_each_instance_rewrite
43+
File "/usr/local/lib/python3.9/dist-packages/torch_xla/utils/utils.py", line 205, in _for_each_instance_rewrite
4444
v = _for_each_instance_rewrite(result.__dict__[k], select_fn, fn, rwmap)
45-
File "/usr/local/lib/python3.8/dist-packages/torch_xla/utils/utils.py", line 206, in _for_each_instance_rewrite
45+
File "/usr/local/lib/python3.9/dist-packages/torch_xla/utils/utils.py", line 206, in _for_each_instance_rewrite
4646
result.__dict__[k] = v
4747
TypeError: 'mappingproxy' object does not support item assignment
4848

docs/source-pytorch/advanced/post_training_quantization.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ Installation
3333
Prerequisites
3434
=============
3535

36-
Python version: 3.8, 3.9, 3.10
36+
Python version: 3.9, 3.10
3737

3838
Install Intel® Neural Compressor
3939
================================

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ ignore-words-list = "te, compiletime"
4444

4545
[tool.ruff]
4646
line-length = 120
47-
target-version = "py38"
47+
target-version = "py39"
4848
# Exclude a variety of commonly ignored directories.
4949
exclude = [
5050
".git",

src/lightning_fabric/__setup__.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ def _setup_args() -> Dict[str, Any]:
7373
"include_package_data": True,
7474
"zip_safe": False,
7575
"keywords": ["deep learning", "pytorch", "AI"],
76-
"python_requires": ">=3.8",
76+
"python_requires": ">=3.9",
7777
"setup_requires": ["wheel"],
7878
"install_requires": assistant.load_requirements(
7979
_PATH_REQUIREMENTS, unfreeze="none" if _FREEZE_REQUIREMENTS else "all"
@@ -105,7 +105,6 @@ def _setup_args() -> Dict[str, Any]:
105105
# Specify the Python versions you support here. In particular, ensure
106106
# that you indicate whether you support Python 2, Python 3 or both.
107107
"Programming Language :: Python :: 3",
108-
"Programming Language :: Python :: 3.8",
109108
"Programming Language :: Python :: 3.9",
110109
"Programming Language :: Python :: 3.10",
111110
"Programming Language :: Python :: 3.11",

src/pytorch_lightning/__setup__.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ def _setup_args() -> Dict[str, Any]:
8080
"long_description_content_type": "text/markdown",
8181
"zip_safe": False,
8282
"keywords": ["deep learning", "pytorch", "AI"],
83-
"python_requires": ">=3.8",
83+
"python_requires": ">=3.9",
8484
"setup_requires": ["wheel"],
8585
# TODO: aggregate pytorch and lite requirements as we include its source code directly in this package.
8686
# this is not a problem yet because lite's base requirements are all included in pytorch's base requirements
@@ -107,7 +107,6 @@ def _setup_args() -> Dict[str, Any]:
107107
"Operating System :: OS Independent",
108108
# Specify the Python versions you support here.
109109
"Programming Language :: Python :: 3",
110-
"Programming Language :: Python :: 3.8",
111110
"Programming Language :: Python :: 3.9",
112111
"Programming Language :: Python :: 3.10",
113112
"Programming Language :: Python :: 3.11",

0 commit comments

Comments
 (0)