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

use shorter extension names #190

Merged
merged 1 commit into from
Jan 8, 2025
Merged

use shorter extension names #190

merged 1 commit into from
Jan 8, 2025

Conversation

aplavin
Copy link
Member

@aplavin aplavin commented Jan 7, 2025

The shorter names have been recommended for quite some time already, see https://pkgdocs.julialang.org/v1/creating-packages/#Conditional-loading-of-code-in-packages-(Extensions). Actually, there was only a short period of time early during 1.9 version, when some tooling didn't work with these shorter names. Now, they only serve to clutter precompilation output :)

Copy link
Member

@jw3126 jw3126 left a comment

Choose a reason for hiding this comment

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

LGTM

Comment on lines 19 to 23
if !isdefined(Base, :get_extension)
include("../ext/AccessorsDatesExt.jl")
include("../ext/AccessorsLinearAlgebraExt.jl")
include("../ext/AccessorsTestExt.jl")
include("../ext/DatesExt.jl")
include("../ext/LinearAlgebraExt.jl")
include("../ext/TestExt.jl")
end
Copy link
Member

Choose a reason for hiding this comment

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

Not this PR. But what do you think about bumping julia version to the current LTS 1.10 and getting rid of Requires and other legacy compat?

Copy link
Member Author

Choose a reason for hiding this comment

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

Yes, can easily be done now that it's the lts!

@aplavin aplavin merged commit 94441d0 into master Jan 8, 2025
20 of 24 checks passed
@aplavin aplavin deleted the patch-2 branch January 8, 2025 12:19
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