Skip to content

Commit

Permalink
Add Python 3.12 release
Browse files Browse the repository at this point in the history
Use Python 3.12 in regular CI
  • Loading branch information
Tombana committed Jun 20, 2024
1 parent 75e1d37 commit 207e642
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 12 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: 3.9
python-version: 3.12
- uses: actions/cache@v4
id: cache
with:
Expand Down Expand Up @@ -94,7 +94,7 @@ jobs:
fetch-depth: 0
- uses: actions/setup-python@v5
with:
python-version: 3.9
python-version: 3.12
- uses: actions/cache@v4
id: cache
with:
Expand Down Expand Up @@ -137,7 +137,7 @@ jobs:
runs-on: macos-13
strategy:
matrix:
python-version: ["3.10", 3.11]
python-version: ["3.10", 3.11, 3.12]
fail-fast: false
steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -182,7 +182,7 @@ jobs:
runs-on: macos-14
strategy:
matrix:
python-version: ["3.10", 3.11]
python-version: ["3.10", 3.11, 3.12]
fail-fast: false
steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -227,7 +227,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.10", 3.11]
python-version: ["3.10", 3.11, 3.12]
fail-fast: false
steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -272,7 +272,7 @@ jobs:
runs-on: windows-2019
strategy:
matrix:
python-version: ["3.10", 3.11]
python-version: ["3.10", 3.11, 3.12]
fail-fast: false
steps:
- name: Configure Pagefile
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/unittests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ concurrency:
cancel-in-progress: true

env:
TF_PYTHON_VERSION: "3.11"
TF_PYTHON_VERSION: "3.12"

jobs:
TFLite:
Expand Down Expand Up @@ -77,7 +77,7 @@ jobs:
strategy:
matrix:
tf-version: [2.5.3, 2.6.5, 2.7.4, 2.8.4, 2.9.3, 2.10.1, 2.11.0]
python-version: [3.9]
python-version: [3.10]
flatbuffers-version: [2.0]
protobuf-version: [3.19.6]
include:
Expand All @@ -86,7 +86,7 @@ jobs:
flatbuffers-version: 23.1.21
protobuf-version: 4.23.4
- tf-version: 2.16.1
python-version: 3.11
python-version: 3.12
flatbuffers-version: 24.3.25
protobuf-version: 4.25.3
if: "!contains(github.event.head_commit.message, 'ci-skip')"
Expand Down Expand Up @@ -119,7 +119,7 @@ jobs:
fetch-depth: 0
- uses: actions/setup-python@v5
with:
python-version: 3.9
python-version: 3.12
- uses: actions/cache@v4
id: cache
with:
Expand Down
5 changes: 3 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Setup for pip package."""

import os
from sys import platform

Expand Down Expand Up @@ -30,7 +31,7 @@ def get_version_number(default):
setup(
name="larq-compute-engine",
version=get_version_number(default="0.13.0"),
python_requires=">=3.9",
python_requires=">=3.10",
description="Highly optimized inference engine for binarized neural networks.",
long_description=readme(),
long_description_content_type="text/markdown",
Expand All @@ -55,9 +56,9 @@ def get_version_number(default):
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Scientific/Engineering",
"Topic :: Scientific/Engineering :: Mathematics",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
Expand Down

0 comments on commit 207e642

Please sign in to comment.