Skip to content

Commit 05ac699

Browse files
committed
Update metadata, use uv python, test on 3.14 and free-threaded
1 parent f9349de commit 05ac699

File tree

3 files changed

+20
-24
lines changed

3 files changed

+20
-24
lines changed

.github/workflows/ci.yml

Lines changed: 14 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -10,29 +10,25 @@ on:
1010
permissions:
1111
contents: read
1212

13-
env:
14-
UV_SYSTEM_PYTHON: 1
15-
1613
jobs:
1714
test:
1815
runs-on: ${{ matrix.os }}
1916
strategy:
2017
fail-fast: false
2118
matrix:
22-
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"]
19+
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13", "3.13t"]
2320
os: [macOS-latest, ubuntu-latest, windows-latest]
2421

2522
steps:
2623
- name: Checkout
2724
uses: actions/checkout@v4
28-
- name: Set Up Python ${{ matrix.python-version }}
29-
uses: actions/setup-python@v5
25+
- uses: astral-sh/setup-uv@v6
3026
with:
27+
enable-cache: true
28+
cache-dependency-glob: pyproject.toml
29+
cache-suffix: ${{ matrix.python-version }}
3130
python-version: ${{ matrix.python-version }}
32-
allow-prereleases: true
33-
- uses: hynek/setup-cached-uv@v2
34-
with:
35-
cache-dependency-path: pyproject.toml
31+
activate-environment: true
3632
- name: Install
3733
run: make EXTRAS=dev install
3834
- name: Test
@@ -45,30 +41,30 @@ jobs:
4541
runs-on: ubuntu-latest
4642
steps:
4743
- uses: actions/checkout@v4
48-
- uses: actions/setup-python@v5
44+
- uses: astral-sh/setup-uv@v6
4945
with:
50-
python-version: '3.12'
51-
- uses: hynek/setup-cached-uv@v2
52-
with:
53-
cache-dependency-path: pyproject.toml
46+
enable-cache: true
47+
cache-dependency-glob: pyproject.toml
48+
python-version: "3.13"
49+
activate-environment: true
5450
- name: Install
5551
run: make install
5652
- name: Build
5753
run: python -m build
5854
- name: Upload
59-
uses: actions/upload-artifact@v3
55+
uses: actions/upload-artifact@v4
6056
with:
6157
name: sdist
6258
path: dist
63-
59+
6460
publish:
6561
needs: build
6662
runs-on: ubuntu-latest
6763
if: startsWith(github.ref, 'refs/tags/v')
6864
permissions:
6965
id-token: write
7066
steps:
71-
- uses: actions/download-artifact@v3
67+
- uses: actions/download-artifact@v4
7268
with:
7369
name: sdist
7470
path: dist

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Implementation of itertools, builtins, and more for AsyncIO and mixed-type itera
1212
Install
1313
-------
1414

15-
aioitertools requires Python 3.8 or newer.
15+
aioitertools requires Python 3.9 or newer.
1616
You can install it from PyPI:
1717

1818
```sh

pyproject.toml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,20 @@
11
[build-system]
2-
requires = ["flit_core >=3.8,<4"]
2+
requires = ["flit_core >=3.11,<4"]
33
build-backend = "flit_core.buildapi"
44

55
[project]
66
name = "aioitertools"
77
readme = "README.md"
88
authors = [{ name = "Amethyst Reese", email = "[email protected]" }]
9-
license = { file = "LICENSE" }
9+
license = "MIT"
10+
license-files = ["LICENSE"]
1011
dynamic = ["version", "description"]
1112
classifiers = [
12-
"Development Status :: 4 - Beta",
1313
"Framework :: AsyncIO",
1414
"Intended Audience :: Developers",
15-
"License :: OSI Approved :: MIT License",
1615
"Topic :: Software Development :: Libraries",
1716
]
18-
requires-python = ">=3.8"
17+
requires-python = ">=3.9"
1918
dependencies = ["typing_extensions>=4.0; python_version < '3.10'"]
2019

2120
[project.optional-dependencies]
@@ -37,6 +36,7 @@ docs = [
3736

3837
[project.urls]
3938
Documentation = "https://aioitertools.omnilib.dev"
39+
Changelog = "https://aioitertools.omnilib.dev/en/latest/changelog.html"
4040
Github = "https://github.com/omnilib/aioitertools"
4141

4242
[tool.flit.sdist]

0 commit comments

Comments
 (0)