Bug 1782857 - Ignore (drive letter, on Windows) case in Python path. r=firefox-build-system-reviewers,ahochheiden

Differential Revision: https://phabricator.services.mozilla.com/D153546
This commit is contained in:
Nick Alexander 2022-08-03 14:29:52 +00:00
Родитель 124b0f048d
Коммит 78a085fbe8
1 изменённых файлов: 2 добавлений и 1 удалений

Просмотреть файл

@ -162,7 +162,8 @@ class MozSiteMetadata:
and self.hex_version == other.hex_version
and self.site_name == other.site_name
and self.mach_site_packages_source == other.mach_site_packages_source
and self.original_python.python_path == other.original_python.python_path
# On Windows, execution environment can lead to different cases. Normalize.
and Path(self.original_python.python_path) == Path(other.original_python.python_path)
)
@classmethod