You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "AlenkaF (via GitHub)" <gi...@apache.org> on 2024/04/05 19:04:25 UTC

[I] [CI][Python] test_make_write_options_error failing on CI [arrow]

AlenkaF opened a new issue, #41043:
URL: https://github.com/apache/arrow/issues/41043

   ### Describe the bug, including details regarding any error messages, version, and platform.
   
   `test_dataset.py:test_make_write_options_error` is failing on the CI with
   
   ```
   ________________________ test_make_write_options_error _________________________
   
       def test_make_write_options_error():
           # GH-39440
           msg = ("make_write_options\\(\\) should be called on an "
                  "instance of ParquetFileFormat")
           with pytest.raises(TypeError, match=msg):
   >           pa.dataset.ParquetFileFormat.make_write_options(43)
   E           TypeError: descriptor 'make_write_options' for 'pyarrow._dataset_parquet.ParquetFileFormat' objects doesn't apply to a 'int' object
   
   opt/conda/envs/arrow/lib/python3.10/site-packages/pyarrow/tests/test_dataset.py:5640: TypeError
   
   During handling of the above exception, another exception occurred:
   
       def test_make_write_options_error():
           # GH-39440
           msg = ("make_write_options\\(\\) should be called on an "
                  "instance of ParquetFileFormat")
   >       with pytest.raises(TypeError, match=msg):
   E       AssertionError: Regex pattern did not match.
   E        Regex: 'make_write_options\\(\\) should be called on an instance of ParquetFileFormat'
   E        Input: "descriptor 'make_write_options' for 'pyarrow._dataset_parquet.ParquetFileFormat' objects doesn't apply to a 'int' object"
   
   opt/conda/envs/arrow/lib/python3.10/site-packages/pyarrow/tests/test_dataset.py:5639: AssertionError
   ```
   
   See: https://github.com/ursacomputing/crossbow/actions/runs/8573647554/job/23498752189.
   
   The PR causing this failure: https://github.com/apache/arrow/pull/40976
   
   ### Component(s)
   
   Continuous Integration, Python


-- 
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: issues-unsubscribe@arrow.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [CI][Python] test_make_write_options_error failing on crossbow build [arrow]

Posted by "raulcd (via GitHub)" <gi...@apache.org>.
raulcd commented on issue #41043:
URL: https://github.com/apache/arrow/issues/41043#issuecomment-2046798648

   Issue resolved by pull request 41059
   https://github.com/apache/arrow/pull/41059


-- 
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: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [CI][Python] test_make_write_options_error failing on crossbow build [arrow]

Posted by "raulcd (via GitHub)" <gi...@apache.org>.
raulcd closed issue #41043: [CI][Python] test_make_write_options_error failing on crossbow build
URL: https://github.com/apache/arrow/issues/41043


-- 
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: issues-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org