From d030384a4b14b53645a4d712cdc13ca8e44f2902 Mon Sep 17 00:00:00 2001 From: James McKinney <26463+jpmckinney@users.noreply.github.com> Date: Mon, 20 Nov 2023 14:48:17 -0500 Subject: [PATCH] build: Upgrade flattentool. Remove old comment. --- cove_oc4ids/views.py | 3 +-- requirements.txt | 2 +- requirements_dev.txt | 6 ++---- 3 files changed, 4 insertions(+), 7 deletions(-) diff --git a/cove_oc4ids/views.py b/cove_oc4ids/views.py index b89fdf7..2b75059 100644 --- a/cove_oc4ids/views.py +++ b/cove_oc4ids/views.py @@ -61,8 +61,7 @@ def explore_oc4ids(request, pk): schema_oc4ids = SchemaOC4IDS(lib_cove_oc4ids_config=lib_cove_oc4ids_config) - # Flatten Tool has catastrophically bad performance on even a 50 MB file (uses 3 GB). In the last 14 days as of - # 2020-10-06, `flattened.xlsx` has been requested only once. As such, this feature is disabled. + # This feature is disabled, because `flattened.xlsx` was requested once in 14 days as of 2020-10-06. # context.update(convert_json(upload_dir, upload_url, file_name, lib_cove_oc4ids_config, # schema_url=schema_oc4ids.schema_url, replace=True, # request=request, flatten=True)) diff --git a/requirements.txt b/requirements.txt index efdbcbd..b179f75 100644 --- a/requirements.txt +++ b/requirements.txt @@ -42,7 +42,7 @@ django-environ==0.6.0 # via libcoveweb et-xmlfile==1.1.0 # via openpyxl -flattentool==0.19.0 +flattentool==0.24.0 # via # libcove # libcoveweb diff --git a/requirements_dev.txt b/requirements_dev.txt index c938fc9..bbadd8a 100644 --- a/requirements_dev.txt +++ b/requirements_dev.txt @@ -90,7 +90,7 @@ exceptiongroup==1.1.1 # trio-websocket flake8==3.9.2 # via -r requirements_dev.in -flattentool==0.19.0 +flattentool==0.24.0 # via # -r requirements.txt # libcove @@ -131,9 +131,7 @@ libcove[flatten] @ https://github.com/jpmckinney/lib-cove/archive/hotfix2.zip # libcoveocds # libcoveweb libcoveoc4ids[perf]==0.4.2 - # via - # -r requirements.txt - # libcoveoc4ids + # via -r requirements.txt libcoveocds==0.11.0 # via # -r requirements.txt