diff --git a/poetry.lock b/poetry.lock index 1e445fc..d326341 100644 --- a/poetry.lock +++ b/poetry.lock @@ -1,4 +1,4 @@ -# This file is automatically @generated by Poetry 1.8.3 and should not be changed by hand. +# This file is automatically @generated by Poetry 1.6.1 and should not be changed by hand. [[package]] name = "alabaster" @@ -2580,6 +2580,17 @@ files = [ {file = "types_regex-2024.9.11.20240912-py3-none-any.whl", hash = "sha256:2ee9a15b5a9a4d6e9a8589e60d3f36bbae5f224393f15611c965e6d2a797107d"}, ] +[[package]] +name = "types-xdgenvpy" +version = "2.4.0.20240905" +description = "Typing stubs for xdgenvpy" +optional = false +python-versions = ">=3.8" +files = [ + {file = "types-xdgenvpy-2.4.0.20240905.tar.gz", hash = "sha256:cbb1edb796776da3d67be2d59271bf7a1fcf31f67bdd1f1f866f4be3f7b1d20d"}, + {file = "types_xdgenvpy-2.4.0.20240905-py3-none-any.whl", hash = "sha256:6348044ad10e446a28e8d3f6830f0074d3939d48123393b2b0873cc63be918ee"}, +] + [[package]] name = "typing-extensions" version = "4.12.2" @@ -2739,16 +2750,16 @@ files = [ [[package]] name = "xdgenvpy" -version = "2.4.0" +version = "3.0.0" description = "Another XDG Base Directory Specification utility." optional = false python-versions = "*" files = [ - {file = "xdgenvpy-2.4.0-py3-none-any.whl", hash = "sha256:4c4e427a753e8ecb0e336a7cd7eacd55f91a5fc8fd1fa42a957706fccf2b9949"}, - {file = "xdgenvpy-2.4.0.tar.gz", hash = "sha256:ff3f0d36a7ae77b25a47c9e37daa66e009acb7a14dbec257331a1254e1e690d3"}, + {file = "xdgenvpy-3.0.0-py3-none-any.whl", hash = "sha256:2d4991f380cab1288e62a47e19fc7bc1490ea82b4e796989695ceb2c5f702f51"}, + {file = "xdgenvpy-3.0.0.tar.gz", hash = "sha256:c03ff979fa8002618d1e4f777bd62797d629e0dc599cf23d4dc6f536c64bc340"}, ] [metadata] lock-version = "2.0" python-versions = ">=3.10,<3.13" -content-hash = "63478cd3184f236ad9822ef1f9cb02c769a314f9bfad8d383353fbcca2c417bf" +content-hash = "0414c03c50dc4c47ae34b5633c4eec94cbce91e586e4ecf057872c2bffb06bcb" diff --git a/pyproject.toml b/pyproject.toml index 67a16d3..dc9263c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -30,11 +30,12 @@ click = "^8.1.7" fabric = "^3.2.2" invoke = "^2.2.0" orjson = "^3.10.7" -xdgenvpy = "^2.4.0" +xdgenvpy = "^3.0.0" python-slugify = "^8.0.4" rich-argparse = "^1.5.2" regex = "^2024.9.11" dotty-dictionary = "^1.2.0" +types-xdgenvpy = "^2.4.0.20240905" [tool.poetry.group.dev.dependencies] isort = "^5.12.0" diff --git a/src/jockey/cache.py b/src/jockey/cache.py index f3c89ba..fe6e1bc 100644 --- a/src/jockey/cache.py +++ b/src/jockey/cache.py @@ -44,7 +44,7 @@ from orjson import dumps as json_dumps from orjson import loads as json_loads from slugify import slugify -from xdgenvpy import XDGPedanticPackage # type: ignore[import-untyped] +from xdgenvpy.xdgenv import XDGPedanticPackage JOCKEY_XDG = XDGPedanticPackage("jockey")