Updated pip_repository data ignore patterns (#632)

diff --git a/python/pip_install/extract_wheels/lib/bazel.py b/python/pip_install/extract_wheels/lib/bazel.py
index ae10dd9..1db5078 100644
--- a/python/pip_install/extract_wheels/lib/bazel.py
+++ b/python/pip_install/extract_wheels/lib/bazel.py
@@ -139,13 +139,22 @@
     there may be no Python sources whatsoever (e.g. packages written in Cython: like `pymssql`).
     """
 
+    # `dist-info` contains non-determinisitc files which can change any time
+    # the repository rules run. Below is a list of known patterns to these
+    # files. However, not all files should be ignored as certain packages
+    # require things like `top_level.txt`.
+    dist_info_ignores = [
+        "**/*.dist-info/METADATA",
+        "**/*.dist-info/RECORD",
+        "**/*.dist-info/WHEEL",
+    ]
+
     data_exclude = list(
         set(
             [
                 "*.whl",
                 "**/__pycache__/**",
                 "**/* *",
-                "**/*.dist-info/**",
                 "**/*.py",
                 "**/*.pyc",
                 "BUILD.bazel",
@@ -153,6 +162,7 @@
                 f"{WHEEL_ENTRY_POINT_PREFIX}*.py",
             ]
             + data_exclude
+            + dist_info_ignores
         )
     )