Skip to content

Commit 5e3cdf0

Browse files
authored
Merge pull request #154 from nexB/bump_v0.10.0
Bump python-inspector to v0.10.0
2 parents e92d55c + 2cb45b4 commit 5e3cdf0

25 files changed

+158
-152
lines changed

CHANGELOG.rst

+6
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
Changelog
22
=========
33

4+
v0.10.0
5+
-----------
6+
7+
- Fix resolving requirements with percent encoded characters.
8+
9+
410
v0.9.8
511
-------------
612

src/python_inspector/resolve_cli.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919

2020
TRACE = False
2121

22-
__version__ = "0.9.8"
22+
__version__ = "0.10.0"
2323

2424
DEFAULT_PYTHON_VERSION = "38"
2525
PYPI_SIMPLE_URL = "https://pypi.org/simple"

tests/data/azure-devops.req-310-expected.json

+19-19
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"headers": {
33
"tool_name": "python-inspector",
44
"tool_homepageurl": "https://github.com/nexB/python-inspector",
5-
"tool_version": "0.9.8",
5+
"tool_version": "0.10.0",
66
"options": [
77
"--json <file>",
88
"--operating-system linux",
@@ -1002,12 +1002,12 @@
10021002
"type": "pypi",
10031003
"namespace": null,
10041004
"name": "cryptography",
1005-
"version": "41.0.4",
1005+
"version": "41.0.5",
10061006
"qualifiers": {},
10071007
"subpath": null,
10081008
"primary_language": "Python",
10091009
"description": "cryptography is a package which provides cryptographic recipes and primitives to Python developers.\npyca/cryptography\n=================\n\n.. image:: https://img.shields.io/pypi/v/cryptography.svg\n :target: https://pypi.org/project/cryptography/\n :alt: Latest Version\n\n.. image:: https://readthedocs.org/projects/cryptography/badge/?version=latest\n :target: https://cryptography.io\n :alt: Latest Docs\n\n.. image:: https://github.com/pyca/cryptography/workflows/CI/badge.svg?branch=main\n :target: https://github.com/pyca/cryptography/actions?query=workflow%3ACI+branch%3Amain\n\n\n``cryptography`` is a package which provides cryptographic recipes and\nprimitives to Python developers. Our goal is for it to be your \"cryptographic\nstandard library\". It supports Python 3.7+ and PyPy3 7.3.10+.\n\n``cryptography`` includes both high level recipes and low level interfaces to\ncommon cryptographic algorithms such as symmetric ciphers, message digests, and\nkey derivation functions. For example, to encrypt something with\n``cryptography``'s high level symmetric encryption recipe:\n\n.. code-block:: pycon\n\n >>> from cryptography.fernet import Fernet\n >>> # Put this somewhere safe!\n >>> key = Fernet.generate_key()\n >>> f = Fernet(key)\n >>> token = f.encrypt(b\"A really secret message. Not for prying eyes.\")\n >>> token\n b'...'\n >>> f.decrypt(token)\n b'A really secret message. Not for prying eyes.'\n\nYou can find more information in the `documentation`_.\n\nYou can install ``cryptography`` with:\n\n.. code-block:: console\n\n $ pip install cryptography\n\nFor full details see `the installation documentation`_.\n\nDiscussion\n~~~~~~~~~~\n\nIf you run into bugs, you can file them in our `issue tracker`_.\n\nWe maintain a `cryptography-dev`_ mailing list for development discussion.\n\nYou can also join ``#pyca`` on ``irc.libera.chat`` to ask questions or get\ninvolved.\n\nSecurity\n~~~~~~~~\n\nNeed to report a security issue? Please consult our `security reporting`_\ndocumentation.\n\n\n.. _`documentation`: https://cryptography.io/\n.. _`the installation documentation`: https://cryptography.io/en/latest/installation/\n.. _`issue tracker`: https://github.com/pyca/cryptography/issues\n.. _`cryptography-dev`: https://mail.python.org/mailman/listinfo/cryptography-dev\n.. _`security reporting`: https://cryptography.io/en/latest/security/",
1010-
"release_date": "2023-09-19T16:32:09",
1010+
"release_date": "2023-10-24T16:14:53",
10111011
"parties": [
10121012
{
10131013
"type": "person",
@@ -1039,11 +1039,11 @@
10391039
"Topic :: Security :: Cryptography"
10401040
],
10411041
"homepage_url": "",
1042-
"download_url": "https://files.pythonhosted.org/packages/25/1d/f86ce362aedc580c3f90c0d74fa097289e3af9ba52b8d5a37369c186b0f1/cryptography-41.0.4-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
1043-
"size": 4381291,
1042+
"download_url": "https://files.pythonhosted.org/packages/3e/1b/1703679eface155413730f4a2313aebf846ae7496c15083ae9c07e7324b2/cryptography-41.0.5-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
1043+
"size": 4366721,
10441044
"sha1": null,
1045-
"md5": "051e544f02f352ed12a9847ec5f037dc",
1046-
"sha256": "e40211b4923ba5a6dc9769eab704bdb3fbb58d56c5b336d30996c24fcf12aadb",
1045+
"md5": "66e8789249d2a75b5796f4251730f39b",
1046+
"sha256": "e270c04f4d9b5671ebcc792b3ba5d4488bf7c42c3c241a3748e2599776f29696",
10471047
"sha512": null,
10481048
"bug_tracking_url": null,
10491049
"code_view_url": null,
@@ -1064,20 +1064,20 @@
10641064
"dependencies": [],
10651065
"repository_homepage_url": null,
10661066
"repository_download_url": null,
1067-
"api_data_url": "https://pypi.org/pypi/cryptography/41.0.4/json",
1067+
"api_data_url": "https://pypi.org/pypi/cryptography/41.0.5/json",
10681068
"datasource_id": null,
1069-
"purl": "pkg:pypi/[email protected].4"
1069+
"purl": "pkg:pypi/[email protected].5"
10701070
},
10711071
{
10721072
"type": "pypi",
10731073
"namespace": null,
10741074
"name": "cryptography",
1075-
"version": "41.0.4",
1075+
"version": "41.0.5",
10761076
"qualifiers": {},
10771077
"subpath": null,
10781078
"primary_language": "Python",
10791079
"description": "cryptography is a package which provides cryptographic recipes and primitives to Python developers.\npyca/cryptography\n=================\n\n.. image:: https://img.shields.io/pypi/v/cryptography.svg\n :target: https://pypi.org/project/cryptography/\n :alt: Latest Version\n\n.. image:: https://readthedocs.org/projects/cryptography/badge/?version=latest\n :target: https://cryptography.io\n :alt: Latest Docs\n\n.. image:: https://github.com/pyca/cryptography/workflows/CI/badge.svg?branch=main\n :target: https://github.com/pyca/cryptography/actions?query=workflow%3ACI+branch%3Amain\n\n\n``cryptography`` is a package which provides cryptographic recipes and\nprimitives to Python developers. Our goal is for it to be your \"cryptographic\nstandard library\". It supports Python 3.7+ and PyPy3 7.3.10+.\n\n``cryptography`` includes both high level recipes and low level interfaces to\ncommon cryptographic algorithms such as symmetric ciphers, message digests, and\nkey derivation functions. For example, to encrypt something with\n``cryptography``'s high level symmetric encryption recipe:\n\n.. code-block:: pycon\n\n >>> from cryptography.fernet import Fernet\n >>> # Put this somewhere safe!\n >>> key = Fernet.generate_key()\n >>> f = Fernet(key)\n >>> token = f.encrypt(b\"A really secret message. Not for prying eyes.\")\n >>> token\n b'...'\n >>> f.decrypt(token)\n b'A really secret message. Not for prying eyes.'\n\nYou can find more information in the `documentation`_.\n\nYou can install ``cryptography`` with:\n\n.. code-block:: console\n\n $ pip install cryptography\n\nFor full details see `the installation documentation`_.\n\nDiscussion\n~~~~~~~~~~\n\nIf you run into bugs, you can file them in our `issue tracker`_.\n\nWe maintain a `cryptography-dev`_ mailing list for development discussion.\n\nYou can also join ``#pyca`` on ``irc.libera.chat`` to ask questions or get\ninvolved.\n\nSecurity\n~~~~~~~~\n\nNeed to report a security issue? Please consult our `security reporting`_\ndocumentation.\n\n\n.. _`documentation`: https://cryptography.io/\n.. _`the installation documentation`: https://cryptography.io/en/latest/installation/\n.. _`issue tracker`: https://github.com/pyca/cryptography/issues\n.. _`cryptography-dev`: https://mail.python.org/mailman/listinfo/cryptography-dev\n.. _`security reporting`: https://cryptography.io/en/latest/security/",
1080-
"release_date": "2023-09-19T16:32:46",
1080+
"release_date": "2023-10-24T16:15:08",
10811081
"parties": [
10821082
{
10831083
"type": "person",
@@ -1109,11 +1109,11 @@
11091109
"Topic :: Security :: Cryptography"
11101110
],
11111111
"homepage_url": "",
1112-
"download_url": "https://files.pythonhosted.org/packages/ef/33/87512644b788b00a250203382e40ee7040ae6fa6b4c4a31dcfeeaa26043b/cryptography-41.0.4.tar.gz",
1113-
"size": 630506,
1112+
"download_url": "https://files.pythonhosted.org/packages/16/a7/38fdcdd634515f589c8c723608c0f0b38d66c6c2320b3095967486f3045a/cryptography-41.0.5.tar.gz",
1113+
"size": 630537,
11141114
"sha1": null,
1115-
"md5": "e53b22d4baae5430e881f2f516effa67",
1116-
"sha256": "7febc3094125fc126a7f6fb1f420d0da639f3f32cb15c8ff0dc3997c4549f51a",
1115+
"md5": "c4919e87c38f35751b0d533ca18a46e9",
1116+
"sha256": "392cb88b597247177172e02da6b7a63deeff1937fa6fec3bbf902ebd75d97ec7",
11171117
"sha512": null,
11181118
"bug_tracking_url": null,
11191119
"code_view_url": null,
@@ -1134,9 +1134,9 @@
11341134
"dependencies": [],
11351135
"repository_homepage_url": null,
11361136
"repository_download_url": null,
1137-
"api_data_url": "https://pypi.org/pypi/cryptography/41.0.4/json",
1137+
"api_data_url": "https://pypi.org/pypi/cryptography/41.0.5/json",
11381138
"datasource_id": null,
1139-
"purl": "pkg:pypi/[email protected].4"
1139+
"purl": "pkg:pypi/[email protected].5"
11401140
},
11411141
{
11421142
"type": "pypi",
@@ -2500,7 +2500,7 @@
25002500
"package": "pkg:pypi/[email protected]",
25012501
"dependencies": [
25022502
"pkg:pypi/[email protected]",
2503-
"pkg:pypi/[email protected].4",
2503+
"pkg:pypi/[email protected].5",
25042504
"pkg:pypi/[email protected]",
25052505
"pkg:pypi/[email protected]"
25062506
]
@@ -2524,7 +2524,7 @@
25242524
"dependencies": []
25252525
},
25262526
{
2527-
"package": "pkg:pypi/[email protected].4",
2527+
"package": "pkg:pypi/[email protected].5",
25282528
"dependencies": [
25292529
"pkg:pypi/[email protected]"
25302530
]

tests/data/azure-devops.req-38-expected.json

+19-19
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"headers": {
33
"tool_name": "python-inspector",
44
"tool_homepageurl": "https://github.com/nexB/python-inspector",
5-
"tool_version": "0.9.8",
5+
"tool_version": "0.10.0",
66
"options": [
77
"--json <file>",
88
"--operating-system linux",
@@ -1002,12 +1002,12 @@
10021002
"type": "pypi",
10031003
"namespace": null,
10041004
"name": "cryptography",
1005-
"version": "41.0.4",
1005+
"version": "41.0.5",
10061006
"qualifiers": {},
10071007
"subpath": null,
10081008
"primary_language": "Python",
10091009
"description": "cryptography is a package which provides cryptographic recipes and primitives to Python developers.\npyca/cryptography\n=================\n\n.. image:: https://img.shields.io/pypi/v/cryptography.svg\n :target: https://pypi.org/project/cryptography/\n :alt: Latest Version\n\n.. image:: https://readthedocs.org/projects/cryptography/badge/?version=latest\n :target: https://cryptography.io\n :alt: Latest Docs\n\n.. image:: https://github.com/pyca/cryptography/workflows/CI/badge.svg?branch=main\n :target: https://github.com/pyca/cryptography/actions?query=workflow%3ACI+branch%3Amain\n\n\n``cryptography`` is a package which provides cryptographic recipes and\nprimitives to Python developers. Our goal is for it to be your \"cryptographic\nstandard library\". It supports Python 3.7+ and PyPy3 7.3.10+.\n\n``cryptography`` includes both high level recipes and low level interfaces to\ncommon cryptographic algorithms such as symmetric ciphers, message digests, and\nkey derivation functions. For example, to encrypt something with\n``cryptography``'s high level symmetric encryption recipe:\n\n.. code-block:: pycon\n\n >>> from cryptography.fernet import Fernet\n >>> # Put this somewhere safe!\n >>> key = Fernet.generate_key()\n >>> f = Fernet(key)\n >>> token = f.encrypt(b\"A really secret message. Not for prying eyes.\")\n >>> token\n b'...'\n >>> f.decrypt(token)\n b'A really secret message. Not for prying eyes.'\n\nYou can find more information in the `documentation`_.\n\nYou can install ``cryptography`` with:\n\n.. code-block:: console\n\n $ pip install cryptography\n\nFor full details see `the installation documentation`_.\n\nDiscussion\n~~~~~~~~~~\n\nIf you run into bugs, you can file them in our `issue tracker`_.\n\nWe maintain a `cryptography-dev`_ mailing list for development discussion.\n\nYou can also join ``#pyca`` on ``irc.libera.chat`` to ask questions or get\ninvolved.\n\nSecurity\n~~~~~~~~\n\nNeed to report a security issue? Please consult our `security reporting`_\ndocumentation.\n\n\n.. _`documentation`: https://cryptography.io/\n.. _`the installation documentation`: https://cryptography.io/en/latest/installation/\n.. _`issue tracker`: https://github.com/pyca/cryptography/issues\n.. _`cryptography-dev`: https://mail.python.org/mailman/listinfo/cryptography-dev\n.. _`security reporting`: https://cryptography.io/en/latest/security/",
1010-
"release_date": "2023-09-19T16:32:09",
1010+
"release_date": "2023-10-24T16:14:53",
10111011
"parties": [
10121012
{
10131013
"type": "person",
@@ -1039,11 +1039,11 @@
10391039
"Topic :: Security :: Cryptography"
10401040
],
10411041
"homepage_url": "",
1042-
"download_url": "https://files.pythonhosted.org/packages/25/1d/f86ce362aedc580c3f90c0d74fa097289e3af9ba52b8d5a37369c186b0f1/cryptography-41.0.4-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
1043-
"size": 4381291,
1042+
"download_url": "https://files.pythonhosted.org/packages/3e/1b/1703679eface155413730f4a2313aebf846ae7496c15083ae9c07e7324b2/cryptography-41.0.5-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
1043+
"size": 4366721,
10441044
"sha1": null,
1045-
"md5": "051e544f02f352ed12a9847ec5f037dc",
1046-
"sha256": "e40211b4923ba5a6dc9769eab704bdb3fbb58d56c5b336d30996c24fcf12aadb",
1045+
"md5": "66e8789249d2a75b5796f4251730f39b",
1046+
"sha256": "e270c04f4d9b5671ebcc792b3ba5d4488bf7c42c3c241a3748e2599776f29696",
10471047
"sha512": null,
10481048
"bug_tracking_url": null,
10491049
"code_view_url": null,
@@ -1064,20 +1064,20 @@
10641064
"dependencies": [],
10651065
"repository_homepage_url": null,
10661066
"repository_download_url": null,
1067-
"api_data_url": "https://pypi.org/pypi/cryptography/41.0.4/json",
1067+
"api_data_url": "https://pypi.org/pypi/cryptography/41.0.5/json",
10681068
"datasource_id": null,
1069-
"purl": "pkg:pypi/[email protected].4"
1069+
"purl": "pkg:pypi/[email protected].5"
10701070
},
10711071
{
10721072
"type": "pypi",
10731073
"namespace": null,
10741074
"name": "cryptography",
1075-
"version": "41.0.4",
1075+
"version": "41.0.5",
10761076
"qualifiers": {},
10771077
"subpath": null,
10781078
"primary_language": "Python",
10791079
"description": "cryptography is a package which provides cryptographic recipes and primitives to Python developers.\npyca/cryptography\n=================\n\n.. image:: https://img.shields.io/pypi/v/cryptography.svg\n :target: https://pypi.org/project/cryptography/\n :alt: Latest Version\n\n.. image:: https://readthedocs.org/projects/cryptography/badge/?version=latest\n :target: https://cryptography.io\n :alt: Latest Docs\n\n.. image:: https://github.com/pyca/cryptography/workflows/CI/badge.svg?branch=main\n :target: https://github.com/pyca/cryptography/actions?query=workflow%3ACI+branch%3Amain\n\n\n``cryptography`` is a package which provides cryptographic recipes and\nprimitives to Python developers. Our goal is for it to be your \"cryptographic\nstandard library\". It supports Python 3.7+ and PyPy3 7.3.10+.\n\n``cryptography`` includes both high level recipes and low level interfaces to\ncommon cryptographic algorithms such as symmetric ciphers, message digests, and\nkey derivation functions. For example, to encrypt something with\n``cryptography``'s high level symmetric encryption recipe:\n\n.. code-block:: pycon\n\n >>> from cryptography.fernet import Fernet\n >>> # Put this somewhere safe!\n >>> key = Fernet.generate_key()\n >>> f = Fernet(key)\n >>> token = f.encrypt(b\"A really secret message. Not for prying eyes.\")\n >>> token\n b'...'\n >>> f.decrypt(token)\n b'A really secret message. Not for prying eyes.'\n\nYou can find more information in the `documentation`_.\n\nYou can install ``cryptography`` with:\n\n.. code-block:: console\n\n $ pip install cryptography\n\nFor full details see `the installation documentation`_.\n\nDiscussion\n~~~~~~~~~~\n\nIf you run into bugs, you can file them in our `issue tracker`_.\n\nWe maintain a `cryptography-dev`_ mailing list for development discussion.\n\nYou can also join ``#pyca`` on ``irc.libera.chat`` to ask questions or get\ninvolved.\n\nSecurity\n~~~~~~~~\n\nNeed to report a security issue? Please consult our `security reporting`_\ndocumentation.\n\n\n.. _`documentation`: https://cryptography.io/\n.. _`the installation documentation`: https://cryptography.io/en/latest/installation/\n.. _`issue tracker`: https://github.com/pyca/cryptography/issues\n.. _`cryptography-dev`: https://mail.python.org/mailman/listinfo/cryptography-dev\n.. _`security reporting`: https://cryptography.io/en/latest/security/",
1080-
"release_date": "2023-09-19T16:32:46",
1080+
"release_date": "2023-10-24T16:15:08",
10811081
"parties": [
10821082
{
10831083
"type": "person",
@@ -1109,11 +1109,11 @@
11091109
"Topic :: Security :: Cryptography"
11101110
],
11111111
"homepage_url": "",
1112-
"download_url": "https://files.pythonhosted.org/packages/ef/33/87512644b788b00a250203382e40ee7040ae6fa6b4c4a31dcfeeaa26043b/cryptography-41.0.4.tar.gz",
1113-
"size": 630506,
1112+
"download_url": "https://files.pythonhosted.org/packages/16/a7/38fdcdd634515f589c8c723608c0f0b38d66c6c2320b3095967486f3045a/cryptography-41.0.5.tar.gz",
1113+
"size": 630537,
11141114
"sha1": null,
1115-
"md5": "e53b22d4baae5430e881f2f516effa67",
1116-
"sha256": "7febc3094125fc126a7f6fb1f420d0da639f3f32cb15c8ff0dc3997c4549f51a",
1115+
"md5": "c4919e87c38f35751b0d533ca18a46e9",
1116+
"sha256": "392cb88b597247177172e02da6b7a63deeff1937fa6fec3bbf902ebd75d97ec7",
11171117
"sha512": null,
11181118
"bug_tracking_url": null,
11191119
"code_view_url": null,
@@ -1134,9 +1134,9 @@
11341134
"dependencies": [],
11351135
"repository_homepage_url": null,
11361136
"repository_download_url": null,
1137-
"api_data_url": "https://pypi.org/pypi/cryptography/41.0.4/json",
1137+
"api_data_url": "https://pypi.org/pypi/cryptography/41.0.5/json",
11381138
"datasource_id": null,
1139-
"purl": "pkg:pypi/[email protected].4"
1139+
"purl": "pkg:pypi/[email protected].5"
11401140
},
11411141
{
11421142
"type": "pypi",
@@ -2500,7 +2500,7 @@
25002500
"package": "pkg:pypi/[email protected]",
25012501
"dependencies": [
25022502
"pkg:pypi/[email protected]",
2503-
"pkg:pypi/[email protected].4",
2503+
"pkg:pypi/[email protected].5",
25042504
"pkg:pypi/[email protected]",
25052505
"pkg:pypi/[email protected]"
25062506
]
@@ -2524,7 +2524,7 @@
25242524
"dependencies": []
25252525
},
25262526
{
2527-
"package": "pkg:pypi/[email protected].4",
2527+
"package": "pkg:pypi/[email protected].5",
25282528
"dependencies": [
25292529
"pkg:pypi/[email protected]"
25302530
]

tests/data/default-url-expected.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"headers": {
33
"tool_name": "python-inspector",
44
"tool_homepageurl": "https://github.com/nexB/python-inspector",
5-
"tool_version": "0.9.8",
5+
"tool_version": "0.10.0",
66
"options": [
77
"--json <file>",
88
"--operating-system linux",

tests/data/environment-marker-test-requirements.txt-expected.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"headers": {
33
"tool_name": "python-inspector",
44
"tool_homepageurl": "https://github.com/nexB/python-inspector",
5-
"tool_version": "0.9.8",
5+
"tool_version": "0.10.0",
66
"options": [
77
"--json-pdt <file>",
88
"--operating-system linux",

tests/data/frozen-requirements.txt-expected.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"headers": {
33
"tool_name": "python-inspector",
44
"tool_homepageurl": "https://github.com/nexB/python-inspector",
5-
"tool_version": "0.9.8",
5+
"tool_version": "0.10.0",
66
"options": [
77
"--json-pdt <file>",
88
"--operating-system linux",

0 commit comments

Comments
 (0)