-
Bug
-
Resolution: Done
-
Undefined
-
None
-
None
-
None
-
False
-
-
False
-
-
[2802297044] Upstream Reporter: Christian Heimes
Upstream description:
Fromager has a `post_build` hook that gets called when a sdist and wheel have been built. In downstream we use the hook to upload sdist and wheel to an internal package index. Currently, Fromager does not have a hook to deal with pre-built wheels. There is no way to automatically upload pre-built wheels to an internal package index.
Hook name: `pre_built`, `pre_built_wheel`, or similar
Signature: similar to `post_build` hook, but without `sdist_filename` argument```
def pre_built_wheel(
ctx: context.WorkContext,
req: Requirement,
dist_name: str,
dist_version: str,
wheel_filename: pathlib.Path,
) -> None:
pass
```
- links to