pipgrip 0.10.5__py2.py3-none-any.whl → 0.10.6__py2.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.
pipgrip/_repo_version.py CHANGED
@@ -1 +1 @@
1
- version = "0.10.5"
1
+ version = "0.10.6"
pipgrip/pipper.py CHANGED
@@ -11,7 +11,6 @@ import pkg_resources
11
11
  from click import echo as _echo
12
12
  from packaging.markers import default_environment
13
13
  from packaging.utils import canonicalize_name
14
- from pkginfo import get_metadata
15
14
 
16
15
  from pipgrip.compat import PIP_VERSION, urlparse
17
16
 
@@ -406,6 +405,8 @@ def _download_wheel(package, index_url, extra_index_url, pre, cache_dir):
406
405
 
407
406
 
408
407
  def _extract_metadata(wheel_fname):
408
+ from pkginfo import get_metadata # not required on python 3.7+
409
+
409
410
  wheel_fname = os.path.abspath(wheel_fname)
410
411
  logger.debug("Searching metadata in %s", wheel_fname)
411
412
  if not os.path.exists(wheel_fname):
@@ -478,7 +479,7 @@ def discover_dependencies_and_versions(
478
479
  req.__str__(), index_url, extra_index_url, pre, cache_dir
479
480
  )
480
481
  wheel_metadata = report["install"][0]["metadata"]
481
- else:
482
+ else: # old python (<3.7) fallback
482
483
  wheel_fname = _download_wheel(
483
484
  req.__str__(), index_url, extra_index_url, pre, cache_dir
484
485
  )
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pipgrip
3
- Version: 0.10.5
3
+ Version: 0.10.6
4
4
  Summary: Lightweight pip dependency resolver with deptree preview functionality based on the PubGrub algorithm
5
5
  Home-page: https://github.com/ddelange/pipgrip
6
6
  Author: ddelange
@@ -34,12 +34,13 @@ License-File: LICENSE
34
34
  Requires-Dist: anytree >=2.4.1
35
35
  Requires-Dist: click >=7
36
36
  Requires-Dist: packaging >=17
37
- Requires-Dist: pkginfo <1.8,>=1.4.2
38
37
  Requires-Dist: setuptools >=38.3
39
38
  Requires-Dist: wheel
40
- Requires-Dist: pip >=7.1.0
39
+ Requires-Dist: pip >=7.1.0 ; python_version <= "3.6"
40
+ Requires-Dist: pkginfo <1.8,>=1.4.2 ; python_version <= "3.6"
41
41
  Requires-Dist: enum34 ; python_version == "2.7"
42
42
  Requires-Dist: typing ; python_version == "2.7"
43
+ Requires-Dist: pip >=22.2 ; python_version > "3.6"
43
44
 
44
45
  # pipgrip
45
46
 
