X-Recipient: archive-cygwin AT delorie DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 23325385841A DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1679876031; bh=eKWMfh6u1UnkHA1302P00NdZNJZ4gGEe7JnKFAMtOuw=; h=Date:Subject:To:References:In-Reply-To:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: From; b=EZXTW47f905yr8HyGDdXt+oInd7K8x/3OQb+RkTuuvyTKp1C+YJaY6/E9Wa8JiEEb JEfgJu+hFHZ9uQb9WxJ9CM2ZlQ4/rSk4gtXuVP6nzh50C9OE4FJ9pZ67lPQ0vNlkbB acY9sqssYIE8wyLuvhff1lg9uLFEf5gTfpN7omM8= X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 87FAA3858D37 X-Authority-Analysis: v=2.4 cv=XZqaca15 c=1 sm=1 tr=0 ts=6420dfac a=DxHlV3/gbUaP7LOF0QAmaA==:117 a=DxHlV3/gbUaP7LOF0QAmaA==:17 a=r77TgQKjGQsHNAKrUKIA:9 a=JYBUshOHmMIjkNjpJrwA:9 a=QEXdDO2ut3YA:10 a=W4idVc70X3F5ZKQU8XYA:9 a=5E2Q1Ldc8e8A:10 Content-Type: multipart/mixed; boundary="------------Z12cV5YKESpicKSHqNZMcSBK" Message-ID: <5ec38def-6dd4-1b15-6058-2feda2f788cf@Shaw.ca> Date: Sun, 26 Mar 2023 18:13:31 -0600 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.9.0 Subject: Re: update pytz to 2023.2/2023b tzdata? Content-Language: en-CA To: cygwin AT cygwin DOT com References: <1361c3e8-113b-9855-6afb-c7c3b1d0c20e AT SystematicSw DOT ab DOT ca> <86bc278d-35df-1fe6-7fd2-94e61613427f AT gmail DOT com> <4d5cb9f4-7175-44b6-147f-0b0caa3dbad9 AT Shaw DOT ca> Organization: Inglis In-Reply-To: <4d5cb9f4-7175-44b6-147f-0b0caa3dbad9@Shaw.ca> X-CMAE-Envelope: MS4xfHRkH0rSqR4sXcncci8hv23QT+oqUcI1r93jygUfku87hlX8klTL3wwhSXIv1nx9X6lvpWcNDZB4X4NiLIzohGB2Vz+xa2OH3PfE6eAAkIreWPDE1TKM MDskcbrKMqYZ8irKB1eEmQOffR9h+ScO8mSZyMo4FrxitOhUqQNX48egdNCNdj5Emg2SSQFDFA9CyQ== X-Spam-Status: No, score=-1.5 required=5.0 tests=BAYES_00, BODY_8BITS, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, NICE_REPLY_A, RCVD_IN_DNSWL_LOW, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: cygwin AT cygwin DOT com X-Mailman-Version: 2.1.29 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Brian Inglis via Cygwin Reply-To: cygwin AT cygwin DOT com Cc: Brian Inglis Errors-To: cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com Sender: "Cygwin" This is a multi-part message in MIME format. --------------Z12cV5YKESpicKSHqNZMcSBK Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit On 2023-03-26 14:45, Brian Inglis via Cygwin wrote: > On 2023-03-07 22:11, Marco Atzeri wrote: >> On 07.03.2023 22:35, marco atzeri wrote: >>> On Tue, Mar 7, 2023 at 10:18 PM Brian Inglis wrote: >>>> On 2022-03-20 10:00, Brian Inglis wrote: >>>>> On 2021-12-21 09:06, Marco Atzeri wrote: > >>>>>> python39-pytz                           2021.3-1 > >>>> Update needed to 2022g/2022.7.1 as a new Mexican zone was added since >>>> 2021c/2021.3 due to Mexican changes conflicting with US practices, affecting >>>> border towns: > >> 2022.7.1 is up > > Thanks Marco, > > Looks like pytz needs another update as tzdata was updated twice this week! > Some middle eastern governments just realized Ramadan was during DST ;^> > > $ pytz-date.py "%Y %b %d %a %T %Z%z" Asia/Beirut > 2023 Mar 26 Sun 20:41:45 UTC+0000       zoneinfo        UTC > 2023 Mar 26 Sun 22:41:45 EET+0200       zoneinfo        Asia/Beirut > 2023 Mar 26 Sun 23:41:45 EEST+0300      pytz            Asia/Beirut I am unfamiliar with python and pytz, and I had a *local* pip install of pytz, which looks like it was overriding the Cygwin install. After doing a local pip uninstall and Cygwin reinstall, with updated tzdata only, it appears that current pytz may now be giving the correct results: $ ./pytz-date.py +"%Y %b %d %a %T %Z%z" Asia/Beirut 2023 Mar 27 Mon 00:05:57 UTC+0000 zoneinfo UTC 2023 Mar 27 Mon 00:05:57 UTC+0000 pytz UTC 2023 Mar 27 Mon 02:05:57 EET+0200 zoneinfo Asia/Beirut 2023 Mar 27 Mon 02:05:57 EET+0200 pytz Asia/Beirut so an updated release may not be required? There have been no zone changes, just DST rules. -- Take care. Thanks, Brian Inglis Calgary, Alberta, Canada La perfection est atteinte Perfection is achieved non pas lorsqu'il n'y a plus rien à ajouter not when there is no more to add mais lorsqu'il n'y a plus rien à retirer but when there is no more to cut -- Antoine de Saint-Exupéry --------------Z12cV5YKESpicKSHqNZMcSBK Content-Type: text/plain; charset=UTF-8; name="pytz-date.py" Content-Disposition: attachment; filename="pytz-date.py" Content-Transfer-Encoding: base64 IyEvdXNyL2Jpbi9weXRob24KIyBweXR6LWRhdGUucHkgLSBwcmludCBjdXJyZW50IFVUQywg em9uZWluZm8gYW5kIHB5dHogZGF0ZSB0aW1lCiMgICAgICAgICAgICAgICAgaW4gb3B0aW9u YWwgZm9ybWF0ICIrIiQxIGluIHpvbmUgJCMKCmZyb20gZGF0ZXRpbWUgaW1wb3J0IGRhdGV0 aW1lCmZyb20gem9uZWluZm8gaW1wb3J0IFpvbmVJbmZvCmZyb20gcHl0eiBpbXBvcnQgdGlt ZXpvbmUKaW1wb3J0IHB5dHoKaW1wb3J0IHN5cwppbXBvcnQgb3MKClRaICAgICAgICAgID0g IlRaIiAgICAgICAgICAgICAgICAgICAgICAjIGVudiB2YXIKR01UICAgICAgICAgPSAiR01U IiAgICAgICAgICAgICAgICAgICAgICMgcmVmIHpvbmVzCkdNVFAwICAgICAgID0gIkdNVCsw IgpHTVRNMCAgICAgICA9ICJHTVQtMCIKVVRDICAgICAgICAgPSAiVVRDIgpyZWZzICAgICAg ICA9IFsgVVRDICwgR01UICwgR01UUDAgLCBHTVRNMCBdCkZNVCAgICAgICAgID0gIiVjICVa JXoiCnppX2ZtdCAgICAgID0gIiV0em9uZWluZm8ldCIKcHl0el9mbXQgICAgPSAiJXRweXR6 JXQldCIKCmR0X2ZtdCAgICAgID0gRk1UCnR6ICAgICAgICAgID0gb3MuZ2V0ZW52KCBUWiwg VVRDKSAgICAgICAjIFRaIGVudiB2YXIgZWxzZSBVVEMKYXJnYyAgICAgICAgPSBsZW4oIHN5 cy5hcmd2ICkKYXJnbiAgICAgICAgPSAxCgojICQxICtmbXQgb3B0aW9uYWwgb3ZlcnJpZGUK aWYgYXJnYyA+IGFyZ24gYW5kIHN5cy5hcmd2W2FyZ25dWzBdID09ICIrIjoKICAgIGR0X2Zt dCAgPSBzeXMuYXJndlthcmduXVsxOl0KICAgIGFyZ24gICArPSAxCgojICQjIHpvbmUKaWYg YXJnYyA+IGFyZ246CiAgICB0eiAgPSBzeXMuYXJndlthcmduXQoKIyB6b25lIHJlZiBVVEMK em9uZXMgPSBbIFVUQyBdCiMgYWRkIGFyZyBpZiBub3Qgc2FtZSBhcyByZWYKaWYgdHogbm90 IGluIHJlZnM6CiAgICB6b25lcyA9IHpvbmVzICsgWyB0eiBdCgojIHByaW50IHJlZiBhbmQg YXJnIHdpdGggem9uZWluZm8gYW5kIHB5dHoKZm9yIHogaW4gem9uZXM6CiMgVFo9eiAgZGF0 ZSAgICArImYiIC0gem9uZWluZm8KICAgICAgICBwcmludCggZGF0ZXRpbWUubm93KCBab25l SW5mbyggeiApKS5zdHJmdGltZSggZHRfZm10ICsgemlfZm10ICsgeiApKQojIFRaPXogIGRh dGUgICAgKyJmIiAtIHB5dHoKICAgICAgICBwcmludCggZGF0ZXRpbWUubm93KCkuYXN0aW1l em9uZSggdGltZXpvbmUoIHogKSkuc3RyZnRpbWUoIGR0X2ZtdCArIHB5dHpfZm10ICsgeiAp KQoK --------------Z12cV5YKESpicKSHqNZMcSBK Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation: https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple --------------Z12cV5YKESpicKSHqNZMcSBK--