From 9e37a7aea8be7c145482694599aa49b06919f74f Mon Sep 17 00:00:00 2001 From: Tao Peng Date: Sat, 3 Feb 2024 11:56:54 -0800 Subject: [PATCH 1/4] CI: support Python3.12 --- .github/workflows/python-package.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index a5e8abff..a6d0d19e 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -16,7 +16,7 @@ jobs: build: strategy: matrix: - python-version: ["3.8", "3.9", "3.10", "3.11"] + python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"] platform: ["ubuntu-latest", "macos-latest", "windows-latest"] architecture: ["x64"] From 20341ed9d3520f0fe84146a48e4e4bc012353227 Mon Sep 17 00:00:00 2001 From: Tao Peng Date: Sun, 25 Feb 2024 10:00:26 -0800 Subject: [PATCH 2/4] upgrade pynmea2 --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 3f36a64e..05d37f60 100644 --- a/requirements.txt +++ b/requirements.txt @@ -3,7 +3,7 @@ construct>=2.10.0,<3.0.0 exifread==2.3.2 piexif==1.1.3 gpxpy>=1.5.0,<1.6.0 -pynmea2==1.12.0 +pynmea2>=1.12.0,<2.0.0 requests>=2.20.0,<3.0.0 tqdm>=4.0,<5.0 typing_extensions From 3b2f8158668ddbf5df93f097329936baf8178ec3 Mon Sep 17 00:00:00 2001 From: Tao Peng Date: Sun, 25 Feb 2024 10:09:33 -0800 Subject: [PATCH 3/4] upgrade actions --- .github/workflows/python-package.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index a6d0d19e..13e7dfe7 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -36,7 +36,7 @@ jobs: # https://github.com/actions/checkout#Checkout-multiple-repos-side-by-side # pull into mapillary/mapillary_tools/exiftool - name: Setup ExifTool - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: repository: "exiftool/exiftool" path: exiftool @@ -49,10 +49,10 @@ jobs: perl ${{ github.workspace }}/exiftool/exiftool.pl -ver - name: Setup FFmpeg - uses: FedericoCarboni/setup-ffmpeg@v2 + uses: FedericoCarboni/setup-ffmpeg@v3.1 - name: Set up ${{ matrix.architecture }} Python ${{ matrix.python-version }} - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} # optional x64 or x86. Defaults to x64 if not specified From 73810513ba4f8b95fb7b9c039a95bb0430c098d6 Mon Sep 17 00:00:00 2001 From: Tao Peng Date: Sun, 25 Feb 2024 10:12:18 -0800 Subject: [PATCH 4/4] Revert "upgrade actions" This reverts commit 3b2f8158668ddbf5df93f097329936baf8178ec3. --- .github/workflows/python-package.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index 13e7dfe7..a6d0d19e 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -36,7 +36,7 @@ jobs: # https://github.com/actions/checkout#Checkout-multiple-repos-side-by-side # pull into mapillary/mapillary_tools/exiftool - name: Setup ExifTool - uses: actions/checkout@v4 + uses: actions/checkout@v3 with: repository: "exiftool/exiftool" path: exiftool @@ -49,10 +49,10 @@ jobs: perl ${{ github.workspace }}/exiftool/exiftool.pl -ver - name: Setup FFmpeg - uses: FedericoCarboni/setup-ffmpeg@v3.1 + uses: FedericoCarboni/setup-ffmpeg@v2 - name: Set up ${{ matrix.architecture }} Python ${{ matrix.python-version }} - uses: actions/setup-python@v5 + uses: actions/setup-python@v4 with: python-version: ${{ matrix.python-version }} # optional x64 or x86. Defaults to x64 if not specified