diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3acda5a..c15e6ae 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -10,29 +10,25 @@ on: permissions: contents: read -env: - UV_SYSTEM_PYTHON: 1 - jobs: test: runs-on: ${{ matrix.os }} strategy: fail-fast: false matrix: - python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"] + python-version: ["3.9", "3.10", "3.11", "3.12", "3.13", "3.13t"] os: [macOS-latest, ubuntu-latest, windows-latest] steps: - name: Checkout uses: actions/checkout@v4 - - name: Set Up Python ${{ matrix.python-version }} - uses: actions/setup-python@v5 + - uses: astral-sh/setup-uv@v6 with: + enable-cache: true + cache-dependency-glob: pyproject.toml + cache-suffix: ${{ matrix.python-version }} python-version: ${{ matrix.python-version }} - allow-prereleases: true - - uses: hynek/setup-cached-uv@v2 - with: - cache-dependency-path: pyproject.toml + activate-environment: true - name: Install run: make EXTRAS=dev install - name: Test @@ -45,22 +41,22 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - uses: actions/setup-python@v5 + - uses: astral-sh/setup-uv@v6 with: - python-version: '3.12' - - uses: hynek/setup-cached-uv@v2 - with: - cache-dependency-path: pyproject.toml + enable-cache: true + cache-dependency-glob: pyproject.toml + python-version: "3.13" + activate-environment: true - name: Install run: make install - name: Build run: python -m build - name: Upload - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: sdist path: dist - + publish: needs: build runs-on: ubuntu-latest @@ -68,7 +64,7 @@ jobs: permissions: id-token: write steps: - - uses: actions/download-artifact@v3 + - uses: actions/download-artifact@v4 with: name: sdist path: dist diff --git a/README.md b/README.md index 533887d..fe57c21 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,7 @@ Implementation of itertools, builtins, and more for AsyncIO and mixed-type itera Install ------- -aioitertools requires Python 3.8 or newer. +aioitertools requires Python 3.9 or newer. You can install it from PyPI: ```sh diff --git a/pyproject.toml b/pyproject.toml index 792bc9e..9122914 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,21 +1,20 @@ [build-system] -requires = ["flit_core >=3.8,<4"] +requires = ["flit_core >=3.11,<4"] build-backend = "flit_core.buildapi" [project] name = "aioitertools" readme = "README.md" authors = [{ name = "Amethyst Reese", email = "amethyst@n7.gg" }] -license = { file = "LICENSE" } +license = "MIT" +license-files = ["LICENSE"] dynamic = ["version", "description"] classifiers = [ - "Development Status :: 4 - Beta", "Framework :: AsyncIO", "Intended Audience :: Developers", - "License :: OSI Approved :: MIT License", "Topic :: Software Development :: Libraries", ] -requires-python = ">=3.8" +requires-python = ">=3.9" dependencies = ["typing_extensions>=4.0; python_version < '3.10'"] [project.optional-dependencies] @@ -37,6 +36,7 @@ docs = [ [project.urls] Documentation = "https://aioitertools.omnilib.dev" +Changelog = "https://aioitertools.omnilib.dev/en/latest/changelog.html" Github = "https://github.com/omnilib/aioitertools" [tool.flit.sdist]