From 675b1b338641d6f54cb30af1ab2f99f46e085007 Mon Sep 17 00:00:00 2001 From: Tao Peng Date: Mon, 4 Aug 2025 17:48:41 -0700 Subject: [PATCH] upgrade gpxpy --- mapillary_tools/geotag/geotag_images_from_gpx.py | 6 ------ pyproject.toml | 10 +++++----- tests/integration/test_process.py | 8 ++++---- 3 files changed, 9 insertions(+), 15 deletions(-) diff --git a/mapillary_tools/geotag/geotag_images_from_gpx.py b/mapillary_tools/geotag/geotag_images_from_gpx.py index 5e0b9317a..2ec0b9d2a 100644 --- a/mapillary_tools/geotag/geotag_images_from_gpx.py +++ b/mapillary_tools/geotag/geotag_images_from_gpx.py @@ -20,12 +20,6 @@ LOG = logging.getLogger(__name__) -class SyncMode: - SYNC = "sync" - STRICT_SYNC = "strict_sync" - RESET = "reset" - - class GeotagImagesFromGPX(GeotagImagesFromGeneric): def __init__( self, diff --git a/pyproject.toml b/pyproject.toml index 110fcb4ec..8c5939ce3 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -29,11 +29,11 @@ classifiers = [ ] dependencies = [ "appdirs>=1.4.4,<2.0.0", - "construct>=2.10.0,<3.0.0", - "exifread==2.3.2", - "gpxpy>=1.5.0,<1.6.0", - "jsonschema~=4.17.3", - "piexif==1.1.3", + "construct~=2.10.0", + "exifread~=3.0", + "gpxpy~=1.6.0", + "jsonschema~=4.17.0", + "piexif~=1.1", "pynmea2>=1.12.0,<2.0.0", "requests[socks]>=2.20.0,<3.0.0", "tqdm>=4.0,<5.0", diff --git a/tests/integration/test_process.py b/tests/integration/test_process.py index 59335bd21..8bc6e99ac 100644 --- a/tests/integration/test_process.py +++ b/tests/integration/test_process.py @@ -347,22 +347,22 @@ def test_process_boolean_options(setup_data: py.path.local): 1 - + 2 - + 4 - + 9 - +