From 70eea27f415a07d67e4cde0f7683ca088f8a47e1 Mon Sep 17 00:00:00 2001 From: Nate Parsons <4307001+thehomebrewnerd@users.noreply.github.com> Date: Mon, 6 May 2024 10:03:01 -0500 Subject: [PATCH] Add support for Python 3.12 (#2713) * Add support for Python 3.12 * update release notes --- .github/workflows/build_docs.yaml | 2 +- .github/workflows/install_test.yaml | 2 +- .github/workflows/lint_check.yaml | 2 +- .github/workflows/tests_with_latest_deps.yaml | 4 ++-- .github/workflows/tests_with_woodwork_main_branch.yaml | 2 +- docs/source/install.md | 2 +- docs/source/release_notes.rst | 1 + pyproject.toml | 1 + 8 files changed, 9 insertions(+), 7 deletions(-) diff --git a/.github/workflows/build_docs.yaml b/.github/workflows/build_docs.yaml index 05d4b104b6..94a07dbda6 100644 --- a/.github/workflows/build_docs.yaml +++ b/.github/workflows/build_docs.yaml @@ -16,7 +16,7 @@ jobs: strategy: fail-fast: false matrix: - python_version: ["3.9", "3.10", "3.11"] + python_version: ["3.9", "3.10", "3.11", "3.12"] steps: - name: Checkout repository uses: actions/checkout@v3 diff --git a/.github/workflows/install_test.yaml b/.github/workflows/install_test.yaml index 124c81a12f..82df39c499 100644 --- a/.github/workflows/install_test.yaml +++ b/.github/workflows/install_test.yaml @@ -14,7 +14,7 @@ jobs: fail-fast: false matrix: os: [ubuntu-latest, macos-latest, windows-latest] - python_version: ["3.9", "3.10", "3.11"] + python_version: ["3.9", "3.10", "3.11", "3.12"] runs-on: ${{ matrix.os }} steps: - name: Checkout repository diff --git a/.github/workflows/lint_check.yaml b/.github/workflows/lint_check.yaml index 7c6b6f1fe4..eae03e53d6 100644 --- a/.github/workflows/lint_check.yaml +++ b/.github/workflows/lint_check.yaml @@ -12,7 +12,7 @@ jobs: strategy: fail-fast: false matrix: - python_version: ["3.11"] + python_version: ["3.12"] steps: - name: Checkout repository uses: actions/checkout@v3 diff --git a/.github/workflows/tests_with_latest_deps.yaml b/.github/workflows/tests_with_latest_deps.yaml index 451ff0d653..5b7c24f278 100644 --- a/.github/workflows/tests_with_latest_deps.yaml +++ b/.github/workflows/tests_with_latest_deps.yaml @@ -13,7 +13,7 @@ jobs: strategy: fail-fast: false matrix: - python_version: ["3.9", "3.10", "3.11"] + python_version: ["3.9", "3.10", "3.11", "3.12"] steps: - uses: actions/setup-python@v4 @@ -63,7 +63,7 @@ jobs: strategy: fail-fast: false matrix: - python_version: ["3.9", "3.10", "3.11"] + python_version: ["3.9", "3.10", "3.11", "3.12"] steps: - name: Download miniconda shell: pwsh diff --git a/.github/workflows/tests_with_woodwork_main_branch.yaml b/.github/workflows/tests_with_woodwork_main_branch.yaml index 9f55cc0627..54563901d3 100644 --- a/.github/workflows/tests_with_woodwork_main_branch.yaml +++ b/.github/workflows/tests_with_woodwork_main_branch.yaml @@ -9,7 +9,7 @@ jobs: strategy: fail-fast: true matrix: - python_version: ["3.9", "3.10", "3.11"] + python_version: ["3.9", "3.10", "3.11", "3.12"] steps: - uses: actions/setup-python@v4 diff --git a/docs/source/install.md b/docs/source/install.md index a3f50a9118..83b29fa8d7 100644 --- a/docs/source/install.md +++ b/docs/source/install.md @@ -1,6 +1,6 @@ # Install -Featuretools is available for Python 3.9 - 3.11. It can be installed from [pypi](https://pypi.org/project/featuretools/), [conda-forge](https://anaconda.org/conda-forge/featuretools), or from [source](https://github.com/alteryx/featuretools). +Featuretools is available for Python 3.9 - 3.12. It can be installed from [pypi](https://pypi.org/project/featuretools/), [conda-forge](https://anaconda.org/conda-forge/featuretools), or from [source](https://github.com/alteryx/featuretools). To install Featuretools, run the following command: diff --git a/docs/source/release_notes.rst b/docs/source/release_notes.rst index c4f1ebfc95..7df1fed779 100644 --- a/docs/source/release_notes.rst +++ b/docs/source/release_notes.rst @@ -6,6 +6,7 @@ Release Notes Future Release ============== * Enhancements + * Add support for Python 3.12 (:pr:`2713`) * Fixes * Move ``flatten_list`` util function into ``feature_discovery`` module to fix import bug (:pr:`2702`) * Changes diff --git a/pyproject.toml b/pyproject.toml index 266443528d..3af882e610 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -14,6 +14,7 @@ classifiers = [ "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", "Operating System :: Microsoft :: Windows", "Operating System :: POSIX", "Operating System :: Unix",