You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by "jorisvandenbossche (via GitHub)" <gi...@apache.org> on 2023/05/24 06:41:12 UTC

[GitHub] [arrow] jorisvandenbossche opened a new pull request, #35735: GH-35040: [Python] Skip test_cast_timestamp_to_string on Windows because it requires tz database

jorisvandenbossche opened a new pull request, #35735:
URL: https://github.com/apache/arrow/pull/35735

   ### Rationale for this change
   
   Fix up of https://github.com/apache/arrow/pull/35395, skipping one of the tests added in that PR on Windows, because the test requires access to a tz database.
   


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


[GitHub] [arrow] jorisvandenbossche commented on pull request #35735: GH-35040: [Python] Skip test_cast_timestamp_to_string on Windows because it requires tz database

Posted by "jorisvandenbossche (via GitHub)" <gi...@apache.org>.
jorisvandenbossche commented on PR #35735:
URL: https://github.com/apache/arrow/pull/35735#issuecomment-1560891402

   Yeah, the better fix would actually be to detect if the database is available, and only skip if not found on windows. Because this patch skips the tests altogether, even when it can actually work (eg on appveyor the tests pass because we download the tzdata during appveyor setup). But just to note: we currently do this plain skip for other tests requiring the database as well.
   
   I assume checking if the path `%USERPROFILE%\Downloads\tzdata` exists might be a sufficient check at the moment (since that's the place where tz.cpp will look, and we currently don't yet allow customizing that in pyarrow).


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


[GitHub] [arrow] jorisvandenbossche commented on pull request #35735: GH-35040: [Python] Skip test_cast_timestamp_to_string on Windows because it requires tz database

Posted by "jorisvandenbossche (via GitHub)" <gi...@apache.org>.
jorisvandenbossche commented on PR #35735:
URL: https://github.com/apache/arrow/pull/35735#issuecomment-1578399788

   @github-actions crossbow submit -g wheel


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


[GitHub] [arrow] jorisvandenbossche commented on pull request #35735: GH-35040: [Python] Skip test_cast_timestamp_to_string on Windows because it requires tz database

Posted by "jorisvandenbossche (via GitHub)" <gi...@apache.org>.
jorisvandenbossche commented on PR #35735:
URL: https://github.com/apache/arrow/pull/35735#issuecomment-1570218338

   I updated the PR to actually check if the tzdata database was present, and only skip the tests if not. Because we do actually already download the tzdb on Appveyor (not on the nightly wheel builds, so therefore the tests were failing there). 
   While Python doesn't yet allow you to configure the path (and use the data from the `tzdata` package), as mentioned above, if you manually download it to the correct location, the C++ code will already discover it (as was done for R).
   
   


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


[GitHub] [arrow] ursabot commented on pull request #35735: GH-35040: [Python] Skip test_cast_timestamp_to_string on Windows because it requires tz database

