Skip to content

Commit f012581

Browse files
committed
chore(deps): remove unused dependencies from configuration
- Removed `dateparser`, `emojis`, `aiosqlite`, and `redis` from `pyproject.toml` and `uv.lock` to streamline the dependency list. - Updated logging configuration to exclude `aiosqlite` and `redis` from intercepted libraries and logging levels.
1 parent a02b04e commit f012581

File tree

3 files changed

+0
-124
lines changed

3 files changed

+0
-124
lines changed

pyproject.toml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,8 @@ dependencies = [
1515
"aiocache>=0.12.3",
1616
"aiofiles>=24.1.0",
1717
"cairosvg>=2.7.1",
18-
"dateparser>=1.2.0",
1918
"discord-py>=2.6.0",
2019
"influxdb-client>=1.48.0",
21-
"emojis>=0.7.0",
2220
"githubkit[auth-app]>=0.12.0",
2321
"httpx>=0.28.0",
2422
"jishaku>=2.5.2",
@@ -42,9 +40,6 @@ dependencies = [
4240
"sqlalchemy>=2.0.14",
4341
"alembic>=1.16.5",
4442
"alembic-postgresql-enum>=1.8.0",
45-
"asyncpg>=0.30.0",
46-
"aiosqlite>=0.21.0",
47-
"redis>=6.4.0",
4843
"alembic-utils>=0.8.8",
4944
"psycopg[binary,pool]>=3.2.9",
5045
"pydantic>=2.11.7",
@@ -138,7 +133,6 @@ types = [
138133
"types-pytz>=2025.2.0.20250326",
139134
"types-click>=7.1.8",
140135
"types-psutil>=7.0.0.20250401",
141-
"types-dateparser>=1.2.0.20250408",
142136
"types-pillow>=10.2.0.20240822",
143137
"types-pyyaml>=6.0.12.20250402",
144138
"types-aiofiles>=24.1.0.20250326",

src/tux/core/logging.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,7 @@
4848
"alembic",
4949
"asyncpg",
5050
"psycopg",
51-
"aiosqlite",
5251
"sentry_sdk",
53-
"redis",
5452
"docker",
5553
"githubkit",
5654
"influxdb_client",
@@ -72,7 +70,6 @@
7270
"httpx": logging.WARNING,
7371
"aiohttp": logging.WARNING,
7472
# Infrastructure - Rarely needed
75-
"redis": logging.WARNING,
7673
"docker": logging.WARNING,
7774
# Database - Fine-grained control per subsystem
7875
"sqlalchemy.engine": logging.WARNING, # SQL queries and parameters (not result sets)
@@ -82,7 +79,6 @@
8279
"alembic": logging.INFO,
8380
"asyncpg": logging.INFO,
8481
"psycopg": logging.INFO,
85-
"aiosqlite": logging.INFO,
8682
# Use global level (no override needed, just for explicitness)
8783
"asyncio": logging.NOTSET,
8884
"discord": logging.NOTSET, # Parent logger, children have specific levels

0 commit comments

Comments
 (0)