From 7aaffa6aa7a2ba8e811a37d10bed8dc61f803190 Mon Sep 17 00:00:00 2001 From: Nate Parsons Date: Thu, 22 Feb 2024 09:01:52 -0600 Subject: [PATCH] update python versions --- .github/workflows/entry_point_with_latest_deps.yml | 2 +- .github/workflows/install_test.yml | 2 +- .github/workflows/latest_dependency_checker.yml | 4 ++-- .github/workflows/optional_primitive_test.yml | 2 +- .github/workflows/unit_tests_with_latest_deps.yml | 8 ++++---- pyproject.toml | 4 ++-- release_notes.rst | 4 ++++ 7 files changed, 15 insertions(+), 11 deletions(-) diff --git a/.github/workflows/entry_point_with_latest_deps.yml b/.github/workflows/entry_point_with_latest_deps.yml index d417756d..6b8220d1 100644 --- a/.github/workflows/entry_point_with_latest_deps.yml +++ b/.github/workflows/entry_point_with_latest_deps.yml @@ -13,7 +13,7 @@ jobs: strategy: fail-fast: false matrix: - python_version: ["3.8", "3.9", "3.10"] + python_version: ["3.9", "3.10", "3.11"] featuretools_version: ["Release", "Main"] steps: - name: Set up python ${{ matrix.python_version }} diff --git a/.github/workflows/install_test.yml b/.github/workflows/install_test.yml index df1c81b2..b1a36bb3 100644 --- a/.github/workflows/install_test.yml +++ b/.github/workflows/install_test.yml @@ -13,7 +13,7 @@ jobs: fail-fast: false matrix: os: [ubuntu-latest, macos-latest, windows-latest] - python_version: ["3.8", "3.9", "3.10"] + python_version: ["3.9", "3.10", "3.11"] exclude: - python_version: "3.10" os: macos-latest diff --git a/.github/workflows/latest_dependency_checker.yml b/.github/workflows/latest_dependency_checker.yml index 7cba92b8..c60363c2 100644 --- a/.github/workflows/latest_dependency_checker.yml +++ b/.github/workflows/latest_dependency_checker.yml @@ -9,10 +9,10 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - - name: Set up Python 3.8 + - name: Set up Python 3.11 uses: actions/setup-python@v2 with: - python-version: '3.8.x' + python-version: '3.11.x' - name: Install pip and virtualenv run: | python -m pip install --upgrade pip diff --git a/.github/workflows/optional_primitive_test.yml b/.github/workflows/optional_primitive_test.yml index fde0e6c3..a4752b6e 100644 --- a/.github/workflows/optional_primitive_test.yml +++ b/.github/workflows/optional_primitive_test.yml @@ -13,7 +13,7 @@ jobs: strategy: fail-fast: false matrix: - python_version: ["3.8", "3.9", "3.10"] + python_version: ["3.9", "3.10", "3.11"] featuretools_version: ["Release", "Main"] steps: - name: Set up python ${{ matrix.python_version }} diff --git a/.github/workflows/unit_tests_with_latest_deps.yml b/.github/workflows/unit_tests_with_latest_deps.yml index 87fa5fe0..8d68c9e1 100644 --- a/.github/workflows/unit_tests_with_latest_deps.yml +++ b/.github/workflows/unit_tests_with_latest_deps.yml @@ -14,7 +14,7 @@ jobs: fail-fast: false matrix: os: [ubuntu-latest, macos-latest] - python_version: ["3.8", "3.9", "3.10"] + python_version: ["3.9", "3.10", "3.11"] featuretools_version: ["release", "main"] steps: - name: Set up python ${{ matrix.python_version }} @@ -40,15 +40,15 @@ jobs: run: | make installdeps-complete make installdeps-test - - if: ${{ matrix.python_version != 3.8 || matrix.featuretools_version != 'main' }} + - if: ${{ matrix.python_version != 3.9 || matrix.featuretools_version != 'main' }} name: Run unit tests with no code coverage run: | make test - - if: ${{ matrix.python_version == 3.8 && matrix.featuretools_version == 'main' }} + - if: ${{ matrix.python_version == 3.9 && matrix.featuretools_version == 'main' }} name: Run unit tests with code coverage run: | pytest nlp_primitives/ --cov=nlp_primitives/ --cov-config=pyproject.toml --cov-report=xml:coverage.xml - - if: ${{ matrix.python_version == 3.8 && matrix.featuretools_version == 'main' }} + - if: ${{ matrix.python_version == 3.9 && matrix.featuretools_version == 'main' }} name: Upload coverage to Codecov uses: codecov/codecov-action@v3 with: diff --git a/pyproject.toml b/pyproject.toml index cbf59df9..3818b4ac 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -18,9 +18,9 @@ classifiers = [ "Topic :: Scientific/Engineering", "Programming Language :: Python", "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", "Operating System :: Microsoft :: Windows", "Operating System :: POSIX", "Operating System :: Unix", @@ -34,7 +34,7 @@ maintainers = [ ] keywords = ["feature engineering", "data science", "machine learning", "natural language processing"] license = {text = "BSD 3-clause"} -requires-python = ">=3.8,<4" +requires-python = ">=3.9,<4" dependencies = [ "numpy >= 1.17.5", "pandas >= 1.3.0", diff --git a/release_notes.rst b/release_notes.rst index ceb0cf97..af811348 100644 --- a/release_notes.rst +++ b/release_notes.rst @@ -4,8 +4,12 @@ Changelog Future Release ============== + .. warning:: + This release of nlp-primitives will not support Python 3.8 + * Fixes * Changes + * Remove support for Python 3.8 and add support for 3.11 (:pr:`269`) * Testing Changes * Update ``release.yaml`` to use trusted publisher for PyPI releases (:pr:`269`)