Skip to content

Commit

Permalink
Bump python version requirement to 3.9
Browse files Browse the repository at this point in the history
Keras-core now requires at least 3.9, and tf 2.14 (out imminently) will
require 3.9 as well.

We should follow suit for cv/nlp.
  • Loading branch information
mattdangerw committed Sep 18, 2023
1 parent 0cff8e2 commit 2707f90
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 14 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.8
- name: Set up Python 3.9
uses: actions/setup-python@v1
with:
python-version: 3.8
python-version: 3.9
- name: Get pip cache dir
id: pip-cache
run: |
Expand Down Expand Up @@ -52,10 +52,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.8
- name: Set up Python 3.9
uses: actions/setup-python@v1
with:
python-version: 3.8
python-version: 3.9
- name: Get pip cache dir
id: pip-cache
run: |
Expand Down Expand Up @@ -99,10 +99,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.8
- name: Set up Python 3.9
uses: actions/setup-python@v1
with:
python-version: 3.8
python-version: 3.9
- name: Get pip cache dir
id: pip-cache
run: |
Expand Down
8 changes: 2 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,10 @@ jobs:
# To switch on windows-2022/latest, please verify the bazel version:
# https://github.com/bazelbuild/bazel/issues/14232#issuecomment-1011247429
os: ['macos-12', 'windows-2019', 'ubuntu-18.04']
py-version: ['3.8', '3.9', '3.10', '3.11']
py-version: ['3.9', '3.10', '3.11']
tf-version: ['2.13.0']
use-macos-arm: [false]
include:
- os: 'macos-12'
tf-version: '2.13.0'
py-version: '3.8'
use-macos-arm: true
- os: 'macos-12'
tf-version: '2.13.0'
py-version: '3.9'
Expand Down Expand Up @@ -100,7 +96,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v1
with:
python-version: 3.8
python-version: 3.9
- name: Build wheels
run: |
pip install tensorflow==2.13.0
Expand Down
3 changes: 1 addition & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,11 +70,10 @@ def is_pure(self):
},
distclass=BinaryDistribution,
# Supported Python versions
python_requires=">=3.8",
python_requires=">=3.9",
classifiers=[
"Development Status :: 3 - Alpha",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
Expand Down

0 comments on commit 2707f90

Please sign in to comment.