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

Make LinearAlgebra a weak dependency #95

Merged
merged 1 commit into from
Aug 30, 2024

Conversation

devmotion
Copy link
Contributor

ConstructionBase doesn't depend on anything (apart from LinearAlgebra currently), so it can't trigger the circular dependency issue. It's completely safe to make LinearAlgebra a weak dependency on all Julia versions that support weak dependencies.

On the contrary, if ConstructionBase keeps LinearAlgebra as a direct dependency, then packages that depend on ConstructionBase and decide to make LinearAlgebra a weak dependency (e.g. Accessors) will run into the circular dependency issue. So a direct dependency on LinearAlgebra in ConstructionBase holds back large parts of the ecosystem.

@jw3126 jw3126 merged commit 72bb19d into JuliaObjects:master Aug 30, 2024
33 of 37 checks passed
@devmotion devmotion deleted the dw/linalg branch August 30, 2024 06:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants