Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Patch qgis 3.28.1 build 0 with correct GDAL 3.6 pinning #372

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions recipe/gen_patch_json.py
Original file line number Diff line number Diff line change
Expand Up @@ -1730,6 +1730,15 @@ def _gen_new_index_per_key(repodata, subdir, index_key):
):
_replace_pin("gdal", "gdal >=3.6.0,<3.7.0a0", record["depends"], record)

# Fix qgis 3.28.1 build 0 which didn't properly set GDAL 3.6 pin
# See issue at https://github.com/conda-forge/qgis-feedstock/issues/276
if (
record_name == "qgis"
and record["version"] == "3.28.1"
and record["build_number"] == 0
):
_replace_pin("gdal", "gdal >=3.6.0,<3.7.0a0", record["depends"], record)

# Fix depends for pytest-flake8-1.1.1 https://github.com/conda-forge/pytest-flake8-feedstock/pull/21
if record_name == "pytest-flake8" and record["version"] == "1.1.1" and record["build_number"] == 0:
_replace_pin("python >=3.5", "python >=3.7", record["depends"], record)
Expand Down