https://flyte.org logo
#ask-the-community
Title
# ask-the-community
r

Richard Li

07/10/2023, 2:37 AM
@Kevin Su Curious if this implementation was intentional? https://github.com/flyteorg/flytekit/blob/db8fd39c8a2254897bc9f2fb9f1505e2e0268540/flytekit/image_spec/image_spec.py#L159-L160 Converting the hash object to string will include the memory address (which differs in every execution), so two identical requirements.txt file will have different hashes. I can submit pr if this is a bug. We just need to use hexdigest() instead of str() I think.
k

Kevin Su

07/10/2023, 10:14 AM
good catch. that’s my bad. yup, create a pr if you get a chance, thanks.