Skip to content

Commit aa18889

Browse files
authored
upgrade gpxpy (#768)
1 parent 17d774e commit aa18889

File tree

3 files changed

+9
-15
lines changed

3 files changed

+9
-15
lines changed

mapillary_tools/geotag/geotag_images_from_gpx.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,6 @@
2020
LOG = logging.getLogger(__name__)
2121

2222

23-
class SyncMode:
24-
SYNC = "sync"
25-
STRICT_SYNC = "strict_sync"
26-
RESET = "reset"
27-
28-
2923
class GeotagImagesFromGPX(GeotagImagesFromGeneric):
3024
def __init__(
3125
self,

pyproject.toml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,11 @@ classifiers = [
2929
]
3030
dependencies = [
3131
"appdirs>=1.4.4,<2.0.0",
32-
"construct>=2.10.0,<3.0.0",
33-
"exifread==2.3.2",
34-
"gpxpy>=1.5.0,<1.6.0",
35-
"jsonschema~=4.17.3",
36-
"piexif==1.1.3",
32+
"construct~=2.10.0",
33+
"exifread~=3.0",
34+
"gpxpy~=1.6.0",
35+
"jsonschema~=4.17.0",
36+
"piexif~=1.1",
3737
"pynmea2>=1.12.0,<2.0.0",
3838
"requests[socks]>=2.20.0,<3.0.0",
3939
"tqdm>=4.0,<5.0",

tests/integration/test_process.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -347,22 +347,22 @@ def test_process_boolean_options(setup_data: py.path.local):
347347
<trkseg>
348348
<trkpt lat="0.02" lon="0.01">
349349
<ele>1</ele>
350-
<time>2018-06-08T20:23:34.805</time>
350+
<time>2018-06-08T20:23:34.805Z</time>
351351
</trkpt>
352352
353353
<trkpt lat="2.02" lon="0.01">
354354
<ele>2</ele>
355-
<time>2018-06-08T20:24:35.809</time>
355+
<time>2018-06-08T20:24:35.809Z</time>
356356
</trkpt>
357357
358358
<trkpt lat="2.02" lon="2.01">
359359
<ele>4</ele>
360-
<time>2018-06-08T20:33:36.813</time>
360+
<time>2018-06-08T20:33:36.813Z</time>
361361
</trkpt>
362362
363363
<trkpt lat="4.02" lon="2.01">
364364
<ele>9</ele>
365-
<time>2018-06-08T20:58:37.812</time>
365+
<time>2018-06-08T20:58:37.812Z</time>
366366
</trkpt>
367367
</trkseg>
368368
</trk>

0 commit comments

Comments
 (0)