@@ -330,6 +330,7 @@ def get_package_versions(
330
330
except RemoteNotFetchedException as e :
331
331
print (f"Failed to fetch PyPI package { name } @ { version } info from { index_url } : { e } " )
332
332
333
+
333
334
################################################################################
334
335
#
335
336
# Core models
@@ -1617,6 +1618,7 @@ def tags(self):
1617
1618
)
1618
1619
)
1619
1620
1621
+
1620
1622
################################################################################
1621
1623
#
1622
1624
# PyPI repo and link index for package wheels and sources
@@ -1801,6 +1803,7 @@ def from_url(cls, url=ABOUT_BASE_URL, _LINKS_REPO={}):
1801
1803
_LINKS_REPO [url ] = cls (url = url )
1802
1804
return _LINKS_REPO [url ]
1803
1805
1806
+
1804
1807
################################################################################
1805
1808
# Globals for remote repos to be lazily created and cached on first use for the
1806
1809
# life of the session together with some convenience functions.
@@ -1834,6 +1837,7 @@ def get_pypi_package(name, version, index_url, verbose=TRACE_DEEP):
1834
1837
except RemoteNotFetchedException as e :
1835
1838
print (f"Failed to fetch PyPI package { name } @ { version } info from { index_url } : { e } " )
1836
1839
1840
+
1837
1841
################################################################################
1838
1842
#
1839
1843
# Basic file and URL-based operations using a persistent file-based Cache
@@ -1994,6 +1998,7 @@ def fetch_and_save_path_or_url(
1994
1998
fo .write (content )
1995
1999
return content
1996
2000
2001
+
1997
2002
################################################################################
1998
2003
# Requirements processing
1999
2004
################################################################################
@@ -2031,6 +2036,7 @@ def get_required_packages(
2031
2036
print (" get_required_packages: name:" , name , "version:" , version )
2032
2037
yield repo .get_package (name , version )
2033
2038
2039
+
2034
2040
################################################################################
2035
2041
# Functions to update or fetch ABOUT and license files
2036
2042
################################################################################
@@ -2181,6 +2187,7 @@ def get_other_dists(_package, _dist):
2181
2187
lic_errs = "\n " .join (lic_errs )
2182
2188
print (f"Failed to fetch some licenses:: { lic_errs } " )
2183
2189
2190
+
2184
2191
################################################################################
2185
2192
#
2186
2193
# Functions to build new Python wheels including native on multiple OSes
@@ -2311,9 +2318,9 @@ def build_wheels_locally_if_pure_python(
2311
2318
"--wheel-dir" ,
2312
2319
wheel_dir ,
2313
2320
]
2314
- + deps
2315
- + verbose
2316
- + [requirements_specifier ]
2321
+ + deps
2322
+ + verbose
2323
+ + [requirements_specifier ]
2317
2324
)
2318
2325
2319
2326
print (f"Building local wheels for: { requirements_specifier } " )
0 commit comments