Fix an import from distutils that is problematic on recent Python versions.

Signed-off-by: Daira-Emma Hopwood <daira@jacaranda.org>
This commit is contained in:
Daira-Emma Hopwood 2024-09-03 19:37:24 +01:00
parent a5dc6a32f4
commit f08b5bfd37
2 changed files with 3 additions and 1 deletions

View File

@ -13,6 +13,7 @@ documentation = "https://github.com/zcash/developers/"
classifiers = [
"Private :: Do Not Upload",
]
package-mode = false
[tool.poetry.dependencies]
python = "^3.8"
@ -20,3 +21,4 @@ drest = "0.9.12"
networkx = "3.1"
pygraphviz = "1.11"
sgqlc = "16.3"
str2bool = "1.1"

View File

@ -7,7 +7,7 @@
import drest
import networkx as nx
from distutils.util import strtobool
from str2bool import str2bool as strtobool
import mimetypes
import os
from textwrap import wrap