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

Disable AvailabilityTest checking for skipping install of packages #1037

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "GAP"
uuid = "c863536a-3901-11e9-33e7-d5cd0df7b904"
authors = ["Thomas Breuer <sam@math.rwth-aachen.de>", "Sebastian Gutsche <gutsche@mathematik.uni-siegen.de>", "Max Horn <horn@mathematik.uni-kl.de>"]
version = "0.11.2"
version = "0.11.3"

[deps]
Artifacts = "56f22d72-fd6d-98f1-02f0-08ddc0907c33"
Expand Down
12 changes: 0 additions & 12 deletions src/packages.jl
Original file line number Diff line number Diff line change
Expand Up @@ -267,18 +267,6 @@ function install(spec::String, version::String = "";
# then we can still try to install the required version.)
version == string(getproperty(info, spec)[2]) && return true
end
info = Globals.GAPInfo.PackagesInfo
if hasproperty(info, spec)
# The package is not yet loaded but may be available.
# If an available version has the required version number
# then nothing is to do.
for inforec in getproperty(info, spec)
if version == string(getproperty(inforec, :Version))
fun = getproperty(inforec, :AvailabilityTest)
fun() && return true
end
end
end
res = Globals.InstallPackage(GapObj(spec), GapObj(version), interactive; debug)
end
if quiet || debug
Expand Down
Loading