You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# has name_version and just name as specified in local_wheels# used to warn the user if a name is specified but version does not matchspecified_local_wheels=set()
# Override per-file with given local wheel labelsforfilename, local_labelinself.local_wheels.items():
name, version, _, _=parse_wheel_filename(filename)
specified_local_wheels.add(name)
specified_local_wheels.add(f"{name}_{version}")
if (package.name, package.version) == (name, version):
package_sources[filename] =PackageSource(label=local_label)
ifpackage.nameinspecified_local_wheelsandf"{package.name}_{package.version}"notinspecified_local_wheels:
print(f"WARNING: {package.name} is specified in local_wheels but version does not match version {package.version} of package used in lock file.")
The text was updated successfully, but these errors were encountered:
If a local wheel is present with the wrong version there is no indication of why its not used
leaving this here as a comment in case someone in the future gets stumped by this
to make it more obvious you can replace
rules_pycross/pycross/private/tools/bzl_lock_generator.py
Lines 238 to 242 in 757033f
with the following
The text was updated successfully, but these errors were encountered: