When are updates incorporated?

Asked by Phil Hibbs on 2016-12-05

How long does it take for an update to be incorporated into an updated pytz package?

Also, how do I find out what version of the tz database is in the package that a system has installed?

I am being chased to ensure that all our systems are consistent, and we've installed 2016j in our database but not in our Python scripts. The changes in 2016j are pretty obscure so we're not too worried about it at present.

Question information

Language:
English Edit question
Status:
Solved
For:
pytz Edit question
Assignee:
No assignee Edit question
Solved by:
Stuart Bishop
Solved:
2016-12-08
Last query:
2016-12-08
Last reply:
2016-12-06
Best Stuart Bishop (stub) said : #1

I need to run the update, test and release scripts so the time for release can be a matter of hours. Lately, it has been when someone pokes me as I've been lax monitoring releases. 2016j is going out now.

Phil Hibbs (philrhibbs) said : #2

Thanks a lot. Is there a version reporting function. or some other way of finding out what tzdb version is included on a particular installation?

Phil Hibbs (philrhibbs) said : #3

Thanks Stuart Bishop, that solved my question.

Stuart Bishop (stub) said : #4

>>> import pytz
>>> pytz.VERSION
'2014.10'
>>> pytz.OLSON_VERSION
'2014j'
>>> pytz.__version__
'2014.10'