rok commented on code in PR #48601:
URL: https://github.com/apache/arrow/pull/48601#discussion_r2799036166


##########
python/pyarrow/tests/conftest.py:
##########
@@ -49,28 +47,6 @@
 os.environ['AWS_CONFIG_FILE'] = "/dev/null"
 
 
-if sys.platform == 'win32':
-    tzdata_set_path = os.environ.get('PYARROW_TZDATA_PATH', None)
-    if tzdata_set_path:
-        set_timezone_db_path(tzdata_set_path)
-
-
-# GH-45295: For ORC, try to populate TZDIR env var from tzdata package resource
-# path.
-#
-# Note this is a different kind of database than what we allow to be set by
-# `PYARROW_TZDATA_PATH` and passed to set_timezone_db_path.
-if sys.platform == 'win32':
-    if os.environ.get('TZDIR', None) is None:
-        from importlib import resources
-        try:
-            os.environ['TZDIR'] = os.path.join(resources.files('tzdata'), 
'zoneinfo')

Review Comment:
   Reverting this ORC related snippet fixed the [nightly 
issue](https://github.com/apache/arrow/pull/48601#pullrequestreview-3789807444) 
@raulcd pointed out. Thanks!



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

Reply via email to