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

Allow passing a path to GAP.Packages.load #893

Merged
merged 3 commits into from
Jun 20, 2023

Conversation

ThomasBreuer
Copy link
Member

addresses issue #892

@codecov
Copy link

codecov bot commented Jun 13, 2023

Codecov Report

Merging #893 (4b0733a) into master (aac723c) will increase coverage by 0.19%.
The diff coverage is 78.78%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #893      +/-   ##
==========================================
+ Coverage   75.65%   75.84%   +0.19%     
==========================================
  Files          51       51              
  Lines        4115     4157      +42     
==========================================
+ Hits         3113     3153      +40     
- Misses       1002     1004       +2     
Impacted Files Coverage Δ
src/types.jl 80.00% <ø> (ø)
src/packages.jl 77.27% <74.50%> (+8.42%) ⬆️
src/wrappers.jl 98.59% <93.33%> (-1.41%) ⬇️

... and 2 files with indirect coverage changes

@ThomasBreuer ThomasBreuer requested a review from fingolfin June 15, 2023 12:37
@fingolfin fingolfin linked an issue Jun 16, 2023 that may be closed by this pull request
Copy link
Member

@fingolfin fingolfin left a comment

Choose a reason for hiding this comment

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

Great!

src/packages.jl Outdated
#TODO: What shall happen when `spec` is a symbolic link that points to
# the installation path of the loaded package?

# Call `Wrappers.SetPackagePath`.
Copy link
Member

Choose a reason for hiding this comment

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

The comment which indicates Wrappers.SetPackagePath is about to be called comes 7 lines before the actual call, that seems odd?

Suggested change
# Call `Wrappers.SetPackagePath`.

@ThomasBreuer
Copy link
Member Author

ThomasBreuer commented Jun 20, 2023

