geruh commented on PR #3006: URL: https://github.com/apache/iceberg-python/pull/3006#issuecomment-3863382551
Yeah, local config shouldn't bleed into pytest runs. The better fix is in the test infra rather than patching individual tests. I added a session-scoped autouse fixture in the root conftest that replaces `_ENV_CONFIG` with a fresh `Config()` that skips file loading. Env vars still work for CI. This way load_catalog is safe to use in tests without worrying about config leaking in. Did a sanity test-coverage run and everything looks goood!!! -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
