mirror of
https://github.com/gristlabs/grist-core.git
synced 2024-10-27 20:44:07 +00:00
6c90de4d62
Summary: Use openpyxl instead of messytables (which used xlrd internally) in import_xls.py. Skip empty rows since excel files can easily contain huge numbers of them. Drop support for xls files (which openpyxl doesn't support) in favour of the newer xlsx format. Fix some details relating to python virtualenvs and dependencies, as Jenkins was failing to find new Python dependencies. Test Plan: Mostly relying on existing tests. Updated various tests which referred to xls files instead of xlsx. Added a Python test for skipping empty rows. Reviewers: georgegevoian Reviewed By: georgegevoian Differential Revision: https://phab.getgrist.com/D3406
24 lines
489 B
YAML
24 lines
489 B
YAML
name: core
|
|
version: 0.0.0
|
|
description: Grist core features
|
|
components:
|
|
safePython: sandbox/main.py
|
|
contributions:
|
|
fileParsers:
|
|
- fileExtensions: ["csv", "tsv", "txt"]
|
|
parseFile:
|
|
component: safePython
|
|
name: csv_parser
|
|
- fileExtensions: ["xlsx", "xlsm"]
|
|
parseFile:
|
|
component: safePython
|
|
name: xls_parser
|
|
- fileExtensions: ["json"]
|
|
parseFile:
|
|
component: safePython
|
|
name: json_parser
|
|
|
|
scripts:
|
|
build:
|
|
test:
|