Two tests with Julia nightly were cancelled after about 18 minutes. The output of "Julia nightly - ubuntu-latest" looks as if the tests were started but did not make progress. (See #905.) Here is the log.

Mon, 19 Jun 2023 21:44:45 GMT
Run julia-actions/julia-runtest@latest
Mon, 19 Jun 2023 21:44:45 GMT
Run echo "JULIA_PKG_SERVER_REGISTRY_PREFERENCE=${JULIA_PKG_SERVER_REGISTRY_PREFERENCE:-eager}" >> ${GITHUB_ENV}
Mon, 19 Jun 2023 21:44:45 GMT
Run # The Julia command that will be executed
Mon, 19 Jun 2023 21:44:46 GMT      Testing GAP
Mon, 19 Jun 2023 21:44:49 GMT       Status `/tmp/jl_05q0Hf/Project.toml`
Mon, 19 Jun 2023 21:44:49 GMT   [4c88cf16] Aqua v0.6.3
Mon, 19 Jun 2023 21:44:49 GMT   [e30172f5] Documenter v0.27.24
Mon, 19 Jun 2023 21:44:49 GMT   [c863536a] GAP v0.9.6 `~/work/GAP.jl/GAP.jl`
Mon, 19 Jun 2023 21:44:49 GMT   [9a3f8284] Random `@stdlib/Random`
Mon, 19 Jun 2023 21:44:49 GMT   [8dfed614] Test `@stdlib/Test`
Mon, 19 Jun 2023 21:44:49 GMT       Status `/tmp/jl_05q0Hf/Manifest.toml`
Mon, 19 Jun 2023 21:44:49 GMT   [a4c015fc] ANSIColoredPrinters v0.0.1
Mon, 19 Jun 2023 21:44:49 GMT   [4c88cf16] Aqua v0.6.3
Mon, 19 Jun 2023 21:44:49 GMT   [34da2185] Compat v4.6.1
Mon, 19 Jun 2023 21:44:49 GMT   [ffbed154] DocStringExtensions v0.9.3
Mon, 19 Jun 2023 21:44:49 GMT   [e30172f5] Documenter v0.27.24
Mon, 19 Jun 2023 21:44:49 GMT   [c863536a] GAP v0.9.6 `~/work/GAP.jl/GAP.jl`
Mon, 19 Jun 2023 21:44:49 GMT   [b5f81e59] IOCapture v0.2.3
Mon, 19 Jun 2023 21:44:49 GMT   [692b3bcd] JLLWrappers v1.4.1
Mon, 19 Jun 2023 21:44:49 GMT   [682c06a0] JSON v0.21.4
Mon, 19 Jun 2023 21:44:49 GMT   [1914dd2f] MacroTools v0.5.10
Mon, 19 Jun 2023 21:44:49 GMT   [69de0a69] Parsers v2.7.0
Mon, 19 Jun 2023 21:44:49 GMT   [fa939f87] Pidfile v1.3.0
Mon, 19 Jun 2023 21:44:49 GMT   [aea7be01] PrecompileTools v1.1.2
Mon, 19 Jun 2023 21:44:49 GMT   [21216c6a] Preferences v1.4.0
Mon, 19 Jun 2023 21:44:49 GMT   [6c6a2e73] Scratch v1.2.0
Mon, 19 Jun 2023 21:44:49 GMT   [5cd7a574] GAP_jll v400.1200.200+2
Mon, 19 Jun 2023 21:44:49 GMT   [de1ad85e] GAP_lib_jll v400.1201.200+0
Mon, 19 Jun 2023 21:44:49 GMT   [ba154793] GAP_pkg_juliainterface_jll v0.800.202+2
Mon, 19 Jun 2023 21:44:49 GMT   [68e3532b] Ncurses_jll v6.2.0+0
Mon, 19 Jun 2023 21:44:49 GMT   [05236dd9] Readline_jll v8.1.1+1
Mon, 19 Jun 2023 21:44:49 GMT   [0dad84c5] ArgTools v1.1.1 `@stdlib/ArgTools`
Mon, 19 Jun 2023 21:44:49 GMT   [56f22d72] Artifacts `@stdlib/Artifacts`
Mon, 19 Jun 2023 21:44:49 GMT   [2a0f44e3] Base64 `@stdlib/Base64`
Mon, 19 Jun 2023 21:44:49 GMT   [ade2ca70] Dates `@stdlib/Dates`
Mon, 19 Jun 2023 21:44:49 GMT   [f43a241f] Downloads v1.6.0 `@stdlib/Downloads`
Mon, 19 Jun 2023 21:44:49 GMT   [7b1f6079] FileWatching `@stdlib/FileWatching`
Mon, 19 Jun 2023 21:44:49 GMT   [b77e0a4c] InteractiveUtils `@stdlib/InteractiveUtils`
Mon, 19 Jun 2023 21:44:49 GMT   [b27032c2] LibCURL v0.6.4 `@stdlib/LibCURL`
Mon, 19 Jun 2023 21:44:49 GMT   [76f85450] LibGit2 `@stdlib/LibGit2`
Mon, 19 Jun 2023 21:44:49 GMT   [8f399da3] Libdl `@stdlib/Libdl`
Mon, 19 Jun 2023 21:44:49 GMT   [56ddb016] Logging `@stdlib/Logging`
Mon, 19 Jun 2023 21:44:49 GMT   [d6f4376e] Markdown `@stdlib/Markdown`
Mon, 19 Jun 2023 21:44:49 GMT   [a63ad114] Mmap `@stdlib/Mmap`
Mon, 19 Jun 2023 21:44:49 GMT   [ca575930] NetworkOptions v1.2.0 `@stdlib/NetworkOptions`
Mon, 19 Jun 2023 21:44:49 GMT   [44cfe95a] Pkg v1.10.0 `@stdlib/Pkg`
Mon, 19 Jun 2023 21:44:49 GMT   [de0858da] Printf `@stdlib/Printf`
Mon, 19 Jun 2023 21:44:49 GMT   [3fa0cd96] REPL `@stdlib/REPL`
Mon, 19 Jun 2023 21:44:49 GMT   [9a3f8284] Random `@stdlib/Random`
Mon, 19 Jun 2023 21:44:49 GMT   [ea8e919c] SHA v0.7.0 `@stdlib/SHA`
Mon, 19 Jun 2023 21:44:49 GMT   [9e88b42a] Serialization `@stdlib/Serialization`
Mon, 19 Jun 2023 21:44:49 GMT   [6462fe0b] Sockets `@stdlib/Sockets`
Mon, 19 Jun 2023 21:44:49 GMT   [fa267f1f] TOML v1.0.3 `@stdlib/TOML`
Mon, 19 Jun 2023 21:44:49 GMT   [a4e569a6] Tar v1.10.0 `@stdlib/Tar`
Mon, 19 Jun 2023 21:44:49 GMT   [8dfed614] Test `@stdlib/Test`
Mon, 19 Jun 2023 21:44:49 GMT   [cf7118a7] UUIDs `@stdlib/UUIDs`
Mon, 19 Jun 2023 21:44:49 GMT   [4ec0a83e] Unicode `@stdlib/Unicode`
Mon, 19 Jun 2023 21:44:49 GMT   [781609d7] GMP_jll v6.2.1+2 `@stdlib/GMP_jll`
Mon, 19 Jun 2023 21:44:49 GMT   [deac9b47] LibCURL_jll v8.0.1+0 `@stdlib/LibCURL_jll`
Mon, 19 Jun 2023 21:44:49 GMT   [29816b5a] LibSSH2_jll v1.10.2+0 `@stdlib/LibSSH2_jll`
Mon, 19 Jun 2023 21:44:49 GMT   [c8ffd9c3] MbedTLS_jll v2.28.2+0 `@stdlib/MbedTLS_jll`
Mon, 19 Jun 2023 21:44:49 GMT   [14a3606d] MozillaCACerts_jll v2023.1.10 `@stdlib/MozillaCACerts_jll`
Mon, 19 Jun 2023 21:44:49 GMT   [83775a58] Zlib_jll v1.2.13+0 `@stdlib/Zlib_jll`
Mon, 19 Jun 2023 21:44:49 GMT   [8e850ede] nghttp2_jll v1.52.0+0 `@stdlib/nghttp2_jll`
Mon, 19 Jun 2023 21:44:49 GMT   [3f19e933] p7zip_jll v17.4.0+0 `@stdlib/p7zip_jll`
Mon, 19 Jun 2023 21:44:52 GMT Precompiling project...
Mon, 19 Jun 2023 21:44:52 GMT   ✓ GMP_jll
Mon, 19 Jun 2023 21:44:52 GMT   ✓ ANSIColoredPrinters
Mon, 19 Jun 2023 21:44:53 GMT   ✓ Compat
Mon, 19 Jun 2023 21:44:53 GMT   ✓ Zlib_jll
Mon, 19 Jun 2023 21:44:53 GMT   ✓ MbedTLS_jll
Mon, 19 Jun 2023 21:44:53 GMT   ✓ DocStringExtensions
Mon, 19 Jun 2023 21:44:54 GMT   ✓ Preferences
Mon, 19 Jun 2023 21:44:54 GMT   ✓ Scratch
Mon, 19 Jun 2023 21:44:55 GMT   ✓ IOCapture
Mon, 19 Jun 2023 21:44:55 GMT   ✓ MacroTools
Mon, 19 Jun 2023 21:44:55 GMT   ✓ LibSSH2_jll
Mon, 19 Jun 2023 21:44:56 GMT   ✓ Test
Mon, 19 Jun 2023 21:44:56 GMT   ✓ PrecompileTools
Mon, 19 Jun 2023 21:44:56 GMT   ✓ JLLWrappers
Mon, 19 Jun 2023 21:44:56 GMT   ✓ Pidfile
Mon, 19 Jun 2023 21:44:56 GMT   ✓ GAP_lib_jll
Mon, 19 Jun 2023 21:44:57 GMT   ✓ Ncurses_jll
Mon, 19 Jun 2023 21:44:58 GMT   ✓ Aqua
Mon, 19 Jun 2023 21:44:58 GMT   ✓ Readline_jll
Mon, 19 Jun 2023 21:44:58 GMT   ✓ GAP_jll
Mon, 19 Jun 2023 21:44:59 GMT   ✓ GAP_pkg_juliainterface_jll
Mon, 19 Jun 2023 21:45:01 GMT   ✓ GAP
Mon, 19 Jun 2023 21:45:06 GMT   ✓ Parsers
Mon, 19 Jun 2023 21:45:07 GMT   ✓ JSON
Mon, 19 Jun 2023 21:45:10 GMT   ✓ Documenter
Mon, 19 Jun 2023 21:45:10 GMT   25 dependencies successfully precompiled in 19 seconds
Mon, 19 Jun 2023 21:45:10 GMT      Testing Running tests...
Mon, 19 Jun 2023 22:03:29 GMT Error: The operation was canceled.

@ThomasBreuer ThomasBreuer merged commit dbe7ad2 into oscar-system:master Jun 20, 2023
@ThomasBreuer ThomasBreuer deleted the TB_load_via_path branch June 20, 2023 13:49
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.

Allow passing a path to GAP.Packages.load
2 participants