Skip to content

Commit

Permalink
Merge pull request #95 from devmotion/dw/linalg
Browse files Browse the repository at this point in the history
Make LinearAlgebra a weak dependency
  • Loading branch information
jw3126 authored Aug 30, 2024
2 parents 1dbfa1a + 11851f9 commit 72bb19d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
4 changes: 3 additions & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,17 +1,19 @@
name = "ConstructionBase"
uuid = "187b0558-2788-49d3-abe0-74a17ed4e7c9"
authors = ["Takafumi Arakaki", "Rafael Schouten", "Jan Weidner"]
version = "1.5.7"
version = "1.5.8"

[deps]
LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"

[weakdeps]
IntervalSets = "8197267c-284f-5f27-9208-e0e47529a953"
LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
StaticArrays = "90137ffa-7385-5640-81b9-e52037218182"

[extensions]
ConstructionBaseIntervalSetsExt = "IntervalSets"
ConstructionBaseLinearAlgebraExt = "LinearAlgebra"
ConstructionBaseStaticArraysExt = "StaticArrays"

[compat]
Expand Down
5 changes: 3 additions & 2 deletions src/ConstructionBase.jl
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,8 @@ end
include("nonstandard.jl")
include("functions.jl")

#unconditionally include the extension for now
include("../ext/ConstructionBaseLinearAlgebraExt.jl")
if !isdefined(Base, :get_extension)
include("../ext/ConstructionBaseLinearAlgebraExt.jl")
end

end # module

3 comments on commit 72bb19d

@aplavin
Copy link
Member

@aplavin aplavin commented on 72bb19d Sep 3, 2024

Choose a reason for hiding this comment

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

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

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

Registration pull request created: JuliaRegistries/General/114410

Tip: Release Notes

Did you know you can add release notes too? Just add markdown formatted text underneath the comment after the text
"Release notes:" and it will be added to the registry PR, and if TagBot is installed it will also be added to the
release that TagBot creates. i.e.

@JuliaRegistrator register

Release notes:

## Breaking changes

- blah

To add them here just re-invoke and the PR will be updated.

Tagging

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:

git tag -a v1.5.8 -m "<description of version>" 72bb19dad11695fd94de66c738db534f89b23878
git push origin v1.5.8

@aplavin
Copy link
Member

@aplavin aplavin commented on 72bb19d Sep 3, 2024

Choose a reason for hiding this comment

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

Let's try! Hope we don't get any warning reports :)

Please sign in to comment.