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

Move ConstructionBase dependency to an extension on 1.9+ #112

Merged
merged 4 commits into from
May 23, 2024

Conversation

ararslan
Copy link
Member

The dependency on ConstructionBase serves to provide a few convenience methods for users of packages like Accessors; it doesn't provide any functionality used directly by Legolas. This makes it a perfect candidate for a package extension.

Package extensions are new in Julia 1.9, and Legolas currently supports Julia 1.6. That means that we can't fully remove ConstructionBase as a direct dependency yet, but we can restructure things to make that as easy as possible once we drop support for earlier Julia versions.

@ararslan ararslan requested review from jrevels and omus as code owners March 31, 2024 19:32
@ararslan ararslan force-pushed the aa/constructionbaseext branch from 29ff30d to 5dafa5e Compare March 31, 2024 20:24
The dependency on ConstructionBase serves to provide a few convenience
methods for users of packages like Accessors; it doesn't provide any
functionality used directly by Legolas. This makes it a perfect
candidate for a package extension.

Package extensions are new in Julia 1.9, and Legolas currently supports
Julia 1.6. That means that we can't fully remove ConstructionBase as a
direct dependency yet, but we can restructure things to make that as
easy as possible once we drop support for earlier Julia versions.
Requires adding stdlib entries to `[compat]`
@ararslan ararslan force-pushed the aa/constructionbaseext branch from 5dafa5e to cddbea6 Compare March 31, 2024 20:37
ext/LegolasConstructionBaseExt.jl Outdated Show resolved Hide resolved
src/Legolas.jl Outdated Show resolved Hide resolved
@omus
Copy link
Member

omus commented May 22, 2024

Needs a version bump

@ararslan ararslan merged commit 770e615 into main May 23, 2024
6 checks passed
@ararslan ararslan deleted the aa/constructionbaseext branch May 23, 2024 00:35
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