This is an automated email from the ASF dual-hosted git repository.

kevinjqliu pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/iceberg-python.git


The following commit(s) were added to refs/heads/main by this push:
     new 1fb817b4 Fixing nightly build failure (#2912)
1fb817b4 is described below

commit 1fb817b4976b82b9e8e7cf9989f549f0b447da2f
Author: Neelesh Salian <[email protected]>
AuthorDate: Wed Jan 14 09:57:34 2026 -0800

    Fixing nightly build failure (#2912)
    
    Closes #2911
    
    # Rationale for this change
    PR #2906 added imports to `tests/conftest.py` that require
    `pytest-lazy-fixture` and `sqlalchemy`. The nightly build's wheel test
    uses a minimal environment that doesn't include these dependencies,
    causing `tests/avro/test_decoder.py` to fail when loading `conftest.py`.
    
    ## Are these changes tested?
    Yes. Reproduced locally by creating a minimal venv with only the
    original test dependencies, reproduced the failure, then verified the
    fix resolves it.
    
    ## Are there any user-facing changes?
    No
---
 .github/workflows/pypi-build-artifacts.yml | 2 +-
 .github/workflows/svn-build-artifacts.yml  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/pypi-build-artifacts.yml 
b/.github/workflows/pypi-build-artifacts.yml
index 075647bc..c33b8041 100644
--- a/.github/workflows/pypi-build-artifacts.yml
+++ b/.github/workflows/pypi-build-artifacts.yml
@@ -70,7 +70,7 @@ jobs:
           # Ignore 32 bit architectures
           CIBW_ARCHS: "auto64"
           CIBW_PROJECT_REQUIRES_PYTHON: ">=3.10,<3.14"
-          CIBW_TEST_REQUIRES: "pytest==7.4.2 moto==5.0.1"
+          CIBW_TEST_REQUIRES: "pytest==7.4.2 moto==5.0.1 
pytest-lazy-fixture==0.6.3 sqlalchemy>=2.0.18,<3"
           CIBW_TEST_COMMAND: "pytest {project}/tests/avro/test_decoder.py"
           # Ignore tests for pypy since not all dependencies are compiled for 
it
           # and would require a local rust build chain
diff --git a/.github/workflows/svn-build-artifacts.yml 
b/.github/workflows/svn-build-artifacts.yml
index 9045d1c2..6a81cd7d 100644
--- a/.github/workflows/svn-build-artifacts.yml
+++ b/.github/workflows/svn-build-artifacts.yml
@@ -65,7 +65,7 @@ jobs:
           # Ignore 32 bit architectures
           CIBW_ARCHS: "auto64"
           CIBW_PROJECT_REQUIRES_PYTHON: ">=3.10,<3.14"
-          CIBW_TEST_REQUIRES: "pytest==7.4.2 moto==5.0.1"
+          CIBW_TEST_REQUIRES: "pytest==7.4.2 moto==5.0.1 
pytest-lazy-fixture==0.6.3 sqlalchemy>=2.0.18,<3"
           CIBW_TEST_COMMAND: "pytest {project}/tests/avro/test_decoder.py"
           # Ignore tests for pypy since not all dependencies are compiled for 
it
           # and would require a local rust build chain

Reply via email to