Skip to content

Commit

Permalink
chore: Decrease minimum Python version to 3.8 for Python bindings
Browse files Browse the repository at this point in the history
  • Loading branch information
DataTriny committed Jan 6, 2024
1 parent dcf824e commit 5be1acf
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ jobs:
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: '3.9'
python-version: '3.8'

- name: restore cache
uses: Swatinem/rust-cache@v2
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/python-bindings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
name: Publish Python bindings

env:
MIN_PYTHON_VERSION: 3.9
MIN_PYTHON_VERSION: 3.8

jobs:
macos-wheels:
Expand Down Expand Up @@ -37,12 +37,12 @@ jobs:
name: wheels
path: dist

unix-wheels:
linux-wheels:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
target: [x86_64, x86, aarch64]
target: [x86_64, x86, aarch64, armv7]
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v5
Expand Down Expand Up @@ -115,7 +115,7 @@ jobs:
permissions:
id-token: write
if: "startsWith(github.ref, 'refs/tags/')"
needs: [macos-wheels, unix-wheels, windows-wheels, sdist]
needs: [macos-wheels, linux-wheels, windows-wheels, sdist]
runs-on: ubuntu-latest
steps:
- uses: actions/download-artifact@v3
Expand All @@ -129,7 +129,7 @@ jobs:
github-release:
name: Add to GitHub release
if: "startsWith(github.ref, 'refs/tags/')"
needs: [macos-wheels, unix-wheels, windows-wheels, sdist]
needs: [macos-wheels, linux-wheels, windows-wheels, sdist]
runs-on: ubuntu-latest
steps:
- uses: actions/download-artifact@v3
Expand Down
2 changes: 1 addition & 1 deletion bindings/python/examples/pygame/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ This directory contains a cross-platform application that demonstrates how to in

## Prerequisites

- Python 3.9 or higher
- Python 3.8 or higher
- A virtual environment: `python -m venv .venv` (activating it will vary based on your platform)
- `pip install -r requirements.txt`

Expand Down
6 changes: 5 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,18 @@ include = ['bindings/python/*.py']

[project]
name = "accesskit"
requires-python = ">= 3.9"
requires-python = ">= 3.8"
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"Programming Language :: Python",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3",
"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",
"Topic :: Software Development :: User Interfaces"
]

Expand Down

0 comments on commit 5be1acf

Please sign in to comment.