arelle: fix build, 2.37.61 -> 2.37.72 (#461978)

This commit is contained in:
Robert Hensing
2025-11-17 08:46:31 +00:00
committed by GitHub

View File

@@ -10,6 +10,7 @@
certifi, certifi,
filelock, filelock,
isodate, isodate,
jaconv,
jsonschema, jsonschema,
lxml, lxml,
numpy, numpy,
@@ -25,17 +26,17 @@
tkinter, tkinter,
aniso8601, aniso8601,
pycryptodome, cheroot,
graphviz,
holidays,
matplotlib,
pg8000, pg8000,
pycryptodome,
pymysql, pymysql,
pyodbc, pyodbc,
rdflib,
holidays,
pytz, pytz,
rdflib,
tinycss2, tinycss2,
graphviz,
cheroot,
cherrypy,
tornado, tornado,
sphinxHook, sphinxHook,
@@ -44,20 +45,21 @@
sphinx-copybutton, sphinx-copybutton,
furo, furo,
writableTmpDirAsHomeHook,
pytestCheckHook, pytestCheckHook,
boto3, boto3,
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "arelle${lib.optionalString (!gui) "-headless"}"; pname = "arelle${lib.optionalString (!gui) "-headless"}";
version = "2.37.61"; version = "2.37.72";
pyproject = true; pyproject = true;
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "Arelle"; owner = "Arelle";
repo = "Arelle"; repo = "Arelle";
tag = version; tag = version;
hash = "sha256-xz3sDAgE1Qpml8V+2y+q/tTda6uGZuMnNSEGdIjLlzI="; hash = "sha256-wytYETzntY1sGHgXua/MOkceiNKjr5qddAGWPMJni98=";
}; };
outputs = [ outputs = [
@@ -71,6 +73,10 @@ buildPythonPackage rec {
'requires = ["setuptools", "wheel", "setuptools_scm[toml]"]' 'requires = ["setuptools", "wheel", "setuptools_scm[toml]"]'
''; '';
pythonRelaxDeps = [
"pillow" # pillow's current version is above what arelle officially supports, but it should be fine
];
build-system = [ build-system = [
setuptools setuptools
setuptools-scm setuptools-scm
@@ -81,6 +87,7 @@ buildPythonPackage rec {
certifi certifi
filelock filelock
isodate isodate
jaconv
jsonschema jsonschema
lxml lxml
numpy numpy
@@ -103,14 +110,15 @@ buildPythonPackage rec {
rdflib rdflib
]; ];
efm = [ efm = [
aniso8601
holidays holidays
matplotlib
pytz pytz
]; ];
esef = [ tinycss2 ]; esef = [ tinycss2 ];
objectmaker = [ graphviz ]; objectmaker = [ graphviz ];
webserver = [ webserver = [
cheroot cheroot
cherrypy
tornado tornado
]; ];
xule = [ aniso8601 ]; xule = [ aniso8601 ];
@@ -131,15 +139,12 @@ buildPythonPackage rec {
''; '';
nativeCheckInputs = [ nativeCheckInputs = [
writableTmpDirAsHomeHook
pytestCheckHook pytestCheckHook
boto3 boto3
] ]
++ lib.flatten (lib.attrValues optional-dependencies); ++ lib.flatten (lib.attrValues optional-dependencies);
preCheck = ''
export HOME=$(mktemp -d)
'';
disabledTestPaths = [ disabledTestPaths = [
"tests/integration_tests" "tests/integration_tests"
] ]