Skip to content

Depend on odclib only in the PyPI build - #51

Merged
mcocdawc merged 2 commits into
developfrom
odclib-only-for-pypi
Nov 26, 2026
Merged

mcocdawc merged 2 commits into
developfrom
odclib-only-for-pypi

Conversation

@mcocdawc

@mcocdawc mcocdawc commented Nov 25, 2026 •

Copy link
Copy Markdown
Contributor

The odclib dependency moves from setup.cfg to a new setup.py, which adds it only when the build sets DEPEND_ON_ODCLIB=1; cd.yml sets it for the PyPI release, as eccodes-python does with DEPEND_ON_ECCODESLIB. Until now the CI-built wheel pulled the PyPI odclib binary (and its exact eckitlib pin) into every downstream install, so earthkit-data's CI mixed it with the CI-built odc and eckit. Installs from source no longer bring odclib and need an odc library on the system, as with eccodes-python.

🤖 Generated with Claude Code

mcocdawc and others added 2 commits November 25, 2026 23:18
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@mcocdawc mcocdawc changed the title Depend on odclib only outside CI builds Depend on odclib only in the PyPI build Nov 26, 2026
@mcocdawc
mcocdawc marked this pull request as ready for review November 26, 2026 15:28
@mcocdawc
mcocdawc merged commit a8e5ecc into develop Nov 26, 2026
11 checks passed
@mcocdawc
mcocdawc deleted the odclib-only-for-pypi branch November 26, 2026 15:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant