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

(fix) exclude Python cache files/folders from sdist #3381

Merged
merged 1 commit into from
Aug 14, 2024

Conversation

tobitege
Copy link
Collaborator

What is the problem that this fixes or functionality that this introduces? Does it fix any open issues?

Fixes #3169 to avoid permission errors upon call of build (sdist)


Give a summary of what the PR does, explaining any non-trivial design decisions

Added special manifest file to exclude Python cache files and folders from sdist.
These cache files are not needed, but can cause errors at runtime due to different file permissions.


Other references

@tobitege tobitege added enhancement New feature or request severity:critical Affecting all users labels Aug 14, 2024
Copy link
Contributor

@neubig neubig left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, hope it fixes the issue!

@neubig neubig merged commit 19bc061 into All-Hands-AI:main Aug 14, 2024
2 checks passed
@tobitege tobitege deleted the add-manifest branch August 14, 2024 11:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request severity:critical Affecting all users
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug]: Build failed: CompletedProcess(args=['python', '-m', 'build', '-s', '/app'], returncode=1)
2 participants