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

Bump GDAL to 3.9.0 explicitly to align with PUDL dependencies #354

Merged
merged 8 commits into from
Jun 12, 2024

Conversation

zaneselvans
Copy link
Member

@zaneselvans zaneselvans commented Jun 12, 2024

Overview

GDAL 3.9.0 has been out for a while, but the dependency between PUDL and the archivers kept us from updating. Trying to resolve these incompatibilities in this PR.

I think that the PUDL PR updating the dependency needs to merge before the CI on this PR can pass.

Testing

How did you make sure this worked? How can a reviewer verify this?

To-do list

Tasks

Preview Give feedback

@zaneselvans zaneselvans changed the title Bumb GDAL to 3.9.0 explicitly to align with PUDL dependencies Bump GDAL to 3.9.0 explicitly to align with PUDL dependencies Jun 12, 2024
@zaneselvans zaneselvans added the dependencies Pull requests that update a dependency file label Jun 12, 2024
@zaneselvans
Copy link
Member Author

Ah. This appears to be totally unrelated to GDAL: tox-dev/filelock#337

@zaneselvans zaneselvans self-assigned this Jun 12, 2024
"dask<2024.6", # Temporary pin -- conda packaging problem upstream
"dask>=2024",
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This temporary problem went away, and I needed to change the hash of pyproject.toml to clear the environment cache, which had the bad version of a package stuck in it.

@@ -26,7 +26,6 @@ jobs:
condarc: |
channels:
- conda-forge
- defaults
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

conda / mamba recommends not including the default anaconda channel for package consistency.

@@ -11,5 +11,6 @@ dependencies:
# TODO: we shouldn't have to install all this geo stuff, so once we break the
# dependency on `pudl` we should remove this too.
- fiona>=1.9.5
- gdal>=3.9.0
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Force the environment to install the most recent GDAL.

@@ -46,7 +46,7 @@ commands =
pre-commit run --all-files --show-diff-on-failure name-tests-test

[testenv:linters]
description = Run the pre-commit, flake8 and bandit linters.
description = Run the pre-commit and ruff linters.
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Out of date description.

@zaneselvans zaneselvans merged commit 23b098a into main Jun 12, 2024
3 checks passed
@zaneselvans zaneselvans deleted the gdal-3.9.0 branch June 12, 2024 22:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants