Skip to content

[Python][CI] Hypothesis nightly test fails with pytz.exceptions.UnknownTimeZoneError: 'build/etc/localtime' #36349

@raulcd

Description

@raulcd

Describe the bug, including details regarding any error messages, version, and platform.

During the last 5 days the test_python_datetime_with_pytz_timezone on test-conda-python-3.11-hypothesis has been failing with the following error:

>               raise UnknownTimeZoneError(zone)
E               pytz.exceptions.UnknownTimeZoneError: 'build/etc/localtime'
E               Falsifying example: test_python_datetime_with_pytz_timezone(
E                   self=<pyarrow.tests.test_pandas.TestConvertDateTimeLikeTypes object at 0x7f9626db7710>,
E                   tz=ZoneInfo('build/etc/localtime'),
E               )

I have been NOT able to reproduce locally with:
PYTHON=3.11 PYARROW_TEST_HYPOTHESIS="ON" PYTEST_ARGS="-m hypothesis" docker-compose run --rm conda-python-pandas

Component(s)

Continuous Integration, Python

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions