diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 01dde80d..b88b0f28 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -1,6 +1,11 @@ Changelog ========= +v0.6.5 +------ + +- Add --version option. + v0.6.4 ------ diff --git a/src/python_inspector/resolve_cli.py b/src/python_inspector/resolve_cli.py index 8081effd..8ff4ad7a 100644 --- a/src/python_inspector/resolve_cli.py +++ b/src/python_inspector/resolve_cli.py @@ -31,7 +31,7 @@ TRACE = False -__version__ = "0.6.4" +__version__ = "0.6.5" DEFAULT_PYTHON_VERSION = "38" PYPI_SIMPLE_URL = "https://pypi.org/simple" diff --git a/tests/data/default-url-expected.json b/tests/data/default-url-expected.json index 3c76d875..b7f90f13 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.6.4", + "tool_version": "0.6.5", "options": [ "--specifier zipp==3.8.0", "--index-url https://pypi.org/simple", diff --git a/tests/data/pinned-requirements.txt-expected.json b/tests/data/pinned-requirements.txt-expected.json index c062b454..8ecab913 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.6.4", + "tool_version": "0.6.5", "options": [ "--index-url https://pypi.org/simple", "--python-version 38", diff --git a/tests/data/setup/simple-setup.py-expected.json b/tests/data/setup/simple-setup.py-expected.json index c98e78e4..e1e25013 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.6.4", + "tool_version": "0.6.5", "options": [ "--index-url https://pypi.org/simple", "--python-version 27", diff --git a/tests/data/single-url-except-simple-expected.json b/tests/data/single-url-except-simple-expected.json index fb8a3af9..7c1aec6f 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.6.4", + "tool_version": "0.6.5", "options": [ "--specifier flask", "--index-url https://pypi.org/simple", diff --git a/tests/data/single-url-expected.json b/tests/data/single-url-expected.json index 1ee1150a..829652b8 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.6.4", + "tool_version": "0.6.5", "options": [ "--specifier zipp==3.8.0", "--index-url https://pypi.org/simple", diff --git a/tests/data/tilde_req-expected.json b/tests/data/tilde_req-expected.json index 0eab59a1..61a38287 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.6.4", + "tool_version": "0.6.5", "options": [ "--specifier zipp~=3.8.0", "--index-url https://pypi.org/simple", diff --git a/tests/test_cli.py b/tests/test_cli.py index 26ed3b23..2bb9b6a9 100644 --- a/tests/test_cli.py +++ b/tests/test_cli.py @@ -265,7 +265,7 @@ def test_passing_of_json_pdt_and_json_flags(): def test_version_option(): options = ["--version"] result = run_cli(options=options) - assert "0.6.4" in result.output + assert "0.6.5" in result.output def test_passing_of_netrc_file_that_does_not_exist():