From 20a3ac58ff1f3405ef66257ef49afb52ca280d63 Mon Sep 17 00:00:00 2001 From: Dimitri Papadopoulos <3234522+DimitriPapadopoulos@users.noreply.github.com> Date: Mon, 13 Oct 2025 21:49:39 +0200 Subject: [PATCH] PEP 639 compliance MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Requires setuptools ≥ 77.0.3 which requires Python 3.9, so this can wait until Python 3.8 support is dropped. --- MANIFEST.in | 2 +- pyproject.toml | 9 ++++----- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/MANIFEST.in b/MANIFEST.in index 75d38f2b..1b5c52bd 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -6,4 +6,4 @@ recursive-include vendor/libuv * recursive-exclude vendor/libuv/.git * recursive-exclude vendor/libuv/docs * recursive-exclude vendor/libuv/img * -include LICENSE-MIT LICENSE-APACHE README.rst Makefile performance.png .flake8 mypy.ini +include Makefile performance.png .flake8 mypy.ini diff --git a/pyproject.toml b/pyproject.toml index a8b0f322..6aede7df 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,8 @@ description = "Fast implementation of asyncio event loop on top of libuv" authors = [{name = "Yury Selivanov", email = "yury@magic.io"}] requires-python = '>=3.8.1' readme = "README.rst" -license = {text = "MIT License"} +license = "MIT OR Apache-2.0" +license-files = ["LICENSE-APACHE", "LICENSE-MIT"] dynamic = ["version"] keywords = [ "asyncio", @@ -14,8 +15,6 @@ classifiers = [ "Development Status :: 5 - Production/Stable", "Framework :: AsyncIO", "Intended Audience :: Developers", - "License :: OSI Approved :: Apache Software License", - "License :: OSI Approved :: MIT License", "Operating System :: POSIX", "Operating System :: MacOS :: MacOS X", "Programming Language :: Python :: 3 :: Only", @@ -45,7 +44,7 @@ test = [ 'mypy>=0.800', ] dev = [ - 'setuptools>=60', + 'setuptools>=77.0.3', 'Cython~=3.0', ] docs = [ @@ -56,7 +55,7 @@ docs = [ [build-system] requires = [ - "setuptools>=60", + "setuptools>=77.0.3", "wheel", "Cython~=3.1", ]