Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

conda-forge build fails because of too long file name #28

Closed
ltalirz opened this issue May 25, 2018 · 4 comments
Closed

conda-forge build fails because of too long file name #28

ltalirz opened this issue May 25, 2018 · 4 comments

Comments

@ltalirz
Copy link
Member

ltalirz commented May 25, 2018

See https://circleci.com/gh/conda-forge/reentry-feedstock/14?utm_campaign=vcs-integration-link&utm_medium=referral&utm_source=github-build-link

The issue occurs here:
https://github.com/DropD/reentry/blob/f1cd3bfc0a9af5d2c31fa7a79b9a4208c3ddc019/reentry/config.py#L73

Error message:

py.error.ENAMETOOLONG: [File name too long]: open('/home/conda/.config/reentry/data/home.conda.feedstock_root.build_artifacts.reentry_1527279672474._test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_.bin.python', 'w')

Once could argue this is more a problem of conda-build than of reentry, still it would be nice to fix it.

@DropD
Copy link
Collaborator

DropD commented Jun 11, 2018

The solution for this might be to use an md5 hash instead of a mangled path for the name.

@ltalirz
Copy link
Member Author

ltalirz commented Jun 17, 2018

jep... as long as this isn't fixed, reentry won't be on conda-forge.

@ltalirz
Copy link
Member Author

ltalirz commented Sep 14, 2018

from version 1.2.0 onwards, reentry cannot even be imported in the conda test environment anymore... and conda-forge requires at least some test.
I.e. we are truly stuck

@ltalirz
Copy link
Member Author

ltalirz commented Nov 16, 2018

Fixed in #37

@ltalirz ltalirz closed this as completed Nov 16, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants