diff --git a/pterodactyl/info.json b/pterodactyl/info.json index ec7c4db..d32c39c 100644 --- a/pterodactyl/info.json +++ b/pterodactyl/info.json @@ -9,7 +9,10 @@ "hidden": false, "disabled": false, "min_bot_version": "3.5.0", - "min_python_version": [3, 8, 0], - "requirements": ["git+https://github.com/cswimr/pydactyl", "websockets"], + "min_python_version": [3, 10, 0], + "requirements": [ + "git+https://github.com/iamkubi/pydactyl@v2.0.5", + "websockets" + ], "tags": ["pterodactyl", "minecraft", "server", "management"] } diff --git a/pyproject.toml b/pyproject.toml index 8dce5ac..bf5bc0c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -7,36 +7,36 @@ license = { file = "LICENSE" } readme = "README.md" requires-python = ">=3.11" dependencies = [ - "aiosqlite>=0.20.0", - "beautifulsoup4>=4.12.3", - "colorthief>=0.2.1", - "markdownify>=0.14.1", - "numpy>=2.2.2", - "phx-class-registry>=5.1.1", - "pillow>=10.4.0", - "pip>=25.0", - "py-dactyl", - "pydantic>=2.10.6", - "red-discordbot>=3.5.14", - "watchdog>=6.0.0", - "websockets>=14.2", + "aiosqlite>=0.20.0", + "beautifulsoup4>=4.12.3", + "colorthief>=0.2.1", + "markdownify>=0.14.1", + "numpy>=2.2.2", + "phx-class-registry>=5.1.1", + "pillow>=10.4.0", + "pip>=25.0", + "py-dactyl", + "pydantic>=2.10.6", + "red-discordbot>=3.5.14", + "watchdog>=6.0.0", + "websockets>=14.2", ] [dependency-groups] documentation = [ - "mkdocs>=1.6.1", - "mkdocs-git-authors-plugin>=0.9.2", - "mkdocs-git-revision-date-localized-plugin>=1.3.0", - "mkdocs-material[imaging]>=9.5.50", - "mkdocs-redirects>=1.2.2", - "mkdocstrings[python]>=0.27.0", + "mkdocs>=1.6.1", + "mkdocs-git-authors-plugin>=0.9.2", + "mkdocs-git-revision-date-localized-plugin>=1.3.0", + "mkdocs-material[imaging]>=9.5.50", + "mkdocs-redirects>=1.2.2", + "mkdocstrings[python]>=0.27.0", ] [tool.uv] dev-dependencies = ["pylint>=3.3.3", "ruff>=0.9.3", "sqlite-web>=0.6.4"] [tool.uv.sources] -py-dactyl = { git = "https://github.com/cswimr/pydactyl" } +py-dactyl = { git = "https://github.com/iamkubi/pydactyl", tag = "v2.0.5" } [tool.basedpyright] typeCheckingMode = "basic" @@ -45,32 +45,32 @@ reportAttributeAccessIssue = false # disabled because `commands.group.command` i [tool.ruff] # Exclude a variety of commonly ignored directories. exclude = [ - ".bzr", - ".direnv", - ".eggs", - ".git", - ".git-rewrite", - ".hg", - ".ipynb_checkpoints", - ".mypy_cache", - ".nox", - ".pants.d", - ".pyenv", - ".pytest_cache", - ".pytype", - ".ruff_cache", - ".svn", - ".tox", - ".venv", - ".vscode", - "__pypackages__", - "_build", - "buck-out", - "build", - "dist", - "node_modules", - "site-packages", - "venv", + ".bzr", + ".direnv", + ".eggs", + ".git", + ".git-rewrite", + ".hg", + ".ipynb_checkpoints", + ".mypy_cache", + ".nox", + ".pants.d", + ".pyenv", + ".pytest_cache", + ".pytype", + ".ruff_cache", + ".svn", + ".tox", + ".venv", + ".vscode", + "__pypackages__", + "_build", + "buck-out", + "build", + "dist", + "node_modules", + "site-packages", + "venv", ] # Same as Black. @@ -85,29 +85,29 @@ target-version = "py311" # Unlike Flake8, Ruff doesn't enable pycodestyle warnings (`W`) or # McCabe complexity (`C901`) by default. select = [ - "I", - "N", - "F", - "W", - "E", - "G", - "A", - "COM", - "INP", - "T20", - "PLC", - "PLE", - "PLW", - "PLR", - "LOG", - "SLF", - "ERA", - "FIX", - "PERF", - "C4", - "EM", - "RET", - "RSE", + "I", + "N", + "F", + "W", + "E", + "G", + "A", + "COM", + "INP", + "T20", + "PLC", + "PLE", + "PLW", + "PLR", + "LOG", + "SLF", + "ERA", + "FIX", + "PERF", + "C4", + "EM", + "RET", + "RSE", ] ignore = ["PLR0911", "PLR0912", "PLR0915", "PLR2004", "PLR0913", "EM101"] diff --git a/uv.lock b/uv.lock index c11d993..4707381 100644 --- a/uv.lock +++ b/uv.lock @@ -592,7 +592,7 @@ name = "importlib-metadata" version = "8.5.0" source = { registry = "https://pypi.org/simple" } dependencies = [ - { name = "zipp" }, + { name = "zipp", marker = "python_full_version >= '3.12'" }, ] sdist = { url = "https://files.pythonhosted.org/packages/cd/12/33e59336dca5be0c398a7482335911a33aa0e20776128f038019f1a95f1b/importlib_metadata-8.5.0.tar.gz", hash = "sha256:71522656f0abace1d072b9e5481a48f07c138e00f079c38c8f883823f9c26bd7", size = 55304 } wheels = [ @@ -1227,8 +1227,8 @@ wheels = [ [[package]] name = "py-dactyl" -version = "2.0.4" -source = { git = "https://github.com/cswimr/pydactyl#a8ad40c21b3fe2248451fd85a1146b32d29f10df" } +version = "2.0.5" +source = { git = "https://github.com/iamkubi/pydactyl?tag=v2.0.5#ef5d8b9b807f67067dc1214097abf01ddb7e551f" } dependencies = [ { name = "requests" }, ] @@ -1701,7 +1701,7 @@ requires-dist = [ { name = "phx-class-registry", specifier = ">=5.1.1" }, { name = "pillow", specifier = ">=10.4.0" }, { name = "pip", specifier = ">=25.0" }, - { name = "py-dactyl", git = "https://github.com/cswimr/pydactyl" }, + { name = "py-dactyl", git = "https://github.com/iamkubi/pydactyl?tag=v2.0.5" }, { name = "pydantic", specifier = ">=2.10.6" }, { name = "red-discordbot", specifier = ">=3.5.14" }, { name = "watchdog", specifier = ">=6.0.0" },