Skip to content

Commit e94051e

Browse files
authored
HDXDSYS-1786 Update HAPI Pipelines HNO to read from HAPI dataset (OCHA-DAP#227)
* HAPI uploader * Add cut down test data * Update CHANGELOG
1 parent a291078 commit e94051e

18 files changed

+16446
-22773
lines changed

.config/pre-commit-config.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ repos:
1717
- id: ruff-format
1818
args: [--config, .config/ruff.toml]
1919
- repo: https://github.com/astral-sh/uv-pre-commit
20-
rev: 0.5.29
20+
rev: 0.6.1
2121
hooks:
2222
# Run the pip compile
2323
- id: pip-compile

CHANGELOG.md

+6
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,12 @@ 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.10.40] = 2025-02-20
8+
9+
### Changed
10+
11+
- Humanitarian needs reads from HAPI dataset
12+
713
## [0.10.39] = 2025-02-18
814

915
### Changed

pyproject.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,8 @@ dependencies = [
3838
"hdx-python-api>= 6.3.8",
3939
"hdx-python-country>= 3.8.8",
4040
"hdx-python-database[postgresql]>= 1.3.5",
41-
"hdx-python-scraper>= 2.6.2",
42-
"hdx-python-utilities>= 3.8.3",
41+
"hdx-python-scraper>= 2.6.3",
42+
"hdx-python-utilities>= 3.8.4",
4343
"libhxl",
4444
"sqlalchemy"
4545
]

requirements.txt

+3-3
Original file line numberDiff line numberDiff line change
@@ -67,15 +67,15 @@ hdx-python-country==3.8.8
6767
# hdx-python-scraper
6868
hdx-python-database==1.3.5
6969
# via hapi-pipelines (pyproject.toml)
70-
hdx-python-scraper==2.6.2
70+
hdx-python-scraper==2.6.3
7171
# via hapi-pipelines (pyproject.toml)
72-
hdx-python-utilities==3.8.3
72+
hdx-python-utilities==3.8.4
7373
# via
7474
# hapi-pipelines (pyproject.toml)
7575
# hdx-python-api
7676
# hdx-python-country
7777
# hdx-python-scraper
78-
humanize==4.12.0
78+
humanize==4.12.1
7979
# via frictionless
8080
identify==2.6.7
8181
# via pre-commit

src/hapi/pipelines/app/pipelines.py

+1
Original file line numberDiff line numberDiff line change
@@ -241,6 +241,7 @@ def output_humanitarian_needs(self):
241241
metadata=self._metadata,
242242
admins=self._admins,
243243
configuration=self._configuration,
244+
error_handler=self._error_handler,
244245
)
245246
humanitarian_needs.populate()
246247

0 commit comments

Comments
 (0)