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

Pkg tests puts an outdated copy of General in usr/share/registries #3940

Closed
Keno opened this issue Jul 4, 2024 · 0 comments · Fixed by #3941
Closed

Pkg tests puts an outdated copy of General in usr/share/registries #3940

Keno opened this issue Jul 4, 2024 · 0 comments · Fixed by #3941

Comments

@Keno
Copy link
Member

Keno commented Jul 4, 2024

Before:

keno@demeter2:~$ ls -la julia/usr/share/julia/registries
total 0
drwxrwxr-x 1 keno keno   0 Jul  4 18:41 .
drwxrwxr-x 1 keno keno 180 Jul  4 18:29 ..

Then

keno@demeter2:~/julia$ make test-Pkg
Whitespace check found no issues.
This build contains [GPL-2.0+] libs: libcholmod librbio libspqr libumfpack
    JULIA test/Pkg
Running parallel tests with:
  getpid() = 3098280
  nworkers() = 1
  nthreads() = 1
  Sys.CPU_THREADS = 64
  Sys.total_memory() = 755.458 GiB
  Sys.free_memory() = 727.929 GiB

Test  (Worker) | Time (s) | GC (s) | GC % | Alloc (MB) | RSS (MB)
Pkg        (1) |        started at 2024-07-04T18:41:40.414

and shortly thereafter:

total 7608
drwxrwxr-x 1 keno keno      52 Jul  4 18:41 .
drwxrwxr-x 1 keno keno     180 Jul  4 18:29 ..
-rw-rw-r-- 1 keno keno 7786491 Jul  4 18:41 General.tar.gz
-rw-rw-r-- 1 keno keno     129 Jul  4 18:41 General.toml

This is problematic because:

  1. This copy of General doesn't get updated
  2. Having this copy of General present prevents julia from installing the ~/.julia/registries copy (if not already present)
  3. Having only this copy is confusing (Improvements to registry status outputs #3939)
Keno added a commit that referenced this issue Jul 4, 2024
Fixes #3940. HistoryicalStdlibVersions has no dependencies, so the registry should not be required to install it.
IanButterworth added a commit that referenced this issue Jul 22, 2024
* Use more internal Pkg.add api to bypass auto-registry-install

Fixes #3940. HistoryicalStdlibVersions has no dependencies, so the registry should not be required to install it.

* fix hsv version

---------

Co-authored-by: Ian Butterworth <i.r.butterworth@gmail.com>
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 a pull request may close this issue.

1 participant