Skip to content

Commit

Permalink
TST: Update to GDAL 3.6-3.8 (#726)
Browse files Browse the repository at this point in the history
  • Loading branch information
snowman2 authored Dec 22, 2023
1 parent a7c81e6 commit 50183ba
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 14 deletions.
11 changes: 3 additions & 8 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,28 +37,23 @@ jobs:
xarray-version: ['']
pandas-version: ['']
run-with-scipy: ['YES']
gdal-version: ['3.6.4']
gdal-version: ['3.8.2']
include:
- python-version: '3.10'
rasterio-version: ''
xarray-version: '==0.17'
pandas-version: '<2'
run-with-scipy: 'YES'
gdal-version: '3.4.3'
gdal-version: '3.6.4'
- python-version: '3.10'
rasterio-version: ''
xarray-version: ''
pandas-version: ''
run-with-scipy: 'NO'
gdal-version: '3.5.3'
gdal-version: '3.7.3'
steps:
- uses: actions/checkout@v4

- name: Remove unused apt repo
if: ${{ matrix.gdal-version }} == '3.5.3'
run: |
rm -f /etc/apt/sources.list.d/apache-arrow.sources
- name: Update
run: |
apt-get update
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
ARG GDAL=ubuntu-full-3.6.4
ARG GDAL=ubuntu-full-3.8.2
FROM ghcr.io/osgeo/gdal:${GDAL}
ARG PYTHON_VERSION="3.10"
ARG PYTHON_VERSION="3.12"
ENV LANG="C.UTF-8"
ENV LC_ALL="C.UTF-8"
ENV PIP_NO_BINARY="rasterio"
Expand Down
4 changes: 0 additions & 4 deletions test/integration/test_integration__io.py
Original file line number Diff line number Diff line change
Expand Up @@ -1230,10 +1230,6 @@ def test_nc_attr_loading(open_rasterio):
assert str(rds.time.values[1]) == "2016-12-29 12:52:42.347451"


@pytest.mark.xfail(
version.parse(rasterio.__gdal_version__) < version.parse("3.0.4"),
reason="This was fixed in GDAL 3.0.4",
)
def test_nc_attr_loading__disable_decode_times(open_rasterio):
with open_rasterio(
os.path.join(TEST_INPUT_DATA_DIR, "PLANET_SCOPE_3D.nc"), decode_times=False
Expand Down

0 comments on commit 50183ba

Please sign in to comment.