[14/35] python3-dateutil: Update to version 2.8.2 and python-3.10

Message ID 20220124161656.71960-14-adolf.belka@ipfire.org
State Accepted
Commit e60770063519ab6b0927ee9239acf945a772b3a0
Headers show
Series [01/35] python3: Update to version 3.10.1 | expand

Commit Message

Adolf Belka Jan. 24, 2022, 4:16 p.m. UTC
- Update from 2.8.1 to 2.8.2
- Update of rootfile
- Changelog
Version 2.8.2 (2021-07-08)
Data updates
- Updated tzdata version to 2021a. (gh pr #1128)
Bugfixes
- Fixed a bug in the parser where non-``ValueError`` exceptions would be raised
  during exception handling; this would happen, for example, if an
  ``IllegalMonthError`` was raised in ``dateutil`` code. Fixed by Mark Bailey.
  (gh issue #981, pr #987).
- Fixed the custom ``repr`` for ``dateutil.parser.ParserError``, which was not
  defined due to an indentation error. (gh issue #991, gh pr #993)
- Fixed a bug that caused ``b'`` prefixes to appear in parse_isodate exception
  messages. Reported and fixed by Paul Brown (@pawl) (gh pr #1122)
- Make ``isoparse`` raise when trying to parse times with inconsistent use of
  `:` separator. Reported and fixed by @mariocj89 (gh pr #1125).
- Fixed ``tz.gettz()`` not returning local time when passed an empty string.
  Reported by @labrys (gh issues #925, #926). Fixed by @ffe4 (gh pr #1024)
Documentation changes
- Rearranged parser documentation into "Functions", "Classes" and "Warnings and
  Exceptions" categories. (gh issue #992, pr #994).
- Updated ``parser.parse`` documentation to reflect the switch from
  ``ValueError`` to ``ParserError``. (gh issue #992, pr #994).
- Fixed methods in the ``rrule`` module not being displayed in the docs. (gh pr
  #1025)
- Changed some relative links in the exercise documentation to refer to the
  document locations in the input tree, rather than the generated HTML files in
  the HTML output tree (which presumably will not exist in non-HTML output
  formats). (gh pr #1078).
Misc
- Moved ``test_imports.py``, ``test_internals.py`` and ``test_utils.py`` to
  pytest.  Reported and fixed by @jpurviance (gh pr #978)
- Added project_urls for documentation and source. Patch by @andriyor (gh pr
  #975).
- Simplified handling of bytes and bytearray in ``_parser._timelex``. Reported
  and fixed by @frenzymadness (gh issue #1060).
- Changed the tests against the upstream tz database to always generate fat
  binaries, since until GH-590 and GH-1059 are resolved, "slim" zic binaries
  will cause problems in many zones, causing the tests to fail. This also
  updates ``zoneinfo.rebuild`` to always generate fat binaries. (gh pr #1076).
- Moved sdist and wheel generation to use `python-build`. Reported and fixed by
  @mariocj89 (gh pr #1133).

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
---
 config/rootfiles/packages/python3-dateutil | 60 +++++++++++-----------
 lfs/python3-dateutil                       |  6 +--
 2 files changed, 33 insertions(+), 33 deletions(-)

Comments

Peter Müller Jan. 28, 2022, 12:56 p.m. UTC | #1
Reviewed-by: Peter Müller <peter.mueller@ipfire.org>

> - Update from 2.8.1 to 2.8.2
> - Update of rootfile
> - Changelog
> Version 2.8.2 (2021-07-08)
> Data updates
> - Updated tzdata version to 2021a. (gh pr #1128)
> Bugfixes
> - Fixed a bug in the parser where non-``ValueError`` exceptions would be raised
>   during exception handling; this would happen, for example, if an
>   ``IllegalMonthError`` was raised in ``dateutil`` code. Fixed by Mark Bailey.
>   (gh issue #981, pr #987).
> - Fixed the custom ``repr`` for ``dateutil.parser.ParserError``, which was not
>   defined due to an indentation error. (gh issue #991, gh pr #993)
> - Fixed a bug that caused ``b'`` prefixes to appear in parse_isodate exception
>   messages. Reported and fixed by Paul Brown (@pawl) (gh pr #1122)
> - Make ``isoparse`` raise when trying to parse times with inconsistent use of
>   `:` separator. Reported and fixed by @mariocj89 (gh pr #1125).
> - Fixed ``tz.gettz()`` not returning local time when passed an empty string.
>   Reported by @labrys (gh issues #925, #926). Fixed by @ffe4 (gh pr #1024)
> Documentation changes
> - Rearranged parser documentation into "Functions", "Classes" and "Warnings and
>   Exceptions" categories. (gh issue #992, pr #994).
> - Updated ``parser.parse`` documentation to reflect the switch from
>   ``ValueError`` to ``ParserError``. (gh issue #992, pr #994).
> - Fixed methods in the ``rrule`` module not being displayed in the docs. (gh pr
>   #1025)
> - Changed some relative links in the exercise documentation to refer to the
>   document locations in the input tree, rather than the generated HTML files in
>   the HTML output tree (which presumably will not exist in non-HTML output
>   formats). (gh pr #1078).
> Misc
> - Moved ``test_imports.py``, ``test_internals.py`` and ``test_utils.py`` to
>   pytest.  Reported and fixed by @jpurviance (gh pr #978)
> - Added project_urls for documentation and source. Patch by @andriyor (gh pr
>   #975).
> - Simplified handling of bytes and bytearray in ``_parser._timelex``. Reported
>   and fixed by @frenzymadness (gh issue #1060).
> - Changed the tests against the upstream tz database to always generate fat
>   binaries, since until GH-590 and GH-1059 are resolved, "slim" zic binaries
>   will cause problems in many zones, causing the tests to fail. This also
>   updates ``zoneinfo.rebuild`` to always generate fat binaries. (gh pr #1076).
> - Moved sdist and wheel generation to use `python-build`. Reported and fixed by
>   @mariocj89 (gh pr #1133).
> 
> Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
> ---
>  config/rootfiles/packages/python3-dateutil | 60 +++++++++++-----------
>  lfs/python3-dateutil                       |  6 +--
>  2 files changed, 33 insertions(+), 33 deletions(-)
> 
> diff --git a/config/rootfiles/packages/python3-dateutil b/config/rootfiles/packages/python3-dateutil
> index d87fc499f..5ff390dd0 100644
> --- a/config/rootfiles/packages/python3-dateutil
> +++ b/config/rootfiles/packages/python3-dateutil
> @@ -1,30 +1,30 @@
> -#usr/lib/python3.8/site-packages/dateutil
> -usr/lib/python3.8/site-packages/dateutil/__init__.py
> -usr/lib/python3.8/site-packages/dateutil/_common.py
> -usr/lib/python3.8/site-packages/dateutil/_version.py
> -usr/lib/python3.8/site-packages/dateutil/easter.py
> -#usr/lib/python3.8/site-packages/dateutil/parser
> -usr/lib/python3.8/site-packages/dateutil/parser/__init__.py
> -usr/lib/python3.8/site-packages/dateutil/parser/_parser.py
> -usr/lib/python3.8/site-packages/dateutil/parser/isoparser.py
> -usr/lib/python3.8/site-packages/dateutil/relativedelta.py
> -usr/lib/python3.8/site-packages/dateutil/rrule.py
> -#usr/lib/python3.8/site-packages/dateutil/tz
> -usr/lib/python3.8/site-packages/dateutil/tz/__init__.py
> -usr/lib/python3.8/site-packages/dateutil/tz/_common.py
> -usr/lib/python3.8/site-packages/dateutil/tz/_factories.py
> -usr/lib/python3.8/site-packages/dateutil/tz/tz.py
> -usr/lib/python3.8/site-packages/dateutil/tz/win.py
> -usr/lib/python3.8/site-packages/dateutil/tzwin.py
> -usr/lib/python3.8/site-packages/dateutil/utils.py
> -#usr/lib/python3.8/site-packages/dateutil/zoneinfo
> -usr/lib/python3.8/site-packages/dateutil/zoneinfo/__init__.py
> -usr/lib/python3.8/site-packages/dateutil/zoneinfo/dateutil-zoneinfo.tar.gz
> -usr/lib/python3.8/site-packages/dateutil/zoneinfo/rebuild.py
> -#usr/lib/python3.8/site-packages/python_dateutil-2.8.1-py3.8.egg-info
> -#usr/lib/python3.8/site-packages/python_dateutil-2.8.1-py3.8.egg-info/PKG-INFO
> -#usr/lib/python3.8/site-packages/python_dateutil-2.8.1-py3.8.egg-info/SOURCES.txt
> -#usr/lib/python3.8/site-packages/python_dateutil-2.8.1-py3.8.egg-info/dependency_links.txt
> -#usr/lib/python3.8/site-packages/python_dateutil-2.8.1-py3.8.egg-info/requires.txt
> -#usr/lib/python3.8/site-packages/python_dateutil-2.8.1-py3.8.egg-info/top_level.txt
> -#usr/lib/python3.8/site-packages/python_dateutil-2.8.1-py3.8.egg-info/zip-safe
> +#usr/lib/python3.10/site-packages/dateutil
> +usr/lib/python3.10/site-packages/dateutil/__init__.py
> +usr/lib/python3.10/site-packages/dateutil/_common.py
> +usr/lib/python3.10/site-packages/dateutil/_version.py
> +usr/lib/python3.10/site-packages/dateutil/easter.py
> +#usr/lib/python3.10/site-packages/dateutil/parser
> +usr/lib/python3.10/site-packages/dateutil/parser/__init__.py
> +usr/lib/python3.10/site-packages/dateutil/parser/_parser.py
> +usr/lib/python3.10/site-packages/dateutil/parser/isoparser.py
> +usr/lib/python3.10/site-packages/dateutil/relativedelta.py
> +usr/lib/python3.10/site-packages/dateutil/rrule.py
> +#usr/lib/python3.10/site-packages/dateutil/tz
> +usr/lib/python3.10/site-packages/dateutil/tz/__init__.py
> +usr/lib/python3.10/site-packages/dateutil/tz/_common.py
> +usr/lib/python3.10/site-packages/dateutil/tz/_factories.py
> +usr/lib/python3.10/site-packages/dateutil/tz/tz.py
> +usr/lib/python3.10/site-packages/dateutil/tz/win.py
> +usr/lib/python3.10/site-packages/dateutil/tzwin.py
> +usr/lib/python3.10/site-packages/dateutil/utils.py
> +#usr/lib/python3.10/site-packages/dateutil/zoneinfo
> +usr/lib/python3.10/site-packages/dateutil/zoneinfo/__init__.py
> +usr/lib/python3.10/site-packages/dateutil/zoneinfo/dateutil-zoneinfo.tar.gz
> +usr/lib/python3.10/site-packages/dateutil/zoneinfo/rebuild.py
> +#usr/lib/python3.10/site-packages/python_dateutil-2.8.2-py3.10.egg-info
> +#usr/lib/python3.10/site-packages/python_dateutil-2.8.2-py3.10.egg-info/PKG-INFO
> +#usr/lib/python3.10/site-packages/python_dateutil-2.8.2-py3.10.egg-info/SOURCES.txt
> +#usr/lib/python3.10/site-packages/python_dateutil-2.8.2-py3.10.egg-info/dependency_links.txt
> +#usr/lib/python3.10/site-packages/python_dateutil-2.8.2-py3.10.egg-info/requires.txt
> +#usr/lib/python3.10/site-packages/python_dateutil-2.8.2-py3.10.egg-info/top_level.txt
> +#usr/lib/python3.10/site-packages/python_dateutil-2.8.2-py3.10.egg-info/zip-safe
> diff --git a/lfs/python3-dateutil b/lfs/python3-dateutil
> index 04bc39cf1..01061698f 100644
> --- a/lfs/python3-dateutil
> +++ b/lfs/python3-dateutil
> @@ -24,7 +24,7 @@
>  
>  include Config
>  
> -VER        = 2.8.1
> +VER        = 2.8.2
>  
>  THISAPP    = python-dateutil-$(VER)
>  DL_FILE    = $(THISAPP).tar.gz
> @@ -32,7 +32,7 @@ DL_FROM    = $(URL_IPFIRE)
>  DIR_APP    = $(DIR_SRC)/$(THISAPP)
>  TARGET     = $(DIR_INFO)/$(THISAPP)
>  PROG       = python3-dateutil
> -PAK_VER    = 4
> +PAK_VER    = 5
>  
>  DEPS       = 
>  
> @@ -44,7 +44,7 @@ objects = $(DL_FILE)
>  
>  $(DL_FILE) = $(DL_FROM)/$(DL_FILE)
>  
> -$(DL_FILE)_MD5 = f2a1d4b680b297b367a974664ca3a4f6
> +$(DL_FILE)_MD5 = 5970010bb72452344df3d76a10281b65
>  
>  install : $(TARGET)
>

Patch

diff --git a/config/rootfiles/packages/python3-dateutil b/config/rootfiles/packages/python3-dateutil
index d87fc499f..5ff390dd0 100644
--- a/config/rootfiles/packages/python3-dateutil
+++ b/config/rootfiles/packages/python3-dateutil
@@ -1,30 +1,30 @@ 
-#usr/lib/python3.8/site-packages/dateutil
-usr/lib/python3.8/site-packages/dateutil/__init__.py
-usr/lib/python3.8/site-packages/dateutil/_common.py
-usr/lib/python3.8/site-packages/dateutil/_version.py
-usr/lib/python3.8/site-packages/dateutil/easter.py
-#usr/lib/python3.8/site-packages/dateutil/parser
-usr/lib/python3.8/site-packages/dateutil/parser/__init__.py
-usr/lib/python3.8/site-packages/dateutil/parser/_parser.py
-usr/lib/python3.8/site-packages/dateutil/parser/isoparser.py
-usr/lib/python3.8/site-packages/dateutil/relativedelta.py
-usr/lib/python3.8/site-packages/dateutil/rrule.py
-#usr/lib/python3.8/site-packages/dateutil/tz
-usr/lib/python3.8/site-packages/dateutil/tz/__init__.py
-usr/lib/python3.8/site-packages/dateutil/tz/_common.py
-usr/lib/python3.8/site-packages/dateutil/tz/_factories.py
-usr/lib/python3.8/site-packages/dateutil/tz/tz.py
-usr/lib/python3.8/site-packages/dateutil/tz/win.py
-usr/lib/python3.8/site-packages/dateutil/tzwin.py
-usr/lib/python3.8/site-packages/dateutil/utils.py
-#usr/lib/python3.8/site-packages/dateutil/zoneinfo
-usr/lib/python3.8/site-packages/dateutil/zoneinfo/__init__.py
-usr/lib/python3.8/site-packages/dateutil/zoneinfo/dateutil-zoneinfo.tar.gz
-usr/lib/python3.8/site-packages/dateutil/zoneinfo/rebuild.py
-#usr/lib/python3.8/site-packages/python_dateutil-2.8.1-py3.8.egg-info
-#usr/lib/python3.8/site-packages/python_dateutil-2.8.1-py3.8.egg-info/PKG-INFO
-#usr/lib/python3.8/site-packages/python_dateutil-2.8.1-py3.8.egg-info/SOURCES.txt
-#usr/lib/python3.8/site-packages/python_dateutil-2.8.1-py3.8.egg-info/dependency_links.txt
-#usr/lib/python3.8/site-packages/python_dateutil-2.8.1-py3.8.egg-info/requires.txt
-#usr/lib/python3.8/site-packages/python_dateutil-2.8.1-py3.8.egg-info/top_level.txt
-#usr/lib/python3.8/site-packages/python_dateutil-2.8.1-py3.8.egg-info/zip-safe
+#usr/lib/python3.10/site-packages/dateutil
+usr/lib/python3.10/site-packages/dateutil/__init__.py
+usr/lib/python3.10/site-packages/dateutil/_common.py
+usr/lib/python3.10/site-packages/dateutil/_version.py
+usr/lib/python3.10/site-packages/dateutil/easter.py
+#usr/lib/python3.10/site-packages/dateutil/parser
+usr/lib/python3.10/site-packages/dateutil/parser/__init__.py
+usr/lib/python3.10/site-packages/dateutil/parser/_parser.py
+usr/lib/python3.10/site-packages/dateutil/parser/isoparser.py
+usr/lib/python3.10/site-packages/dateutil/relativedelta.py
+usr/lib/python3.10/site-packages/dateutil/rrule.py
+#usr/lib/python3.10/site-packages/dateutil/tz
+usr/lib/python3.10/site-packages/dateutil/tz/__init__.py
+usr/lib/python3.10/site-packages/dateutil/tz/_common.py
+usr/lib/python3.10/site-packages/dateutil/tz/_factories.py
+usr/lib/python3.10/site-packages/dateutil/tz/tz.py
+usr/lib/python3.10/site-packages/dateutil/tz/win.py
+usr/lib/python3.10/site-packages/dateutil/tzwin.py
+usr/lib/python3.10/site-packages/dateutil/utils.py
+#usr/lib/python3.10/site-packages/dateutil/zoneinfo
+usr/lib/python3.10/site-packages/dateutil/zoneinfo/__init__.py
+usr/lib/python3.10/site-packages/dateutil/zoneinfo/dateutil-zoneinfo.tar.gz
+usr/lib/python3.10/site-packages/dateutil/zoneinfo/rebuild.py
+#usr/lib/python3.10/site-packages/python_dateutil-2.8.2-py3.10.egg-info
+#usr/lib/python3.10/site-packages/python_dateutil-2.8.2-py3.10.egg-info/PKG-INFO
+#usr/lib/python3.10/site-packages/python_dateutil-2.8.2-py3.10.egg-info/SOURCES.txt
+#usr/lib/python3.10/site-packages/python_dateutil-2.8.2-py3.10.egg-info/dependency_links.txt
+#usr/lib/python3.10/site-packages/python_dateutil-2.8.2-py3.10.egg-info/requires.txt
+#usr/lib/python3.10/site-packages/python_dateutil-2.8.2-py3.10.egg-info/top_level.txt
+#usr/lib/python3.10/site-packages/python_dateutil-2.8.2-py3.10.egg-info/zip-safe
diff --git a/lfs/python3-dateutil b/lfs/python3-dateutil
index 04bc39cf1..01061698f 100644
--- a/lfs/python3-dateutil
+++ b/lfs/python3-dateutil
@@ -24,7 +24,7 @@ 
 
 include Config
 
-VER        = 2.8.1
+VER        = 2.8.2
 
 THISAPP    = python-dateutil-$(VER)
 DL_FILE    = $(THISAPP).tar.gz
@@ -32,7 +32,7 @@  DL_FROM    = $(URL_IPFIRE)
 DIR_APP    = $(DIR_SRC)/$(THISAPP)
 TARGET     = $(DIR_INFO)/$(THISAPP)
 PROG       = python3-dateutil
-PAK_VER    = 4
+PAK_VER    = 5
 
 DEPS       = 
 
@@ -44,7 +44,7 @@  objects = $(DL_FILE)
 
 $(DL_FILE) = $(DL_FROM)/$(DL_FILE)
 
-$(DL_FILE)_MD5 = f2a1d4b680b297b367a974664ca3a4f6
+$(DL_FILE)_MD5 = 5970010bb72452344df3d76a10281b65
 
 install : $(TARGET)