>>> yq-python: Building community/yq-python 3.2.3-r0 (using abuild 3.14.1-r1) started Wed, 06 Nov 2024 12:41:28 +0000 >>> yq-python: Validating /home/buildozer/aports/community/yq-python/APKBUILD... >>> yq-python: Analyzing dependencies... >>> yq-python: Installing for build: build-base !yq-go jq py3-pyaml py3-xmltodict py3-tomlkit py3-argcomplete py3-gpep517 py3-setuptools py3-wheel py3-pytest (1/45) Installing oniguruma (6.9.9-r0) (2/45) Installing jq (1.7.1-r0) (3/45) Installing libbz2 (1.0.8-r6) (4/45) Installing libffi (3.4.6-r0) (5/45) Installing gdbm (1.24-r0) (6/45) Installing xz-libs (5.6.3-r0) (7/45) Installing mpdecimal (4.0.0-r0) (8/45) Installing libpanelw (6.5_p20241006-r2) (9/45) Installing sqlite-libs (3.47.0-r0) (10/45) Installing python3 (3.12.7-r1) (11/45) Installing python3-pycache-pyc0 (3.12.7-r1) (12/45) Installing pyc (3.12.7-r1) (13/45) Installing py3-yaml-pyc (6.0.2-r0) (14/45) Installing py3-pyaml-pyc (24.9.0-r0) (15/45) Installing python3-pyc (3.12.7-r1) (16/45) Installing yaml (0.2.5-r2) (17/45) Installing py3-yaml (6.0.2-r0) (18/45) Installing py3-pyaml (24.9.0-r0) (19/45) Installing py3-xmltodict (0.13.0-r4) (20/45) Installing py3-xmltodict-pyc (0.13.0-r4) (21/45) Installing py3-tomlkit (0.13.2-r0) (22/45) Installing py3-tomlkit-pyc (0.13.2-r0) (23/45) Installing py3-argcomplete (3.5.1-r0) (24/45) Installing py3-argcomplete-pyc (3.5.1-r0) (25/45) Installing py3-installer (0.7.0-r2) (26/45) Installing py3-installer-pyc (0.7.0-r2) (27/45) Installing py3-gpep517 (16-r0) (28/45) Installing py3-gpep517-pyc (16-r0) (29/45) Installing py3-parsing (3.1.4-r0) (30/45) Installing py3-parsing-pyc (3.1.4-r0) (31/45) Installing py3-packaging (24.1-r0) (32/45) Installing py3-packaging-pyc (24.1-r0) (33/45) Installing py3-setuptools (70.3.0-r0) (34/45) Installing py3-setuptools-pyc (70.3.0-r0) (35/45) Installing py3-wheel (0.43.0-r0) (36/45) Installing py3-wheel-pyc (0.43.0-r0) (37/45) Installing py3-iniconfig (2.0.0-r1) (38/45) Installing py3-iniconfig-pyc (2.0.0-r1) (39/45) Installing py3-pluggy (1.5.0-r0) (40/45) Installing py3-pluggy-pyc (1.5.0-r0) (41/45) Installing py3-py (1.11.0-r4) (42/45) Installing py3-py-pyc (1.11.0-r4) (43/45) Installing py3-pytest (8.3.3-r0) (44/45) Installing py3-pytest-pyc (8.3.3-r0) (45/45) Installing .makedepends-yq-python (20241106.124140) Executing busybox-1.37.0-r6.trigger OK: 444 MiB in 146 packages >>> yq-python: Cleaning up srcdir >>> yq-python: Cleaning up pkgdir >>> yq-python: Cleaning up tmpdir >>> yq-python: Fetching https://distfiles.alpinelinux.org/distfiles/v3.21/yq-3.2.3.tar.gz Connecting to distfiles.alpinelinux.org (172.105.82.32:443) wget: server returned error: HTTP/1.1 404 Not Found >>> yq-python: Fetching https://github.com/kislyuk/yq/archive/v3.2.3/yq-3.2.3.tar.gz Connecting to github.com (140.82.121.4:443) Connecting to codeload.github.com (140.82.121.10:443) saving to '/var/cache/distfiles/v3.21/yq-3.2.3.tar.gz.part' yq-3.2.3.tar.gz.part 100% |********************************| 26525 0:00:00 ETA '/var/cache/distfiles/v3.21/yq-3.2.3.tar.gz.part' saved >>> yq-python: Fetching https://distfiles.alpinelinux.org/distfiles/v3.21/yq-3.2.3.tar.gz >>> yq-python: Checking sha512sums... yq-3.2.3.tar.gz: OK >>> yq-python: Unpacking /var/cache/distfiles/v3.21/yq-3.2.3.tar.gz... 2024-11-06 12:41:41,656 gpep517 INFO Building wheel via backend setuptools.build_meta:__legacy__ /usr/lib/python3.12/site-packages/setuptools/_distutils/dist.py:268: UserWarning: Unknown distribution option: 'use_scm_version' warnings.warn(msg) 2024-11-06 12:41:41,669 root INFO running bdist_wheel 2024-11-06 12:41:41,686 root INFO running build 2024-11-06 12:41:41,686 root INFO running build_py 2024-11-06 12:41:41,689 root INFO creating build 2024-11-06 12:41:41,689 root INFO creating build/lib 2024-11-06 12:41:41,689 root INFO creating build/lib/yq 2024-11-06 12:41:41,689 root INFO copying yq/version.py -> build/lib/yq 2024-11-06 12:41:41,689 root INFO copying yq/parser.py -> build/lib/yq 2024-11-06 12:41:41,690 root INFO copying yq/dumper.py -> build/lib/yq 2024-11-06 12:41:41,690 root INFO copying yq/__init__.py -> build/lib/yq 2024-11-06 12:41:41,690 root INFO copying yq/__main__.py -> build/lib/yq 2024-11-06 12:41:41,690 root INFO copying yq/loader.py -> build/lib/yq 2024-11-06 12:41:41,690 root INFO running egg_info 2024-11-06 12:41:41,690 root INFO creating yq.egg-info 2024-11-06 12:41:41,692 root INFO writing yq.egg-info/PKG-INFO 2024-11-06 12:41:41,693 root INFO writing dependency_links to yq.egg-info/dependency_links.txt 2024-11-06 12:41:41,693 root INFO writing entry points to yq.egg-info/entry_points.txt 2024-11-06 12:41:41,694 root INFO writing requirements to yq.egg-info/requires.txt 2024-11-06 12:41:41,694 root INFO writing top-level names to yq.egg-info/top_level.txt 2024-11-06 12:41:41,694 root INFO writing manifest file 'yq.egg-info/SOURCES.txt' 2024-11-06 12:41:41,696 root INFO reading manifest file 'yq.egg-info/SOURCES.txt' 2024-11-06 12:41:41,697 root INFO reading manifest template 'MANIFEST.in' 2024-11-06 12:41:41,697 root INFO adding license file 'LICENSE' 2024-11-06 12:41:41,697 root INFO writing manifest file 'yq.egg-info/SOURCES.txt' 2024-11-06 12:41:41,703 root INFO installing to build/bdist.linux-x86_64/wheel 2024-11-06 12:41:41,703 root INFO running install 2024-11-06 12:41:41,710 root INFO running install_lib 2024-11-06 12:41:41,713 root INFO creating build/bdist.linux-x86_64 2024-11-06 12:41:41,713 root INFO creating build/bdist.linux-x86_64/wheel 2024-11-06 12:41:41,713 root INFO creating build/bdist.linux-x86_64/wheel/yq 2024-11-06 12:41:41,713 root INFO copying build/lib/yq/version.py -> build/bdist.linux-x86_64/wheel/yq 2024-11-06 12:41:41,713 root INFO copying build/lib/yq/parser.py -> build/bdist.linux-x86_64/wheel/yq 2024-11-06 12:41:41,713 root INFO copying build/lib/yq/dumper.py -> build/bdist.linux-x86_64/wheel/yq 2024-11-06 12:41:41,714 root INFO copying build/lib/yq/__init__.py -> build/bdist.linux-x86_64/wheel/yq 2024-11-06 12:41:41,714 root INFO copying build/lib/yq/__main__.py -> build/bdist.linux-x86_64/wheel/yq 2024-11-06 12:41:41,714 root INFO copying build/lib/yq/loader.py -> build/bdist.linux-x86_64/wheel/yq 2024-11-06 12:41:41,715 root INFO running install_egg_info 2024-11-06 12:41:41,717 root INFO Copying yq.egg-info to build/bdist.linux-x86_64/wheel/yq-3.2.3-py3.12.egg-info 2024-11-06 12:41:41,718 root INFO running install_scripts 2024-11-06 12:41:41,721 root INFO creating build/bdist.linux-x86_64/wheel/yq-3.2.3.dist-info/WHEEL 2024-11-06 12:41:41,721 wheel INFO creating '/home/buildozer/aports/community/yq-python/src/yq-3.2.3/.dist/.tmp-ipkraj_q/yq-3.2.3-py3-none-any.whl' and adding 'build/bdist.linux-x86_64/wheel' to it 2024-11-06 12:41:41,721 wheel INFO adding 'yq/__init__.py' 2024-11-06 12:41:41,722 wheel INFO adding 'yq/__main__.py' 2024-11-06 12:41:41,722 wheel INFO adding 'yq/dumper.py' 2024-11-06 12:41:41,722 wheel INFO adding 'yq/loader.py' 2024-11-06 12:41:41,722 wheel INFO adding 'yq/parser.py' 2024-11-06 12:41:41,722 wheel INFO adding 'yq/version.py' 2024-11-06 12:41:41,723 wheel INFO adding 'yq-3.2.3.dist-info/LICENSE' 2024-11-06 12:41:41,723 wheel INFO adding 'yq-3.2.3.dist-info/METADATA' 2024-11-06 12:41:41,723 wheel INFO adding 'yq-3.2.3.dist-info/WHEEL' 2024-11-06 12:41:41,723 wheel INFO adding 'yq-3.2.3.dist-info/entry_points.txt' 2024-11-06 12:41:41,723 wheel INFO adding 'yq-3.2.3.dist-info/top_level.txt' 2024-11-06 12:41:41,724 wheel INFO adding 'yq-3.2.3.dist-info/RECORD' 2024-11-06 12:41:41,724 root INFO removing build/bdist.linux-x86_64/wheel 2024-11-06 12:41:41,724 gpep517 INFO The backend produced .dist/yq-3.2.3-py3-none-any.whl yq-3.2.3-py3-none-any.whl test_abbrev_opt_collisions (__main__.TestYq.test_abbrev_opt_collisions) ... ok test_datetimes (__main__.TestYq.test_datetimes) ... [ "2016-12-20T22:07:36Z" ] "2016-12-20" ok test_entity_expansion_defense (__main__.TestYq.test_entity_expansion_defense) ... /usr/lib/python3.12/subprocess.py:1127: ResourceWarning: subprocess 11210 is still running _warn("subprocess %s is still running" % self.pid, ResourceWarning: Enable tracemalloc to get the object allocation traceback /home/buildozer/aports/community/yq-python/src/yq-3.2.3/./test/test.py:62: ResourceWarning: unclosed file <_io.TextIOWrapper name=35 encoding='UTF-8'> self.assertIn(e.code, expect_exit_codes) ResourceWarning: Enable tracemalloc to get the object allocation traceback ok test_explicit_doc_markers (__main__.TestYq.test_explicit_doc_markers) ... ok test_in_place_toml (__main__.TestYq.test_in_place_toml) ... /home/buildozer/aports/community/yq-python/src/yq-3.2.3/yq/__init__.py:148: ResourceWarning: unclosed file <_io.TextIOWrapper name='/tmp/tmpbll91uwj' mode='w' encoding='UTF-8'> yq(input_streams=[input_stream], output_stream=DeferredOutputStream(input_stream.name), **yq_args) ResourceWarning: Enable tracemalloc to get the object allocation traceback ok test_in_place_yaml (__main__.TestYq.test_in_place_yaml) ... /home/buildozer/aports/community/yq-python/src/yq-3.2.3/yq/__init__.py:148: ResourceWarning: unclosed file <_io.TextIOWrapper name='/tmp/tmp4micuql_' mode='w' encoding='UTF-8'> yq(input_streams=[input_stream], output_stream=DeferredOutputStream(input_stream.name), **yq_args) ResourceWarning: Enable tracemalloc to get the object allocation traceback /home/buildozer/aports/community/yq-python/src/yq-3.2.3/yq/__init__.py:148: ResourceWarning: unclosed file <_io.TextIOWrapper name='/tmp/tmp2i6ym2k3' mode='w' encoding='UTF-8'> yq(input_streams=[input_stream], output_stream=DeferredOutputStream(input_stream.name), **yq_args) ResourceWarning: Enable tracemalloc to get the object allocation traceback jq: error: syntax error, unexpected '/', expecting end of file (Unix shell quoting issues?) at , line 1: /tmp/tmp4micuql_ jq: 1 compile error ok test_jq16_arg_passthrough (__main__.TestYq.test_jq16_arg_passthrough) ... {} ok test_multidocs (__main__.TestYq.test_multidocs) ... ok test_roundtrip_yaml (__main__.TestYq.test_roundtrip_yaml) ... ok test_short_option_separation (__main__.TestYq.test_short_option_separation) ... { "a": 1 } {"a":1} ok test_tomlq (__main__.TestYq.test_tomlq) ... { "foo": { "bar": 1 } } { "foo": { "bar": "2020-02-20" } } ok test_unrecognized_tags (__main__.TestYq.test_unrecognized_tags) ... "bar" ok test_xq (__main__.TestYq.test_xq) ... { "foo": null } { "foo": null } { "foo": [ null ] } ok test_xq_dtd (__main__.TestYq.test_xq_dtd) ... ok test_yaml_1_1_octals (__main__.TestYq.test_yaml_1_1_octals) ... ok test_yaml_1_2 (__main__.TestYq.test_yaml_1_2) ... "11:12:13" ok test_yaml_1_2_octals (__main__.TestYq.test_yaml_1_2_octals) YAML 1.2 octals not yet implemented ... expected failure test_yaml_merge (__main__.TestYq.test_yaml_merge) ... ok test_yaml_type_tags (__main__.TestYq.test_yaml_type_tags) ... { "example": "Zm9vYmFyCg==" } { "example": { "Boston Red Sox": null, "Detroit Tigers": null, "New York Yankees": null } } ok test_yq (__main__.TestYq.test_yq) ... usage: yq [options] [input file...] [--indentless-lists] [--explicit-start] [--explicit-end] [--in-place] [--version] [jq_filter] [files ...] yq: Command-line YAML processor - jq wrapper for YAML documents yq transcodes YAML documents to JSON and passes them to jq. See https://github.com/kislyuk/yq for more information. positional arguments: jq_filter files options: -h, --help show this help message and exit --yaml-output, --yml-output, -y Transcode jq JSON output back into YAML and emit it --yaml-roundtrip, --yml-roundtrip, -Y Transcode jq JSON output back into YAML and emit it. Preserve YAML tags and styles by representing them as extra items in their enclosing mappings and sequences while in JSON. This option is incompatible with jq filters that do not expect these extra items. --yaml-output-grammar-version {1.1,1.2}, --yml-out-ver {1.1,1.2} When using --yaml-output, specify output grammar (the default is 1.1 and will be changed to 1.2 in a future version). Setting this to 1.2 will cause strings like 'on' and 'no' to be emitted unquoted. --width WIDTH, -w WIDTH When using --yaml-output, specify string wrap width --indentless-lists, --indentless When using --yaml-output, indent block style lists (sequences) with 0 spaces instead of 2 --explicit-start When using --yaml-output, always emit explicit document start ("---") --explicit-end When using --yaml-output, always emit explicit document end ("...") --in-place, -i Edit files in place (no backup - use caution) --version show program's version number and exit jq - commandline JSON processor [version 1.7.1] Usage: jq [options] [file...] jq [options] --args [strings...] jq [options] --jsonargs [JSON_TEXTS...] jq is a tool for processing JSON inputs, applying the given filter to its JSON text inputs and producing the filter's results as JSON on standard output. The simplest filter is ., which copies jq's input to its output unmodified except for formatting. For more advanced filters see the jq(1) manpage ("man jq") and/or https://jqlang.github.io/jq/. Example: $ echo '{"foo": 0}' | jq . { "foo": 0 } Command options: -n, --null-input use `null` as the single input value; -R, --raw-input read each line as string instead of JSON; -s, --slurp read all inputs into an array and use it as the single input value; -c, --compact-output compact instead of pretty-printed output; -r, --raw-output output strings without escapes and quotes; --raw-output0 implies -r and output NUL after each output; -j, --join-output implies -r and output without newline after each output; -a, --ascii-output output strings by only ASCII characters using escape sequences; -S, --sort-keys sort keys of each object on output; -C, --color-output colorize JSON output; -M, --monochrome-output disable colored output; --tab use tabs for indentation; --indent n use n spaces for indentation (max 7 spaces); --unbuffered flush output stream after each output; --stream parse the input value in streaming fashion; --stream-errors implies --stream and report parse error as an array; --seq parse input/output as application/json-seq; -f, --from-file file load filter from the file; -L directory search modules from the directory; --arg name value set $name to the string value; --argjson name value set $name to the JSON value; --slurpfile name file set $name to an array of JSON values read from the file; --rawfile name file set $name to string contents of file; --args consume remaining arguments as positional string values; --jsonargs consume remaining arguments as positional JSON values; -e, --exit-status set exit status code based on the output; -V, --version show the version; --build-configuration show jq's build configuration; -h, --help show the help; -- terminates argument processing; Named arguments are also available as $ARGS.named[], while positional arguments are available as $ARGS.positional[]. usage: yq [options] [input file...] [--indentless-lists] [--explicit-start] [--explicit-end] [--in-place] [--version] [jq_filter] [files ...] yq: Command-line YAML processor - jq wrapper for YAML documents yq transcodes YAML documents to JSON and passes them to jq. See https://github.com/kislyuk/yq for more information. positional arguments: jq_filter files options: -h, --help show this help message and exit --yaml-output, --yml-output, -y Transcode jq JSON output back into YAML and emit it --yaml-roundtrip, --yml-roundtrip, -Y Transcode jq JSON output back into YAML and emit it. Preserve YAML tags and styles by representing them as extra items in their enclosing mappings and sequences while in JSON. This option is incompatible with jq filters that do not expect these extra items. --yaml-output-grammar-version {1.1,1.2}, --yml-out-ver {1.1,1.2} When using --yaml-output, specify output grammar (the default is 1.1 and will be changed to 1.2 in a future version). Setting this to 1.2 will cause strings like 'on' and 'no' to be emitted unquoted. --width WIDTH, -w WIDTH When using --yaml-output, specify string wrap width --indentless-lists, --indentless When using --yaml-output, indent block style lists (sequences) with 0 spaces instead of 2 --explicit-start When using --yaml-output, always emit explicit document start ("---") --explicit-end When using --yaml-output, always emit explicit document end ("...") --in-place, -i Edit files in place (no backup - use caution) --version show program's version number and exit jq - commandline JSON processor [version 1.7.1] Usage: jq [options] [file...] jq [options] --args [strings...] jq [options] --jsonargs [JSON_TEXTS...] jq is a tool for processing JSON inputs, applying the given filter to its JSON text inputs and producing the filter's results as JSON on standard output. The simplest filter is ., which copies jq's input to its output unmodified except for formatting. For more advanced filters see the jq(1) manpage ("man jq") and/or https://jqlang.github.io/jq/. Example: $ echo '{"foo": 0}' | jq . { "foo": 0 } Command options: -n, --null-input use `null` as the single input value; -R, --raw-input read each line as string instead of JSON; -s, --slurp read all inputs into an array and use it as the single input value; -c, --compact-output compact instead of pretty-printed output; -r, --raw-output output strings without escapes and quotes; --raw-output0 implies -r and output NUL after each output; -j, --join-output implies -r and output without newline after each output; -a, --ascii-output output strings by only ASCII characters using escape sequences; -S, --sort-keys sort keys of each object on output; -C, --color-output colorize JSON output; -M, --monochrome-output disable colored output; --tab use tabs for indentation; --indent n use n spaces for indentation (max 7 spaces); --unbuffered flush output stream after each output; --stream parse the input value in streaming fashion; --stream-errors implies --stream and report parse error as an array; --seq parse input/output as application/json-seq; -f, --from-file file load filter from the file; -L directory search modules from the directory; --arg name value set $name to the string value; --argjson name value set $name to the JSON value; --slurpfile name file set $name to an array of JSON values read from the file; --rawfile name file set $name to string contents of file; --args consume remaining arguments as positional string values; --jsonargs consume remaining arguments as positional JSON values; -e, --exit-status set exit status code based on the output; -V, --version show the version; --build-configuration show jq's build configuration; -h, --help show the help; -- terminates argument processing; Named arguments are also available as $ARGS.named[], while positional arguments are available as $ARGS.positional[]. {} 3 1 ok test_yq_arg_handling (__main__.TestYq.test_yq_arg_handling) ... {} { "yaml_struct": [ { "key_1": "$.*?/|\\^(){}+@[]&_-", "key_2": [ "$.*?/|\\^(){}+@[]&_-", "{ }", "value23" ], "key_3": "value31", "key_4": [ "value41", "value42" ], "key_5": "value51" }, { "key_1_": "value12", "_key_2": [ "value24", "value25" ], "_key__3": "$.*?/|\\^(){}+@[]&_-" } ] } { "yaml_struct": [ { "key_1": "$.*?/|\\^(){}+@[]&_-", "key_2": [ "$.*?/|\\^(){}+@[]&_-", "{ }", "value23" ], "key_3": "value31", "key_4": [ "value41", "value42" ], "key_5": "value51" }, { "key_1_": "value12", "_key_2": [ "value24", "value25" ], "_key__3": "$.*?/|\\^(){}+@[]&_-" } ] } { "yaml_struct": [ { "key_1": "$.*?/|\\^(){}+@[]&_-", "key_2": [ "$.*?/|\\^(){}+@[]&_-", "{ }", "value23" ], "key_3": "value31", "key_4": [ "value41", "value42" ], "key_5": "value51" }, { "key_1_": "value12", "_key_2": [ "value24", "value25" ], "_key__3": "$.*?/|\\^(){}+@[]&_-" } ] } {} { "yaml_struct": [ { "key_1": "$.*?/|\\^(){}+@[]&_-", "key_2": [ "$.*?/|\\^(){}+@[]&_-", "{ }", "value23" ], "key_3": "value31", "key_4": [ "value41", "value42" ], "key_5": "value51" }, { "key_1_": "value12", "_key_2": [ "value24", "value25" ], "_key__3": "$.*?/|\\^(){}+@[]&_-" } ] } { "yaml_struct": [ { "key_1": "$.*?/|\\^(){}+@[]&_-", "key_2": [ "$.*?/|\\^(){}+@[]&_-", "{ }", "value23" ], "key_3": "value31", "key_4": [ "value41", "value42" ], "key_5": "value51" }, { "key_1_": "value12", "_key_2": [ "value24", "value25" ], "_key__3": "$.*?/|\\^(){}+@[]&_-" } ] } { "yaml_struct": [ { "key_1": "$.*?/|\\^(){}+@[]&_-", "key_2": [ "$.*?/|\\^(){}+@[]&_-", "{ }", "value23" ], "key_3": "value31", "key_4": [ "value41", "value42" ], "key_5": "value51" }, { "key_1_": "value12", "_key_2": [ "value24", "value25" ], "_key__3": "$.*?/|\\^(){}+@[]&_-" } ] } jq - commandline JSON processor [version 1.7.1] Usage: jq [options] [file...] jq [options] --args [strings...] jq [options] --jsonargs [JSON_TEXTS...] jq is a tool for processing JSON inputs, applying the given filter to its JSON text inputs and producing the filter's results as JSON on standard output. The simplest filter is ., which copies jq's input to its output unmodified except for formatting. For more advanced filters see the jq(1) manpage ("man jq") and/or https://jqlang.github.io/jq/. Example: $ echo '{"foo": 0}' | jq . { "foo": 0 } Command options: -n, --null-input use `null` as the single input value; -R, --raw-input read each line as string instead of JSON; -s, --slurp read all inputs into an array and use it as the single input value; -c, --compact-output compact instead of pretty-printed output; -r, --raw-output output strings without escapes and quotes; --raw-output0 implies -r and output NUL after each output; -j, --join-output implies -r and output without newline after each output; -a, --ascii-output output strings by only ASCII characters using escape sequences; -S, --sort-keys sort keys of each object on output; -C, --color-output colorize JSON output; -M, --monochrome-output disable colored output; --tab use tabs for indentation; --indent n use n spaces for indentation (max 7 spaces); --unbuffered flush output stream after each output; --stream parse the input value in streaming fashion; --stream-errors implies --stream and report parse error as an array; --seq parse input/output as application/json-seq; -f, --from-file file load filter from the file; -L directory search modules from the directory; --arg name value set $name to the string value; --argjson name value set $name to the JSON value; --slurpfile name file set $name to an array of JSON values read from the file; --rawfile name file set $name to string contents of file; --args consume remaining arguments as positional string values; --jsonargs consume remaining arguments as positional JSON values; -e, --exit-status set exit status code based on the output; -V, --version show the version; --build-configuration show jq's build configuration; -h, --help show the help; -- terminates argument processing; Named arguments are also available as $ARGS.named[], while positional arguments are available as $ARGS.positional[]. jq - commandline JSON processor [version 1.7.1] Usage: jq [options] [file...] jq [options] --args [strings...] jq [options] --jsonargs [JSON_TEXTS...] jq is a tool for processing JSON inputs, applying the given filter to its JSON text inputs and producing the filter's results as JSON on standard output. The simplest filter is ., which copies jq's input to its output unmodified except for formatting. For more advanced filters see the jq(1) manpage ("man jq") and/or https://jqlang.github.io/jq/. Example: $ echo '{"foo": 0}' | jq . { "foo": 0 } Command options: -n, --null-input use `null` as the single input value; -R, --raw-input read each line as string instead of JSON; -s, --slurp read all inputs into an array and use it as the single input value; -c, --compact-output compact instead of pretty-printed output; -r, --raw-output output strings without escapes and quotes; --raw-output0 implies -r and output NUL after each output; -j, --join-output implies -r and output without newline after each output; -a, --ascii-output output strings by only ASCII characters using escape sequences; -S, --sort-keys sort keys of each object on output; -C, --color-output colorize JSON output; -M, --monochrome-output disable colored output; --tab use tabs for indentation; --indent n use n spaces for indentation (max 7 spaces); --unbuffered flush output stream after each output; --stream parse the input value in streaming fashion; --stream-errors implies --stream and report parse error as an array; --seq parse input/output as application/json-seq; -f, --from-file file load filter from the file; -L directory search modules from the directory; --arg name value set $name to the string value; --argjson name value set $name to the JSON value; --slurpfile name file set $name to an array of JSON values read from the file; --rawfile name file set $name to string contents of file; --args consume remaining arguments as positional string values; --jsonargs consume remaining arguments as positional JSON values; -e, --exit-status set exit status code based on the output; -V, --version show the version; --build-configuration show jq's build configuration; -h, --help show the help; -- terminates argument processing; Named arguments are also available as $ARGS.named[], while positional arguments are available as $ARGS.positional[]. jq - commandline JSON processor [version 1.7.1] Usage: jq [options] [file...] jq [options] --args [strings...] jq [options] --jsonargs [JSON_TEXTS...] jq is a tool for processing JSON inputs, applying the given filter to its JSON text inputs and producing the filter's results as JSON on standard output. The simplest filter is ., which copies jq's input to its output unmodified except for formatting. For more advanced filters see the jq(1) manpage ("man jq") and/or https://jqlang.github.io/jq/. Example: $ echo '{"foo": 0}' | jq . { "foo": 0 } Command options: -n, --null-input use `null` as the single input value; -R, --raw-input read each line as string instead of JSON; -s, --slurp read all inputs into an array and use it as the single input value; -c, --compact-output compact instead of pretty-printed output; -r, --raw-output output strings without escapes and quotes; --raw-output0 implies -r and output NUL after each output; -j, --join-output implies -r and output without newline after each output; -a, --ascii-output output strings by only ASCII characters using escape sequences; -S, --sort-keys sort keys of each object on output; -C, --color-output colorize JSON output; -M, --monochrome-output disable colored output; --tab use tabs for indentation; --indent n use n spaces for indentation (max 7 spaces); --unbuffered flush output stream after each output; --stream parse the input value in streaming fashion; --stream-errors implies --stream and report parse error as an array; --seq parse input/output as application/json-seq; -f, --from-file file load filter from the file; -L directory search modules from the directory; --arg name value set $name to the string value; --argjson name value set $name to the JSON value; --slurpfile name file set $name to an array of JSON values read from the file; --rawfile name file set $name to string contents of file; --args consume remaining arguments as positional string values; --jsonargs consume remaining arguments as positional JSON values; -e, --exit-status set exit status code based on the output; -V, --version show the version; --build-configuration show jq's build configuration; -h, --help show the help; -- terminates argument processing; Named arguments are also available as $ARGS.named[], while positional arguments are available as $ARGS.positional[]. ok test_yq_arg_passthrough (__main__.TestYq.test_yq_arg_passthrough) ... {} jq: --indent takes a number between -1 and 7 Use jq --help for help with command-line options, or see the jq manpage, or online docs at https://jqlang.github.io/jq ok test_yq_err (__main__.TestYq.test_yq_err) ... /usr/lib/python3.12/subprocess.py:1127: ResourceWarning: subprocess 11299 is still running _warn("subprocess %s is still running" % self.pid, ResourceWarning: Enable tracemalloc to get the object allocation traceback ok ---------------------------------------------------------------------- Ran 23 tests in 0.714s OK (expected failures=1) sys:1: ResourceWarning: unclosed file <_io.TextIOWrapper name=35 encoding='UTF-8'> >>> yq-python: Entering fakeroot... >>> yq-python-pyc*: Running split function pyc... 'usr/lib/python3.12/site-packages/yq/__pycache__' -> '/home/buildozer/aports/community/yq-python/pkg/yq-python-pyc/usr/lib/python3.12/site-packages/yq/__pycache__' >>> yq-python-pyc*: Preparing subpackage yq-python-pyc... >>> yq-python-pyc*: Running postcheck for yq-python-pyc >>> yq-python*: Running postcheck for yq-python >>> yq-python*: Preparing package yq-python... >>> yq-python-pyc*: Tracing dependencies... !yq-go jq py3-pyaml py3-xmltodict py3-tomlkit py3-argcomplete python3~3.12 >>> yq-python-pyc*: Package size: 37.7 KB >>> yq-python-pyc*: Compressing data... >>> yq-python-pyc*: Create checksum... >>> yq-python-pyc*: Create yq-python-pyc-3.2.3-r0.apk >>> yq-python*: Tracing dependencies... !yq-go jq py3-pyaml py3-xmltodict py3-tomlkit py3-argcomplete python3~3.12 >>> yq-python*: Package size: 51.4 KB >>> yq-python*: Compressing data... >>> yq-python*: Create checksum... >>> yq-python*: Create yq-python-3.2.3-r0.apk >>> yq-python: Build complete at Wed, 06 Nov 2024 12:41:43 +0000 elapsed time 0h 0m 15s >>> yq-python: Cleaning up srcdir >>> yq-python: Cleaning up pkgdir >>> yq-python: Uninstalling dependencies... (1/45) Purging .makedepends-yq-python (20241106.124140) (2/45) Purging jq (1.7.1-r0) (3/45) Purging py3-pyaml-pyc (24.9.0-r0) (4/45) Purging py3-pyaml (24.9.0-r0) (5/45) Purging py3-yaml-pyc (6.0.2-r0) (6/45) Purging py3-yaml (6.0.2-r0) (7/45) Purging py3-xmltodict-pyc (0.13.0-r4) (8/45) Purging py3-xmltodict (0.13.0-r4) (9/45) Purging py3-tomlkit-pyc (0.13.2-r0) (10/45) Purging py3-tomlkit (0.13.2-r0) (11/45) Purging py3-argcomplete-pyc (3.5.1-r0) (12/45) Purging py3-argcomplete (3.5.1-r0) (13/45) Purging py3-gpep517-pyc (16-r0) (14/45) Purging py3-gpep517 (16-r0) (15/45) Purging py3-installer-pyc (0.7.0-r2) (16/45) Purging py3-installer (0.7.0-r2) (17/45) Purging py3-setuptools-pyc (70.3.0-r0) (18/45) Purging py3-setuptools (70.3.0-r0) (19/45) Purging py3-wheel-pyc (0.43.0-r0) (20/45) Purging py3-wheel (0.43.0-r0) (21/45) Purging py3-pytest-pyc (8.3.3-r0) (22/45) Purging py3-pytest (8.3.3-r0) (23/45) Purging py3-iniconfig-pyc (2.0.0-r1) (24/45) Purging py3-iniconfig (2.0.0-r1) (25/45) Purging py3-packaging-pyc (24.1-r0) (26/45) Purging py3-packaging (24.1-r0) (27/45) Purging py3-parsing-pyc (3.1.4-r0) (28/45) Purging py3-parsing (3.1.4-r0) (29/45) Purging py3-pluggy-pyc (1.5.0-r0) (30/45) Purging py3-pluggy (1.5.0-r0) (31/45) Purging py3-py-pyc (1.11.0-r4) (32/45) Purging py3-py (1.11.0-r4) (33/45) Purging python3-pyc (3.12.7-r1) (34/45) Purging python3-pycache-pyc0 (3.12.7-r1) (35/45) Purging pyc (3.12.7-r1) (36/45) Purging python3 (3.12.7-r1) (37/45) Purging gdbm (1.24-r0) (38/45) Purging libbz2 (1.0.8-r6) (39/45) Purging libffi (3.4.6-r0) (40/45) Purging libpanelw (6.5_p20241006-r2) (41/45) Purging mpdecimal (4.0.0-r0) (42/45) Purging oniguruma (6.9.9-r0) (43/45) Purging sqlite-libs (3.47.0-r0) (44/45) Purging xz-libs (5.6.3-r0) (45/45) Purging yaml (0.2.5-r2) Executing busybox-1.37.0-r6.trigger OK: 395 MiB in 101 packages >>> yq-python: Updating the community/x86_64 repository index... >>> yq-python: Signing the index...