Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/python_inspector/setup_py_live_eval.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,7 @@ def iter_requirements(level, extras, setup_file):

mock_args, mock_kwargs = mock_setup.call_args
install_requires = mock_kwargs.get("install_requires", install_requires)
install_requires = [req for req in install_requires if req]

requires_extras = mock_kwargs.get("extras_require", requires_extras)
test_requires = mock_kwargs.get("test_requires", test_requires)
Expand Down
204 changes: 69 additions & 135 deletions tests/data/azure-devops.req-310-expected.json

Large diffs are not rendered by default.

204 changes: 69 additions & 135 deletions tests/data/azure-devops.req-312-expected.json

Large diffs are not rendered by default.

204 changes: 69 additions & 135 deletions tests/data/azure-devops.req-313-expected.json

Large diffs are not rendered by default.

78 changes: 37 additions & 41 deletions tests/data/azure-devops.req-38-expected.json

Large diffs are not rendered by default.

59 changes: 24 additions & 35 deletions tests/data/example-requirements-ignore-errors-expected.json

Large diffs are not rendered by default.

21 changes: 11 additions & 10 deletions tests/data/hash-requirements.txt-expected.json
Original file line number Diff line number Diff line change
Expand Up @@ -169,12 +169,12 @@
"type": "pypi",
"namespace": null,
"name": "certifi",
"version": "2025.8.3",
"version": "2025.10.5",
"qualifiers": {},
"subpath": null,
"primary_language": "Python",
"description": "Python package for providing Mozilla's CA Bundle.\nCertifi: Python SSL Certificates\n================================\n\nCertifi provides Mozilla's carefully curated collection of Root Certificates for\nvalidating the trustworthiness of SSL certificates while verifying the identity\nof TLS hosts. It has been extracted from the `Requests`_ project.\n\nInstallation\n------------\n\n``certifi`` is available on PyPI. Simply install it with ``pip``::\n\n $ pip install certifi\n\nUsage\n-----\n\nTo reference the installed certificate authority (CA) bundle, you can use the\nbuilt-in function::\n\n >>> import certifi\n\n >>> certifi.where()\n '/usr/local/lib/python3.7/site-packages/certifi/cacert.pem'\n\nOr from the command line::\n\n $ python -m certifi\n /usr/local/lib/python3.7/site-packages/certifi/cacert.pem\n\nEnjoy!\n\n.. _`Requests`: https://requests.readthedocs.io/en/master/\n\nAddition/Removal of Certificates\n--------------------------------\n\nCertifi does not support any addition/removal or other modification of the\nCA trust store content. This project is intended to provide a reliable and\nhighly portable root of trust to python deployments. Look to upstream projects\nfor methods to use alternate trust.",
"release_date": "2025-08-03T03:07:45",
"release_date": "2025-10-05T04:12:14",
"parties": [
{
"type": "person",
Expand All @@ -195,16 +195,17 @@
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9"
],
"homepage_url": "https://github.com/certifi/python-certifi",
"download_url": "https://files.pythonhosted.org/packages/e5/48/1549795ba7742c948d2ad169c1c8cdbae65bc450d6cd753d124b17c8cd32/certifi-2025.8.3-py3-none-any.whl",
"size": 161216,
"download_url": "https://files.pythonhosted.org/packages/e4/37/af0d2ef3967ac0d6113837b44a4f0bfe1328c2b9763bd5b1744520e5cfed/certifi-2025.10.5-py3-none-any.whl",
"size": 163286,
"sha1": null,
"md5": "f9b6740cffcf397b47bc7fb7782b1354",
"sha256": "f6c12493cfb1b06ba2ff328595af9350c65d6644968e5d3a2ffd78699af217a5",
"md5": "7b56f7121949a196441739c539fd01be",
"sha256": "0f212c2744a9bb6de0c56639a6f68afe01ecd92d91f14ae897c4fe7bbeeef0de",
"sha512": null,
"bug_tracking_url": null,
"code_view_url": "https://github.com/certifi/python-certifi",
Expand All @@ -224,9 +225,9 @@
"dependencies": [],
"repository_homepage_url": null,
"repository_download_url": null,
"api_data_url": "https://pypi.org/pypi/certifi/2025.8.3/json",
"api_data_url": "https://pypi.org/pypi/certifi/2025.10.5/json",
"datasource_id": null,
"purl": "pkg:pypi/certifi@2025.8.3"
"purl": "pkg:pypi/certifi@2025.10.5"
},
{
"type": "pypi",
Expand Down Expand Up @@ -513,7 +514,7 @@
"dependencies": []
},
{
"package": "pkg:pypi/certifi@2025.8.3",
"package": "pkg:pypi/certifi@2025.10.5",
"dependencies": []
},
{
Expand All @@ -527,7 +528,7 @@
{
"package": "pkg:pypi/[email protected]",
"dependencies": [
"pkg:pypi/certifi@2025.8.3",
"pkg:pypi/certifi@2025.10.5",
"pkg:pypi/[email protected]",
"pkg:pypi/[email protected]",
"pkg:pypi/[email protected]"
Expand Down
6 changes: 3 additions & 3 deletions tests/data/resolved_deps/autobahn-310-expected.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,11 @@
{
"package": "pkg:pypi/[email protected]",
"dependencies": [
"pkg:pypi/idna@3.10"
"pkg:pypi/idna@3.11"
]
},
{
"package": "pkg:pypi/idna@3.10",
"package": "pkg:pypi/idna@3.11",
"dependencies": []
},
{
Expand All @@ -49,7 +49,7 @@
"pkg:pypi/[email protected]",
"pkg:pypi/[email protected]",
"pkg:pypi/[email protected]",
"pkg:pypi/idna@3.10",
"pkg:pypi/idna@3.11",
"pkg:pypi/[email protected]",
"pkg:pypi/[email protected]",
"pkg:pypi/[email protected]"
Expand Down