[Bug 1223839] New: git 2.45.0 requires some python module tests fixes
https://bugzilla.suse.com/show_bug.cgi?id=1223839 Bug ID: 1223839 Summary: git 2.45.0 requires some python module tests fixes Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: Python Assignee: python-maintainers@suse.com Reporter: ana.guerrero@suse.com QA Contact: qa-bugs@suse.de Target Milestone: --- Found By: --- Blocker: --- New git 2.45.0 (SR#1171274) makes, at least, the tests of 2 python packages to fail: python-setuptools_scm:test https://build.opensuse.org/package/live_build_log/openSUSE:Factory:Staging:L... python-hatch_vcs:test https://build.opensuse.org/package/live_build_log/openSUSE:Factory:Staging:L... Maybe there are others affected packages but they're not in a ring. -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1223839 Andreas Stieger <Andreas.Stieger@gmx.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |Andreas.Stieger@gmx.de -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1223839 https://bugzilla.suse.com/show_bug.cgi?id=1223839#c1 --- Comment #1 from Andreas Stieger <Andreas.Stieger@gmx.de> --- From https://raw.githubusercontent.com/git/git/master/Documentation/RelNotes/2.45...
* The output format for dates "iso-strict" has been tweaked to show a time in the Zulu timezone with "Z" suffix, instead of "+00:00".
https://github.com/git/git/commit/69e2bee1a3ba2f9367d55992f401e6365be100ea
Subject: [PATCH] date: make "iso-strict" conforming for the UTC timezone
ISO 8601-1:2020-12 specifies that a zero timezone offset must be denoted with a "Z" suffix instead of the numeric "+00:00". Add the correponding special case to show_date() and a new test.
Changing an established output format which might be depended on by scripts is always problematic, but here we choose to adhere more closely to the published standard. -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1223839 https://bugzilla.suse.com/show_bug.cgi?id=1223839#c2 --- Comment #2 from Andreas Stieger <Andreas.Stieger@gmx.de> --- python 3.10 https://docs.python.org/3.10/library/datetime.html#datetime.datetime.fromiso...
Caution
This does not support parsing arbitrary ISO 8601 strings - it is only intended as the inverse operation of datetime.isoformat(). A more full-featured ISO 8601 parser, dateutil.parser.isoparse is available in the third-party package dateutil.
Specifically this version cannot parse the Z suffix. python 3.11: https://docs.python.org/3.11/library/datetime.html#datetime.datetime.fromiso...
Changed in version 3.11: Previously, this method only supported formats that could be emitted by date.isoformat() or datetime.isoformat(). -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1223839 https://bugzilla.suse.com/show_bug.cgi?id=1223839#c3 --- Comment #3 from Andreas Stieger <Andreas.Stieger@gmx.de> --- https://github.com/pypa/setuptools_scm/issues/1038 -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1223839 https://bugzilla.suse.com/show_bug.cgi?id=1223839#c4 --- Comment #4 from Andreas Stieger <Andreas.Stieger@gmx.de> --- python-setuptools_scm: https://build.opensuse.org/request/show/1171838 -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1223839 https://bugzilla.suse.com/show_bug.cgi?id=1223839#c5 Andreas Stieger <Andreas.Stieger@gmx.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |IN_PROGRESS --- Comment #5 from Andreas Stieger <Andreas.Stieger@gmx.de> --- And that seems to be the only change needed, as the other failure is transient. -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1223839 https://bugzilla.suse.com/show_bug.cgi?id=1223839#c6 Andreas Stieger <Andreas.Stieger@gmx.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|IN_PROGRESS |RESOLVED Resolution|--- |FIXED --- Comment #6 from Andreas Stieger <Andreas.Stieger@gmx.de> --- openSUSE:Factory:Staging:E seems fine, closing -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@suse.com