You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "raulcd (via GitHub)" <gi...@apache.org> on 2025/02/05 03:36:42 UTC

[I] [Python][CI] test_download_tzdata_on_windows fails on Windows wheels due to CERTIFICATE_VERIFY_FAILED [arrow]

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

   ### Describe the bug, including details regarding any error messages, version, and platform.
   
   Windows wheels have started failing on the 15th of January failing to validate a certificate when downloading https://data.iana.org/time-zones/tzdata-latest.tar.gz 
   
   - [wheel-windows-cp310-cp310-amd64](https://github.com/ursacomputing/crossbow/actions/runs/12784425047/job/35637390936)
   - [wheel-windows-cp311-cp311-amd64](https://github.com/ursacomputing/crossbow/actions/runs/12784424619/job/35637389256)
   - [wheel-windows-cp313-cp313-amd64](https://github.com/ursacomputing/crossbow/actions/runs/12784424363/job/35637387169)
   - [wheel-windows-cp313-cp313t-amd64](https://github.com/ursacomputing/crossbow/actions/runs/12784425175/job/35637393260)
   - [wheel-windows-cp39-cp39-amd64](https://github.com/ursacomputing/crossbow/actions/runs/12784425195/job/35637392149)
   
   Part of the log below:
   
   ```
    _______________________ test_download_tzdata_on_windows _______________________
   ...
   
   self = <ssl.SSLSocket [closed] fd=-1, family=2, type=1, proto=0>, block = False
   
       @_sslcopydoc
       def do_handshake(self, block=False):
           self._check_connected()
           timeout = self.gettimeout()
           try:
               if timeout == 0.0 and block:
                   self.settimeout(None)
   >           self._sslobj.do_handshake()
   E           ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1006)
   
   Python311\Lib\ssl.py:1382: SSLCertVerificationError
   
   During handling of the above exception, another exception occurred:
   
       @pytest.mark.skipif(sys.platform != "win32",
                           reason="Timezone database is already provided.")
       def test_download_tzdata_on_windows():
           tzdata_path = os.path.expandvars(r"%USERPROFILE%\Downloads\tzdata")
       
           # Download timezone database and remove data in case it already exists
           if (os.path.exists(tzdata_path)):
               shutil.rmtree(tzdata_path)
   >       download_tzdata_on_windows()
   
   Python311\Lib\site-packages\pyarrow\tests\test_util.py:223: 
   _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
   Python311\Lib\site-packages\pyarrow\util.py:248: in download_tzdata_on_windows
       with urlopen('https://data.iana.org/time-zones/tzdata-latest.tar.gz') as response:
   Python311\Lib\urllib\request.py:216: in urlopen
       return opener.open(url, data, timeout)
   Python311\Lib\urllib\request.py:519: in open
       response = self._open(req, data)
   Python311\Lib\urllib\request.py:536: in _open
       result = self._call_chain(self.handle_open, protocol, protocol +
   Python311\Lib\urllib\request.py:496: in _call_chain
       result = func(*args)
   Python311\Lib\urllib\request.py:1391: in https_open
       return self.do_open(http.client.HTTPSConnection, req,
   _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
   
   ```
   
   ### Component(s)
   
   Python, Continuous Integration


-- 
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] [Python][CI] test_download_tzdata_on_windows fails on Windows wheels due to CERTIFICATE_VERIFY_FAILED [arrow]

Posted by "raulcd (via GitHub)" <gi...@apache.org>.
raulcd closed issue #45295: [Python][CI] test_download_tzdata_on_windows fails on Windows wheels due to CERTIFICATE_VERIFY_FAILED
URL: https://github.com/apache/arrow/issues/45295


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


Re: [I] [Python][CI] test_download_tzdata_on_windows fails on Windows wheels due to CERTIFICATE_VERIFY_FAILED [arrow]

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

   This might be solved upstream as the latest nightly wheels were successful. There might have been a real issue with the certificate for that URL.
   I am closing it as won't fix. If it happens again we can re-open.


-- 
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] [Python][CI] test_download_tzdata_on_windows fails on Windows wheels due to CERTIFICATE_VERIFY_FAILED [arrow]

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

   After reopening this and putting up a PR, I realize the issue here is only related but not the same as what's being fixed in https://github.com/apache/arrow/pull/45425. Should I open a new issue?


-- 
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] [Python][CI] test_download_tzdata_on_windows fails on Windows wheels due to CERTIFICATE_VERIFY_FAILED [arrow]

Posted by "amoeba (via GitHub)" <gi...@apache.org>.
amoeba closed issue #45295: [Python][CI] test_download_tzdata_on_windows fails on Windows wheels due to CERTIFICATE_VERIFY_FAILED
URL: https://github.com/apache/arrow/issues/45295


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


Re: [I] [Python][CI] test_download_tzdata_on_windows fails on Windows wheels due to CERTIFICATE_VERIFY_FAILED [arrow]

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

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


-- 
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] [Python][CI] test_download_tzdata_on_windows fails on Windows wheels due to CERTIFICATE_VERIFY_FAILED [arrow]

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

   @github-actions crossbow submit wheel-windows-cp310-cp310-amd64


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