aws / amazon-mwaa-docker-images

Apache License 2.0
27 stars 11 forks source link

Gracefully handles encoding issues in requirements.txt #115

Closed rafidka closed 4 months ago

rafidka commented 4 months ago

Issue #, if available: N/A

Description of changes:

The _requirements_has_constraints currently fails if the user's requirements.txt file is using custom encoding. I updated it such that it uses the auto_decode method from pip package to make sure we support whatever pip supports.


By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.