Skip to content

Commit 0f01567

Browse files
committed
move fastapi and uvicorn to optional "web" dependency list
1 parent b902bdf commit 0f01567

10 files changed

Lines changed: 90 additions & 71 deletions

File tree

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,9 @@ Then, install the bot package in your Python environment of choice:
4040
pip install -U 'aethersprite@git+https://github.com/haliphax/aethersprite.git'
4141
```
4242

43+
> ℹ️ If you wish to take advantage of web modules, be sure to add the `[web]`
44+
> optional dependency specifier to the package source.
45+
4346
[Back to top](#aethersprite)
4447

4548
## 🏃 Running

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ dependencies = { file = "requirements/requirements.txt" }
1717
[tool.setuptools.dynamic.optional-dependencies]
1818
dev = { file = "requirements/dev.txt" }
1919
docs = { file = "requirements/docs.txt" }
20+
web = { file = "requirements/web.txt" }
2021

2122
[tool.black]
2223
line-length = 80

requirements/dev.in

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
1+
-c requirements.txt
12
pre-commit
23
ruff

requirements/dev.txt

Lines changed: 9 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -6,24 +6,21 @@
66
#
77
cfgv==3.4.0
88
# via pre-commit
9-
distlib==0.3.8
9+
distlib==0.4.0
1010
# via virtualenv
11-
filelock==3.13.3
11+
filelock==3.19.1
1212
# via virtualenv
13-
identify==2.5.35
13+
identify==2.6.13
1414
# via pre-commit
15-
nodeenv==1.8.0
15+
nodeenv==1.9.1
1616
# via pre-commit
17-
platformdirs==4.2.0
17+
platformdirs==4.4.0
1818
# via virtualenv
19-
pre-commit==3.7.0
19+
pre-commit==4.3.0
2020
# via -r dev.in
21-
pyyaml==6.0.1
21+
pyyaml==6.0.2
2222
# via pre-commit
23-
ruff==0.3.4
23+
ruff==0.12.10
2424
# via -r dev.in
25-
virtualenv==20.26.6
25+
virtualenv==20.34.0
2626
# via pre-commit
27-
28-
# The following packages are considered to be unsafe in a requirements file:
29-
# setuptools

requirements/docs.in

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1+
-c requirements.txt
12
pdoc3

requirements/docs.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@
44
#
55
# pip-compile docs.in
66
#
7-
mako==1.3.2
7+
mako==1.3.10
88
# via pdoc3
9-
markdown==3.6
9+
markdown==3.8.2
1010
# via pdoc3
11-
markupsafe==2.1.5
11+
markupsafe==3.0.2
1212
# via mako
13-
pdoc3==0.10.0
13+
pdoc3==0.11.6
1414
# via -r docs.in

requirements/requirements.in

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
colorlog
22
discord-pretty-help
33
discord.py
4-
fastapi
54
pytz
65
sqlitedict
76
toml
8-
uvicorn[standard]

requirements/requirements.txt

Lines changed: 13 additions & 53 deletions
Original file line numberDiff line numberDiff line change
@@ -6,79 +6,39 @@
66
#
77
aiohappyeyeballs==2.6.1
88
# via aiohttp
9-
aiohttp==3.12.14
9+
aiohttp==3.12.15
1010
# via discord-py
1111
aiosignal==1.4.0
1212
# via aiohttp
13-
annotated-types==0.6.0
14-
# via pydantic
15-
anyio==4.3.0
16-
# via
17-
# starlette
18-
# watchfiles
19-
attrs==23.2.0
13+
attrs==25.3.0
2014
# via aiohttp
21-
click==8.1.7
22-
# via uvicorn
23-
colorlog==6.8.2
15+
colorlog==6.9.0
2416
# via -r requirements.in
2517
discord-pretty-help==2.0.7
2618
# via -r requirements.in
27-
discord-py==2.3.2
28-
# via -r requirements.in
29-
fastapi==0.110.0
19+
discord-py==2.6.2
3020
# via -r requirements.in
31-
frozenlist==1.4.1
21+
frozenlist==1.7.0
3222
# via
3323
# aiohttp
3424
# aiosignal
35-
h11==0.16.0
36-
# via uvicorn
37-
httptools==0.6.1
38-
# via uvicorn
39-
idna==3.7
40-
# via
41-
# anyio
42-
# yarl
43-
multidict==6.0.5
25+
idna==3.10
26+
# via yarl
27+
multidict==6.6.4
4428
# via
4529
# aiohttp
4630
# yarl
47-
propcache==0.2.0
31+
propcache==0.3.2
4832
# via
4933
# aiohttp
5034
# yarl
51-
pydantic==2.6.4
52-
# via fastapi
53-
pydantic-core==2.16.3
54-
# via pydantic
55-
python-dotenv==1.0.1
56-
# via uvicorn
57-
pytz==2024.1
35+
pytz==2025.2
5836
# via -r requirements.in
59-
pyyaml==6.0.1
60-
# via uvicorn
61-
sniffio==1.3.1
62-
# via anyio
6337
sqlitedict==2.1.0
6438
# via -r requirements.in
65-
starlette==0.36.3
66-
# via fastapi
6739
toml==0.10.2
6840
# via -r requirements.in
69-
typing-extensions==4.10.0
70-
# via
71-
# aiosignal
72-
# fastapi
73-
# pydantic
74-
# pydantic-core
75-
uvicorn[standard]==0.29.0
76-
# via -r requirements.in
77-
uvloop==0.19.0
78-
# via uvicorn
79-
watchfiles==0.21.0
80-
# via uvicorn
81-
websockets==12.0
82-
# via uvicorn
83-
yarl==1.17.2
41+
typing-extensions==4.15.0
42+
# via aiosignal
43+
yarl==1.20.1
8444
# via aiohttp

requirements/web.in

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
-c requirements.txt
2+
fastapi
3+
uvicorn[standard]

requirements/web.txt

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
#
2+
# This file is autogenerated by pip-compile with Python 3.11
3+
# by the following command:
4+
#
5+
# pip-compile web.in
6+
#
7+
annotated-types==0.7.0
8+
# via pydantic
9+
anyio==4.10.0
10+
# via
11+
# starlette
12+
# watchfiles
13+
click==8.2.1
14+
# via uvicorn
15+
fastapi==0.116.1
16+
# via -r web.in
17+
h11==0.16.0
18+
# via uvicorn
19+
httptools==0.6.4
20+
# via uvicorn
21+
idna==3.10
22+
# via
23+
# -c requirements.txt
24+
# anyio
25+
pydantic==2.11.7
26+
# via fastapi
27+
pydantic-core==2.33.2
28+
# via pydantic
29+
python-dotenv==1.1.1
30+
# via uvicorn
31+
pyyaml==6.0.2
32+
# via uvicorn
33+
sniffio==1.3.1
34+
# via anyio
35+
starlette==0.47.3
36+
# via fastapi
37+
typing-extensions==4.15.0
38+
# via
39+
# -c requirements.txt
40+
# anyio
41+
# fastapi
42+
# pydantic
43+
# pydantic-core
44+
# starlette
45+
# typing-inspection
46+
typing-inspection==0.4.1
47+
# via pydantic
48+
uvicorn[standard]==0.35.0
49+
# via -r web.in
50+
uvloop==0.21.0
51+
# via uvicorn
52+
watchfiles==1.1.0
53+
# via uvicorn
54+
websockets==15.0.1
55+
# via uvicorn

0 commit comments

Comments
 (0)