Skip to content

Return an error when getting header attributes for invalid metadata version #146

Return an error when getting header attributes for invalid metadata version

Return an error when getting header attributes for invalid metadata version #146

Re-run triggered January 24, 2025 21:03
Status Failure
Total duration 4m 18s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

go.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

21 errors and 6 warnings
test
Process completed with exit code 1.
test: parse_test.go#L456
parse_test.go:456: Error Trace: /home/runner/work/python-distribution-parser/python-distribution-parser/parse_test.go:456 Error: Should be empty, but was parse_test.ParserData{ Metadata: map[string][]string{ ... // 3 identical entries "blake2_256_digest": {"80806f697af4c902c0ce57715314a96a09d490ebdd4ef064ddb31706d034c81b"}, "classifiers": {"Development Status :: 5 - Production/Stable", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", ...}, + "comment": {""}, "description": {"\n.. image:: https://secure.travis-ci.org/ActiveState/appdirs.png"...}, + "description_content_type": {""}, + "download_url": {""}, "dynamic": {"author", "author-email", "classifier", "description", ...}, "filetype": {"sdist"}, ... // 7 identical entries "name": {"appdirs"}, "protocol_version": {"1"}, - "pyversion": {"source"}, + "pyversion": {""}, + "requires_python": {""}, "sha256_digest": {"a2488766bae07d9346bfc900f8269e9bca665d34a7c7d8a8195256126a57e8fb"}, "summary": {"A small Python module for determining appropriate platform-speci"...}, "version": {"1.4.4"}, }, GpgSignature: "-----BEGIN PGP SIGNATURE-----\n\niQEzBAABCgAdFiEEfRTccFKk4qA4jLc8p"..., } Test: TestParse/appdirs_signed_tarball ---
test: parse_test.go#L456
parse_test.go:456: Error Trace: /home/runner/work/python-distribution-parser/python-distribution-parser/parse_test.go:456 Error: Should be empty, but was parse_test.ParserData{ Metadata: map[string][]string{ ... // 3 identical entries "blake2_256_digest": {"ffdb97dfa478518227b4a71d030510d8d1b746befaa091e701897fd3c52c990b"}, "classifiers": {"Development Status :: 5 - Production/Stable", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", ...}, + "comment": {""}, "description": {"\n.. image:: https://secure.travis-ci.org/ActiveState/appdirs.png"...}, + "description_content_type": {""}, + "download_url": {""}, "dynamic": {"author", "author-email", "classifier", "description", ...}, "filetype": {"bdist_wheel"}, ... // 8 identical entries "protocol_version": {"1"}, "pyversion": {"py2.py3"}, + "requires_python": {""}, "sha256_digest": {"b15bf70f508203a272f4fa3afa019047436c795791c1f86624ed663578ebc3a9"}, "summary": {"A small Python module for determining appropriate platform-speci"...}, "version": {"1.4.4"}, }, GpgSignature: "-----BEGIN PGP SIGNATURE-----\n\niQEzBAABCgAdFiEEfRTccFKk4qA4jLc8p"..., } Test: TestParse/appdirs_signed_wheel ---
test: parse_test.go#L456
parse_test.go:456: Error Trace: /home/runner/work/python-distribution-parser/python-distribution-parser/parse_test.go:456 Error: Should be empty, but was parse_test.ParserData{ Metadata: map[string][]string{ ... // 3 identical entries "blake2_256_digest": {"80806f697af4c902c0ce57715314a96a09d490ebdd4ef064ddb31706d034c81b"}, "classifiers": {"Development Status :: 5 - Production/Stable", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", ...}, + "comment": {""}, "description": {"\n.. image:: https://secure.travis-ci.org/ActiveState/appdirs.png"...}, + "description_content_type": {""}, + "download_url": {""}, "dynamic": {"author", "author-email", "classifier", "description", ...}, "filetype": {"sdist"}, ... // 7 identical entries "name": {"appdirs"}, "protocol_version": {"1"}, - "pyversion": {"source"}, + "pyversion": {""}, + "requires_python": {""}, "sha256_digest": {"a2488766bae07d9346bfc900f8269e9bca665d34a7c7d8a8195256126a57e8fb"}, "summary": {"A small Python module for determining appropriate platform-speci"...}, "version": {"1.4.4"}, }, GpgSignature: nil, } Test: TestParse/appdirs_unsigned_tarball ---
test: parse_test.go#L456
parse_test.go:456: Error Trace: /home/runner/work/python-distribution-parser/python-distribution-parser/parse_test.go:456 Error: Should be empty, but was parse_test.ParserData{ Metadata: map[string][]string{ ... // 3 identical entries "blake2_256_digest": {"ffdb97dfa478518227b4a71d030510d8d1b746befaa091e701897fd3c52c990b"}, "classifiers": {"Development Status :: 5 - Production/Stable", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", ...}, + "comment": {""}, "description": {"\n.. image:: https://secure.travis-ci.org/ActiveState/appdirs.png"...}, + "description_content_type": {""}, + "download_url": {""}, "dynamic": {"author", "author-email", "classifier", "description", ...}, "filetype": {"bdist_wheel"}, ... // 8 identical entries "protocol_version": {"1"}, "pyversion": {"py2.py3"}, + "requires_python": {""}, "sha256_digest": {"b15bf70f508203a272f4fa3afa019047436c795791c1f86624ed663578ebc3a9"}, "summary": {"A small Python module for determining appropriate platform-speci"...}, "version": {"1.4.4"}, }, GpgSignature: nil, } Test: TestParse/appdirs_unsigned_wheel ---
test: parse_test.go#L456
parse_test.go:456: Error Trace: /home/runner/work/python-distribution-parser/python-distribution-parser/parse_test.go:456 Error: Should be empty, but was parse_test.ParserData{ Metadata: map[string][]string{ ":action": {"file_upload"}, + "author": {""}, + "author_email": {""}, "blake2_256_digest": {"fe32bbcb62adc0fd12746892820a4b74b27be0976f80139603b11ca3dd207e41"}, "classifiers": {"Development Status :: 5 - Production/Stable", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Operating System :: OS Independent", ...}, + "comment": {""}, "description": {"\\$ click\\_\n==========\n\nClick is a Python package for creating be"...}, "description_content_type": {"text/x-rst"}, + "download_url": {""}, "dynamic": {"requires-dist"}, "filetype": {"sdist"}, "home_page": {"https://palletsprojects.com/p/click/"}, + "keywords": {""}, "license": {"BSD-3-Clause"}, "maintainer": {"Pallets"}, ... // 4 identical entries "project_urls": {"Donate, https://palletsprojects.com/donate", "Documentation, https://click.palletsprojects.com/", "Changes, https://click.palletsprojects.com/changes/", "Source Code, https://github.com/pallets/click/", ...}, "protocol_version": {"1"}, - "pyversion": {"source"}, + "pyversion": {""}, "requires_dist": {`colorama; platform_system == "Windows"`, `importlib-metadata; python_version < "3.8"`}, "requires_python": {">=3.7"}, ... // 3 identical entries }, GpgSignature: "-----BEGIN PGP SIGNATURE-----\n\niQEzBAABCgAdFiEEfRTccFKk4qA4jLc8p"..., } Test: TestParse/click_signed_tarball ---
test: parse_test.go#L456
parse_test.go:456: Error Trace: /home/runner/work/python-distribution-parser/python-distribution-parser/parse_test.go:456 Error: Should be empty, but was parse_test.ParserData{ Metadata: map[string][]string{ ":action": {"file_upload"}, + "author": {""}, + "author_email": {""}, "blake2_256_digest": {"af477e5ec1cf08ea31fa3287fb5d4a7f8782cfb810fbac32c71aaa01fe200ecb"}, "classifiers": {"Development Status :: 5 - Production/Stable", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Operating System :: OS Independent", ...}, + "comment": {""}, "description": {"\\$ click\\_\n==========\n\nClick is a Python package for creating be"...}, "description_content_type": {"text/x-rst"}, + "download_url": {""}, "dynamic": {"requires-dist"}, "filetype": {"bdist_wheel"}, "home_page": {"https://palletsprojects.com/p/click/"}, + "keywords": {""}, "license": {"BSD-3-Clause"}, "maintainer": {"Pallets"}, ... // 12 identical entries }, GpgSignature: "-----BEGIN PGP SIGNATURE-----\n\niQEzBAABCgAdFiEEfRTccFKk4qA4jLc8p"..., } Test: TestParse/click_signed_wheel ---
test: parse_test.go#L456
parse_test.go:456: Error Trace: /home/runner/work/python-distribution-parser/python-distribution-parser/parse_test.go:456 Error: Should be empty, but was parse_test.ParserData{ Metadata: map[string][]string{ ":action": {"file_upload"}, + "author": {""}, + "author_email": {""}, "blake2_256_digest": {"fe32bbcb62adc0fd12746892820a4b74b27be0976f80139603b11ca3dd207e41"}, "classifiers": {"Development Status :: 5 - Production/Stable", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Operating System :: OS Independent", ...}, + "comment": {""}, "description": {"\\$ click\\_\n==========\n\nClick is a Python package for creating be"...}, "description_content_type": {"text/x-rst"}, + "download_url": {""}, "dynamic": {"requires-dist"}, "filetype": {"sdist"}, "home_page": {"https://palletsprojects.com/p/click/"}, + "keywords": {""}, "license": {"BSD-3-Clause"}, "maintainer": {"Pallets"}, ... // 4 identical entries "project_urls": {"Donate, https://palletsprojects.com/donate", "Documentation, https://click.palletsprojects.com/", "Changes, https://click.palletsprojects.com/changes/", "Source Code, https://github.com/pallets/click/", ...}, "protocol_version": {"1"}, - "pyversion": {"source"}, + "pyversion": {""}, "requires_dist": {`colorama; platform_system == "Windows"`, `importlib-metadata; python_version < "3.8"`}, "requires_python": {">=3.7"}, ... // 3 identical entries }, GpgSignature: nil, } Test: TestParse/click_unsigned_tarball ---
test: parse_test.go#L456
parse_test.go:456: Error Trace: /home/runner/work/python-distribution-parser/python-distribution-parser/parse_test.go:456 Error: Should be empty, but was parse_test.ParserData{ Metadata: map[string][]string{ ":action": {"file_upload"}, + "author": {""}, + "author_email": {""}, "blake2_256_digest": {"af477e5ec1cf08ea31fa3287fb5d4a7f8782cfb810fbac32c71aaa01fe200ecb"}, "classifiers": {"Development Status :: 5 - Production/Stable", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Operating System :: OS Independent", ...}, + "comment": {""}, "description": {"\\$ click\\_\n==========\n\nClick is a Python package for creating be"...}, "description_content_type": {"text/x-rst"}, + "download_url": {""}, "dynamic": {"requires-dist"}, "filetype": {"bdist_wheel"}, "home_page": {"https://palletsprojects.com/p/click/"}, + "keywords": {""}, "license": {"BSD-3-Clause"}, "maintainer": {"Pallets"}, ... // 12 identical entries }, GpgSignature: nil, } Test: TestParse/click_unsigned_wheel ---
test: parse_test.go#L456
parse_test.go:456: Error Trace: /home/runner/work/python-distribution-parser/python-distribution-parser/parse_test.go:456 Error: Should be empty, but was parse_test.ParserData{ Metadata: map[string][]string{ ... // 3 identical entries "blake2_256_digest": {"39f16b1ebbd9d1b83bdfa287e9068ffd96e8db1307a9d145d6652564cd3feaa3"}, "classifiers": {"Development Status :: 5 - Production/Stable", "Intended Audience :: Developers", "License :: OSI Approved :: Apache Software License", "Programming Language :: Python :: 3", ...}, + "comment": {""}, "description": {".. image:: https://img.shields.io/pypi/v/importlib_metadata.svg\n"...}, + "description_content_type": {""}, + "download_url": {""}, "filetype": {"sdist"}, "home_page": {"https://github.com/python/importlib_metadata"}, + "keywords": {""}, + "license": {""}, + "maintainer": {""}, + "maintainer_email": {""}, "md5_digest": {"04b070b3a9a496252523e4486fcaa031"}, "metadata_version": {"2.2"}, "name": {"importlib-metadata"}, "protocol_version": {"1"}, "provides_extra": {"testing", "docs", "perf"}, - "pyversion": {"source"}, + "pyversion": {""}, "requires_dist": {"zipp>=0.5", `typing-extensions>=3.6.4; python_version < "3.8"`, `pytest>=6; extra == "testing"`, `pytest-checkdocs>=2.4; extra == "testing"`, ...}, "requires_python": {">=3.8"}, ... // 3 identical entries }, GpgSignature: "-----BEGIN PGP SIGNATURE-----\n\niQEzBAABCgAdFiEEfRTccFKk4qA4jLc8p"..., } Test: TestParse/importlib_metadata_signed_tarball ---
test: parse_test.go#L456
parse_test.go:456: Error Trace: /home/runner/work/python-distribution-parser/python-distribution-parser/parse_test.go:456 Error: Should be empty, but was parse_test.ParserData{ Metadata: map[string][]string{ ... // 3 identical entries "blake2_256_digest": {"951a17ed4c5c388148ee691d88ea6e42831a39f3035e4307207bce7f68ee87cb"}, "classifiers": {"Development Status :: 5 - Production/Stable", "Intended Audience :: Developers", "License :: OSI Approved :: Apache Software License", "Programming Language :: Python :: 3", ...}, + "comment": {""}, "description": {".. image:: https://img.shields.io/pypi/v/importlib_metadata.svg\n"...}, + "description_content_type": {""}, + "download_url": {""}, "filetype": {"bdist_wheel"}, "home_page": {"https://github.com/python/importlib_metadata"}, + "keywords": {""}, + "license": {""}, + "maintainer": {""}, + "maintainer_email": {""}, "md5_digest": {"0b6d05ecef60af7361c2826df02341b9"}, "metadata_version": {"2.2"}, ... // 9 identical entries }, GpgSignature: "-----BEGIN PGP SIGNATURE-----\n\niQEzBAABCgAdFiEEfRTccFKk4qA4jLc8p"..., } Test: TestParse/importlib_metadata_signed_wheel ---
test
Cannot open: File exists
test
Cannot open: File exists
test
Cannot open: File exists
test
Cannot open: File exists
test
Cannot open: File exists
test
Cannot open: File exists
test
Cannot open: File exists
test
Cannot open: File exists
test
Cannot open: File exists
test
Cannot open: File exists
test
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
test
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
test
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
test
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
test
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
test
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2