Update installation instructions and bump Python requirement to 3.13; remove Poetry and nox; update pre-commit hooks.
This commit is contained in:
@ -1,9 +1,9 @@
|
||||
[project]
|
||||
name = "discord-reminder-bot"
|
||||
version = "2.0.0"
|
||||
version = "3.0.0"
|
||||
description = "Discord bot that allows you to set date, cron and interval reminders."
|
||||
readme = "README.md"
|
||||
requires-python = ">=3.10"
|
||||
requires-python = ">=3.13"
|
||||
dependencies = [
|
||||
# The Discord bot library uses discord.py
|
||||
"discord-py[speed]>=2.5.0", # https://github.com/Rapptz/discord.py
|
||||
@ -29,63 +29,7 @@ dependencies = [
|
||||
]
|
||||
|
||||
[dependency-groups]
|
||||
dev = ["pytest", "nox"]
|
||||
|
||||
[tool.poetry]
|
||||
name = "discord-reminder-bot"
|
||||
version = "2.0.0"
|
||||
description = "Discord bot that allows you to set date, cron and interval reminders."
|
||||
authors = ["Joakim Hellsén <tlovinator@gmail.com>"]
|
||||
license = "GPL-3.0-or-later"
|
||||
|
||||
[tool.poetry.scripts]
|
||||
bot = "discord_reminder_bot.main:start"
|
||||
|
||||
[tool.poetry.dependencies]
|
||||
python = "^3.10"
|
||||
|
||||
# https://github.com/agronholm/apscheduler
|
||||
# https://github.com/sqlalchemy/sqlalchemy
|
||||
# For scheduling reminders, sqlalchemy is needed for storing reminders in a database
|
||||
sqlalchemy = { version = ">=2.0.37,<3.0.0" }
|
||||
apscheduler = { version = ">=3.11.0,<4.0.0" }
|
||||
|
||||
# https://github.com/scrapinghub/dateparser
|
||||
# For parsing dates and times in /remind commands
|
||||
dateparser = { version = ">=1.0.0" }
|
||||
|
||||
# https://github.com/Rapptz/discord.py
|
||||
# https://github.com/jackrosenthal/legacy-cgi
|
||||
# https://github.com/AbstractUmbra/audioop
|
||||
# The Discord bot library uses discord.py
|
||||
# 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"] }
|
||||
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'" }
|
||||
|
||||
# https://github.com/lovvskillz/python-discord-webhook
|
||||
# For sending webhook messages to Discord
|
||||
discord-webhook = { version = ">=1.3.1,<2.0.0" }
|
||||
|
||||
# https://github.com/theskumar/python-dotenv
|
||||
# For loading environment variables from a .env file
|
||||
python-dotenv = { version = ">=1.0.1,<2.0.0" }
|
||||
|
||||
# https://github.com/getsentry/sentry-python
|
||||
# For error tracking
|
||||
sentry-sdk = { version = ">=2.20.0,<3.0.0" }
|
||||
|
||||
# https://github.com/Delgan/loguru
|
||||
# For logging
|
||||
loguru = { version = ">=0.7.3,<1.0.0" }
|
||||
|
||||
[tool.poetry.dev-dependencies]
|
||||
pytest = "*"
|
||||
nox = "*"
|
||||
|
||||
[build-system]
|
||||
requires = ["poetry-core>=1.0.0"]
|
||||
build-backend = "poetry.core.masonry.api"
|
||||
dev = ["pytest"]
|
||||
|
||||
[tool.ruff]
|
||||
preview = true
|
||||
|
Reference in New Issue
Block a user