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

precompile: add error for using require_stdlib during precompile #56233

Merged
merged 1 commit into from
Oct 21, 2024

Conversation

vtjnash
Copy link
Member

@vtjnash vtjnash commented Oct 18, 2024

This function could accidentally add a dependency on the stdlib in the user's package, which would make it immediately stale. As pointed out to me by @topolarity

This function could accidentally add a dependency on the stdlib in the
user's package, which would make it immediately stale.
@vtjnash vtjnash added error handling Handling of exceptions by Julia or the user error messages Better, more actionable error messages backport 1.11 Change should be backported to release-1.11 labels Oct 18, 2024
@vtjnash vtjnash requested a review from topolarity October 18, 2024 14:28
Copy link
Member

@topolarity topolarity left a comment

Choose a reason for hiding this comment

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

Thanks! Looks like an important safeguard.

This should resolve #56005 (comment) IIUC

@vtjnash vtjnash merged commit 2188ba4 into master Oct 21, 2024
9 of 10 checks passed
@vtjnash vtjnash deleted the jn/require_stdlib-precompile branch October 21, 2024 15:57
KristofferC pushed a commit that referenced this pull request Oct 29, 2024
)

This function could accidentally add a dependency on the stdlib in the
user's package, which would make it immediately stale. As pointed out to
me by topolarity

(cherry picked from commit 2188ba4)
@KristofferC KristofferC removed the backport 1.11 Change should be backported to release-1.11 label Nov 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
error handling Handling of exceptions by Julia or the user error messages Better, more actionable error messages
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants