-
Notifications
You must be signed in to change notification settings - Fork 92
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Pauldorsch/pipreport version fix (#1229)
* check for valid python versions before adding to the dependency graph * bump version * compiled regex
- Loading branch information
1 parent
edf0c8d
commit 00edc78
Showing
8 changed files
with
455 additions
and
288 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
602 changes: 315 additions & 287 deletions
602
test/Microsoft.ComponentDetection.Detectors.Tests/Mocks/TestResources.Designer.cs
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
57 changes: 57 additions & 0 deletions
57
...t.ComponentDetection.Detectors.Tests/Mocks/pip_report_single_pkg_invalid_pkg_version.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
{ | ||
"version": "1", | ||
"pip_version": "24.0", | ||
"install": [ | ||
{ | ||
"download_info": { | ||
"url": "https://files.pythonhosted.org/packages/d9/5a/e7c31adbe875f2abbb91bd84cf2dc52d792b5a01506781dbcf25c91daf11/six-1.16.0-py2.py3-none-any.whl", | ||
"archive_info": { | ||
"hash": "sha256=8abb2f1d86890a2dfb989f9a77cfcfd3e47c2a354b01111771326f8aa26e0254", | ||
"hashes": { | ||
"sha256": "8abb2f1d86890a2dfb989f9a77cfcfd3e47c2a354b01111771326f8aa26e0254" | ||
} | ||
} | ||
}, | ||
"is_direct": false, | ||
"is_yanked": false, | ||
"requested": true, | ||
"metadata": { | ||
"metadata_version": "2.1", | ||
"name": "six", | ||
"version": ".1", | ||
"platform": [ | ||
"UNKNOWN" | ||
], | ||
"summary": "Python 2 and 3 compatibility utilities", | ||
"description": ".. image:: https://img.shields.io/pypi/v/six.svg\n :target: https://pypi.org/project/six/\n :alt: six on PyPI\n\n.. image:: https://travis-ci.org/benjaminp/six.svg?branch=master\n :target: https://travis-ci.org/benjaminp/six\n :alt: six on TravisCI\n\n.. image:: https://readthedocs.org/projects/six/badge/?version=latest\n :target: https://six.readthedocs.io/\n :alt: six's documentation on Read the Docs\n\n.. image:: https://img.shields.io/badge/license-MIT-green.svg\n :target: https://github.com/benjaminp/six/blob/master/LICENSE\n :alt: MIT License badge\n\nSix is a Python 2 and 3 compatibility library. It provides utility functions\nfor smoothing over the differences between the Python versions with the goal of\nwriting Python code that is compatible on both Python versions. See the\ndocumentation for more information on what is provided.\n\nSix supports Python 2.7 and 3.3+. It is contained in only one Python\nfile, so it can be easily copied into your project. (The copyright and license\nnotice must be retained.)\n\nOnline documentation is at https://six.readthedocs.io/.\n\nBugs can be reported to https://github.com/benjaminp/six. The code can also\nbe found there.\n\n\n", | ||
"home_page": "https://github.com/benjaminp/six", | ||
"author": "Benjamin Peterson", | ||
"author_email": "[email protected]", | ||
"license": "MIT", | ||
"classifier": [ | ||
"Development Status :: 5 - Production/Stable", | ||
"Programming Language :: Python :: 2", | ||
"Programming Language :: Python :: 3", | ||
"Intended Audience :: Developers", | ||
"License :: OSI Approved :: MIT License", | ||
"Topic :: Software Development :: Libraries", | ||
"Topic :: Utilities" | ||
], | ||
"requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*" | ||
} | ||
} | ||
], | ||
"environment": { | ||
"implementation_name": "cpython", | ||
"implementation_version": "3.12.3", | ||
"os_name": "nt", | ||
"platform_machine": "AMD64", | ||
"platform_release": "11", | ||
"platform_system": "Windows", | ||
"platform_version": "10.0.22631", | ||
"python_full_version": "3.12.3", | ||
"platform_python_implementation": "CPython", | ||
"python_version": "3.12", | ||
"sys_platform": "win32" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters