diff --git a/.github/workflows/_build_test_upload.yml b/.github/workflows/_build_test_upload.yml index 82e53ec02..aa7f800e0 100644 --- a/.github/workflows/_build_test_upload.yml +++ b/.github/workflows/_build_test_upload.yml @@ -63,7 +63,6 @@ jobs: os: - windows-latest python-version: - - 3.8 - 3.9 - "3.10" - "3.11" @@ -224,7 +223,6 @@ jobs: os: - windows-latest python-version: - - 3.8 - 3.9 - "3.10" - "3.11" @@ -366,10 +364,10 @@ jobs: needs: [get_release_type, wheel_upload, conda_upload] runs-on: ubuntu-latest steps: - - name: Setup Python 3.8 + - name: Setup Python 3.9 uses: actions/setup-python@v4 with: - python-version: 3.8 + python-version: 3.9 - name: Checkout uses: actions/checkout@v3 with: diff --git a/.github/workflows/aistore_ci.yml b/.github/workflows/aistore_ci.yml index cb9bd7c74..f5b0abb2d 100644 --- a/.github/workflows/aistore_ci.yml +++ b/.github/workflows/aistore_ci.yml @@ -24,7 +24,6 @@ jobs: - macos-latest - ubuntu-latest python-version: - - 3.8 - 3.9 steps: - name: Get PyTorch Channel diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ba0d1cb9f..d31b17556 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -25,9 +25,10 @@ jobs: - ubuntu-latest - windows-latest python-version: - - 3.8 - 3.9 - "3.10" + - "3.11" + - "3.12" steps: - name: Get PyTorch Channel shell: bash diff --git a/.github/workflows/domain_ci.yml b/.github/workflows/domain_ci.yml index 4791f9333..c7c2961c7 100644 --- a/.github/workflows/domain_ci.yml +++ b/.github/workflows/domain_ci.yml @@ -64,7 +64,6 @@ jobs: - ubuntu-latest # - windows-latest python-version: - - 3.8 - 3.9 steps: - name: Setup Python ${{ matrix.python-version }} diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 247235682..af1bfaff4 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -15,7 +15,7 @@ jobs: - name: Setup Python uses: actions/setup-python@v4 with: - python-version: "3.8" + python-version: "3.9" - name: Check out source repository uses: actions/checkout@v3 - name: Install lint utilities @@ -45,7 +45,7 @@ jobs: - name: Setup Python environment uses: actions/setup-python@v4 with: - python-version: 3.8 + python-version: 3.9 - name: Check out source repository uses: actions/checkout@v3 - name: Install PyTorch @@ -81,7 +81,7 @@ jobs: - name: Setup Python uses: actions/setup-python@v4 with: - python-version: "3.8" + python-version: "3.9" - name: Check out source repository uses: actions/checkout@v3 - name: Check if documentation is complete diff --git a/.github/workflows/stateful_dataloader_ci.yml b/.github/workflows/stateful_dataloader_ci.yml index 56fe00671..07070038c 100644 --- a/.github/workflows/stateful_dataloader_ci.yml +++ b/.github/workflows/stateful_dataloader_ci.yml @@ -25,9 +25,10 @@ jobs: - ubuntu-latest - windows-latest python-version: - - 3.8 - 3.9 - "3.10" + - "3.11" + - "3.12" steps: - name: Get PyTorch Channel shell: bash diff --git a/README.md b/README.md index 2dcbb0999..b083b40a9 100644 --- a/README.md +++ b/README.md @@ -43,7 +43,7 @@ The following is the corresponding `torchdata` versions and supported Python ver | `torch` | `torchdata` | `python` | | -------------------- | ------------------ | ----------------- | -| `master` / `nightly` | `main` / `nightly` | `>=3.8`, `<=3.12` | +| `master` / `nightly` | `main` / `nightly` | `>=3.9`, `<=3.12` | | `2.4.0` | `0.8.0` | `>=3.8`, `<=3.12` | | `2.0.0` | `0.6.0` | `>=3.8`, `<=3.11` | | `1.13.1` | `0.5.1` | `>=3.7`, `<=3.10` | diff --git a/mypy.ini b/mypy.ini index b41e291aa..2ae34b73d 100644 --- a/mypy.ini +++ b/mypy.ini @@ -10,7 +10,7 @@ files = torchdata exclude = examples, test, packaging -python_version = 3.8 +python_version = 3.9 # # Third party dependencies that don't have types. diff --git a/pyproject.toml b/pyproject.toml index 65ed1522b..136189c7d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -5,7 +5,7 @@ first_party_detection = false [tool.black] line-length = 120 -target-version = ["py37"] +target-version = ["py39"] [build-system] requires = [ diff --git a/setup.py b/setup.py index 13cdc42e1..726b1da9d 100644 --- a/setup.py +++ b/setup.py @@ -164,17 +164,17 @@ def remove_extension(pattern): author_email="packages@pytorch.org", license="BSD", install_requires=requirements, - python_requires=">=3.8", + python_requires=">=3.9", classifiers=[ "Intended Audience :: Developers", "Intended Audience :: Science/Research", "License :: OSI Approved :: BSD License", "Operating System :: MacOS :: MacOS X", "Operating System :: Microsoft :: Windows", - "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", "Programming Language :: Python :: Implementation :: CPython", "Topic :: Scientific/Engineering :: Artificial Intelligence", ],