Verified Commit 60dff9a2 authored by Dom Sekotill's avatar Dom Sekotill
Browse files

Update xdg to renamed xdg-base-dirs

parent 5cbd11a1
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -98,5 +98,5 @@ repos:
    - types-urllib3
    - typing-extensions ~=4.0; python_version < "3.11"
    - trio-typing[mypy]
    - xdg ~=5.1
    - xdg-base-dirs ~=6.0
    - git+https://code.kodo.org.uk/dom/type-stubs.git#type-stubs[jsonpath,parse]
+3 −3
Original line number Diff line number Diff line
#  Copyright 2021-2023  Dominik Sekotill <dom.sekotill@kodo.org.uk>
#  Copyright 2021-2024  Dominik Sekotill <dom.sekotill@kodo.org.uk>
#
#  This Source Code Form is subject to the terms of the Mozilla Public
#  License, v. 2.0. If a copy of the MPL was not distributed with this
@@ -22,13 +22,13 @@ from tarfile import TarFile
from typing import IO

import requests
import xdg
from packaging.version import Version
from xdg_base_dirs import xdg_cache_home

from behave_utils.json import JSONObject
from behave_utils.url import URL

CACHE_DIR: Path = xdg.xdg_cache_home() / "behave-testing"
CACHE_DIR: Path = xdg_cache_home() / "behave-testing"


class DownloadableExecutable(ABC):
+1 −1
Original line number Diff line number Diff line
@@ -41,7 +41,7 @@ orjson = "~=3.6"
parse = "~=1.19"
requests = "~=2.26"
trio = "~=0.20.0"
xdg = "~=5.1"
xdg-base-dirs = "~=6.0"
packaging = ">=21"