esafak opened a new pull request, #2418:
URL: https://github.com/apache/fory/pull/2418

   I made a mistake in #2396 when I changed
   
   ```python
   func = pytest.mark.fory_format(func)
   arrow_installed = False
   if pa is not None and hasattr(pa, "get_library_dirs"):
       arrow_installed = True
   func = pytest.mark.skipif(not arrow_installed, reason="pyarrow not 
installed")(func)
   return func
   ```
   to
   ```python
   arrow_not_installed = pa is None or hasattr(pa, "get_library_dirs")
   mark_decorator = pytest.mark.skipif(arrow_not_installed, reason="pyarrow not 
installed")(func)
   return mark_decorator
   
   ```
   
   Notice that the `hasattr(pa, "get_library_dirs")` has not been negated.
   
   ## What does this PR do?
   
   * Fix incorrect pyarrow installation check in core.py
   * Add troubleshooting steps for bazel caching issues in README.md


-- 
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]

Reply via email to