Skip to content

Commit 1d98803

Browse files
authored
Merge pull request #140 from nexB/prepare_for_release_v0.9.8
Prepare for release v0.9.8
2 parents e5043a8 + faa5d8b commit 1d98803

24 files changed

+83
-78
lines changed

CHANGELOG.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
Changelog
22
=========
33

4+
v0.9.8
5+
-------------
6+
7+
- Add the ability to handle relative links.
8+
49

510
v0.9.7
611
-------------

src/python_inspector/resolve_cli.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020

2121
TRACE = False
2222

23-
__version__ = "0.9.7"
23+
__version__ = "0.9.8"
2424

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

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

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
"headers": {
33
"tool_name": "python-inspector",
44
"tool_homepageurl": "https://github.com/nexB/python-inspector",
5-
"tool_version": "0.9.7",
5+
"tool_version": "0.9.8",
66
"options": [
7-
"--requirement /Users/mathioud/repos/python-inspector/tests/data/azure-devops.req.txt",
7+
"--requirement /home/tg1999/Desktop/example/tools/python-inspector/tests/data/azure-devops.req.txt",
88
"--index-url https://pypi.org/simple",
99
"--python-version 310",
1010
"--operating-system linux",
@@ -17,7 +17,7 @@
1717
"files": [
1818
{
1919
"type": "file",
20-
"path": "/Users/mathioud/repos/python-inspector/tests/data/azure-devops.req.txt",
20+
"path": "/home/tg1999/Desktop/example/tools/python-inspector/tests/data/azure-devops.req.txt",
2121
"package_data": [
2222
{
2323
"type": "pypi",
@@ -997,12 +997,12 @@
997997
"type": "pypi",
998998
"namespace": null,
999999
"name": "cryptography",
1000-
"version": "41.0.2",
1000+
"version": "41.0.3",
10011001
"qualifiers": {},
10021002
"subpath": null,
10031003
"primary_language": "Python",
10041004
"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/",
1005-
"release_date": "2023-07-11T03:25:42",
1005+
"release_date": "2023-08-01T20:35:42",
10061006
"parties": [
10071007
{
10081008
"type": "person",
@@ -1034,11 +1034,11 @@
10341034
"Topic :: Security :: Cryptography"
10351035
],
10361036
"homepage_url": "",
1037-
"download_url": "https://files.pythonhosted.org/packages/fe/ee/aa40ae0f8cfb5988736b3a93adba13421dbfe318211d48a2da138a3a346e/cryptography-41.0.2-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
1038-
"size": 4291427,
1037+
"download_url": "https://files.pythonhosted.org/packages/21/74/a7ebb5bcf733b1626e4778941e505792d7f655e799ff3bdbd9a176516ee2/cryptography-41.0.3-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
1038+
"size": 4308894,
10391039
"sha1": null,
1040-
"md5": "384e52a9ea431783150b79764a700971",
1041-
"sha256": "f14ad275364c8b4e525d018f6716537ae7b6d369c094805cae45300847e0894f",
1040+
"md5": "c7fce3b285651310e92cfe5a6e299898",
1041+
"sha256": "84537453d57f55a50a5b6835622ee405816999a7113267739a1b4581f83535bd",
10421042
"sha512": null,
10431043
"bug_tracking_url": null,
10441044
"code_view_url": null,
@@ -1059,20 +1059,20 @@
10591059
"dependencies": [],
10601060
"repository_homepage_url": null,
10611061
"repository_download_url": null,
1062-
"api_data_url": "https://pypi.org/pypi/cryptography/41.0.2/json",
1062+
"api_data_url": "https://pypi.org/pypi/cryptography/41.0.3/json",
10631063
"datasource_id": null,
1064-
"purl": "pkg:pypi/[email protected].2"
1064+
"purl": "pkg:pypi/[email protected].3"
10651065
},
10661066
{
10671067
"type": "pypi",
10681068
"namespace": null,
10691069
"name": "cryptography",
1070-
"version": "41.0.2",
1070+
"version": "41.0.3",
10711071
"qualifiers": {},
10721072
"subpath": null,
10731073
"primary_language": "Python",
10741074
"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/",
1075-
"release_date": "2023-07-11T03:26:24",
1075+
"release_date": "2023-08-01T20:36:22",
10761076
"parties": [
10771077
{
10781078
"type": "person",
@@ -1104,11 +1104,11 @@
11041104
"Topic :: Security :: Cryptography"
11051105
],
11061106
"homepage_url": "",
1107-
"download_url": "https://files.pythonhosted.org/packages/93/b7/b6b3420a2f027c1067f712eb3aea8653f8ca7490f183f9917879c447139b/cryptography-41.0.2.tar.gz",
1108-
"size": 630080,
1107+
"download_url": "https://files.pythonhosted.org/packages/8e/5d/2bf54672898375d081cb24b30baeb7793568ae5d958ef781349e9635d1c8/cryptography-41.0.3.tar.gz",
1108+
"size": 630139,
11091109
"sha1": null,
1110-
"md5": "218dde9757c27459271235acd993b49c",
1111-
"sha256": "7d230bf856164de164ecb615ccc14c7fc6de6906ddd5b491f3af90d3514c925c",
1110+
"md5": "fbf930acd8de95780604c40c4e817a74",
1111+
"sha256": "6d192741113ef5e30d89dcb5b956ef4e1578f304708701b8b73d38e3e1461f34",
11121112
"sha512": null,
11131113
"bug_tracking_url": null,
11141114
"code_view_url": null,
@@ -1129,9 +1129,9 @@
11291129
"dependencies": [],
11301130
"repository_homepage_url": null,
11311131
"repository_download_url": null,
1132-
"api_data_url": "https://pypi.org/pypi/cryptography/41.0.2/json",
1132+
"api_data_url": "https://pypi.org/pypi/cryptography/41.0.3/json",
11331133
"datasource_id": null,
1134-
"purl": "pkg:pypi/[email protected].2"
1134+
"purl": "pkg:pypi/[email protected].3"
11351135
},
11361136
{
11371137
"type": "pypi",
@@ -2497,7 +2497,7 @@
24972497
"package": "pkg:pypi/[email protected]",
24982498
"dependencies": [
24992499
"pkg:pypi/[email protected]",
2500-
"pkg:pypi/[email protected].2",
2500+
"pkg:pypi/[email protected].3",
25012501
"pkg:pypi/[email protected]",
25022502
"pkg:pypi/[email protected]"
25032503
]
@@ -2521,7 +2521,7 @@
25212521
"dependencies": []
25222522
},
25232523
{
2524-
"package": "pkg:pypi/[email protected].2",
2524+
"package": "pkg:pypi/[email protected].3",
25252525
"dependencies": [
25262526
"pkg:pypi/[email protected]"
25272527
]

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

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
"headers": {
33
"tool_name": "python-inspector",
44
"tool_homepageurl": "https://github.com/nexB/python-inspector",
5-
"tool_version": "0.9.7",
5+
"tool_version": "0.9.8",
66
"options": [
7-
"--requirement /Users/mathioud/repos/python-inspector/tests/data/azure-devops.req.txt",
7+
"--requirement /home/tg1999/Desktop/example/tools/python-inspector/tests/data/azure-devops.req.txt",
88
"--index-url https://pypi.org/simple",
99
"--python-version 38",
1010
"--operating-system linux",
@@ -17,7 +17,7 @@
1717
"files": [
1818
{
1919
"type": "file",
20-
"path": "/Users/mathioud/repos/python-inspector/tests/data/azure-devops.req.txt",
20+
"path": "/home/tg1999/Desktop/example/tools/python-inspector/tests/data/azure-devops.req.txt",
2121
"package_data": [
2222
{
2323
"type": "pypi",
@@ -997,12 +997,12 @@
997997
"type": "pypi",
998998
"namespace": null,
999999
"name": "cryptography",
1000-
"version": "41.0.2",
1000+
"version": "41.0.3",
10011001
"qualifiers": {},
10021002
"subpath": null,
10031003
"primary_language": "Python",
10041004
"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/",
1005-
"release_date": "2023-07-11T03:25:42",
1005+
"release_date": "2023-08-01T20:35:42",
10061006
"parties": [
10071007
{
10081008
"type": "person",
@@ -1034,11 +1034,11 @@
10341034
"Topic :: Security :: Cryptography"
10351035
],
10361036
"homepage_url": "",
1037-
"download_url": "https://files.pythonhosted.org/packages/fe/ee/aa40ae0f8cfb5988736b3a93adba13421dbfe318211d48a2da138a3a346e/cryptography-41.0.2-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
1038-
"size": 4291427,
1037+
"download_url": "https://files.pythonhosted.org/packages/21/74/a7ebb5bcf733b1626e4778941e505792d7f655e799ff3bdbd9a176516ee2/cryptography-41.0.3-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
1038+
"size": 4308894,
10391039
"sha1": null,
1040-
"md5": "384e52a9ea431783150b79764a700971",
1041-
"sha256": "f14ad275364c8b4e525d018f6716537ae7b6d369c094805cae45300847e0894f",
1040+
"md5": "c7fce3b285651310e92cfe5a6e299898",
1041+
"sha256": "84537453d57f55a50a5b6835622ee405816999a7113267739a1b4581f83535bd",
10421042
"sha512": null,
10431043
"bug_tracking_url": null,
10441044
"code_view_url": null,
@@ -1059,20 +1059,20 @@
10591059
"dependencies": [],
10601060
"repository_homepage_url": null,
10611061
"repository_download_url": null,
1062-
"api_data_url": "https://pypi.org/pypi/cryptography/41.0.2/json",
1062+
"api_data_url": "https://pypi.org/pypi/cryptography/41.0.3/json",
10631063
"datasource_id": null,
1064-
"purl": "pkg:pypi/[email protected].2"
1064+
"purl": "pkg:pypi/[email protected].3"
10651065
},
10661066
{
10671067
"type": "pypi",
10681068
"namespace": null,
10691069
"name": "cryptography",
1070-
"version": "41.0.2",
1070+
"version": "41.0.3",
10711071
"qualifiers": {},
10721072
"subpath": null,
10731073
"primary_language": "Python",
10741074
"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/",
1075-
"release_date": "2023-07-11T03:26:24",
1075+
"release_date": "2023-08-01T20:36:22",
10761076
"parties": [
10771077
{
10781078
"type": "person",
@@ -1104,11 +1104,11 @@
11041104
"Topic :: Security :: Cryptography"
11051105
],
11061106
"homepage_url": "",
1107-
"download_url": "https://files.pythonhosted.org/packages/93/b7/b6b3420a2f027c1067f712eb3aea8653f8ca7490f183f9917879c447139b/cryptography-41.0.2.tar.gz",
1108-
"size": 630080,
1107+
"download_url": "https://files.pythonhosted.org/packages/8e/5d/2bf54672898375d081cb24b30baeb7793568ae5d958ef781349e9635d1c8/cryptography-41.0.3.tar.gz",
1108+
"size": 630139,
11091109
"sha1": null,
1110-
"md5": "218dde9757c27459271235acd993b49c",
1111-
"sha256": "7d230bf856164de164ecb615ccc14c7fc6de6906ddd5b491f3af90d3514c925c",
1110+
"md5": "fbf930acd8de95780604c40c4e817a74",
1111+
"sha256": "6d192741113ef5e30d89dcb5b956ef4e1578f304708701b8b73d38e3e1461f34",
11121112
"sha512": null,
11131113
"bug_tracking_url": null,
11141114
"code_view_url": null,
@@ -1129,9 +1129,9 @@
11291129
"dependencies": [],
11301130
"repository_homepage_url": null,
11311131
"repository_download_url": null,
1132-
"api_data_url": "https://pypi.org/pypi/cryptography/41.0.2/json",
1132+
"api_data_url": "https://pypi.org/pypi/cryptography/41.0.3/json",
11331133
"datasource_id": null,
1134-
"purl": "pkg:pypi/[email protected].2"
1134+
"purl": "pkg:pypi/[email protected].3"
11351135
},
11361136
{
11371137
"type": "pypi",
@@ -2497,7 +2497,7 @@
24972497
"package": "pkg:pypi/[email protected]",
24982498
"dependencies": [
24992499
"pkg:pypi/[email protected]",
2500-
"pkg:pypi/[email protected].2",
2500+
"pkg:pypi/[email protected].3",
25012501
"pkg:pypi/[email protected]",
25022502
"pkg:pypi/[email protected]"
25032503
]
@@ -2521,7 +2521,7 @@
25212521
"dependencies": []
25222522
},
25232523
{
2524-
"package": "pkg:pypi/[email protected].2",
2524+
"package": "pkg:pypi/[email protected].3",
25252525
"dependencies": [
25262526
"pkg:pypi/[email protected]"
25272527
]

tests/data/default-url-expected.json

Lines changed: 1 addition & 1 deletion
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.7",
5+
"tool_version": "0.9.8",
66
"options": [
77
"--specifier zipp==3.8.0",
88
"--index-url https://pypi.org/simple",

0 commit comments

Comments
 (0)