File tree 3 files changed +9
-1
lines changed
3 files changed +9
-1
lines changed Original file line number Diff line number Diff line change 1
1
# Copyright 2024 Canonical Ltd.
2
2
# Licensed under the Apache V2, see LICENCE file for details.
3
3
"""Python Library for Juju."""
4
+
5
+ from backports .datetime_fromisoformat import MonkeyPatch
6
+
7
+ MonkeyPatch .patch_fromisoformat ()
Original file line number Diff line number Diff line change @@ -23,7 +23,6 @@ classifiers = [
23
23
]
24
24
dependencies = [
25
25
" macaroonbakery>=1.1,<2.0" ,
26
- " pyRFC3339>=1.0,<2.0" ,
27
26
" pyyaml>=5.1.2" ,
28
27
" websockets>=13.0.1" ,
29
28
" paramiko>=2.4.0" ,
@@ -35,6 +34,7 @@ dependencies = [
35
34
" packaging" ,
36
35
" typing-extensions>=4.5.0" ,
37
36
' backports.strenum>=1.3.1; python_version < "3.11"' ,
37
+ " backports-datetime-fromisoformat>=2.0.2" ,
38
38
]
39
39
[project .optional-dependencies ]
40
40
dev = [
Original file line number Diff line number Diff line change @@ -50,6 +50,10 @@ commands =
50
50
51
51
[testenv:unit]
52
52
envdir = {toxworkdir}/py3
53
+ deps =
54
+ backports-datetime-fromisoformat
55
+ allowlist_externals =
56
+ pytest
53
57
commands =
54
58
pytest {toxinidir}/tests/unit {posargs}
55
59
You can’t perform that action at this time.
0 commit comments