Add Nox to development dependencies and format dependency entries
Some checks failed
Docker / build-and-push-docker (push) Failing after 1m27s
Poetry / test-on-poetry (latest, 3.10) (push) Failing after 24s
Poetry / test-on-poetry (latest, 3.11) (push) Failing after 3s
Poetry / test-on-poetry (latest, 3.12) (push) Failing after 3s
Poetry / test-on-poetry (latest, 3.13) (push) Failing after 3s
Poetry / test-on-poetry (main, 3.10) (push) Failing after 3s
Poetry / test-on-poetry (main, 3.11) (push) Failing after 2s
Poetry / test-on-poetry (main, 3.12) (push) Failing after 3s
Poetry / test-on-poetry (main, 3.13) (push) Failing after 3s
uv / Install with uv and run tests on Python 3.10 (push) Failing after 3s
uv / Install with uv and run tests on Python 3.11 (push) Failing after 3s
uv / Install with uv and run tests on Python 3.12 (push) Failing after 4s
uv / Install with uv and run tests on Python 3.13 (push) Failing after 3s
uv / Install with uv and run tests on Python pypy (push) Failing after 5s

This commit is contained in:
2025-04-12 11:35:50 +02:00
parent 52d8501ef2
commit 5ec31ba126

View File

@ -29,7 +29,7 @@ dependencies = [
] ]
[dependency-groups] [dependency-groups]
dev = ["pytest"] dev = ["pytest", "nox"]
[tool.poetry] [tool.poetry]
name = "discord-reminder-bot" name = "discord-reminder-bot"
@ -47,40 +47,41 @@ python = "^3.10"
# https://github.com/agronholm/apscheduler # https://github.com/agronholm/apscheduler
# https://github.com/sqlalchemy/sqlalchemy # https://github.com/sqlalchemy/sqlalchemy
# For scheduling reminders, sqlalchemy is needed for storing reminders in a database # For scheduling reminders, sqlalchemy is needed for storing reminders in a database
sqlalchemy = {version = ">=2.0.37,<3.0.0"} sqlalchemy = { version = ">=2.0.37,<3.0.0" }
apscheduler = {version = ">=3.11.0,<4.0.0"} apscheduler = { version = ">=3.11.0,<4.0.0" }
# https://github.com/scrapinghub/dateparser # https://github.com/scrapinghub/dateparser
# For parsing dates and times in /remind commands # For parsing dates and times in /remind commands
dateparser = {version = ">=1.0.0"} dateparser = { version = ">=1.0.0" }
# https://github.com/Rapptz/discord.py # https://github.com/Rapptz/discord.py
# https://github.com/jackrosenthal/legacy-cgi # https://github.com/jackrosenthal/legacy-cgi
# https://github.com/AbstractUmbra/audioop # https://github.com/AbstractUmbra/audioop
# The Discord bot library uses discord.py # The Discord bot library uses discord.py
# legacy-cgi and audioop-lts are because Python 3.13 removed cgi module and audioop module # legacy-cgi and audioop-lts are because Python 3.13 removed cgi module and audioop module
discord-py = {version = ">=2.4.0,<3.0.0", extras = ["speed"]} discord-py = { version = ">=2.4.0,<3.0.0", extras = ["speed"] }
legacy-cgi = {version = ">=2.6.2,<3.0.0", markers = "python_version >= '3.13'"} legacy-cgi = { version = ">=2.6.2,<3.0.0", markers = "python_version >= '3.13'" }
audioop-lts = {version = ">=0.2.1,<1.0.0", markers = "python_version >= '3.13'"} audioop-lts = { version = ">=0.2.1,<1.0.0", markers = "python_version >= '3.13'" }
# https://github.com/lovvskillz/python-discord-webhook # https://github.com/lovvskillz/python-discord-webhook
# For sending webhook messages to Discord # For sending webhook messages to Discord
discord-webhook = {version = ">=1.3.1,<2.0.0"} discord-webhook = { version = ">=1.3.1,<2.0.0" }
# https://github.com/theskumar/python-dotenv # https://github.com/theskumar/python-dotenv
# For loading environment variables from a .env file # For loading environment variables from a .env file
python-dotenv = {version = ">=1.0.1,<2.0.0"} python-dotenv = { version = ">=1.0.1,<2.0.0" }
# https://github.com/getsentry/sentry-python # https://github.com/getsentry/sentry-python
# For error tracking # For error tracking
sentry-sdk = {version = ">=2.20.0,<3.0.0"} sentry-sdk = { version = ">=2.20.0,<3.0.0" }
# https://github.com/Delgan/loguru # https://github.com/Delgan/loguru
# For logging # For logging
loguru = {version = ">=0.7.3,<1.0.0"} loguru = { version = ">=0.7.3,<1.0.0" }
[tool.poetry.dev-dependencies] [tool.poetry.dev-dependencies]
pytest = "*" pytest = "*"
nox = "*"
[build-system] [build-system]
requires = ["poetry-core>=1.0.0"] requires = ["poetry-core>=1.0.0"]