You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by "AlenkaF (via GitHub)" <gi...@apache.org> on 2024/03/18 08:27:41 UTC
[PR] [Python][CI] Failing test_dateutil_tzinfo_to_string due to new release of python-dateutil [arrow]
AlenkaF opened a new pull request, #40626:
URL: https://github.com/apache/arrow/pull/40626
### Rationale for this change
`test_dateutil_tzinfo_to_string` started failing with:
```Python
tz = dateutil.tz.gettz('Europe/Paris')
> assert pa.lib.tzinfo_to_string(tz) == 'Europe/Paris'
E AssertionError: assert 'Europe/Monaco' == 'Europe/Paris'
E - Europe/Paris
E + Europe/Monaco
```
and it is most probably due to new release of `python-dateutil` package.
### What changes are included in this PR?
Currently, we are using this PR to debug the test on Windows platform.
### Are these changes tested?
A tests is failing and it needs to be fixed.
### Are there any user-facing changes?
No.
--
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: [PR] [Python][CI] Failing test_dateutil_tzinfo_to_string due to new release of python-dateutil [arrow]
Posted by "AlenkaF (via GitHub)" <gi...@apache.org>.
AlenkaF commented on PR #40626:
URL: https://github.com/apache/arrow/pull/40626#issuecomment-2003608155
We have assumed correctly there is an issue in `python-dateutil`:
```
_______________________ test_dateutil_tzinfo_to_string ________________________
def test_dateutil_tzinfo_to_string():
pytest.importorskip("dateutil")
import dateutil.tz
tz = dateutil.tz.UTC
assert pa.lib.tzinfo_to_string(tz) == 'UTC'
tz = dateutil.tz.gettz('Europe/Paris')
print(tz)
> assert pa.lib.tzinfo_to_string(tz) == 'Europe/Paris'
E AssertionError: assert 'Europe/Monaco' == 'Europe/Paris'
E - Europe/Paris
E + Europe/Monaco
pyarrow\tests\test_types.py:356: AssertionError
---------------------------- Captured stdout call -----------------------------
tzfile('Europe/Monaco')
============================== warnings summary ===============================
pyarrow/tests/test_pandas.py::TestConvertMetadata::test_empty_list_metadata
```
Will report upstream.
--
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: [PR] [Python][CI] Failing test_dateutil_tzinfo_to_string due to new release of python-dateutil [arrow]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #40626:
URL: https://github.com/apache/arrow/pull/40626#issuecomment-2003187117
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
Thanks for opening a pull request!
If this is not a [minor PR](https://github.com/apache/arrow/blob/main/CONTRIBUTING.md#Minor-Fixes). Could you open an issue for this pull request on GitHub? https://github.com/apache/arrow/issues/new/choose
Opening GitHub issues ahead of time contributes to the [Openness](http://theapacheway.com/open/#:~:text=Openness%20allows%20new%20users%20the,must%20happen%20in%20the%20open.) of the Apache Arrow project.
Then could you also rename the pull request title in the following format?
GH-${GITHUB_ISSUE_ID}: [${COMPONENT}] ${SUMMARY}
or
MINOR: [${COMPONENT}] ${SUMMARY}
In the case of PARQUET issues on JIRA the title also supports:
PARQUET-${JIRA_ISSUE_ID}: [${COMPONENT}] ${SUMMARY}
See also:
* [Other pull requests](https://github.com/apache/arrow/pulls/)
* [Contribution Guidelines - Contributing Overview](https://arrow.apache.org/docs/developers/overview.html)
--
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: [PR] [Python][CI] Failing test_dateutil_tzinfo_to_string due to new release of python-dateutil [arrow]
Posted by "AlenkaF (via GitHub)" <gi...@apache.org>.
AlenkaF commented on PR #40626:
URL: https://github.com/apache/arrow/pull/40626#issuecomment-2003763417
Upstream issue: https://github.com/dateutil/dateutil/issues/1353
--
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