Remove _ENV_CONFIG and cached env config to config.py by jx2lee · Pull Request #3208 · apache/iceberg-python

Copy link Copy Markdown

Contributor

@jx2lee jx2lee commented

Mar 30, 2026

edited

Loading

Related #3028
and Related #3083

Rationale for this change

Move the cached environment config out of pyiceberg.catalog into pyiceberg.utils.config so catalog loading no longer depends on a module-level mutable global and tests can patch config access more cleanly.

Are these changes tested?

Yes, updated the affected catalog, CLI, and config tests.

Are there any user-facing changes?

No.