drop Python 3.9 (#656)

This commit is contained in:
Inada Naoki 2025-10-09 18:33:23 +09:00 committed by GitHub
parent af45640970
commit c1ecd23dbf
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 8 additions and 10 deletions

View file

@ -10,10 +10,8 @@ jobs:
strategy: strategy:
matrix: matrix:
os: ["ubuntu-latest", "windows-latest", "windows-11-arm", "macos-latest"] os: ["ubuntu-latest", "windows-latest", "windows-11-arm", "macos-latest"]
py: ["3.14", "3.14t", "3.13", "3.12", "3.11", "3.10", "3.9"] py: ["3.14", "3.14t", "3.13", "3.12", "3.11", "3.10"]
exclude: exclude:
- os: windows-11-arm
py: "3.9"
- os: windows-11-arm - os: windows-11-arm
py: "3.10" py: "3.10"
runs-on: ${{ matrix.os }} runs-on: ${{ matrix.os }}
@ -21,10 +19,10 @@ jobs:
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v4 uses: actions/checkout@v5
- name: Set up Python - name: Set up Python
uses: actions/setup-python@v5 uses: actions/setup-python@v6
with: with:
python-version: ${{ matrix.py }} python-version: ${{ matrix.py }}
allow-prereleases: true allow-prereleases: true

View file

@ -17,8 +17,8 @@ jobs:
name: Build wheels on ${{ matrix.os }} name: Build wheels on ${{ matrix.os }}
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v5
- uses: actions/setup-python@v5 - uses: actions/setup-python@v6
with: with:
python-version: "3.x" python-version: "3.x"
cache: "pip" cache: "pip"
@ -33,7 +33,7 @@ jobs:
env: env:
CIBW_TEST_REQUIRES: "pytest" CIBW_TEST_REQUIRES: "pytest"
CIBW_TEST_COMMAND: "pytest {package}/test" CIBW_TEST_COMMAND: "pytest {package}/test"
CIBW_SKIP: "pp* cp38-* cp39-win_arm64 cp310-win_arm64" CIBW_SKIP: "pp* cp38-* cp39-* cp310-win_arm64"
- name: Build sdist - name: Build sdist
if: runner.os == 'Linux' && runner.arch == 'X64' if: runner.os == 'Linux' && runner.arch == 'X64'

View file

@ -10,7 +10,7 @@ authors = [{name="Inada Naoki", email="songofacandy@gmail.com"}]
description = "MessagePack serializer" description = "MessagePack serializer"
readme = "README.md" readme = "README.md"
keywords = ["msgpack", "messagepack", "serializer", "serialization", "binary"] keywords = ["msgpack", "messagepack", "serializer", "serialization", "binary"]
requires-python = ">=3.9" requires-python = ">=3.10"
classifiers = [ classifiers = [
"Development Status :: 5 - Production/Stable", "Development Status :: 5 - Production/Stable",
"Operating System :: OS Independent", "Operating System :: OS Independent",
@ -36,7 +36,7 @@ version = {attr = "msgpack.__version__"}
[tool.ruff] [tool.ruff]
line-length = 100 line-length = 100
target-version = "py39" target-version = "py310"
lint.select = [ lint.select = [
"E", # pycodestyle "E", # pycodestyle
"F", # Pyflakes "F", # Pyflakes