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

[Packaging][Release][Python] The Windows wheel verification is failing due to missing PARQUET_TEST_DATA env variable #44461

Closed
raulcd opened this issue Oct 17, 2024 · 1 comment

Comments

@raulcd
Copy link
Member

raulcd commented Oct 17, 2024

Describe the bug, including details regarding any error messages, version, and platform.

The Windows wheel binary verification is currently failing due to missing PARQUET_TEST_DATA:

     @pytest.fixture(scope='module')
    def parquet_test_datadir():
        if sys.platform == 'emscripten':
            pytest.skip("needs PARQUET_TEST_DATA files access")
        result = os.environ.get('PARQUET_TEST_DATA')
        if not result:
>           raise RuntimeError('Please point the PARQUET_TEST_DATA environment '
                               'variable to the test data directory')
E           RuntimeError: Please point the PARQUET_TEST_DATA environment variable to the test data directory

C:\tmp\arrow-verify-release-wheels\_verify-wheel-3.9\Lib\site-packages\pyarrow\tests\parquet\conftest.py:38: RuntimeError
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> entering PDB >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

>>>>>>>>>>>>>>>>>> PDB post_mortem (IO-capturing turned off) >>>>>>>>>>>>>>>>>>
> c:\tmp\arrow-verify-release-wheels\_verify-wheel-3.9\lib\site-packages\pyarrow\tests\parquet\conftest.py(38)parquet_test_datadir()
-> raise RuntimeError('Please point the PARQUET_TEST_DATA environment '
(Pdb) 

Component(s)

Packaging, Python, Release

@raulcd raulcd added this to the 18.0.0 milestone Oct 17, 2024
raulcd added a commit to raulcd/arrow that referenced this issue Oct 17, 2024
kou added a commit to kou/arrow that referenced this issue Oct 17, 2024
@raulcd raulcd modified the milestones: 18.0.0, 19.0.0 Oct 18, 2024
kou pushed a commit to raulcd/arrow that referenced this issue Oct 24, 2024
raulcd added a commit that referenced this issue Oct 25, 2024
…y-release-candidate-wheels.bat (#44462)

### Rationale for this change

The Windows wheel verification fails due to missing `PARQUET_TEST_DATA`

### What changes are included in this PR?

Add `PARQUET_TEST_DATA` to `verify-release-candidate-wheels.bat` which is only tested on the binary verification job.

### Are these changes tested?

Via archery

### Are there any user-facing changes?

No
* GitHub Issue: #44461

Lead-authored-by: Sutou Kouhei <[email protected]>
Co-authored-by: Raúl Cumplido <[email protected]>
Co-authored-by: Sutou Kouhei <[email protected]>
Signed-off-by: Raúl Cumplido <[email protected]>
@raulcd
Copy link
Member Author

raulcd commented Oct 25, 2024

Issue resolved by pull request 44462
#44462

@raulcd raulcd closed this as completed Oct 25, 2024
@assignUser assignUser modified the milestones: 19.0.0, 18.1.0 Nov 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants