Commit graph

18 commits

Author SHA1 Message Date
961be891e5 Move output to stderr, pass debug through as an attr 2023-07-05 14:23:37 -06:00
b76b2437b9 Make rezipping wheels optional and off by default 2023-07-05 12:30:47 -06:00
1bf3826f54 Fix: tolerate #! prefixed shebangs 2023-07-05 12:26:16 -06:00
72f82e0ace Do debug printing in JSON since pprint is nonsense 2022-11-26 14:17:20 -07:00
df856aa694 Bugfix: broke dictionary substitution 2022-11-26 14:17:01 -07:00
78cc0d1a87 Convert sources to a mapping 2022-11-21 01:39:42 -07:00
4036c70417 Include the wheel manifests in the manifest 2022-11-21 01:26:19 -07:00
9f84e9f84a Parse out version info and insert it to the manifest 2022-11-21 01:22:56 -07:00
c11c64f557 Tweaks 2022-11-19 23:52:38 -07:00
14e4c7cd82 Use the RECORD file to limit re-zipped files 2021-09-25 01:13:51 -06:00
2d7d9db257 Disable sandboxing so Zapp! can cache rebuilt wheels 2021-09-25 01:12:47 -06:00
d75c1a2f95 Lint. 2021-09-25 01:07:19 -06:00
d794b63d71 Remove FIXME documented as #8 2021-09-25 01:06:41 -06:00
9761b5c6d3 Enable zapp to chew through whls with source file conflicts 2021-09-24 22:43:52 -06:00
e5ff423318 Implement zip_safe=False support 2021-08-29 21:10:30 -06:00
a68c09d6b1 Fix PEP-425 defined tag shrinking 2021-08-29 16:34:46 -06:00
5b0062468f Implement re-zipping unzipped wheels
This patch teaches Zapp! to introspect the `sources` of a manifest, and
look for the well-known `WHEEL` file(s) indicative of an
unzipped/installed wheel in the input sources. A wheel can be (somewhat*)
correctly reassembled by zipping its unzipped state, so in the presence
of unzipped wheels Zapp! will re-zip them and enter them into the
manifest appropriately for inclusion.

This fixes #6 the nasty way, as there's no good way to make
`rules_python` provide wheel dependencies or to translate unrolled
wheels back to wheels during rule execution as this would violate
Bazel's file dependency model.
2021-08-29 15:07:56 -06:00
ea9c274cf4 Zapp! v0.1.0 2021-08-09 09:26:06 -06:00