andersonm-ibm commented on pull request #10450: URL: https://github.com/apache/arrow/pull/10450#issuecomment-1002753054
> @andersonm-ibm I don't get a linker error, however the tests fail with: > > ``` > =============================================================================== ERRORS =============================================================================== > _________________________________________________ ERROR collecting pyarrow/tests/parquet/test_parquet_encryption.py __________________________________________________ > Traceback (most recent call last): > File "/home/antoine/arrow/dev/python/pyarrow/tests/parquet/test_parquet_encryption.py", line 33, in <module> > BASIC_ENCRYPTION_CONFIG = pq.EncryptionConfiguration( > AttributeError: 'NoneType' object has no attribute 'EncryptionConfiguration' > !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! > ========================================================================== 1 error in 0.06s ========================================================================== > ``` @pitrou , are you compiling without PARQUET_REQUIRE_ENCRYPTION ? Then `import pyarrow.parquet as pq` fails so `pq` is `None`, and then we see this error that ` 'NoneType' object has no attribute 'EncryptionConfiguration'` . However, when PARQUET_REQUIRE_ENCRYPTION is set, the test passes: https://github.com/apache/arrow/runs/4660446017?check_suite_focus=true#step:6:7904 -- 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]
