From 0509a12f49929ebc6819706d5ed1fb65f4f20bb8 Mon Sep 17 00:00:00 2001 From: Huang Huang Date: Fri, 3 Jan 2025 20:19:37 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B5=8B=E8=AF=95=20python=203.13=20=E5=92=8C?= =?UTF-8?q?=20pypy=203.10=20(#339)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * support python 3.13 * support pypy 3.10 --- .github/workflows/ci.yml | 2 +- README.rst | 2 +- setup.py | 1 + tox.ini | 2 +- 4 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7ed46c5..e302032 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -12,7 +12,7 @@ jobs: strategy: matrix: os: [windows-2022, ubuntu-22.04] - python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12", "pypy3.9"] + python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12", "3.13", "pypy3.9", "pypy3.10"] steps: - uses: actions/checkout@v4 diff --git a/README.rst b/README.rst index 5244c67..f64d732 100644 --- a/README.rst +++ b/README.rst @@ -12,7 +12,7 @@ * GitHub: https://github.com/mozillazg/python-pinyin * License: MIT license * PyPI: https://pypi.org/project/pypinyin -* Python version: 2.7, pypy, pypy3, 3.4, 3.5, 3.6, 3.7, 3.8, 3.9, 3.10, 3.11, 3.12 +* Python version: 2.7, pypy, pypy3, 3.4, 3.5, 3.6, 3.7, 3.8, 3.9, 3.10, 3.11, 3.12, 3.13 .. contents:: diff --git a/setup.py b/setup.py index bc37d4f..3ebac76 100644 --- a/setup.py +++ b/setup.py @@ -100,6 +100,7 @@ def long_description(): 'Programming Language :: Python :: 3.10', 'Programming Language :: Python :: 3.11', 'Programming Language :: Python :: 3.12', + 'Programming Language :: Python :: 3.13', 'Programming Language :: Python :: Implementation :: CPython', 'Programming Language :: Python :: Implementation :: PyPy', 'Topic :: Utilities', diff --git a/tox.ini b/tox.ini index 36d7155..fd60d8b 100644 --- a/tox.ini +++ b/tox.ini @@ -4,7 +4,7 @@ # and then run "tox" from this directory. [tox] -envlist = py26, py27, py33, py34, py35, py36, py37, py38, py39, py310, py311, pypy, pypy3 +envlist = py26, py27, py33, py34, py35, py36, py37, py38, py39, py310, py311, py312, py313, pypy, pypy3 [base] deps =