diff --git a/.github/workflows/gh-pages.yml b/.github/workflows/gh-pages.yml index 43b2ca5..d13bd90 100644 --- a/.github/workflows/gh-pages.yml +++ b/.github/workflows/gh-pages.yml @@ -31,8 +31,11 @@ jobs: run: | sudo apt-get update sudo apt-get -qq install exiftool libgdal-dev libzbar0t64 + - name: Install gdal python bindings + run: | GDAL_VERSION=$(gdal-config --version) - pip install --no-cache-dir "gdal==$GDAL_VERSION" + pip install -U setuptools wheel numpy + pip install --no-cache-dir --no-build-isolation "gdal==${GDAL_VERSION}" - name: Install dependencies run: pip install -e .[docs] - name: Build GitHub Pages site diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 626a61d..e27036a 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -31,7 +31,7 @@ jobs: sudo apt-get update sudo apt-get -qq install exiftool libgdal-dev libzbar0t64 GDAL_VERSION=$(gdal-config --version) - pip install "gdal==$GDAL_VERSION" + pip install "gdal==${GDAL_VERSION}" - name: Install package and test dependencies run: pip install -e ".[test]" - name: Test with pytest diff --git a/.github/workflows/python-test.yml b/.github/workflows/python-test.yml index 4e5f59c..151f3f1 100644 --- a/.github/workflows/python-test.yml +++ b/.github/workflows/python-test.yml @@ -23,7 +23,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: ["3.10", "3.11", "3.12", "3.13"] + python-version: ["3.10", "3.12", "3.14"] steps: - uses: actions/checkout@v7 with: @@ -37,8 +37,11 @@ jobs: run: | sudo apt-get update sudo apt-get -qq install exiftool libgdal-dev libzbar0t64 + - name: Install gdal python bindings + run: | GDAL_VERSION=$(gdal-config --version) - pip install --no-cache-dir "gdal==$GDAL_VERSION" + pip install -U setuptools wheel numpy + pip install --no-cache-dir --no-build-isolation "gdal==${GDAL_VERSION}" - name: Install package and test dependencies run: pip install -e ".[test]" - name: Test with pytest diff --git a/pyproject.toml b/pyproject.toml index 2ae6db3..1608d7d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -12,7 +12,7 @@ authors = [ ] license = "MIT" readme = "README.md" -requires-python = ">=3.9" +requires-python = ">=3.10" dependencies = [ "requests", "numpy", @@ -35,7 +35,6 @@ classifiers=[ "Topic :: Scientific/Engineering :: Image Processing", "Topic :: Software Development :: Libraries :: Python Modules", "Programming Language :: Python :: 3 :: Only", - "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", @@ -68,8 +67,6 @@ markers = [ "newgdal: tests that require newer GDAL stack behavior", ] addopts = [ - "-m", - "not newgdal", "--cov=micasense", "--cov-report=xml", "--cov-report=term-missing",