aspect-build / rules_py

More compatible Bazel rules for running Python tools and building Python projects
Apache License 2.0
86 stars 29 forks source link

[Bug]: Build of venv is not deterministic #433

Open thesayyn opened 2 weeks ago

thesayyn commented 2 weeks ago

What happened?

While adding transitions to py_image_layer i noticed that build of venv tool is not reproducible across different platforms even though the target platform is the same.

2458c2458
< -rwxr-xr-x  0 0      0    13195120 Jan  1  2023 ./py/tests/py_image_layer/my_app_bin.runfiles/aspect_rules_py/py/tools/venv_bin/venv_linux_x86_64_build
---
> -rwxr-xr-x  0 0      0    13204192 Jan  1  2023 ./py/tests/py_image_layer/my_app_bin.runfiles/aspect_rules_py/py/tools/venv_bin/venv_linux_x86_64_build

Version

Development (host) and target OS/architectures:

Output of bazel --version:

Version of the Aspect rules, or other relevant rules from your WORKSPACE or MODULE.bazel file:

Language(s) and/or frameworks involved:

How to reproduce

No response

Any other information?

No response