Skip to content

Commit e32d28c

Browse files
authored
HDXDSYS-884 Make openpyxl open in read only mode (OCHA-DAP#129)
* Update HDX Python Scraper * Update CHANGELOG * Update requirements before merge
1 parent 39cc6b1 commit e32d28c

File tree

4 files changed

+16
-8
lines changed

4 files changed

+16
-8
lines changed

.config/pre-commit-config.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ repos:
88
- id: end-of-file-fixer
99
- id: check-ast
1010
- repo: https://github.com/astral-sh/ruff-pre-commit
11-
rev: v0.4.10
11+
rev: v0.5.1
1212
hooks:
1313
# Run the linter.
1414
- id: ruff

CHANGELOG.md

+8
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,14 @@ All notable changes to this project will be documented in this file.
44

55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
66

7+
## [0.9.31] - 2024-07-15
8+
9+
### Changed
10+
11+
- Update HDX Python Scraper to 2.4.0 - it has a small optimisation to the
12+
filtering and sorting of rows in the RowParser and a larger one which defaults
13+
fill_merged_cells to False so that Frictionless uses OpenPyXL in read only mode
14+
715
## [0.9.30] - 2024-07-13
816

917
### Fixed

pyproject.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,10 @@ requires-python = ">=3.8"
3535

3636
dependencies = [
3737
"hapi-schema>=0.8.12",
38-
"hdx-python-api>= 6.2.9",
38+
"hdx-python-api>= 6.3.1",
3939
"hdx-python-country>= 3.7.6",
4040
"hdx-python-database[postgresql]>= 1.3.1",
41-
"hdx-python-scraper>= 2.3.8",
41+
"hdx-python-scraper>= 2.4.0",
4242
"hdx-python-utilities>= 3.7.2",
4343
"libhxl",
4444
"sqlalchemy"

requirements.txt

+5-5
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ attrs==23.2.0
88
# jsonlines
99
# jsonschema
1010
# referencing
11-
cachetools==5.3.3
11+
cachetools==5.4.0
1212
# via google-auth
1313
certifi==2024.7.4
1414
# via requests
@@ -24,7 +24,7 @@ ckanapi==4.8
2424
# via hdx-python-api
2525
click==8.1.7
2626
# via typer
27-
coverage==7.5.4
27+
coverage==7.6.0
2828
# via pytest-cov
2929
cryptography==42.0.8
3030
# via pyopenssl
@@ -71,7 +71,7 @@ hdx-python-country==3.7.6
7171
# hdx-python-scraper
7272
hdx-python-database==1.3.1
7373
# via hapi-pipelines (pyproject.toml)
74-
hdx-python-scraper==2.3.8
74+
hdx-python-scraper==2.4.0
7575
# via hapi-pipelines (pyproject.toml)
7676
hdx-python-utilities==3.7.2
7777
# via
@@ -114,7 +114,7 @@ libhxl==5.2.1
114114
# hdx-python-country
115115
loguru==0.7.2
116116
# via hdx-python-utilities
117-
makefun==1.15.3
117+
makefun==1.15.4
118118
# via hdx-python-api
119119
markdown-it-py==3.0.0
120120
# via rich
@@ -295,7 +295,7 @@ urllib3==2.2.2
295295
# via
296296
# libhxl
297297
# requests
298-
validators==0.32.0
298+
validators==0.33.0
299299
# via frictionless
300300
virtualenv==20.26.3
301301
# via pre-commit

0 commit comments

Comments
 (0)