From 75711beeb18cfce154a3b08e384c31915ad0d0fd Mon Sep 17 00:00:00 2001 From: arielle Date: Tue, 9 Sep 2025 15:23:35 -0400 Subject: [PATCH 1/2] fix: use modern license and license_files fields in pyproject.toml --- MANIFEST.in | 2 -- pyproject.toml | 6 +++--- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/MANIFEST.in b/MANIFEST.in index da756d1d7b..8f98414e11 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -1,5 +1,3 @@ -include README.md -include LICENSE include disnake/bin/* include disnake/py.typed include disnake/ext/commands/py.typed diff --git a/pyproject.toml b/pyproject.toml index 28e6b509e0..c2ec7fe6e5 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,7 +1,7 @@ # SPDX-License-Identifier: MIT [build-system] -requires = ["setuptools>=61"] +requires = ["setuptools>=77.0.3"] build-backend = "setuptools.build_meta" [project] @@ -13,14 +13,14 @@ authors = [ ] requires-python = ">=3.9" keywords = ["disnake", "discord", "discord api"] -license = { text = "MIT" } +license = "MIT" +license-files = ["LICENSE"] dependencies = [ "aiohttp>=3.7.0,<4.0", "typing-extensions>=4.1", ] classifiers = [ "Development Status :: 5 - Production/Stable", - "License :: OSI Approved :: MIT License", "Intended Audience :: Developers", "Natural Language :: English", "Operating System :: OS Independent", From 8aa41c97de66e93fba27fd55eb810744d9d9ef63 Mon Sep 17 00:00:00 2001 From: arielle Date: Fri, 26 Sep 2025 10:41:10 -0400 Subject: [PATCH 2/2] docs: add changelog --- changelog/1366.misc.rst | 1 + 1 file changed, 1 insertion(+) create mode 100644 changelog/1366.misc.rst diff --git a/changelog/1366.misc.rst b/changelog/1366.misc.rst new file mode 100644 index 0000000000..45e6354d4e --- /dev/null +++ b/changelog/1366.misc.rst @@ -0,0 +1 @@ +Update minimum required setuptools version to ``>=77.0.3``.