Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1499990 - Unable to use babel/dates due missing pytz
Unable to use babel/dates due missing pytz
Status: NEW
Product: Red Hat Software Collections
Classification: Red Hat
Component: babel (Show other bugs)
rh-python36
Unspecified Unspecified
unspecified Severity unspecified
: ---
: 3.3
Assigned To: Python Maintainers
BaseOS QE - Apps
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2017-10-09 11:42 EDT by Lukas Zachar
Modified: 2018-10-30 13:01 EDT (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: Known Issue
Doc Text:
The pytz module, which is used by Babel for time zone support, is not included in the rh-python34, rh-python35, and rh-python36 Software Collections. Consequently, when the user tries to import the dates module from Babel, a traceback is returned. To work around this problem, install pytz through the pip package manager from the pypi public repository by using the "pip install pytz" command.
Story Points: ---
Clone Of:
Environment:
Last Closed:
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Lukas Zachar 2017-10-09 11:42:32 EDT
Description of problem:

Collection rh-python36 does not contain pytz, but babel/dates requires it.

Any attempt to use it (from babel import dates) ends with traceback:
ModuleNotFoundError: No module named 'pytz'

Note You need to log in before you can comment on or make changes to this bug.