Posted by "ursabot (via GitHub)" <gi...@apache.org>.
ursabot commented on PR #35735:
URL: https://github.com/apache/arrow/pull/35735#issuecomment-1579743177

   Benchmark runs are scheduled for baseline = 4ec231b23432e9af340ed1a10d914f9bee84aca7 and contender = c78ef0f1a4adc9211aef78345415faa00cefa0bf. c78ef0f1a4adc9211aef78345415faa00cefa0bf is a master commit associated with this PR. Results will be available as each benchmark for each run completes.
   Conbench compare runs links:
   [Failed] [ec2-t3-xlarge-us-east-2](https://conbench.ursa.dev/compare/runs/f7a5f6c8401b4cd3911ecab10435ae1f...3cd32e85b8f146b5a620e4265ae5332a/)
   [Failed :arrow_down:0.77% :arrow_up:0.06%] [test-mac-arm](https://conbench.ursa.dev/compare/runs/e0e1b5e6a6a4404fa122b30dde6c8f83...044529f9ea1e4da3bc4727724a4125e4/)
   [Finished :arrow_down:0.0% :arrow_up:0.0%] [ursa-i9-9960x](https://conbench.ursa.dev/compare/runs/00d6a1b438c94c7ea18b763b947127f1...47ded420b4b8478abf4b601b9cf08d9d/)
   [Failed :arrow_down:0.27% :arrow_up:0.0%] [ursa-thinkcentre-m75q](https://conbench.ursa.dev/compare/runs/5deb628ddbad46e88e4abd0dab0cae73...6e8ecbf58716468f94b9e62a1595f6af/)
   Buildkite builds:
   [Finished] [`c78ef0f1` ec2-t3-xlarge-us-east-2](https://buildkite.com/apache-arrow/arrow-bci-benchmark-on-ec2-t3-xlarge-us-east-2/builds/2987)
   [Finished] [`c78ef0f1` test-mac-arm](https://buildkite.com/apache-arrow/arrow-bci-benchmark-on-test-mac-arm/builds/3023)
   [Finished] [`c78ef0f1` ursa-i9-9960x](https://buildkite.com/apache-arrow/arrow-bci-benchmark-on-ursa-i9-9960x/builds/2988)
   [Failed] [`c78ef0f1` ursa-thinkcentre-m75q](https://buildkite.com/apache-arrow/arrow-bci-benchmark-on-ursa-thinkcentre-m75q/builds/3013)
   [Failed] [`4ec231b2` ec2-t3-xlarge-us-east-2](https://buildkite.com/apache-arrow/arrow-bci-benchmark-on-ec2-t3-xlarge-us-east-2/builds/2986)
   [Failed] [`4ec231b2` test-mac-arm](https://buildkite.com/apache-arrow/arrow-bci-benchmark-on-test-mac-arm/builds/3022)
   [Finished] [`4ec231b2` ursa-i9-9960x](https://buildkite.com/apache-arrow/arrow-bci-benchmark-on-ursa-i9-9960x/builds/2987)
   [Failed] [`4ec231b2` ursa-thinkcentre-m75q](https://buildkite.com/apache-arrow/arrow-bci-benchmark-on-ursa-thinkcentre-m75q/builds/3012)
   Supported benchmarks:
   ec2-t3-xlarge-us-east-2: Supported benchmark langs: Python, R. Runs only benchmarks with cloud = True
   test-mac-arm: Supported benchmark langs: C++, Python, R
   ursa-i9-9960x: Supported benchmark langs: Python, R, JavaScript
   ursa-thinkcentre-m75q: Supported benchmark langs: C++, Java
   


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


[GitHub] [arrow] jorisvandenbossche merged pull request #35735: GH-35040: [Python] Skip test_cast_timestamp_to_string on Windows because it requires tz database

Posted by "jorisvandenbossche (via GitHub)" <gi...@apache.org>.
jorisvandenbossche merged PR #35735:
URL: https://github.com/apache/arrow/pull/35735


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


[GitHub] [arrow] jorisvandenbossche commented on pull request #35735: GH-35040: [Python] Skip test_cast_timestamp_to_string on Windows because it requires tz database

Posted by "jorisvandenbossche (via GitHub)" <gi...@apache.org>.
jorisvandenbossche commented on PR #35735:
URL: https://github.com/apache/arrow/pull/35735#issuecomment-1578690874

   @github-actions crossbow submit -g wheel


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


[GitHub] [arrow] github-actions[bot] commented on pull request #35735: GH-35040: [Python] Skip test_cast_timestamp_to_string on Windows because it requires tz database

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #35735:
URL: https://github.com/apache/arrow/pull/35735#issuecomment-1560543116

   Revision: 64c0d83abfdb7969d136a5820d0c9a18b28a842f
   
   Submitted crossbow builds: [ursacomputing/crossbow @ actions-fe7da097ff](https://github.com/ursacomputing/crossbow/branches/all?query=actions-fe7da097ff)
   
   |Task|Status|
   |----|------|
   |wheel-clean|[![Github Actions](https://github.com/ursacomputing/crossbow/workflows/Crossbow/badge.svg?branch=actions-fe7da097ff-github-wheel-clean)](https://github.com/ursacomputing/crossbow/tree/actions-fe7da097ff-github-wheel-clean)|
   |wheel-macos-big-sur-cp310-arm64|[![Github Actions](https://github.com/ursacomputing/crossbow/workflows/Crossbow/badge.svg?branch=actions-fe7da097ff-github-wheel-macos-big-sur-cp310-arm64)](https://github.com/ursacomputing/crossbow/actions/runs/5065542888/jobs/9094234326)|
   |wheel-macos-big-sur-cp311-arm64|[![Github Actions](https://github.com/ursacomputing/crossbow/workflows/Crossbow/badge.svg?branch=actions-fe7da097ff-github-wheel-macos-big-sur-cp311-arm64)](https://github.com/ursacomputing/crossbow/actions/runs/5065544687/jobs/9094237826)|
   |wheel-macos-big-sur-cp38-arm64|[![Github Actions](https://github.com/ursacomputing/crossbow/workflows/Crossbow/badge.svg?branch=actions-fe7da097ff-github-wheel-macos-big-sur-cp38-arm64)](https://github.com/ursacomputing/crossbow/actions/runs/5065543120/jobs/9094234675)|
   |wheel-macos-big-sur-cp39-arm64|[![Github Actions](https://github.com/ursacomputing/crossbow/workflows/Crossbow/badge.svg?branch=actions-fe7da097ff-github-wheel-macos-big-sur-cp39-arm64)](https://github.com/ursacomputing/crossbow/actions/runs/5065544581/jobs/9094237612)|
   |wheel-macos-mojave-cp310-amd64|[![Github Actions](https://github.com/ursacomputing/crossbow/workflows/Crossbow/badge.svg?branch=actions-fe7da097ff-github-wheel-macos-mojave-cp310-amd64)](https://github.com/ursacomputing/crossbow/actions/runs/5065544218/jobs/9094236722)|
   |wheel-macos-mojave-cp311-amd64|[![Github Actions](https://github.com/ursacomputing/crossbow/workflows/Crossbow/badge.svg?branch=actions-fe7da097ff-github-wheel-macos-mojave-cp311-amd64)](https://github.com/ursacomputing/crossbow/actions/runs/5065546051/jobs/9094240863)|
   |wheel-macos-mojave-cp37-amd64|[![Github Actions](https://github.com/ursacomputing/crossbow/workflows/Crossbow/badge.svg?branch=actions-fe7da097ff-github-wheel-macos-mojave-cp37-amd64)](https://github.com/ursacomputing/crossbow/actions/runs/5065545252/jobs/9094239135)|
   |wheel-macos-mojave-cp38-amd64|[![Github Actions](https://github.com/ursacomputing/crossbow/workflows/Crossbow/badge.svg?branch=actions-fe7da097ff-github-wheel-macos-mojave-cp38-amd64)](https://github.com/ursacomputing/crossbow/actions/runs/5065548721/jobs/9094246410)|
   |wheel-macos-mojave-cp39-amd64|[![Github Actions](https://github.com/ursacomputing/crossbow/workflows/Crossbow/badge.svg?branch=actions-fe7da097ff-github-wheel-macos-mojave-cp39-amd64)](https://github.com/ursacomputing/crossbow/actions/runs/5065543304/jobs/9094234995)|
   |wheel-manylinux-2-28-cp310-amd64|[![Github Actions](https://github.com/ursacomputing/crossbow/workflows/Crossbow/badge.svg?branch=actions-fe7da097ff-github-wheel-manylinux-2-28-cp310-amd64)](https://github.com/ursacomputing/crossbow/actions/runs/5065544921/jobs/9094238431)|
   |wheel-manylinux-2-28-cp310-arm64|[![Github Actions](https://github.com/ursacomputing/crossbow/workflows/Crossbow/badge.svg?branch=actions-fe7da097ff-github-wheel-manylinux-2-28-cp310-arm64)](https://github.com/ursacomputing/crossbow/actions/runs/5065545503/jobs/9094239696)|
   |wheel-manylinux-2-28-cp311-amd64|[![Github Actions](https://github.com/ursacomputing/crossbow/workflows/Crossbow/badge.svg?branch=actions-fe7da097ff-github-wheel-manylinux-2-28-cp311-amd64)](https://github.com/ursacomputing/crossbow/actions/runs/5065544810/jobs/9094238162)|
   |wheel-manylinux-2-28-cp311-arm64|[![Github Actions](https://github.com/ursacomputing/crossbow/workflows/Crossbow/badge.svg?branch=actions-fe7da097ff-github-wheel-manylinux-2-28-cp311-arm64)](https://github.com/ursacomputing/crossbow/actions/runs/5065549258/jobs/9094247712)|
   |wheel-manylinux-2-28-cp37-amd64|[![Github Actions](https://github.com/ursacomputing/crossbow/workflows/Crossbow/badge.svg?branch=actions-fe7da097ff-github-wheel-manylinux-2-28-cp37-amd64)](https://github.com/ursacomputing/crossbow/actions/runs/5065545873/jobs/9094240424)|
   |wheel-manylinux-2-28-cp37-arm64|[![Github Actions](https://github.com/ursacomputing/crossbow/workflows/Crossbow/badge.svg?branch=actions-fe7da097ff-github-wheel-manylinux-2-28-cp37-arm64)](https://github.com/ursacomputing/crossbow/actions/runs/5065549480/jobs/9094248129)|
   |wheel-manylinux-2-28-cp38-amd64|[![Github Actions](https://github.com/ursacomputing/crossbow/workflows/Crossbow/badge.svg?branch=actions-fe7da097ff-github-wheel-manylinux-2-28-cp38-amd64)](https://github.com/ursacomputing/crossbow/actions/runs/5065549177/jobs/9094247506)|
   |wheel-manylinux-2-28-cp38-arm64|[![Github Actions](https://github.com/ursacomputing/crossbow/workflows/Crossbow/badge.svg?branch=actions-fe7da097ff-github-wheel-manylinux-2-28-cp38-arm64)](https://github.com/ursacomputing/crossbow/actions/runs/5065546254/jobs/9094241189)|
   |wheel-manylinux-2-28-cp39-amd64|[![Github Actions](https://github.com/ursacomputing/crossbow/workflows/Crossbow/badge.svg?branch=actions-fe7da097ff-github-wheel-manylinux-2-28-cp39-amd64)](https://github.com/ursacomputing/crossbow/actions/runs/5065544022/jobs/9094236262)|
   |wheel-manylinux-2-28-cp39-arm64|[![Github Actions](https://github.com/ursacomputing/crossbow/workflows/Crossbow/badge.svg?branch=actions-fe7da097ff-github-wheel-manylinux-2-28-cp39-arm64)](https://github.com/ursacomputing/crossbow/actions/runs/5065544421/jobs/9094237080)|
   |wheel-manylinux-2014-cp310-amd64|[![Github Actions](https://github.com/ursacomputing/crossbow/workflows/Crossbow/badge.svg?branch=actions-fe7da097ff-github-wheel-manylinux-2014-cp310-amd64)](https://github.com/ursacomputing/crossbow/actions/runs/5065548845/jobs/9094246736)|
   |wheel-manylinux-2014-cp310-arm64|[![Github Actions](https://github.com/ursacomputing/crossbow/workflows/Crossbow/badge.svg?branch=actions-fe7da097ff-github-wheel-manylinux-2014-cp310-arm64)](https://github.com/ursacomputing/crossbow/actions/runs/5065549003/jobs/9094247076)|
   |wheel-manylinux-2014-cp311-amd64|[![Github Actions](https://github.com/ursacomputing/crossbow/workflows/Crossbow/badge.svg?branch=actions-fe7da097ff-github-wheel-manylinux-2014-cp311-amd64)](https://github.com/ursacomputing/crossbow/actions/runs/5065543681/jobs/9094235612)|
   |wheel-manylinux-2014-cp311-arm64|[![Github Actions](https://github.com/ursacomputing/crossbow/workflows/Crossbow/badge.svg?branch=actions-fe7da097ff-github-wheel-manylinux-2014-cp311-arm64)](https://github.com/ursacomputing/crossbow/actions/runs/5065547391/jobs/9094243456)|
   |wheel-manylinux-2014-cp37-amd64|[![Github Actions](https://github.com/ursacomputing/crossbow/workflows/Crossbow/badge.svg?branch=actions-fe7da097ff-github-wheel-manylinux-2014-cp37-amd64)](https://github.com/ursacomputing/crossbow/actions/runs/5065545070/jobs/9094238700)|
   |wheel-manylinux-2014-cp37-arm64|[![Github Actions](https://github.com/ursacomputing/crossbow/workflows/Crossbow/badge.svg?branch=actions-fe7da097ff-github-wheel-manylinux-2014-cp37-arm64)](https://github.com/ursacomputing/crossbow/actions/runs/5065546979/jobs/9094242538)|
   |wheel-manylinux-2014-cp38-amd64|[![Github Actions](https://github.com/ursacomputing/crossbow/workflows/Crossbow/badge.svg?branch=actions-fe7da097ff-github-wheel-manylinux-2014-cp38-amd64)](https://github.com/ursacomputing/crossbow/actions/runs/5065546726/jobs/9094242107)|
   |wheel-manylinux-2014-cp38-arm64|[![Github Actions](https://github.com/ursacomputing/crossbow/workflows/Crossbow/badge.svg?branch=actions-fe7da097ff-github-wheel-manylinux-2014-cp38-arm64)](https://github.com/ursacomputing/crossbow/actions/runs/5065547219/jobs/9094243021)|
   |wheel-manylinux-2014-cp39-amd64|[![Github Actions](https://github.com/ursacomputing/crossbow/workflows/Crossbow/badge.svg?branch=actions-fe7da097ff-github-wheel-manylinux-2014-cp39-amd64)](https://github.com/ursacomputing/crossbow/actions/runs/5065548137/jobs/9094245046)|
   |wheel-manylinux-2014-cp39-arm64|[![Github Actions](https://github.com/ursacomputing/crossbow/workflows/Crossbow/badge.svg?branch=actions-fe7da097ff-github-wheel-manylinux-2014-cp39-arm64)](https://github.com/ursacomputing/crossbow/actions/runs/5065548006/jobs/9094244740)|
   |wheel-windows-cp310-amd64|[![Github Actions](https://github.com/ursacomputing/crossbow/workflows/Crossbow/badge.svg?branch=actions-fe7da097ff-github-wheel-windows-cp310-amd64)](https://github.com/ursacomputing/crossbow/actions/runs/5065548553/jobs/9094246090)|
   |wheel-windows-cp311-amd64|[![Github Actions](https://github.com/ursacomputing/crossbow/workflows/Crossbow/badge.svg?branch=actions-fe7da097ff-github-wheel-windows-cp311-amd64)](https://github.com/ursacomputing/crossbow/actions/runs/5065548285/jobs/9094245427)|
   |wheel-windows-cp37-amd64|[![Github Actions](https://github.com/ursacomputing/crossbow/workflows/Crossbow/badge.svg?branch=actions-fe7da097ff-github-wheel-windows-cp37-amd64)](https://github.com/ursacomputing/crossbow/actions/runs/5065548408/jobs/9094245804)|
   |wheel-windows-cp38-amd64|[![Github Actions](https://github.com/ursacomputing/crossbow/workflows/Crossbow/badge.svg?branch=actions-fe7da097ff-github-wheel-windows-cp38-amd64)](https://github.com/ursacomputing/crossbow/actions/runs/5065545678/jobs/9094240089)|
   |wheel-windows-cp39-amd64|[![Github Actions](https://github.com/ursacomputing/crossbow/workflows/Crossbow/badge.svg?branch=actions-fe7da097ff-github-wheel-windows-cp39-amd64)](https://github.com/ursacomputing/crossbow/actions/runs/5065547569/jobs/9094243783)|


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


[GitHub] [arrow] wjones127 commented on pull request #35735: GH-35040: [Python] Skip test_cast_timestamp_to_string on Windows because it requires tz database

Posted by "wjones127 (via GitHub)" <gi...@apache.org>.
wjones127 commented on PR #35735:
URL: https://github.com/apache/arrow/pull/35735#issuecomment-1563061219

   > For completeness - I believe db download for windows was added by @wjones127 in #12536.
   
   That was just for C++ and R. I don't think we figured out how to do it for Python, since we need the text form of the IANA database while Python's timezone packages provide the binary form.


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


[GitHub] [arrow] jorisvandenbossche commented on pull request #35735: GH-35040: [Python] Skip test_cast_timestamp_to_string on Windows because it requires tz database

Posted by "jorisvandenbossche (via GitHub)" <gi...@apache.org>.
jorisvandenbossche commented on PR #35735:
URL: https://github.com/apache/arrow/pull/35735#issuecomment-1560539239

   @github-actions crossbow submit -g wheel


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


[GitHub] [arrow] jorisvandenbossche commented on a diff in pull request #35735: GH-35040: [Python] Skip test_cast_timestamp_to_string on Windows because it requires tz database

Posted by "jorisvandenbossche (via GitHub)" <gi...@apache.org>.
jorisvandenbossche commented on code in PR #35735:
URL: https://github.com/apache/arrow/pull/35735#discussion_r1211619393


##########
python/pyarrow/tests/test_compute.py:
##########
@@ -1846,17 +1850,18 @@ def test_strptime():
     assert got == pa.array([None, None, None], type=pa.timestamp('s'))
 
 
-# TODO: We should test on windows once ARROW-13168 is resolved.
 @pytest.mark.pandas
-@pytest.mark.skipif(sys.platform == 'win32',
-                    reason="Timezone database is not available on Windows yet")
+@pytest.mark.skipif(sys.platform == "win32" and not util.windows_has_tzdata(),
+                    reason="Timezone database is not installed on Windows")
 def test_strftime():
     times = ["2018-03-10 09:00", "2038-01-31 12:23", None]
     timezones = ["CET", "UTC", "Europe/Ljubljana"]
 
-    formats = ["%a", "%A", "%w", "%d", "%b", "%B", "%m", "%y", "%Y", "%H",
-               "%I", "%p", "%M", "%z", "%Z", "%j", "%U", "%W", "%c", "%x",
-               "%X", "%%", "%G", "%V", "%u"]
+    formats = ["%a", "%A", "%w", "%d", "%b", "%B", "%m", "%y", "%Y", "%H", "%I",
+               "%p", "%M", "%z", "%Z", "%j", "%U", "%W", "%%", "%G", "%V", "%u"]
+    if sys.platform != "win32":
+        # Locale-dependent formats don't match on Windows
+        formats.extend(["%c", "%x", "%X"])

Review Comment:
   The error on Appveyor we got was:
   
   ```
       @pytest.mark.skipif(sys.platform == "win32" and not util.windows_has_tzdata(),
                           reason="Timezone database is not installed on Windows")
       def test_strftime():
           times = ["2018-03-10 09:00", "2038-01-31 12:23", None]
           timezones = ["CET", "UTC", "Europe/Ljubljana"]
       
           formats = ["%a", "%A", "%w", "%d", "%b", "%B", "%m", "%y", "%Y", "%H",
                      "%I", "%p", "%M", "%z", "%Z", "%j", "%U", "%W", "%c", "%x",
                      "%X", "%%", "%G", "%V", "%u"]
       
           for timezone in timezones:
               ts = pd.to_datetime(times).tz_localize(timezone)
               for unit in ["s", "ms", "us", "ns"]:
                   tsa = pa.array(ts, type=pa.timestamp(unit, timezone))
                   for fmt in formats:
                       options = pc.StrftimeOptions(fmt)
                       result = pc.strftime(tsa, options=options)
                       expected = pa.array(ts.strftime(fmt))
   >                   assert result.equals(expected)
   E                   assert False
   E                    +  where False = <built-in method equals of pyarrow.lib.StringArray object at 0x0000023767338600>(<pyarrow.lib.StringArray object at 0x0000023767338830>\n[\n  "Sat Mar 10 09:00:00 2018",\n  "Sun Jan 31 12:23:00 2038",\n  null\n])
   E                    +    where <built-in method equals of pyarrow.lib.StringArray object at 0x0000023767338600> = <pyarrow.lib.StringArray object at 0x0000023767338600>\n[\n  "03/10/18 09:00:00",\n  "01/31/38 12:23:00",\n  null\n].equals
   pyarrow\tests\test_compute.py:1872: AssertionError
   ```
   
   So it seems that we create a string like "Sat Mar 10 09:00:00 2018", but the python version we compare with gives "03/10/18 09:00:00". According to docs for `%c`, the former (our result) is actually correct. 
   But since we are checking matching results in Python in this test, just skipping the ones where those don't match.



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


[GitHub] [arrow] github-actions[bot] commented on pull request #35735: GH-35040: [Python] Skip test_cast_timestamp_to_string on Windows because it requires tz database

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #35735:
URL: https://github.com/apache/arrow/pull/35735#issuecomment-1560537985

   * Closes: #35040


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


[GitHub] [arrow] pitrou commented on pull request #35735: GH-35040: [Python] Skip test_cast_timestamp_to_string on Windows because it requires tz database

Posted by "pitrou (via GitHub)" <gi...@apache.org>.
pitrou commented on PR #35735:
URL: https://github.com/apache/arrow/pull/35735#issuecomment-1560866975

   @rok does this look right? We are able to somehow use a timezone database on Windows, IIRC?


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


[GitHub] [arrow] github-actions[bot] commented on pull request #35735: GH-35040: [Python] Skip test_cast_timestamp_to_string on Windows because it requires tz database

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #35735:
URL: https://github.com/apache/arrow/pull/35735#issuecomment-1578697809

   Revision: 9720e36be1987f38013ba0388aedd6841efc0e41
   
   Submitted crossbow builds: [ursacomputing/crossbow @ actions-5e510fd809](https://github.com/ursacomputing/crossbow/branches/all?query=actions-5e510fd809)
   
   |Task|Status|
   |----|------|
   |wheel-clean|[![Github Actions](https://github.com/ursacomputing/crossbow/workflows/Crossbow/badge.svg?branch=actions-5e510fd809-github-wheel-clean)](https://github.com/ursacomputing/crossbow/tree/actions-5e510fd809-github-wheel-clean)|
   |wheel-macos-big-sur-cp310-arm64|[![Github Actions](https://github.com/ursacomputing/crossbow/workflows/Crossbow/badge.svg?branch=actions-5e510fd809-github-wheel-macos-big-sur-cp310-arm64)](https://github.com/ursacomputing/crossbow/actions/runs/5188661625/jobs/9352604818)|
   |wheel-macos-big-sur-cp311-arm64|[![Github Actions](https://github.com/ursacomputing/crossbow/workflows/Crossbow/badge.svg?branch=actions-5e510fd809-github-wheel-macos-big-sur-cp311-arm64)](https://github.com/ursacomputing/crossbow/actions/runs/5188657054/jobs/9352594409)|
   |wheel-macos-big-sur-cp38-arm64|[![Github Actions](https://github.com/ursacomputing/crossbow/workflows/Crossbow/badge.svg?branch=actions-5e510fd809-github-wheel-macos-big-sur-cp38-arm64)](https://github.com/ursacomputing/crossbow/actions/runs/5188658202/jobs/9352597329)|
   |wheel-macos-big-sur-cp39-arm64|[![Github Actions](https://github.com/ursacomputing/crossbow/workflows/Crossbow/badge.svg?branch=actions-5e510fd809-github-wheel-macos-big-sur-cp39-arm64)](https://github.com/ursacomputing/crossbow/actions/runs/5188659338/jobs/9352599672)|
   |wheel-macos-mojave-cp310-amd64|[![Github Actions](https://github.com/ursacomputing/crossbow/workflows/Crossbow/badge.svg?branch=actions-5e510fd809-github-wheel-macos-mojave-cp310-amd64)](https://github.com/ursacomputing/crossbow/actions/runs/5188656217/jobs/9352592423)|
   |wheel-macos-mojave-cp311-amd64|[![Github Actions](https://github.com/ursacomputing/crossbow/workflows/Crossbow/badge.svg?branch=actions-5e510fd809-github-wheel-macos-mojave-cp311-amd64)](https://github.com/ursacomputing/crossbow/actions/runs/5188658608/jobs/9352598168)|
   |wheel-macos-mojave-cp37-amd64|[![Github Actions](https://github.com/ursacomputing/crossbow/workflows/Crossbow/badge.svg?branch=actions-5e510fd809-github-wheel-macos-mojave-cp37-amd64)](https://github.com/ursacomputing/crossbow/actions/runs/5188655134/jobs/9352589377)|
   |wheel-macos-mojave-cp38-amd64|[![Github Actions](https://github.com/ursacomputing/crossbow/workflows/Crossbow/badge.svg?branch=actions-5e510fd809-github-wheel-macos-mojave-cp38-amd64)](https://github.com/ursacomputing/crossbow/actions/runs/5188662231/jobs/9352606160)|
   |wheel-macos-mojave-cp39-amd64|[![Github Actions](https://github.com/ursacomputing/crossbow/workflows/Crossbow/badge.svg?branch=actions-5e510fd809-github-wheel-macos-mojave-cp39-amd64)](https://github.com/ursacomputing/crossbow/actions/runs/5188660714/jobs/9352602775)|
   |wheel-manylinux-2-28-cp310-amd64|[![Github Actions](https://github.com/ursacomputing/crossbow/workflows/Crossbow/badge.svg?branch=actions-5e510fd809-github-wheel-manylinux-2-28-cp310-amd64)](https://github.com/ursacomputing/crossbow/actions/runs/5188655369/jobs/9352590021)|
   |wheel-manylinux-2-28-cp310-arm64|[![Github Actions](https://github.com/ursacomputing/crossbow/workflows/Crossbow/badge.svg?branch=actions-5e510fd809-github-wheel-manylinux-2-28-cp310-arm64)](https://github.com/ursacomputing/crossbow/actions/runs/5188663028/jobs/9352608435)|
   |wheel-manylinux-2-28-cp311-amd64|[![Github Actions](https://github.com/ursacomputing/crossbow/workflows/Crossbow/badge.svg?branch=actions-5e510fd809-github-wheel-manylinux-2-28-cp311-amd64)](https://github.com/ursacomputing/crossbow/actions/runs/5188663345/jobs/9352609458)|
   |wheel-manylinux-2-28-cp311-arm64|[![Github Actions](https://github.com/ursacomputing/crossbow/workflows/Crossbow/badge.svg?branch=actions-5e510fd809-github-wheel-manylinux-2-28-cp311-arm64)](https://github.com/ursacomputing/crossbow/actions/runs/5188662572/jobs/9352607104)|
   |wheel-manylinux-2-28-cp37-amd64|[![Github Actions](https://github.com/ursacomputing/crossbow/workflows/Crossbow/badge.svg?branch=actions-5e510fd809-github-wheel-manylinux-2-28-cp37-amd64)](https://github.com/ursacomputing/crossbow/actions/runs/5188663579/jobs/9352610110)|
   |wheel-manylinux-2-28-cp37-arm64|[![Github Actions](https://github.com/ursacomputing/crossbow/workflows/Crossbow/badge.svg?branch=actions-5e510fd809-github-wheel-manylinux-2-28-cp37-arm64)](https://github.com/ursacomputing/crossbow/actions/runs/5188663737/jobs/9352610618)|
   |wheel-manylinux-2-28-cp38-amd64|[![Github Actions](https://github.com/ursacomputing/crossbow/workflows/Crossbow/badge.svg?branch=actions-5e510fd809-github-wheel-manylinux-2-28-cp38-amd64)](https://github.com/ursacomputing/crossbow/actions/runs/5188661033/jobs/9352603448)|
   |wheel-manylinux-2-28-cp38-arm64|[![Github Actions](https://github.com/ursacomputing/crossbow/workflows/Crossbow/badge.svg?branch=actions-5e510fd809-github-wheel-manylinux-2-28-cp38-arm64)](https://github.com/ursacomputing/crossbow/actions/runs/5188657966/jobs/9352596903)|
   |wheel-manylinux-2-28-cp39-amd64|[![Github Actions](https://github.com/ursacomputing/crossbow/workflows/Crossbow/badge.svg?branch=actions-5e510fd809-github-wheel-manylinux-2-28-cp39-amd64)](https://github.com/ursacomputing/crossbow/actions/runs/5188654708/jobs/9352588392)|
   |wheel-manylinux-2-28-cp39-arm64|[![Github Actions](https://github.com/ursacomputing/crossbow/workflows/Crossbow/badge.svg?branch=actions-5e510fd809-github-wheel-manylinux-2-28-cp39-arm64)](https://github.com/ursacomputing/crossbow/actions/runs/5188657125/jobs/9352594491)|
   |wheel-manylinux-2014-cp310-amd64|[![Github Actions](https://github.com/ursacomputing/crossbow/workflows/Crossbow/badge.svg?branch=actions-5e510fd809-github-wheel-manylinux-2014-cp310-amd64)](https://github.com/ursacomputing/crossbow/actions/runs/5188660361/jobs/9352602146)|
   |wheel-manylinux-2014-cp310-arm64|[![Github Actions](https://github.com/ursacomputing/crossbow/workflows/Crossbow/badge.svg?branch=actions-5e510fd809-github-wheel-manylinux-2014-cp310-arm64)](https://github.com/ursacomputing/crossbow/actions/runs/5188659001/jobs/9352599310)|
   |wheel-manylinux-2014-cp311-amd64|[![Github Actions](https://github.com/ursacomputing/crossbow/workflows/Crossbow/badge.svg?branch=actions-5e510fd809-github-wheel-manylinux-2014-cp311-amd64)](https://github.com/ursacomputing/crossbow/actions/runs/5188655605/jobs/9352590693)|
   |wheel-manylinux-2014-cp311-arm64|[![Github Actions](https://github.com/ursacomputing/crossbow/workflows/Crossbow/badge.svg?branch=actions-5e510fd809-github-wheel-manylinux-2014-cp311-arm64)](https://github.com/ursacomputing/crossbow/actions/runs/5188663194/jobs/9352609068)|
   |wheel-manylinux-2014-cp37-amd64|[![Github Actions](https://github.com/ursacomputing/crossbow/workflows/Crossbow/badge.svg?branch=actions-5e510fd809-github-wheel-manylinux-2014-cp37-amd64)](https://github.com/ursacomputing/crossbow/actions/runs/5188664011/jobs/9352611342)|
   |wheel-manylinux-2014-cp37-arm64|[![Github Actions](https://github.com/ursacomputing/crossbow/workflows/Crossbow/badge.svg?branch=actions-5e510fd809-github-wheel-manylinux-2014-cp37-arm64)](https://github.com/ursacomputing/crossbow/actions/runs/5188657753/jobs/9352596372)|
   |wheel-manylinux-2014-cp38-amd64|[![Github Actions](https://github.com/ursacomputing/crossbow/workflows/Crossbow/badge.svg?branch=actions-5e510fd809-github-wheel-manylinux-2014-cp38-amd64)](https://github.com/ursacomputing/crossbow/actions/runs/5188657199/jobs/9352594967)|
   |wheel-manylinux-2014-cp38-arm64|[![Github Actions](https://github.com/ursacomputing/crossbow/workflows/Crossbow/badge.svg?branch=actions-5e510fd809-github-wheel-manylinux-2014-cp38-arm64)](https://github.com/ursacomputing/crossbow/actions/runs/5188659998/jobs/9352601243)|
   |wheel-manylinux-2014-cp39-amd64|[![Github Actions](https://github.com/ursacomputing/crossbow/workflows/Crossbow/badge.svg?branch=actions-5e510fd809-github-wheel-manylinux-2014-cp39-amd64)](https://github.com/ursacomputing/crossbow/actions/runs/5188656630/jobs/9352593800)|
   |wheel-manylinux-2014-cp39-arm64|[![Github Actions](https://github.com/ursacomputing/crossbow/workflows/Crossbow/badge.svg?branch=actions-5e510fd809-github-wheel-manylinux-2014-cp39-arm64)](https://github.com/ursacomputing/crossbow/actions/runs/5188655819/jobs/9352591344)|
   |wheel-windows-cp310-amd64|[![Github Actions](https://github.com/ursacomputing/crossbow/workflows/Crossbow/badge.svg?branch=actions-5e510fd809-github-wheel-windows-cp310-amd64)](https://github.com/ursacomputing/crossbow/actions/runs/5188661989/jobs/9352605568)|
   |wheel-windows-cp311-amd64|[![Github Actions](https://github.com/ursacomputing/crossbow/workflows/Crossbow/badge.svg?branch=actions-5e510fd809-github-wheel-windows-cp311-amd64)](https://github.com/ursacomputing/crossbow/actions/runs/5188657496/jobs/9352595583)|
   |wheel-windows-cp37-amd64|[![Github Actions](https://github.com/ursacomputing/crossbow/workflows/Crossbow/badge.svg?branch=actions-5e510fd809-github-wheel-windows-cp37-amd64)](https://github.com/ursacomputing/crossbow/actions/runs/5188656021/jobs/9352591889)|
   |wheel-windows-cp38-amd64|[![Github Actions](https://github.com/ursacomputing/crossbow/workflows/Crossbow/badge.svg?branch=actions-5e510fd809-github-wheel-windows-cp38-amd64)](https://github.com/ursacomputing/crossbow/actions/runs/5188655052/jobs/9352589207)|
   |wheel-windows-cp39-amd64|[![Github Actions](https://github.com/ursacomputing/crossbow/workflows/Crossbow/badge.svg?branch=actions-5e510fd809-github-wheel-windows-cp39-amd64)](https://github.com/ursacomputing/crossbow/actions/runs/5188659614/jobs/9352600392)|


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


[GitHub] [arrow] github-actions[bot] commented on pull request #35735: GH-35040: [Python] Skip test_cast_timestamp_to_string on Windows because it requires tz database

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #35735:
URL: https://github.com/apache/arrow/pull/35735#issuecomment-1578413999

   Revision: 1028a029cad98be386d0f2f394e4744b517a77f2
   
   Submitted crossbow builds: [ursacomputing/crossbow @ actions-3288a28eab](https://github.com/ursacomputing/crossbow/branches/all?query=actions-3288a28eab)
   
   |Task|Status|
   |----|------|
   |wheel-clean|[![Github Actions](https://github.com/ursacomputing/crossbow/workflows/Crossbow/badge.svg?branch=actions-3288a28eab-github-wheel-clean)](https://github.com/ursacomputing/crossbow/tree/actions-3288a28eab-github-wheel-clean)|
   |wheel-macos-big-sur-cp310-arm64|[![Github Actions](https://github.com/ursacomputing/crossbow/workflows/Crossbow/badge.svg?branch=actions-3288a28eab-github-wheel-macos-big-sur-cp310-arm64)](https://github.com/ursacomputing/crossbow/tree/actions-3288a28eab-github-wheel-macos-big-sur-cp310-arm64)|
   |wheel-macos-big-sur-cp311-arm64|[![Github Actions](https://github.com/ursacomputing/crossbow/workflows/Crossbow/badge.svg?branch=actions-3288a28eab-github-wheel-macos-big-sur-cp311-arm64)](https://github.com/ursacomputing/crossbow/tree/actions-3288a28eab-github-wheel-macos-big-sur-cp311-arm64)|
   |wheel-macos-big-sur-cp38-arm64|[![Github Actions](https://github.com/ursacomputing/crossbow/workflows/Crossbow/badge.svg?branch=actions-3288a28eab-github-wheel-macos-big-sur-cp38-arm64)](https://github.com/ursacomputing/crossbow/actions/runs/5187547243/jobs/9350038130)|
   |wheel-macos-big-sur-cp39-arm64|[![Github Actions](https://github.com/ursacomputing/crossbow/workflows/Crossbow/badge.svg?branch=actions-3288a28eab-github-wheel-macos-big-sur-cp39-arm64)](https://github.com/ursacomputing/crossbow/actions/runs/5187550044/jobs/9350044218)|
   |wheel-macos-mojave-cp310-amd64|[![Github Actions](https://github.com/ursacomputing/crossbow/workflows/Crossbow/badge.svg?branch=actions-3288a28eab-github-wheel-macos-mojave-cp310-amd64)](https://github.com/ursacomputing/crossbow/actions/runs/5187544340/jobs/9350031712)|
   |wheel-macos-mojave-cp311-amd64|[![Github Actions](https://github.com/ursacomputing/crossbow/workflows/Crossbow/badge.svg?branch=actions-3288a28eab-github-wheel-macos-mojave-cp311-amd64)](https://github.com/ursacomputing/crossbow/actions/runs/5187544885/jobs/9350033103)|
   |wheel-macos-mojave-cp37-amd64|[![Github Actions](https://github.com/ursacomputing/crossbow/workflows/Crossbow/badge.svg?branch=actions-3288a28eab-github-wheel-macos-mojave-cp37-amd64)](https://github.com/ursacomputing/crossbow/actions/runs/5187550197/jobs/9350044643)|
   |wheel-macos-mojave-cp38-amd64|[![Github Actions](https://github.com/ursacomputing/crossbow/workflows/Crossbow/badge.svg?branch=actions-3288a28eab-github-wheel-macos-mojave-cp38-amd64)](https://github.com/ursacomputing/crossbow/actions/runs/5187545105/jobs/9350033653)|
   |wheel-macos-mojave-cp39-amd64|[![Github Actions](https://github.com/ursacomputing/crossbow/workflows/Crossbow/badge.svg?branch=actions-3288a28eab-github-wheel-macos-mojave-cp39-amd64)](https://github.com/ursacomputing/crossbow/actions/runs/5187545267/jobs/9350034108)|
   |wheel-manylinux-2-28-cp310-amd64|[![Github Actions](https://github.com/ursacomputing/crossbow/workflows/Crossbow/badge.svg?branch=actions-3288a28eab-github-wheel-manylinux-2-28-cp310-amd64)](https://github.com/ursacomputing/crossbow/actions/runs/5187550427/jobs/9350045104)|
   |wheel-manylinux-2-28-cp310-arm64|[![Github Actions](https://github.com/ursacomputing/crossbow/workflows/Crossbow/badge.svg?branch=actions-3288a28eab-github-wheel-manylinux-2-28-cp310-arm64)](https://github.com/ursacomputing/crossbow/actions/runs/5187550877/jobs/9350046026)|
   |wheel-manylinux-2-28-cp311-amd64|[![Github Actions](https://github.com/ursacomputing/crossbow/workflows/Crossbow/badge.svg?branch=actions-3288a28eab-github-wheel-manylinux-2-28-cp311-amd64)](https://github.com/ursacomputing/crossbow/actions/runs/5187549714/jobs/9350043405)|
   |wheel-manylinux-2-28-cp311-arm64|[![Github Actions](https://github.com/ursacomputing/crossbow/workflows/Crossbow/badge.svg?branch=actions-3288a28eab-github-wheel-manylinux-2-28-cp311-arm64)](https://github.com/ursacomputing/crossbow/actions/runs/5187551326/jobs/9350046940)|
   |wheel-manylinux-2-28-cp37-amd64|[![Github Actions](https://github.com/ursacomputing/crossbow/workflows/Crossbow/badge.svg?branch=actions-3288a28eab-github-wheel-manylinux-2-28-cp37-amd64)](https://github.com/ursacomputing/crossbow/actions/runs/5187546728/jobs/9350037199)|
   |wheel-manylinux-2-28-cp37-arm64|[![Github Actions](https://github.com/ursacomputing/crossbow/workflows/Crossbow/badge.svg?branch=actions-3288a28eab-github-wheel-manylinux-2-28-cp37-arm64)](https://github.com/ursacomputing/crossbow/actions/runs/5187544150/jobs/9350031233)|
   |wheel-manylinux-2-28-cp38-amd64|[![Github Actions](https://github.com/ursacomputing/crossbow/workflows/Crossbow/badge.svg?branch=actions-3288a28eab-github-wheel-manylinux-2-28-cp38-amd64)](https://github.com/ursacomputing/crossbow/actions/runs/5187546166/jobs/9350036144)|
   |wheel-manylinux-2-28-cp38-arm64|[![Github Actions](https://github.com/ursacomputing/crossbow/workflows/Crossbow/badge.svg?branch=actions-3288a28eab-github-wheel-manylinux-2-28-cp38-arm64)](https://github.com/ursacomputing/crossbow/actions/runs/5187551696/jobs/9350047797)|
   |wheel-manylinux-2-28-cp39-amd64|[![Github Actions](https://github.com/ursacomputing/crossbow/workflows/Crossbow/badge.svg?branch=actions-3288a28eab-github-wheel-manylinux-2-28-cp39-amd64)](https://github.com/ursacomputing/crossbow/actions/runs/5187548787/jobs/9350041107)|
   |wheel-manylinux-2-28-cp39-arm64|[![Github Actions](https://github.com/ursacomputing/crossbow/workflows/Crossbow/badge.svg?branch=actions-3288a28eab-github-wheel-manylinux-2-28-cp39-arm64)](https://github.com/ursacomputing/crossbow/actions/runs/5187548277/jobs/9350040083)|
   |wheel-manylinux-2014-cp310-amd64|[![Github Actions](https://github.com/ursacomputing/crossbow/workflows/Crossbow/badge.svg?branch=actions-3288a28eab-github-wheel-manylinux-2014-cp310-amd64)](https://github.com/ursacomputing/crossbow/actions/runs/5187547687/jobs/9350039114)|
   |wheel-manylinux-2014-cp310-arm64|[![Github Actions](https://github.com/ursacomputing/crossbow/workflows/Crossbow/badge.svg?branch=actions-3288a28eab-github-wheel-manylinux-2014-cp310-arm64)](https://github.com/ursacomputing/crossbow/actions/runs/5187544524/jobs/9350032176)|
   |wheel-manylinux-2014-cp311-amd64|[![Github Actions](https://github.com/ursacomputing/crossbow/workflows/Crossbow/badge.svg?branch=actions-3288a28eab-github-wheel-manylinux-2014-cp311-amd64)](https://github.com/ursacomputing/crossbow/actions/runs/5187544714/jobs/9350032617)|
   |wheel-manylinux-2014-cp311-arm64|[![Github Actions](https://github.com/ursacomputing/crossbow/workflows/Crossbow/badge.svg?branch=actions-3288a28eab-github-wheel-manylinux-2014-cp311-arm64)](https://github.com/ursacomputing/crossbow/actions/runs/5187543610/jobs/9350030059)|
   |wheel-manylinux-2014-cp37-amd64|[![Github Actions](https://github.com/ursacomputing/crossbow/workflows/Crossbow/badge.svg?branch=actions-3288a28eab-github-wheel-manylinux-2014-cp37-amd64)](https://github.com/ursacomputing/crossbow/actions/runs/5187550637/jobs/9350045539)|
   |wheel-manylinux-2014-cp37-arm64|[![Github Actions](https://github.com/ursacomputing/crossbow/workflows/Crossbow/badge.svg?branch=actions-3288a28eab-github-wheel-manylinux-2014-cp37-arm64)](https://github.com/ursacomputing/crossbow/actions/runs/5187549555/jobs/9350043006)|
   |wheel-manylinux-2014-cp38-amd64|[![Github Actions](https://github.com/ursacomputing/crossbow/workflows/Crossbow/badge.svg?branch=actions-3288a28eab-github-wheel-manylinux-2014-cp38-amd64)](https://github.com/ursacomputing/crossbow/actions/runs/5187548628/jobs/9350040725)|
   |wheel-manylinux-2014-cp38-arm64|[![Github Actions](https://github.com/ursacomputing/crossbow/workflows/Crossbow/badge.svg?branch=actions-3288a28eab-github-wheel-manylinux-2014-cp38-arm64)](https://github.com/ursacomputing/crossbow/actions/runs/5187543808/jobs/9350030288)|
   |wheel-manylinux-2014-cp39-amd64|[![Github Actions](https://github.com/ursacomputing/crossbow/workflows/Crossbow/badge.svg?branch=actions-3288a28eab-github-wheel-manylinux-2014-cp39-amd64)](https://github.com/ursacomputing/crossbow/actions/runs/5187545894/jobs/9350035520)|
   |wheel-manylinux-2014-cp39-arm64|[![Github Actions](https://github.com/ursacomputing/crossbow/workflows/Crossbow/badge.svg?branch=actions-3288a28eab-github-wheel-manylinux-2014-cp39-arm64)](https://github.com/ursacomputing/crossbow/actions/runs/5187545668/jobs/9350035059)|
   |wheel-windows-cp310-amd64|[![Github Actions](https://github.com/ursacomputing/crossbow/workflows/Crossbow/badge.svg?branch=actions-3288a28eab-github-wheel-windows-cp310-amd64)](https://github.com/ursacomputing/crossbow/actions/runs/5187545452/jobs/9350034579)|
   |wheel-windows-cp311-amd64|[![Github Actions](https://github.com/ursacomputing/crossbow/workflows/Crossbow/badge.svg?branch=actions-3288a28eab-github-wheel-windows-cp311-amd64)](https://github.com/ursacomputing/crossbow/actions/runs/5187547962/jobs/9350039428)|
   |wheel-windows-cp37-amd64|[![Github Actions](https://github.com/ursacomputing/crossbow/workflows/Crossbow/badge.svg?branch=actions-3288a28eab-github-wheel-windows-cp37-amd64)](https://github.com/ursacomputing/crossbow/actions/runs/5187549858/jobs/9350043801)|
   |wheel-windows-cp38-amd64|[![Github Actions](https://github.com/ursacomputing/crossbow/workflows/Crossbow/badge.svg?branch=actions-3288a28eab-github-wheel-windows-cp38-amd64)](https://github.com/ursacomputing/crossbow/actions/runs/5187549053/jobs/9350041826)|
   |wheel-windows-cp39-amd64|[![Github Actions](https://github.com/ursacomputing/crossbow/workflows/Crossbow/badge.svg?branch=actions-3288a28eab-github-wheel-windows-cp39-amd64)](https://github.com/ursacomputing/crossbow/actions/runs/5187546446/jobs/9350036689)|


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


[GitHub] [arrow] danepitkin commented on pull request #35735: GH-35040: [Python] Skip test_cast_timestamp_to_string on Windows because it requires tz database

Posted by "danepitkin (via GitHub)" <gi...@apache.org>.
danepitkin commented on PR #35735:
URL: https://github.com/apache/arrow/pull/35735#issuecomment-1561658293

   Thanks for fixing! There are other tests in this file that also use `pytest.importorskip("pytz")`, should they be updated as well? It's not clear to me why this test case behaves differently.


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


[GitHub] [arrow] rok commented on a diff in pull request #35735: GH-35040: [Python] Skip test_cast_timestamp_to_string on Windows because it requires tz database

Posted by "rok (via GitHub)" <gi...@apache.org>.
rok commented on code in PR #35735:
URL: https://github.com/apache/arrow/pull/35735#discussion_r1204850241


##########
python/pyarrow/tests/test_scalars.py:
##########
@@ -295,6 +296,9 @@ def test_cast():
         pa.scalar('foo').cast('int32')
 
 
+# TODO: We should test on windows once ARROW-13168 is resolved.
+@pytest.mark.skipif(sys.platform == 'win32',
+                    reason="Timezone database is not available on Windows yet")

Review Comment:
   Perhaps a more correct wording (so as to not confuse the reader) would be:
   ```suggestion
   @pytest.mark.skipif(sys.platform == 'win32',
                       reason="Timezone database is sometimes not available on Windows yet")
   ```



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