From 0ca3aaa25df8fb735f9c0559110c6f6bb8f5ba81 Mon Sep 17 00:00:00 2001 From: Adolf Belka Date: Mon, 24 Jan 2022 17:16:42 +0100 Subject: [PATCH] python3-yaml: Update to version 6.0 and python-3.10 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Update from 3.13 to 6.0 - Update of rootfile - Changelog 6.0 (2021-10-13) * https://github.com/yaml/pyyaml/pull/327 -- Change README format to Markdown * https://github.com/yaml/pyyaml/pull/483 -- Add a test for YAML 1.1 types * https://github.com/yaml/pyyaml/pull/497 -- fix float resolver to ignore `.` and `._` * https://github.com/yaml/pyyaml/pull/550 -- drop Python 2.7 * https://github.com/yaml/pyyaml/pull/553 -- Fix spelling of “hexadecimal” * https://github.com/yaml/pyyaml/pull/556 -- fix representation of Enum subclasses * https://github.com/yaml/pyyaml/pull/557 -- fix libyaml extension compiler warnings * https://github.com/yaml/pyyaml/pull/560 -- fix ResourceWarning on leaked file descriptors * https://github.com/yaml/pyyaml/pull/561 -- always require `Loader` arg to `yaml.load()` * https://github.com/yaml/pyyaml/pull/564 -- remove remaining direct distutils usage 5.4.1 (2021-01-20) * https://github.com/yaml/pyyaml/pull/480 -- Fix stub compat with older pyyaml versions that may unwittingly load it 5.4 (2021-01-19) * https://github.com/yaml/pyyaml/pull/407 -- Build modernization, remove distutils, fix metadata, build wheels, CI to GHA * https://github.com/yaml/pyyaml/pull/472 -- Fix for CVE-2020-14343, moves arbitrary python tags to UnsafeLoader * https://github.com/yaml/pyyaml/pull/441 -- Fix memory leak in implicit resolver setup * https://github.com/yaml/pyyaml/pull/392 -- Fix py2 copy support for timezone objects * https://github.com/yaml/pyyaml/pull/378 -- Fix compatibility with Jython 5.3.1 (2020-03-18) * https://github.com/yaml/pyyaml/pull/386 -- Prevents arbitrary code execution during python/object/new constructor 5.3 (2020-01-06) * https://github.com/yaml/pyyaml/pull/290 -- Use `is` instead of equality for comparing with `None` * https://github.com/yaml/pyyaml/pull/270 -- Fix typos and stylistic nit * https://github.com/yaml/pyyaml/pull/309 -- Fix up small typo * https://github.com/yaml/pyyaml/pull/161 -- Fix handling of __slots__ * https://github.com/yaml/pyyaml/pull/358 -- Allow calling add_multi_constructor with None * https://github.com/yaml/pyyaml/pull/285 -- Add use of safe_load() function in README * https://github.com/yaml/pyyaml/pull/351 -- Fix reader for Unicode code points over 0xFFFF * https://github.com/yaml/pyyaml/pull/360 -- Enable certain unicode tests when maxunicode not > 0xffff * https://github.com/yaml/pyyaml/pull/359 -- Use full_load in yaml-highlight example * https://github.com/yaml/pyyaml/pull/244 -- Document that PyYAML is implemented with Cython * https://github.com/yaml/pyyaml/pull/329 -- Fix for Python 3.10 * https://github.com/yaml/pyyaml/pull/310 -- Increase size of index, line, and column fields * https://github.com/yaml/pyyaml/pull/260 -- Remove some unused imports * https://github.com/yaml/pyyaml/pull/163 -- Create timezone-aware datetimes when parsed as such * https://github.com/yaml/pyyaml/pull/363 -- Add tests for timezone 5.2 (2019-12-02) * Repair incompatibilities introduced with 5.1. The default Loader was changed, but several methods like add_constructor still used the old default https://github.com/yaml/pyyaml/pull/279 -- A more flexible fix for custom tag constructors https://github.com/yaml/pyyaml/pull/287 -- Change default loader for yaml.add_constructor https://github.com/yaml/pyyaml/pull/305 -- Change default loader for add_implicit_resolver, add_path_resolver * Make FullLoader safer by removing python/object/apply from the default FullLoader https://github.com/yaml/pyyaml/pull/347 -- Move constructor for object/apply to UnsafeConstructor * Fix bug introduced in 5.1 where quoting went wrong on systems with sys.maxunicode <= 0xffff https://github.com/yaml/pyyaml/pull/276 -- Fix logic for quoting special characters * Other PRs: https://github.com/yaml/pyyaml/pull/280 -- Update CHANGES for 5.1 5.1.2 (2019-07-30) * Re-release of 5.1 with regenerated Cython sources to build properly for Python 3.8b2+ 5.1.1 (2019-06-05) * Re-release of 5.1 with regenerated Cython sources to build properly for Python 3.8b1 5.1 (2019-03-13) * https://github.com/yaml/pyyaml/pull/35 -- Some modernization of the test running * https://github.com/yaml/pyyaml/pull/42 -- Install tox in a virtualenv * https://github.com/yaml/pyyaml/pull/45 -- Allow colon in a plain scalar in a flow context * https://github.com/yaml/pyyaml/pull/48 -- Fix typos * https://github.com/yaml/pyyaml/pull/55 -- Improve RepresenterError creation * https://github.com/yaml/pyyaml/pull/59 -- Resolves #57, update readme issues link * https://github.com/yaml/pyyaml/pull/60 -- Document and test Python 3.6 support * https://github.com/yaml/pyyaml/pull/61 -- Use Travis CI built in pip cache support * https://github.com/yaml/pyyaml/pull/62 -- Remove tox workaround for Travis CI * https://github.com/yaml/pyyaml/pull/63 -- Adding support to Unicode characters over codepoint 0xffff * https://github.com/yaml/pyyaml/pull/75 -- add 3.12 changelog * https://github.com/yaml/pyyaml/pull/76 -- Fallback to Pure Python if Compilation fails * https://github.com/yaml/pyyaml/pull/84 -- Drop unsupported Python 3.3 * https://github.com/yaml/pyyaml/pull/102 -- Include license file in the generated wheel package * https://github.com/yaml/pyyaml/pull/105 -- Removed Python 2.6 & 3.3 support * https://github.com/yaml/pyyaml/pull/111 -- Remove commented out Psyco code * https://github.com/yaml/pyyaml/pull/129 -- Remove call to `ord` in lib3 emitter code * https://github.com/yaml/pyyaml/pull/149 -- Test on Python 3.7-dev * https://github.com/yaml/pyyaml/pull/158 -- Support escaped slash in double quotes "\/" * https://github.com/yaml/pyyaml/pull/175 -- Updated link to pypi in release announcement * https://github.com/yaml/pyyaml/pull/181 -- Import Hashable from collections.abc * https://github.com/yaml/pyyaml/pull/194 -- Reverting https://github.com/yaml/pyyaml/pull/74 * https://github.com/yaml/pyyaml/pull/195 -- Build libyaml on travis * https://github.com/yaml/pyyaml/pull/196 -- Force cython when building sdist * https://github.com/yaml/pyyaml/pull/254 -- Allow to turn off sorting keys in Dumper (2) * https://github.com/yaml/pyyaml/pull/256 -- Make default_flow_style=False * https://github.com/yaml/pyyaml/pull/257 -- Deprecate yaml.load and add FullLoader and UnsafeLoader classes * https://github.com/yaml/pyyaml/pull/261 -- Skip certain unicode tests when maxunicode not > 0xffff * https://github.com/yaml/pyyaml/pull/263 -- Windows Appveyor build Signed-off-by: Adolf Belka --git a/config/rootfiles/packages/python3-yaml b/config/rootfiles/packages/python3-yaml x 0870a2346..bd4009a08 100644 * https://github.com/yaml/pyyaml/pull/195 -- Build libyaml on travis * https://github.com/yaml/pyyaml/pull/196 -- Force cython when building sdist * https://github.com/yaml/pyyaml/pull/254 -- Allow to turn off sorting keys in Dumper (2) * https://github.com/yaml/pyyaml/pull/256 -- Make default_flow_style=False * https://github.com/yaml/pyyaml/pull/257 -- Deprecate yaml.load and add FullLoader and Uns oader classes * https://github.com/yaml/pyyaml/pull/261 -- Skip certain unicode tests when maxunicode not xffff * https://github.com/yaml/pyyaml/pull/263 -- Windows Appveyor build Signed-off-by: Adolf Belka Reviewed-by: Peter Müller --- config/rootfiles/packages/armv6l/python3-yaml | 40 ++++++++--------- config/rootfiles/packages/python3-yaml | 45 ++++++++++--------- lfs/python3-yaml | 6 +-- 3 files changed, 48 insertions(+), 43 deletions(-) diff --git a/config/rootfiles/packages/armv6l/python3-yaml b/config/rootfiles/packages/armv6l/python3-yaml index a0f641e70d..782cbca781 100644 --- a/config/rootfiles/packages/armv6l/python3-yaml +++ b/config/rootfiles/packages/armv6l/python3-yaml @@ -1,20 +1,20 @@ -#usr/lib/python3.8/site-packages/PyYAML-3.13-py3.8.egg-info -usr/lib/python3.8/site-packages/_yaml.cpython-38-arm-linux-gnueabi.so -#usr/lib/python3.8/site-packages/yaml -usr/lib/python3.8/site-packages/yaml/__init__.py -usr/lib/python3.8/site-packages/yaml/composer.py -usr/lib/python3.8/site-packages/yaml/constructor.py -usr/lib/python3.8/site-packages/yaml/cyaml.py -usr/lib/python3.8/site-packages/yaml/dumper.py -usr/lib/python3.8/site-packages/yaml/emitter.py -usr/lib/python3.8/site-packages/yaml/error.py -usr/lib/python3.8/site-packages/yaml/events.py -usr/lib/python3.8/site-packages/yaml/loader.py -usr/lib/python3.8/site-packages/yaml/nodes.py -usr/lib/python3.8/site-packages/yaml/parser.py -usr/lib/python3.8/site-packages/yaml/reader.py -usr/lib/python3.8/site-packages/yaml/representer.py -usr/lib/python3.8/site-packages/yaml/resolver.py -usr/lib/python3.8/site-packages/yaml/scanner.py -usr/lib/python3.8/site-packages/yaml/serializer.py -usr/lib/python3.8/site-packages/yaml/tokens.py +#usr/lib/python3.10/site-packages/PyYAML-3.13-py3.10.egg-info +usr/lib/python3.10/site-packages/_yaml.cpython-310-arm-linux-gnueabi.so +#usr/lib/python3.10/site-packages/yaml +usr/lib/python3.10/site-packages/yaml/__init__.py +usr/lib/python3.10/site-packages/yaml/composer.py +usr/lib/python3.10/site-packages/yaml/constructor.py +usr/lib/python3.10/site-packages/yaml/cyaml.py +usr/lib/python3.10/site-packages/yaml/dumper.py +usr/lib/python3.10/site-packages/yaml/emitter.py +usr/lib/python3.10/site-packages/yaml/error.py +usr/lib/python3.10/site-packages/yaml/events.py +usr/lib/python3.10/site-packages/yaml/loader.py +usr/lib/python3.10/site-packages/yaml/nodes.py +usr/lib/python3.10/site-packages/yaml/parser.py +usr/lib/python3.10/site-packages/yaml/reader.py +usr/lib/python3.10/site-packages/yaml/representer.py +usr/lib/python3.10/site-packages/yaml/resolver.py +usr/lib/python3.10/site-packages/yaml/scanner.py +usr/lib/python3.10/site-packages/yaml/serializer.py +usr/lib/python3.10/site-packages/yaml/tokens.py diff --git a/config/rootfiles/packages/python3-yaml b/config/rootfiles/packages/python3-yaml index 0870a23465..bd4009a089 100644 --- a/config/rootfiles/packages/python3-yaml +++ b/config/rootfiles/packages/python3-yaml @@ -1,20 +1,25 @@ -#usr/lib/python3.8/site-packages/PyYAML-3.13-py3.8.egg-info -usr/lib/python3.8/site-packages/_yaml.cpython-38-xxxMACHINExxx-linux-gnu.so -#usr/lib/python3.8/site-packages/yaml -usr/lib/python3.8/site-packages/yaml/__init__.py -usr/lib/python3.8/site-packages/yaml/composer.py -usr/lib/python3.8/site-packages/yaml/constructor.py -usr/lib/python3.8/site-packages/yaml/cyaml.py -usr/lib/python3.8/site-packages/yaml/dumper.py -usr/lib/python3.8/site-packages/yaml/emitter.py -usr/lib/python3.8/site-packages/yaml/error.py -usr/lib/python3.8/site-packages/yaml/events.py -usr/lib/python3.8/site-packages/yaml/loader.py -usr/lib/python3.8/site-packages/yaml/nodes.py -usr/lib/python3.8/site-packages/yaml/parser.py -usr/lib/python3.8/site-packages/yaml/reader.py -usr/lib/python3.8/site-packages/yaml/representer.py -usr/lib/python3.8/site-packages/yaml/resolver.py -usr/lib/python3.8/site-packages/yaml/scanner.py -usr/lib/python3.8/site-packages/yaml/serializer.py -usr/lib/python3.8/site-packages/yaml/tokens.py +#usr/lib/python3.10/site-packages/PyYAML-6.0-py3.10.egg-info +#usr/lib/python3.10/site-packages/PyYAML-6.0-py3.10.egg-info/PKG-INFO +#usr/lib/python3.10/site-packages/PyYAML-6.0-py3.10.egg-info/SOURCES.txt +#usr/lib/python3.10/site-packages/PyYAML-6.0-py3.10.egg-info/dependency_links.txt +#usr/lib/python3.10/site-packages/PyYAML-6.0-py3.10.egg-info/top_level.txt +#usr/lib/python3.10/site-packages/_yaml +usr/lib/python3.10/site-packages/_yaml/__init__.py +#usr/lib/python3.10/site-packages/yaml +usr/lib/python3.10/site-packages/yaml/__init__.py +usr/lib/python3.10/site-packages/yaml/composer.py +usr/lib/python3.10/site-packages/yaml/constructor.py +usr/lib/python3.10/site-packages/yaml/cyaml.py +usr/lib/python3.10/site-packages/yaml/dumper.py +usr/lib/python3.10/site-packages/yaml/emitter.py +usr/lib/python3.10/site-packages/yaml/error.py +usr/lib/python3.10/site-packages/yaml/events.py +usr/lib/python3.10/site-packages/yaml/loader.py +usr/lib/python3.10/site-packages/yaml/nodes.py +usr/lib/python3.10/site-packages/yaml/parser.py +usr/lib/python3.10/site-packages/yaml/reader.py +usr/lib/python3.10/site-packages/yaml/representer.py +usr/lib/python3.10/site-packages/yaml/resolver.py +usr/lib/python3.10/site-packages/yaml/scanner.py +usr/lib/python3.10/site-packages/yaml/serializer.py +usr/lib/python3.10/site-packages/yaml/tokens.py diff --git a/lfs/python3-yaml b/lfs/python3-yaml index b8cda7f400..67584e6d15 100644 --- a/lfs/python3-yaml +++ b/lfs/python3-yaml @@ -24,7 +24,7 @@ include Config -VER = 3.13 +VER = 6.0 THISAPP = PyYAML-$(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-yaml -PAK_VER = 2 +PAK_VER = 3 DEPS = @@ -44,7 +44,7 @@ objects = $(DL_FILE) $(DL_FILE) = $(DL_FROM)/$(DL_FILE) -$(DL_FILE)_MD5 = b78b96636d68ac581c0e2f38158c224f +$(DL_FILE)_MD5 = 1d19c798f25e58e3e582f0f8c977dbb8 install : $(TARGET)