Skip to content

Set version of tzlocal to 2.1#28063

Merged
alexey-milovidov merged 2 commits intoClickHouse:masterfrom
vitlibar:set-fixed-version-of-tzlocal
Aug 24, 2021
Merged

Set version of tzlocal to 2.1#28063
alexey-milovidov merged 2 commits intoClickHouse:masterfrom
vitlibar:set-fixed-version-of-tzlocal

Conversation

@vitlibar
Copy link
Copy Markdown
Member

I hereby agree to the terms of the CLA available at: https://yandex.ru/legal/cla/?lang=en

Changelog category:

  • Not for changelog

This PR must fix issues with integration tests and testflows tests:

test_dictionaries_all_layouts_separate_sources/test_cassandra.py:
AttributeError: 'backports.zoneinfo.ZoneInfo' object has no attribute 'localize'
/clickhouse/datetime64 extended range:
ModuleNotFoundError: No module named 'pytz'

@robot-clickhouse robot-clickhouse added the pr-not-for-changelog This PR should not be mentioned in the changelog label Aug 24, 2021
@alesapin
Copy link
Copy Markdown
Member

Maybe explicitly install pytz?

@alesapin alesapin self-assigned this Aug 24, 2021
@vitlibar
Copy link
Copy Markdown
Member Author

Maybe explicitly install pytz?

No, that won't help because in addition to the dependency on pytz there are also other changes in tzlocal, for example our code calls the function tzlocal.get_localzone() which returns instances of different types in tzlocal 2.1 and tzlocal 3.0.

@alesapin
Copy link
Copy Markdown
Member

Maybe explicitly install pytz?

No, that won't help because in addition to the dependency on pytz there are also other changes in tzlocal, for example our code calls the function tzlocal.get_localzone() which returns instances of different types in tzlocal 2.1 and tzlocal 3.0.

Yes, it's clear to me, but explicit pytz install will be more obvious. Let's install both pytz and tzlocal of the required version?

@vitlibar vitlibar force-pushed the set-fixed-version-of-tzlocal branch from b42f91c to 8dc128f Compare August 24, 2021 11:08
@alesapin
Copy link
Copy Markdown
Member

Error response from daemon: Dockerfile parse error line 83: unknown instruction: REDIS???

vitlibar pushed a commit that referenced this pull request Aug 31, 2021
Backport #28063 to 21.9: Set version of tzlocal to 2.1
vitlibar pushed a commit that referenced this pull request Aug 31, 2021
Backport #28063 to 21.8: Set version of tzlocal to 2.1
vitlibar pushed a commit that referenced this pull request Aug 31, 2021
Backport #28063 to 21.7: Set version of tzlocal to 2.1
vitlibar pushed a commit that referenced this pull request Aug 31, 2021
Backport #28063 to 21.3: Set version of tzlocal to 2.1
vitlibar pushed a commit that referenced this pull request Aug 31, 2021
Backport #28063 to 21.6: Set version of tzlocal to 2.1
@Felixoid Felixoid added the pr-backports-created Backport PRs are successfully created, it won't be processed by CI script anymore label Jul 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr-backports-created Backport PRs are successfully created, it won't be processed by CI script anymore pr-must-backport Pull request should be backported intentionally. Use this label with great care! pr-not-for-changelog This PR should not be mentioned in the changelog

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants