You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I create a new heroku dyno with the buildpacks: https://github.com/heroku/heroku-buildpack-apt heroku/python
And then I push a commit with an empty requirements.txt and an Aptfile containing:
poppler-utils
I get different results depending on if the file was created in MacOS or Windows. If the file was created in MacOS, everything works as expected, poppler-utils is installed just fine. On a Windows machine, the release contains an error message: E: Unable to locate package poppler-utils.
I noticed that the Windows version of the Aptfile uses CR+LF for linebreaks, while the MacOS version uses LF for linebreaks - I'm assuming that's what's causing the problem, because I can't see any other difference at all.
thanks, this was an issue for me as well. Strangely one package would install and all the rest would fail. It would be great if this buildpack could check for line-ending in the Aptfile and issue a warning or add to the documentation that in must use linux file endings
If I create a new heroku dyno with the buildpacks:
https://github.com/heroku/heroku-buildpack-apt
heroku/python
And then I push a commit with an empty
requirements.txt
and anAptfile
containing:I get different results depending on if the file was created in MacOS or Windows. If the file was created in MacOS, everything works as expected,
poppler-utils
is installed just fine. On a Windows machine, the release contains an error message:E: Unable to locate package poppler-utils
.I noticed that the Windows version of the
Aptfile
uses CR+LF for linebreaks, while the MacOS version uses LF for linebreaks - I'm assuming that's what's causing the problem, because I can't see any other difference at all.hexdump of (non-working) Aptfile from Windows:
hexdump of (working) Aptfile from MacOS:
The text was updated successfully, but these errors were encountered: