From f5f012b911a7cc8057784f3d973f098ee57daf39 Mon Sep 17 00:00:00 2001 From: Tushar Goel Date: Thu, 28 Mar 2024 19:50:27 +0530 Subject: [PATCH] Prepare for release v0.12.0 Signed-off-by: Tushar Goel --- src/python_inspector/resolve_cli.py | 2 +- tests/data/azure-devops.req-310-expected.json | 2 +- tests/data/azure-devops.req-312-expected.json | 2 +- tests/data/azure-devops.req-38-expected.json | 2 +- tests/data/default-url-expected.json | 2 +- .../data/environment-marker-test-requirements.txt-expected.json | 2 +- tests/data/example-requirements-ignore-errors-expected.json | 2 +- tests/data/frozen-requirements.txt-expected.json | 2 +- tests/data/insecure-setup/setup.py-expected.json | 2 +- tests/data/pdt-requirements.txt-expected.json | 2 +- tests/data/pinned-pdt-requirements.txt-expected.json | 2 +- tests/data/pinned-requirements.txt-expected.json | 2 +- tests/data/prefer-source-expected.json | 2 +- tests/data/setup/no-direct-dependencies-setup.py-expected.json | 2 +- tests/data/setup/simple-setup.py-expected.json | 2 +- tests/data/setup/spdx-setup.py-expected.json | 2 +- tests/data/single-url-except-simple-expected.json | 2 +- tests/data/single-url-expected.json | 2 +- tests/data/tilde_req-expected.json | 2 +- tests/test_cli.py | 2 +- 20 files changed, 20 insertions(+), 20 deletions(-) diff --git a/src/python_inspector/resolve_cli.py b/src/python_inspector/resolve_cli.py index 2ce9878..047a8c7 100644 --- a/src/python_inspector/resolve_cli.py +++ b/src/python_inspector/resolve_cli.py @@ -19,7 +19,7 @@ TRACE = False -__version__ = "0.11.0" +__version__ = "0.12.0" DEFAULT_PYTHON_VERSION = "38" PYPI_SIMPLE_URL = "https://pypi.org/simple" diff --git a/tests/data/azure-devops.req-310-expected.json b/tests/data/azure-devops.req-310-expected.json index 41776f5..ac628c6 100644 --- a/tests/data/azure-devops.req-310-expected.json +++ b/tests/data/azure-devops.req-310-expected.json @@ -2,7 +2,7 @@ "headers": { "tool_name": "python-inspector", "tool_homepageurl": "https://github.com/nexB/python-inspector", - "tool_version": "0.11.0", + "tool_version": "0.12.0", "options": [ "--json ", "--operating-system linux", diff --git a/tests/data/azure-devops.req-312-expected.json b/tests/data/azure-devops.req-312-expected.json index d7e2613..6c86d09 100644 --- a/tests/data/azure-devops.req-312-expected.json +++ b/tests/data/azure-devops.req-312-expected.json @@ -2,7 +2,7 @@ "headers": { "tool_name": "python-inspector", "tool_homepageurl": "https://github.com/nexB/python-inspector", - "tool_version": "0.11.0", + "tool_version": "0.12.0", "options": [ "--json ", "--operating-system linux", diff --git a/tests/data/azure-devops.req-38-expected.json b/tests/data/azure-devops.req-38-expected.json index d07baeb..78fed72 100644 --- a/tests/data/azure-devops.req-38-expected.json +++ b/tests/data/azure-devops.req-38-expected.json @@ -2,7 +2,7 @@ "headers": { "tool_name": "python-inspector", "tool_homepageurl": "https://github.com/nexB/python-inspector", - "tool_version": "0.11.0", + "tool_version": "0.12.0", "options": [ "--json ", "--operating-system linux", diff --git a/tests/data/default-url-expected.json b/tests/data/default-url-expected.json index c21bf41..8057703 100644 --- a/tests/data/default-url-expected.json +++ b/tests/data/default-url-expected.json @@ -2,7 +2,7 @@ "headers": { "tool_name": "python-inspector", "tool_homepageurl": "https://github.com/nexB/python-inspector", - "tool_version": "0.11.0", + "tool_version": "0.12.0", "options": [ "--json ", "--operating-system linux", diff --git a/tests/data/environment-marker-test-requirements.txt-expected.json b/tests/data/environment-marker-test-requirements.txt-expected.json index 731471f..1aaae2f 100644 --- a/tests/data/environment-marker-test-requirements.txt-expected.json +++ b/tests/data/environment-marker-test-requirements.txt-expected.json @@ -2,7 +2,7 @@ "headers": { "tool_name": "python-inspector", "tool_homepageurl": "https://github.com/nexB/python-inspector", - "tool_version": "0.11.0", + "tool_version": "0.12.0", "options": [ "--json-pdt ", "--operating-system linux", diff --git a/tests/data/example-requirements-ignore-errors-expected.json b/tests/data/example-requirements-ignore-errors-expected.json index eda36a5..3519412 100644 --- a/tests/data/example-requirements-ignore-errors-expected.json +++ b/tests/data/example-requirements-ignore-errors-expected.json @@ -2,7 +2,7 @@ "headers": { "tool_name": "python-inspector", "tool_homepageurl": "https://github.com/nexB/python-inspector", - "tool_version": "0.11.0", + "tool_version": "0.12.0", "options": [ "--ignore-errors", "--json ", diff --git a/tests/data/frozen-requirements.txt-expected.json b/tests/data/frozen-requirements.txt-expected.json index 6d0a1fa..e386b1e 100644 --- a/tests/data/frozen-requirements.txt-expected.json +++ b/tests/data/frozen-requirements.txt-expected.json @@ -2,7 +2,7 @@ "headers": { "tool_name": "python-inspector", "tool_homepageurl": "https://github.com/nexB/python-inspector", - "tool_version": "0.11.0", + "tool_version": "0.12.0", "options": [ "--json-pdt ", "--operating-system linux", diff --git a/tests/data/insecure-setup/setup.py-expected.json b/tests/data/insecure-setup/setup.py-expected.json index b2a3c59..dbff6d7 100644 --- a/tests/data/insecure-setup/setup.py-expected.json +++ b/tests/data/insecure-setup/setup.py-expected.json @@ -2,7 +2,7 @@ "headers": { "tool_name": "python-inspector", "tool_homepageurl": "https://github.com/nexB/python-inspector", - "tool_version": "0.11.0", + "tool_version": "0.12.0", "options": [ "--analyze-setup-py-insecurely", "--json ", diff --git a/tests/data/pdt-requirements.txt-expected.json b/tests/data/pdt-requirements.txt-expected.json index 45696ee..9d870c8 100644 --- a/tests/data/pdt-requirements.txt-expected.json +++ b/tests/data/pdt-requirements.txt-expected.json @@ -2,7 +2,7 @@ "headers": { "tool_name": "python-inspector", "tool_homepageurl": "https://github.com/nexB/python-inspector", - "tool_version": "0.11.0", + "tool_version": "0.12.0", "options": [ "--json-pdt ", "--operating-system linux", diff --git a/tests/data/pinned-pdt-requirements.txt-expected.json b/tests/data/pinned-pdt-requirements.txt-expected.json index 9e69ba5..61c1acf 100644 --- a/tests/data/pinned-pdt-requirements.txt-expected.json +++ b/tests/data/pinned-pdt-requirements.txt-expected.json @@ -2,7 +2,7 @@ "headers": { "tool_name": "python-inspector", "tool_homepageurl": "https://github.com/nexB/python-inspector", - "tool_version": "0.11.0", + "tool_version": "0.12.0", "options": [ "--json-pdt ", "--operating-system linux", diff --git a/tests/data/pinned-requirements.txt-expected.json b/tests/data/pinned-requirements.txt-expected.json index 2b3efb4..4de9cab 100644 --- a/tests/data/pinned-requirements.txt-expected.json +++ b/tests/data/pinned-requirements.txt-expected.json @@ -2,7 +2,7 @@ "headers": { "tool_name": "python-inspector", "tool_homepageurl": "https://github.com/nexB/python-inspector", - "tool_version": "0.11.0", + "tool_version": "0.12.0", "options": [ "--json ", "--operating-system linux", diff --git a/tests/data/prefer-source-expected.json b/tests/data/prefer-source-expected.json index b4477d2..e7f8d67 100644 --- a/tests/data/prefer-source-expected.json +++ b/tests/data/prefer-source-expected.json @@ -2,7 +2,7 @@ "headers": { "tool_name": "python-inspector", "tool_homepageurl": "https://github.com/nexB/python-inspector", - "tool_version": "0.11.0", + "tool_version": "0.12.0", "options": [ "--json ", "--operating-system linux", diff --git a/tests/data/setup/no-direct-dependencies-setup.py-expected.json b/tests/data/setup/no-direct-dependencies-setup.py-expected.json index d8b2d72..d332223 100644 --- a/tests/data/setup/no-direct-dependencies-setup.py-expected.json +++ b/tests/data/setup/no-direct-dependencies-setup.py-expected.json @@ -2,7 +2,7 @@ "headers": { "tool_name": "python-inspector", "tool_homepageurl": "https://github.com/nexB/python-inspector", - "tool_version": "0.11.0", + "tool_version": "0.12.0", "options": [ "--analyze-setup-py-insecurely", "--json ", diff --git a/tests/data/setup/simple-setup.py-expected.json b/tests/data/setup/simple-setup.py-expected.json index 7764065..c848334 100644 --- a/tests/data/setup/simple-setup.py-expected.json +++ b/tests/data/setup/simple-setup.py-expected.json @@ -2,7 +2,7 @@ "headers": { "tool_name": "python-inspector", "tool_homepageurl": "https://github.com/nexB/python-inspector", - "tool_version": "0.11.0", + "tool_version": "0.12.0", "options": [ "--json ", "--operating-system linux", diff --git a/tests/data/setup/spdx-setup.py-expected.json b/tests/data/setup/spdx-setup.py-expected.json index 1ae4db5..f00f689 100644 --- a/tests/data/setup/spdx-setup.py-expected.json +++ b/tests/data/setup/spdx-setup.py-expected.json @@ -2,7 +2,7 @@ "headers": { "tool_name": "python-inspector", "tool_homepageurl": "https://github.com/nexB/python-inspector", - "tool_version": "0.11.0", + "tool_version": "0.12.0", "options": [ "--analyze-setup-py-insecurely", "--json-pdt ", diff --git a/tests/data/single-url-except-simple-expected.json b/tests/data/single-url-except-simple-expected.json index 69dc32c..eac4a95 100644 --- a/tests/data/single-url-except-simple-expected.json +++ b/tests/data/single-url-except-simple-expected.json @@ -2,7 +2,7 @@ "headers": { "tool_name": "python-inspector", "tool_homepageurl": "https://github.com/nexB/python-inspector", - "tool_version": "0.11.0", + "tool_version": "0.12.0", "options": [ "--index-url https://thirdparty.aboutcode.org/pypi/simple/", "--json ", diff --git a/tests/data/single-url-expected.json b/tests/data/single-url-expected.json index 9b60104..fd2d896 100644 --- a/tests/data/single-url-expected.json +++ b/tests/data/single-url-expected.json @@ -2,7 +2,7 @@ "headers": { "tool_name": "python-inspector", "tool_homepageurl": "https://github.com/nexB/python-inspector", - "tool_version": "0.11.0", + "tool_version": "0.12.0", "options": [ "--json ", "--operating-system linux", diff --git a/tests/data/tilde_req-expected.json b/tests/data/tilde_req-expected.json index 4185684..68856bd 100644 --- a/tests/data/tilde_req-expected.json +++ b/tests/data/tilde_req-expected.json @@ -2,7 +2,7 @@ "headers": { "tool_name": "python-inspector", "tool_homepageurl": "https://github.com/nexB/python-inspector", - "tool_version": "0.11.0", + "tool_version": "0.12.0", "options": [ "--index-url https://pypi.org/simple", "--index-url https://thirdparty.aboutcode.org/pypi/simple/", diff --git a/tests/test_cli.py b/tests/test_cli.py index 8913ecd..8491ad3 100644 --- a/tests/test_cli.py +++ b/tests/test_cli.py @@ -414,7 +414,7 @@ def test_passing_of_json_pdt_and_json_flags(): def test_version_option(): options = ["--version"] result = run_cli(options=options) - assert "0.11.0" in result.output + assert "0.12.0" in result.output def test_passing_of_netrc_file_that_does_not_exist():