Fedora contributions by:
Adam Williamson <awilliam@redhat.com>
Anna Khaitovich <akhaitov@redhat.com>
Arun S A G <sagarun@gmail.com>
Benjamin A. Beasley <code@musicinmybrain.net>
Carl George <carl@george.computer>
Charalampos Stratakis <cstratak@redhat.com>
Dennis Gilmore <dennis@ausil.us>
Haikel Guemar <hguemar@fedoraproject.org>
Iryna Shcherbina <shcherbina.iryna@gmail.com>
Jeremy Cline <jeremy@jcline.org>
Karolina Surma <ksurma@redhat.com>
Kevin Fenzi <kevin@scrye.com>
Lukas Slebodnik <lslebodn@redhat.com>
Lumir Balhar <lbalhar@redhat.com>
Maxwell G <maxwell@gtmx.me>
Miro Hrončok <miro@hroncok.cz>
Ralph Bean <rbean@redhat.com>
Robert Kuska <rkuska@redhat.com>
Slavek Kabrda <bkabrda@redhat.com>
Tom Callaway <spot@fedoraproject.org>
Tomas Hoger <thoger@redhat.com>
Tomáš Hrnčiar <thrnciar@redhat.com>
Toshio Kuratomi <toshio@fedoraproject.org>
Yaakov Selkowitz <yselkowi@redhat.com>
yatinkarel <ykarel@redhat.com>
38 lines
986 B
Diff
38 lines
986 B
Diff
From f3c2f0a31bcdf1fc4011b4c531d3fab401696d84 Mon Sep 17 00:00:00 2001
|
|
From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Hrn=C4=8Diar?= <thrnciar@redhat.com>
|
|
Date: Mon, 22 Sep 2025 14:25:42 +0200
|
|
Subject: [PATCH] Replace hatchling with setuptools build backend
|
|
|
|
---
|
|
pyproject.toml | 7 +++++--
|
|
1 file changed, 5 insertions(+), 2 deletions(-)
|
|
|
|
diff --git a/pyproject.toml b/pyproject.toml
|
|
index 60fce65..423f58a 100644
|
|
--- a/pyproject.toml
|
|
+++ b/pyproject.toml
|
|
@@ -1,8 +1,8 @@
|
|
# This file is protected via CODEOWNERS
|
|
|
|
[build-system]
|
|
-requires = ["hatchling>=1.6.0,<2", "hatch-vcs>=0.4.0,<0.6.0", "setuptools-scm>=8,<9"]
|
|
-build-backend = "hatchling.build"
|
|
+build-backend = "setuptools.build_meta"
|
|
+requires = ["setuptools>=77", "setuptools_scm"]
|
|
|
|
[project]
|
|
name = "urllib3"
|
|
@@ -134,6 +134,9 @@ include = [
|
|
"/LICENSE.txt",
|
|
]
|
|
|
|
+[tool.setuptools_scm]
|
|
+version_file = "src/urllib3/_version.py"
|
|
+
|
|
[tool.pytest.ini_options]
|
|
xfail_strict = true
|
|
python_classes = ["Test", "*TestCase"]
|
|
--
|
|
2.51.0
|
|
|