Skip to content

Commit 5b7fb3f

Browse files
authored
Merge pull request #73 from nexB/version_0.7.1
Correct version reporting #70
2 parents 1af5ecc + b8d5ed5 commit 5b7fb3f

12 files changed

+16
-11
lines changed

CHANGELOG.rst

+5
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@ Changelog
22
=========
33

44

5+
v0.7.1
6+
------
7+
8+
- Correct version reporting #70.
9+
510
v0.7.0
611
------
712

src/python_inspector/resolve_cli.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636

3737
TRACE = False
3838

39-
__version__ = "0.6.5"
39+
__version__ = "0.7.1"
4040

4141
DEFAULT_PYTHON_VERSION = "38"
4242
PYPI_SIMPLE_URL = "https://pypi.org/simple"

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.6.5",
5+
"tool_version": "0.7.1",
66
"options": [
77
"--specifier zipp==3.8.0",
88
"--index-url https://pypi.org/simple",

tests/data/insecure-setup-2/setup.py-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.6.5",
5+
"tool_version": "0.7.1",
66
"options": [
77
"--index-url https://pypi.org/simple",
88
"--python-version 27",

tests/data/insecure-setup/setup.py-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.6.5",
5+
"tool_version": "0.7.1",
66
"options": [
77
"--index-url https://pypi.org/simple",
88
"--python-version 27",

tests/data/pinned-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.6.5",
5+
"tool_version": "0.7.1",
66
"options": [
77
"--index-url https://pypi.org/simple",
88
"--python-version 38",

tests/data/setup/simple-setup.py-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.6.5",
5+
"tool_version": "0.7.1",
66
"options": [
77
"--index-url https://pypi.org/simple",
88
"--python-version 27",

tests/data/single-url-except-simple-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.6.5",
5+
"tool_version": "0.7.1",
66
"options": [
77
"--specifier flask",
88
"--index-url https://pypi.org/simple",

tests/data/single-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.6.5",
5+
"tool_version": "0.7.1",
66
"options": [
77
"--specifier zipp==3.8.0",
88
"--index-url https://pypi.org/simple",

tests/data/tilde_req-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.6.5",
5+
"tool_version": "0.7.1",
66
"options": [
77
"--specifier zipp~=3.8.0",
88
"--index-url https://pypi.org/simple",

tests/test_cli.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -304,7 +304,7 @@ def test_passing_of_json_pdt_and_json_flags():
304304
def test_version_option():
305305
options = ["--version"]
306306
result = run_cli(options=options)
307-
assert "0.6.5" in result.output
307+
assert "0.7.1" in result.output
308308

309309

310310
def test_passing_of_netrc_file_that_does_not_exist():

tests/test_setup_py_live_eval_cli.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@ def test_passing_of_json_pdt_and_json_flags():
278278
def test_version_option():
279279
options = ["--version"]
280280
result = run_cli(options=options)
281-
assert "0.6.5" in result.output
281+
assert "0.7.1" in result.output
282282

283283

284284
def test_passing_of_netrc_file_that_does_not_exist():

0 commit comments

Comments
 (0)