ZyphrZero commited on
Commit
0976a90
·
1 Parent(s): ec35fcf

♻️ refactor(deps): drop python 3.8 support and migrate to requests

Browse files
Files changed (3) hide show
  1. pyproject.toml +3 -4
  2. requirements.txt +1 -1
  3. uv.lock +0 -0
pyproject.toml CHANGED
@@ -7,7 +7,7 @@ name = "z-ai2api-python"
7
  version = "0.1.0"
8
  description = "一个为 Z.ai 提供 OpenAI API 兼容接口的 Python 代理服务"
9
  readme = "README.md"
10
- requires-python = ">=3.8"
11
  license = {text = "MIT"}
12
  authors = [
13
  {name = "Contributors"}
@@ -18,7 +18,6 @@ classifiers = [
18
  "License :: OSI Approved :: MIT License",
19
  "Operating System :: OS Independent",
20
  "Programming Language :: Python :: 3",
21
- "Programming Language :: Python :: 3.8",
22
  "Programming Language :: Python :: 3.9",
23
  "Programming Language :: Python :: 3.10",
24
  "Programming Language :: Python :: 3.11",
@@ -29,7 +28,7 @@ classifiers = [
29
  dependencies = [
30
  "fastapi==0.104.1",
31
  "uvicorn[standard]==0.24.0",
32
- "httpx==0.25.2",
33
  "pydantic==2.5.0",
34
  ]
35
 
@@ -43,7 +42,7 @@ packages = ["."]
43
  dev-dependencies = [
44
  "pytest>=7.0.0",
45
  "pytest-asyncio>=0.21.0",
46
- "httpx>=0.25.0",
47
  "ruff>=0.1.0",
48
  ]
49
 
 
7
  version = "0.1.0"
8
  description = "一个为 Z.ai 提供 OpenAI API 兼容接口的 Python 代理服务"
9
  readme = "README.md"
10
+ requires-python = ">=3.9"
11
  license = {text = "MIT"}
12
  authors = [
13
  {name = "Contributors"}
 
18
  "License :: OSI Approved :: MIT License",
19
  "Operating System :: OS Independent",
20
  "Programming Language :: Python :: 3",
 
21
  "Programming Language :: Python :: 3.9",
22
  "Programming Language :: Python :: 3.10",
23
  "Programming Language :: Python :: 3.11",
 
28
  dependencies = [
29
  "fastapi==0.104.1",
30
  "uvicorn[standard]==0.24.0",
31
+ "requests==2.32.5",
32
  "pydantic==2.5.0",
33
  ]
34
 
 
42
  dev-dependencies = [
43
  "pytest>=7.0.0",
44
  "pytest-asyncio>=0.21.0",
45
+ "requests>=2.30.0",
46
  "ruff>=0.1.0",
47
  ]
48
 
requirements.txt CHANGED
@@ -1,4 +1,4 @@
1
  fastapi==0.104.1
2
  uvicorn[standard]==0.24.0
3
- httpx==0.25.2
4
  pydantic==2.5.0
 
1
  fastapi==0.104.1
2
  uvicorn[standard]==0.24.0
3
+ requests==2.32.5
4
  pydantic==2.5.0
uv.lock CHANGED
The diff for this file is too large to render. See raw diff