]> git.ipfire.org Git - thirdparty/httpx.git/commitdiff
Drop __title__ and __version__ drop-title-version-api
authorTom Christie <tom@tomchristie.com>
Thu, 18 Sep 2025 12:24:02 +0000 (13:24 +0100)
committerTom Christie <tom@tomchristie.com>
Thu, 18 Sep 2025 12:24:02 +0000 (13:24 +0100)
pyproject.toml
src/ahttpx/__init__.py
src/ahttpx/__version__.py [deleted file]
src/httpx/__init__.py
src/httpx/__version__.py [deleted file]

index e708b5d962c7a6b8e7df5487275614290463127d..dec723e8bdf76ae938685b79944d9fbaa8fda292 100644 (file)
@@ -5,7 +5,8 @@ build-backend = "hatchling.build"
 [project]
 name = "httpx"
 description = "HTTP, for Python."
-requires-python = ">=3.10"
+version = "1.0.dev3"
+requires-python = ">=3.11"
 authors = [
     { name = "Tom Christie", email = "tom@tomchristie.com" },
 ]
@@ -24,7 +25,3 @@ classifiers = [
 dependencies = [
     "certifi",
 ]
-dynamic = ["version"]
-
-[tool.hatch.version]
-path = "src/httpx/__version__.py"
index 9e589ab6cd01ef761f225d7e637a1d3da91943ae..2a2e58acd86c0d4b2bc9e545b5aee43f6623b883 100644 (file)
@@ -1,4 +1,3 @@
-from .__version__ import __title__, __version__
 from ._client import *  # Client
 from ._content import *  # Content, File, Files, Form, HTML, JSON, MultiPart, Text
 from ._headers import *  # Headers
@@ -15,8 +14,6 @@ from ._urls import *  # QueryParams, URL
 
 
 __all__ = [
-    "__title__",
-    "__version__",
     "ByteStream",
     "Client",
     "Connection",
diff --git a/src/ahttpx/__version__.py b/src/ahttpx/__version__.py
deleted file mode 100644 (file)
index 309fcb3..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-__title__ = "ahttpx"
-__version__ = "1.0.dev3"
\ No newline at end of file
index 9e589ab6cd01ef761f225d7e637a1d3da91943ae..2a2e58acd86c0d4b2bc9e545b5aee43f6623b883 100644 (file)
@@ -1,4 +1,3 @@
-from .__version__ import __title__, __version__
 from ._client import *  # Client
 from ._content import *  # Content, File, Files, Form, HTML, JSON, MultiPart, Text
 from ._headers import *  # Headers
@@ -15,8 +14,6 @@ from ._urls import *  # QueryParams, URL
 
 
 __all__ = [
-    "__title__",
-    "__version__",
     "ByteStream",
     "Client",
     "Connection",
diff --git a/src/httpx/__version__.py b/src/httpx/__version__.py
deleted file mode 100644 (file)
index ba1c14e..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-__title__ = "httpx"
-__version__ = "1.0.dev3"
\ No newline at end of file