python-inspector 0.14.1__py3-none-any.whl → 0.14.2__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/utils.py +1 -1
- python_inspector/utils_pypi.py +1 -1
- {python_inspector-0.14.1.dist-info → python_inspector-0.14.2.dist-info}/METADATA +1 -1
- {python_inspector-0.14.1.dist-info → python_inspector-0.14.2.dist-info}/RECORD +13 -13
- {python_inspector-0.14.1.dist-info → python_inspector-0.14.2.dist-info}/WHEEL +0 -0
- {python_inspector-0.14.1.dist-info → python_inspector-0.14.2.dist-info}/entry_points.txt +0 -0
- {python_inspector-0.14.1.dist-info → python_inspector-0.14.2.dist-info}/licenses/AUTHORS.rst +0 -0
- {python_inspector-0.14.1.dist-info → python_inspector-0.14.2.dist-info}/licenses/CHANGELOG.rst +0 -0
- {python_inspector-0.14.1.dist-info → python_inspector-0.14.2.dist-info}/licenses/CODE_OF_CONDUCT.rst +0 -0
- {python_inspector-0.14.1.dist-info → python_inspector-0.14.2.dist-info}/licenses/NOTICE +0 -0
- {python_inspector-0.14.1.dist-info → python_inspector-0.14.2.dist-info}/licenses/README.rst +0 -0
- {python_inspector-0.14.1.dist-info → python_inspector-0.14.2.dist-info}/licenses/apache-2.0.LICENSE +0 -0
- {python_inspector-0.14.1.dist-info → python_inspector-0.14.2.dist-info}/top_level.txt +0 -0
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.2
|
|
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
|
|
@@ -22,21 +22,21 @@ python_inspector/settings.py,sha256=r4711MS_nFyXU4pWWhLtXt3mGo3QJBIZV28IttZT7gI,
|
|
|
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.2.dist-info/licenses/AUTHORS.rst,sha256=rRa-_IwbfBl84NqT5QZWFTXHsJnvRz8SP9dymwrEDAE,87
|
|
33
|
+
python_inspector-0.14.2.dist-info/licenses/CHANGELOG.rst,sha256=PPxAfnWyf1tzwksoVZC--_UYHIXqd2dSd_obU4Buvn0,5617
|
|
34
|
+
python_inspector-0.14.2.dist-info/licenses/CODE_OF_CONDUCT.rst,sha256=xXDTFpYY3Y7JoxrWADihieUvhGlwJc_oxsbmLJaBvE4,3422
|
|
35
|
+
python_inspector-0.14.2.dist-info/licenses/NOTICE,sha256=fkLIlzyP8zWNnPbFSXkTInNgYl35THH5-J8vMKuNzhc,761
|
|
36
|
+
python_inspector-0.14.2.dist-info/licenses/README.rst,sha256=ucUCSQt39WlNfVdOl_1WbuvBqEN0NZm_h5o_vltNFps,7033
|
|
37
|
+
python_inspector-0.14.2.dist-info/licenses/apache-2.0.LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
|
38
|
+
python_inspector-0.14.2.dist-info/METADATA,sha256=EMdgOl1DHfmevtsFhIQW9-JaWGdovOo7gvth-0Xft_o,9380
|
|
39
|
+
python_inspector-0.14.2.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
40
|
+
python_inspector-0.14.2.dist-info/entry_points.txt,sha256=2s9F95rPWbgz3cOnKN3Z7PwzglPt2EsX2qf7W0Xubpk,87
|
|
41
|
+
python_inspector-0.14.2.dist-info/top_level.txt,sha256=C-KAHTL8C6jd7QULvFk83YjOBVxDrnyefG3RikRHRlw,31
|
|
42
|
+
python_inspector-0.14.2.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
{python_inspector-0.14.1.dist-info → python_inspector-0.14.2.dist-info}/licenses/AUTHORS.rst
RENAMED
|
File without changes
|
{python_inspector-0.14.1.dist-info → python_inspector-0.14.2.dist-info}/licenses/CHANGELOG.rst
RENAMED
|
File without changes
|
{python_inspector-0.14.1.dist-info → python_inspector-0.14.2.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.2.dist-info}/licenses/apache-2.0.LICENSE
RENAMED
|
File without changes
|
|
File without changes
|