From 3542e40746e999512b949867a4b227d3580e962c Mon Sep 17 00:00:00 2001 From: Bruno Alla Date: Wed, 16 Apr 2025 17:59:20 +0100 Subject: [PATCH] Backport changes from setup.py in upstream --- pyproject.toml | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 5c49384b2..3909f25b9 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -15,12 +15,12 @@ classifiers = [ "Framework :: Django :: 4.2", "Framework :: Django :: 5.0", "Framework :: Django :: 5.1", + "Framework :: Django :: 5.2", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", @@ -29,18 +29,15 @@ classifiers = [ "Programming Language :: Python :: 3 :: Only", "Topic :: Internet :: WWW/HTTP", ] -requires-python = ">=3.8" -dependencies = [ - "django>=4.2", - 'backports.zoneinfo;python_version<"3.9"', -] +requires-python = ">=3.9" +dependencies = ["django>=4.2"] dynamic = ["version"] [tool.setuptools.dynamic] version = {attr = "rest_framework.__version__"} [project.urls] -Homepage = "https://www.django-rest-framework.org/" +Homepage = "https://www.django-rest-framework.org" Funding = "https://fund.django-rest-framework.org/topics/funding/" Source = "https://github.com/encode/django-rest-framework" Changelog = "https://www.django-rest-framework.org/community/release-notes/"