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
Copy file name to clipboardExpand all lines: python/private/py_library.bzl
+6-2Lines changed: 6 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -92,14 +92,18 @@ won't be understood as namespace packages; they'll be seen as regular packages.
92
92
likely lead to conflicts with other targets that contribute to the namespace.
93
93
94
94
:::{tip}
95
-
This attributes populates {obj}`PyInfo.venv_symlinks`, which is
96
-
a topologically ordered depset. This means dependencies closer and earlier
95
+
This attributes populates {obj}`PyInfo.venv_symlinks` a custom ordered depset - third party dependencies come first when the depsets are merged. This means dependencies closer and earlier
97
96
to a consumer have precedence. See {obj}`PyInfo.venv_symlinks` for
98
97
more information.
99
98
:::
100
99
101
100
:::{versionadded} 1.4.0
102
101
:::
102
+
:::{versionchanged} VERSION_NEXT_FEATURE
103
+
The topological order has been reverted and instead we merge the depsets for all of the
104
+
targets in the {attr}`py_library.deps` in a particular way - first merging depsets
105
+
of the third-party PyPI dependencies and then merging the first-party dependencies.
0 commit comments