diff --git a/.github/workflows/build-publish.yml b/.github/workflows/build-publish.yml index b8dc468..566b797 100644 --- a/.github/workflows/build-publish.yml +++ b/.github/workflows/build-publish.yml @@ -20,7 +20,7 @@ jobs: strategy: matrix: os: [macos-latest, windows-latest] - python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"] + python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"] steps: - uses: actions/checkout@v3 - name: Set up Python @@ -52,7 +52,7 @@ jobs: - name: Build manylinux Python wheels uses: RalfG/python-wheels-manylinux-build@v0.5.0 with: - python-versions: 'cp37-cp37m cp38-cp38 cp39-cp39 cp310-cp310 cp311-cp311' + python-versions: 'cp38-cp38 cp39-cp39 cp310-cp310 cp311-cp311 cp312-cp312' pip-wheel-args: '-w ./dist --no-deps' - name: Store uses: actions/upload-artifact@v3 diff --git a/README.md b/README.md index 10e0e6f..ff525bb 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ A small CPU image scaling library with SIMD support on x86_64 and Arm (Neon). This project is aimed to replace OpenCV for image resizing, resolving installation inconveniences and compatibility issues. We developed this for future use in Gymnasium and PettingZoo wrappers. ## Installation -You can install from PyPI using `pip install tinyscaler`. Linux and macOS with Python 3.7, 3.8, 3.9, 3.10 and 3.11 are supported. +You can install from PyPI using `pip install tinyscaler`. Linux and macOS with Python >=3.8 are supported. ## Usage Tinyscaler contains a single external function, `scale` that using a numpy array input for the image and the new resized shape, returns the resized image. diff --git a/pyproject.toml b/pyproject.toml index a972368..767c61a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -8,7 +8,7 @@ build-backend = "setuptools.build_meta" name = "tinyscaler" description = "A tiny, simple image scaler." readme = "README.md" -requires-python = ">= 3.7, < 3.12" +requires-python = ">= 3.8" authors = [{ name = "Farama Foundation", email = "contact@farama.org" }] license = { text = "MIT License" } keywords = ["Reinforcement Learning", "Gymnasium", "PettingZoo"] @@ -16,11 +16,11 @@ classifiers = [ "Development Status :: 4 - Beta", # change to `5 - Production/Stable` when ready "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.7", "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", 'Intended Audience :: Science/Research', 'Topic :: Scientific/Engineering :: Artificial Intelligence', ]