python-inspector 0.14.1__py3-none-any.whl → 0.14.3__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- python_inspector/resolve_cli.py +3 -3
- python_inspector/utils.py +1 -1
- python_inspector/utils_pypi.py +1 -1
- {python_inspector-0.14.1.dist-info → python_inspector-0.14.3.dist-info}/METADATA +1 -1
- {python_inspector-0.14.1.dist-info → python_inspector-0.14.3.dist-info}/RECORD +14 -14
- {python_inspector-0.14.1.dist-info → python_inspector-0.14.3.dist-info}/licenses/CHANGELOG.rst +19 -0
- {python_inspector-0.14.1.dist-info → python_inspector-0.14.3.dist-info}/WHEEL +0 -0
- {python_inspector-0.14.1.dist-info → python_inspector-0.14.3.dist-info}/entry_points.txt +0 -0
- {python_inspector-0.14.1.dist-info → python_inspector-0.14.3.dist-info}/licenses/AUTHORS.rst +0 -0
- {python_inspector-0.14.1.dist-info → python_inspector-0.14.3.dist-info}/licenses/CODE_OF_CONDUCT.rst +0 -0
- {python_inspector-0.14.1.dist-info → python_inspector-0.14.3.dist-info}/licenses/NOTICE +0 -0
- {python_inspector-0.14.1.dist-info → python_inspector-0.14.3.dist-info}/licenses/README.rst +0 -0
- {python_inspector-0.14.1.dist-info → python_inspector-0.14.3.dist-info}/licenses/apache-2.0.LICENSE +0 -0
- {python_inspector-0.14.1.dist-info → python_inspector-0.14.3.dist-info}/top_level.txt +0 -0
python_inspector/resolve_cli.py
CHANGED
|
@@ -13,6 +13,7 @@ from typing import Dict
|
|
|
13
13
|
|
|
14
14
|
import click
|
|
15
15
|
|
|
16
|
+
from python_inspector import pyinspector_settings
|
|
16
17
|
from python_inspector import settings
|
|
17
18
|
from python_inspector import utils_pypi
|
|
18
19
|
from python_inspector.cli_utils import FileOptionType
|
|
@@ -20,7 +21,7 @@ from python_inspector.utils import write_output_in_file
|
|
|
20
21
|
|
|
21
22
|
TRACE = False
|
|
22
23
|
|
|
23
|
-
__version__ = "0.14.
|
|
24
|
+
__version__ = "0.14.3"
|
|
24
25
|
|
|
25
26
|
DEFAULT_PYTHON_VERSION = settings.DEFAULT_PYTHON_VERSION
|
|
26
27
|
PYPI_SIMPLE_URL = settings.PYPI_SIMPLE_URL
|
|
@@ -93,8 +94,7 @@ def print_version(ctx, param, value):
|
|
|
93
94
|
type=str,
|
|
94
95
|
metavar="INDEX",
|
|
95
96
|
show_default=True,
|
|
96
|
-
|
|
97
|
-
default=[settings.PYPI_SIMPLE_URL],
|
|
97
|
+
default=pyinspector_settings.INDEX_URL,
|
|
98
98
|
multiple=True,
|
|
99
99
|
help="PyPI simple index URL(s) to use in order of preference. "
|
|
100
100
|
"This option can be used multiple times.",
|
python_inspector/utils.py
CHANGED
|
@@ -89,7 +89,7 @@ async def get_response_async(url: str) -> Optional[Dict]:
|
|
|
89
89
|
Return a mapping of the JSON response from fetching ``url``
|
|
90
90
|
or None if the ``url`` cannot be fetched.
|
|
91
91
|
"""
|
|
92
|
-
async with aiohttp.ClientSession() as session:
|
|
92
|
+
async with aiohttp.ClientSession(trust_env=True) as session:
|
|
93
93
|
async with session.get(url) as response:
|
|
94
94
|
if response.status == 200:
|
|
95
95
|
return await response.json()
|
python_inspector/utils_pypi.py
CHANGED
|
@@ -1806,7 +1806,7 @@ async def get_remote_file_content(
|
|
|
1806
1806
|
if login and password:
|
|
1807
1807
|
auth = aiohttp.BasicAuth(login, password)
|
|
1808
1808
|
|
|
1809
|
-
async with aiohttp.ClientSession() as session:
|
|
1809
|
+
async with aiohttp.ClientSession(trust_env=True) as session:
|
|
1810
1810
|
async with session.get(url, allow_redirects=True, headers=headers, auth=auth) as response:
|
|
1811
1811
|
status = response.status
|
|
1812
1812
|
if status != requests.codes.ok: # NOQA
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: python-inspector
|
|
3
|
-
Version: 0.14.
|
|
3
|
+
Version: 0.14.3
|
|
4
4
|
Summary: python-inspector is is a collection of utilities to collect PyPI package metadata and resolve packages dependencies.
|
|
5
5
|
Home-page: https://github.com/aboutcode-org/python-inspector
|
|
6
6
|
Author: nexB. Inc. and others
|
|
@@ -17,26 +17,26 @@ python_inspector/package_data.py,sha256=D4ilQazsa898_ysKI73Vg9DoTEK5eNctXNys7E20
|
|
|
17
17
|
python_inspector/resolution.py,sha256=hcjhB1xF4OGoJDL7GXjkERjpEzkxkbQnonf2xZ0tyXs,30037
|
|
18
18
|
python_inspector/resolution.py.ABOUT,sha256=tYLeHLgyo4zZrPlMXlVF59EjC-GGDaQeFKogf7M7rXg,705
|
|
19
19
|
python_inspector/resolution.py.LICENSE,sha256=84j9OMrRMRLB3A9mm76A5_hFQe26-3LzAw0sp2QsPJ0,751
|
|
20
|
-
python_inspector/resolve_cli.py,sha256=
|
|
20
|
+
python_inspector/resolve_cli.py,sha256=glPwxZzt6P5v27JKWPQ_I36rGX_wy9a2wZoaPMqJS98,12129
|
|
21
21
|
python_inspector/settings.py,sha256=r4711MS_nFyXU4pWWhLtXt3mGo3QJBIZV28IttZT7gI,2304
|
|
22
22
|
python_inspector/setup_py_live_eval.py,sha256=6uJLJT_Aw5SEeybe8JEaEiWCHOTbpsJ0BinN4mlprUE,7601
|
|
23
23
|
python_inspector/setup_py_live_eval.py.ABOUT,sha256=ecRsdi0Z--mX8gnSwQzE2OqucpmD0AsmPlojp70uPxI,396
|
|
24
24
|
python_inspector/setup_py_live_eval.py.LICENSE,sha256=5wfEqJLf5ANizw20WUURuTgoZOzMRK_4iGA39BApyRk,1643
|
|
25
|
-
python_inspector/utils.py,sha256=
|
|
25
|
+
python_inspector/utils.py,sha256=cQWtdVT0RZ8XGj_sxYu_lX_sg-Iz3NCCtsg-haYbwiM,3541
|
|
26
26
|
python_inspector/utils_pip_compatibility_tags.py,sha256=8ZQkXLldhqqO4sJ0aVXQwWYdw3Qo1_C9MhntShVlgE8,6831
|
|
27
27
|
python_inspector/utils_pip_compatibility_tags.py.ABOUT,sha256=tFhzj7qUEA9H-Tg6K1BI5QBtmQEq0vHg0X2Ws7t073U,540
|
|
28
|
-
python_inspector/utils_pypi.py,sha256=
|
|
28
|
+
python_inspector/utils_pypi.py,sha256=ZA4J_PEbG31vFbR4n8CT9ToAXY9g5P5POa6idPmlG3E,58985
|
|
29
29
|
python_inspector/utils_pypi.py.ABOUT,sha256=7s9WCNmS-qJJgHC979fI4whrM5Y41-Ar-LZoIfZXPVU,635
|
|
30
30
|
python_inspector/utils_pypi_supported_tags.py,sha256=SdbIlKoCgyqBZIesEdrFhVMnYikBirvSDvPUPIomTSo,2850
|
|
31
31
|
python_inspector/utils_pypi_supported_tags.py.ABOUT,sha256=ndJ1kQS6u7caYmLc6XVnNIdKfpnvGjKepxpmhQJWJyA,741
|
|
32
|
-
python_inspector-0.14.
|
|
33
|
-
python_inspector-0.14.
|
|
34
|
-
python_inspector-0.14.
|
|
35
|
-
python_inspector-0.14.
|
|
36
|
-
python_inspector-0.14.
|
|
37
|
-
python_inspector-0.14.
|
|
38
|
-
python_inspector-0.14.
|
|
39
|
-
python_inspector-0.14.
|
|
40
|
-
python_inspector-0.14.
|
|
41
|
-
python_inspector-0.14.
|
|
42
|
-
python_inspector-0.14.
|
|
32
|
+
python_inspector-0.14.3.dist-info/licenses/AUTHORS.rst,sha256=rRa-_IwbfBl84NqT5QZWFTXHsJnvRz8SP9dymwrEDAE,87
|
|
33
|
+
python_inspector-0.14.3.dist-info/licenses/CHANGELOG.rst,sha256=NrV3N7byf6ZdTqV9S9Fuu3GWWs1jGamT0Ifm6WSmmVg,5871
|
|
34
|
+
python_inspector-0.14.3.dist-info/licenses/CODE_OF_CONDUCT.rst,sha256=xXDTFpYY3Y7JoxrWADihieUvhGlwJc_oxsbmLJaBvE4,3422
|
|
35
|
+
python_inspector-0.14.3.dist-info/licenses/NOTICE,sha256=fkLIlzyP8zWNnPbFSXkTInNgYl35THH5-J8vMKuNzhc,761
|
|
36
|
+
python_inspector-0.14.3.dist-info/licenses/README.rst,sha256=ucUCSQt39WlNfVdOl_1WbuvBqEN0NZm_h5o_vltNFps,7033
|
|
37
|
+
python_inspector-0.14.3.dist-info/licenses/apache-2.0.LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
|
38
|
+
python_inspector-0.14.3.dist-info/METADATA,sha256=77x27VsJjqMSGKsEkcNffsjJHavtU64vJxiWX5o-kHk,9380
|
|
39
|
+
python_inspector-0.14.3.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
40
|
+
python_inspector-0.14.3.dist-info/entry_points.txt,sha256=2s9F95rPWbgz3cOnKN3Z7PwzglPt2EsX2qf7W0Xubpk,87
|
|
41
|
+
python_inspector-0.14.3.dist-info/top_level.txt,sha256=C-KAHTL8C6jd7QULvFk83YjOBVxDrnyefG3RikRHRlw,31
|
|
42
|
+
python_inspector-0.14.3.dist-info/RECORD,,
|
{python_inspector-0.14.1.dist-info → python_inspector-0.14.3.dist-info}/licenses/CHANGELOG.rst
RENAMED
|
@@ -1,6 +1,25 @@
|
|
|
1
1
|
Changelog
|
|
2
2
|
=========
|
|
3
3
|
|
|
4
|
+
|
|
5
|
+
v0.14.3
|
|
6
|
+
-----------
|
|
7
|
+
|
|
8
|
+
- Update version number displayed in CLI, forgotten from previous releases.
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
v0.14.2
|
|
12
|
+
-----------
|
|
13
|
+
|
|
14
|
+
- Respect the HTTP_PROXY environment variable.
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
v0.14.1
|
|
18
|
+
-----------
|
|
19
|
+
|
|
20
|
+
- Improve netrc support with aiohttp. Also fix related bugs.
|
|
21
|
+
|
|
22
|
+
|
|
4
23
|
v0.14.0
|
|
5
24
|
-----------
|
|
6
25
|
|
|
File without changes
|
|
File without changes
|
{python_inspector-0.14.1.dist-info → python_inspector-0.14.3.dist-info}/licenses/AUTHORS.rst
RENAMED
|
File without changes
|
{python_inspector-0.14.1.dist-info → python_inspector-0.14.3.dist-info}/licenses/CODE_OF_CONDUCT.rst
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{python_inspector-0.14.1.dist-info → python_inspector-0.14.3.dist-info}/licenses/apache-2.0.LICENSE
RENAMED
|
File without changes
|
|
File without changes
|