Skip to content
GitLab
Explore
Sign in
Commits on Source (2)
Update xdg to renamed xdg-base-dirs
· 60dff9a2
Dom Sekotill
authored
Jun 18, 2024
60dff9a2
Update trio to latest beta release
· fd490f11
Dom Sekotill
authored
Jun 18, 2024
fd490f11
Hide whitespace changes
Inline
Side-by-side
.pre-commit-config.yaml
View file @
fd490f11
...
...
@@ -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]
behave_utils/binaries.py
View file @
fd490f11
# Copyright 2021-202
3
Dominik Sekotill <dom.sekotill@kodo.org.uk>
# Copyright 2021-202
4
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
):
...
...
pyproject.toml
View file @
fd490f11
...
...
@@ -40,8 +40,8 @@ jsonpath-python = "~=1.0"
orjson
=
"~
=
3.6
"
parse
=
"~
=
1.19
"
requests
=
"~
=
2.26
"
trio
=
"~
=
0.2
0
.
0
"
xdg
=
"~
=
5.1
"
trio
=
"~
=
0.2
5
.
0
"
xdg
-base-dirs
=
"~
=
6.0
"
packaging
=
">
=
21
"
...
...