From 45217ad76a3ee2f644b98b75dfc73610f8a513c7 Mon Sep 17 00:00:00 2001 From: spwoodcock Date: Thu, 20 Jun 2024 21:00:27 +0100 Subject: [PATCH] build: upgrade osm-fieldwork --> 0.12.4 for removal of 'essential' group --- src/backend/app/central/central_crud.py | 2 +- src/backend/pdm.lock | 8 ++++---- src/backend/pyproject.toml | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/backend/app/central/central_crud.py b/src/backend/app/central/central_crud.py index a8fbe1c141..b8365ce68c 100644 --- a/src/backend/app/central/central_crud.py +++ b/src/backend/app/central/central_crud.py @@ -544,7 +544,7 @@ async def modify_xform_xml( # Hardcode the form_category value for the start instructions form_category_update = root.find( - ".//xforms:bind[@nodeset='/data/essential/form_category']", namespaces + ".//xforms:bind[@nodeset='/data/form_category']", namespaces ) if form_category_update is not None: if category.endswith("s"): diff --git a/src/backend/pdm.lock b/src/backend/pdm.lock index be4695dec8..0acf9c319c 100644 --- a/src/backend/pdm.lock +++ b/src/backend/pdm.lock @@ -5,7 +5,7 @@ groups = ["default", "debug", "dev", "docs", "test", "monitoring"] strategy = ["cross_platform"] lock_version = "4.4.1" -content_hash = "sha256:4ce2944484e6b4e128d661d7ce502ee72e7752344e1d4ab0cbc4d4ba413dc707" +content_hash = "sha256:f9fd06ce15d9580e9ba1652829935c473e1853b7ebb0d1439f7ddf7a5ece0b9a" [[package]] name = "aiohttp" @@ -1662,7 +1662,7 @@ files = [ [[package]] name = "osm-fieldwork" -version = "0.12.3" +version = "0.12.4" requires_python = ">=3.10" summary = "Processing field data from ODK to OpenStreetMap format." dependencies = [ @@ -1687,8 +1687,8 @@ dependencies = [ "xmltodict>=0.13.0", ] files = [ - {file = "osm-fieldwork-0.12.3.tar.gz", hash = "sha256:75798d6af2c86b889c6ad9f2ab4333d369d1c6926c8b32f72e0460db86a6b2a3"}, - {file = "osm_fieldwork-0.12.3-py3-none-any.whl", hash = "sha256:48adc4cc4a56c3ede9f3b3055c22918948dbe061d1a2c00926275ee513d25954"}, + {file = "osm-fieldwork-0.12.4.tar.gz", hash = "sha256:d7ecc68080030c092bfbcd4df61b9bb6cfc7aa03e1a7a03e5b73065c552dbe70"}, + {file = "osm_fieldwork-0.12.4-py3-none-any.whl", hash = "sha256:5d9f10c87f0247fddbed6db9a87bf6023ecd294e01c563fbeb5b829ee6f9dc36"}, ] [[package]] diff --git a/src/backend/pyproject.toml b/src/backend/pyproject.toml index 6b51e07171..011b810db4 100644 --- a/src/backend/pyproject.toml +++ b/src/backend/pyproject.toml @@ -46,7 +46,7 @@ dependencies = [ "cryptography>=42.0.1", "defusedxml>=0.7.1", "osm-login-python==1.0.3", - "osm-fieldwork==0.12.3", + "osm-fieldwork==0.12.4", "osm-rawdata==0.3.0", "fmtm-splitter==1.2.2", ]