@@ -165,15 +166,14 @@ Exhaustive dependency trees without the need to install any packages ([at most b
165
166
  ```
166
167
  $ pipgrip --tree pipgrip
167
168
 
168
- pipgrip (0.10.0)
169
- ├── anytree>=2.4.1 (2.8.0)
170
- │ └── six>=1.9.0 (1.16.0)
171
- ├── click>=7 (8.1.3)
172
- ├── packaging>=17 (22.0)
173
- ├── pip>=7.1.0 (22.3.1)
174
- ├── pkginfo<1.8,>=1.4.2 (1.7.1)
175
- ├── setuptools>=38.3 (65.6.3)
176
- └── wheel (0.38.4)
169
+ pipgrip (0.10.6)
170
+ ├── anytree>=2.4.1 (2.9.0)
171
+ │ └── six (1.16.0)
172
+ ├── click>=7 (8.1.6)
173
+ ├── packaging>=17 (23.1)
174
+ ├── pip>=22.2 (23.2.1)
175
+ ├── setuptools>=38.3 (68.0.0)
176
+ └── wheel (0.41.1)
177
177
  ```
178
178
 
179
179
  For more details/further processing, combine `--tree` with `--json` for a detailed nested JSON dependency tree. See also `--tree-ascii` (no unicode tree markers), and `--tree-json` & `--tree-json-exact` (simplified JSON dependency trees).
@@ -1,9 +1,9 @@
1
1
  pipgrip/__init__.py,sha256=mLaibXlzSl5M71C0-9eimUNlbB0DzF3nO6YdEZcn5MA,158
2
- pipgrip/_repo_version.py,sha256=C4OLjiZh3-cNdApFlrdyE27HBwlJIn3XzisxhmFctek,19
2
+ pipgrip/_repo_version.py,sha256=Ok7_5S8MHF9pymQb5JACvZ6o4pQt5Mj3oHVLRCPiDm8,19
3
3
  pipgrip/cli.py,sha256=3NN6YNDdb4oIAQc7Ol-oaRUrYMIO4RKw0vvlUm6kBBQ,18196
4
4
  pipgrip/compat.py,sha256=e6uOHh84H2pRMNtD5Rp-PLSk-MSbmvHa_12Ov6q7-yo,389
5
5
  pipgrip/package_source.py,sha256=MBC1_ERk-r8sRZpwXPpYn8uwx1ntR7OXjQyT3eQuTXY,8188
6
- pipgrip/pipper.py,sha256=yrQJnoArc7oGcUHQLEUrJbWoul4XQ2ivRaqSGpWTwR0,16160
6
+ pipgrip/pipper.py,sha256=8dQMWVvetbKoQ8SaU8Gd5B63HsRaPmqdPgH9WVAPbe8,16226
7
7
  pipgrip/libs/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
8
8
  pipgrip/libs/mixology/__init__.py,sha256=HfjVOrpTnmZ-xVFCYSVmX50EXaBQeJteUHG-PD6iQs8,22
9
9
  pipgrip/libs/mixology/_compat.py,sha256=hPGj-zSfCbwJTN1NlH_i93m-2Dinq7VIMnr2vycx2Ls,129
@@ -29,9 +29,9 @@ pipgrip/libs/semver/version.py,sha256=-l9btQIkRsYDjpBjjd2OSNxJxCg4WPVybFaigeIJs3
29
29
  pipgrip/libs/semver/version_constraint.py,sha256=r2L4U6mqfjsKYro46duqaeroNcEWrBxpZq5oArzrCmQ,896
30
30
  pipgrip/libs/semver/version_range.py,sha256=w1V54cLQjmAUFXr5MsJCVdo5DjNpwl-TEnmfOvHbaGs,13707
31
31
  pipgrip/libs/semver/version_union.py,sha256=I86jcnXylR5RlqRpAvGxsMeUA5_j3fC3LaOubBavEpI,8158
32
- pipgrip-0.10.5.dist-info/LICENSE,sha256=0VQx-FY5ohi5oryC-9Xm8b5aacF-dDDuv8TRevRsRqc,1516
33
- pipgrip-0.10.5.dist-info/METADATA,sha256=uVz3Ml_PDUZWjGZIPXVstBVF6odQAD5B1FzEfPOLlDE,16460
34
- pipgrip-0.10.5.dist-info/WHEEL,sha256=m9WAupmBd2JGDsXWQGJgMGXIWbQY3F5c2xBJbBhq0nY,110
35
- pipgrip-0.10.5.dist-info/entry_points.txt,sha256=VGqby8sWTjfkK20Vj_FqBZ_UxBlgmAOzq4rcJLYlRq0,45
36
- pipgrip-0.10.5.dist-info/top_level.txt,sha256=upoyu3ujOmKRvBUtTrwzk58e-r6zJahuT_8-RDsd2p0,8
37
- pipgrip-0.10.5.dist-info/RECORD,,
32
+ pipgrip-0.10.6.dist-info/LICENSE,sha256=0VQx-FY5ohi5oryC-9Xm8b5aacF-dDDuv8TRevRsRqc,1516
33
+ pipgrip-0.10.6.dist-info/METADATA,sha256=CQq5BfZ5jwMmIuL31oA_h3FEoLZE9JkO2S0TloKLjnA,16517
34
+ pipgrip-0.10.6.dist-info/WHEEL,sha256=m9WAupmBd2JGDsXWQGJgMGXIWbQY3F5c2xBJbBhq0nY,110
35
+ pipgrip-0.10.6.dist-info/entry_points.txt,sha256=VGqby8sWTjfkK20Vj_FqBZ_UxBlgmAOzq4rcJLYlRq0,45
36
+ pipgrip-0.10.6.dist-info/top_level.txt,sha256=upoyu3ujOmKRvBUtTrwzk58e-r6zJahuT_8-RDsd2p0,8
37
+ pipgrip-0.10.6.dist-info/RECORD,,