Skip to content

Commit

Permalink
update python versions
Browse files Browse the repository at this point in the history
  • Loading branch information
Nate Parsons committed Feb 22, 2024
1 parent 17a7aa5 commit 7aaffa6
Show file tree
Hide file tree
Showing 7 changed files with 15 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/entry_point_with_latest_deps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/install_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/latest_dependency_checker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/optional_primitive_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/unit_tests_with_latest_deps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand All @@ -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:
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -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",
Expand Down
4 changes: 4 additions & 0 deletions release_notes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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`)

Expand Down

0 comments on commit 7aaffa6

Please sign in to comment.