FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

set `JULIA_DEPOT_PATH` by damonbayer · Pull Request #3711 · pre-commit/pre-commit · GitHub

set JULIA_DEPOT_PATH - #3711

Merged
asottile merged 1 commit into
pre-commit:mainfrom
damonbayer:dmb_JULIA_DEPOT_PATH
Jul 15, 2026
Merged

set JULIA_DEPOT_PATH#3711
asottile merged 1 commit into
pre-commit:mainfrom
damonbayer:dmb_JULIA_DEPOT_PATH

Conversation

damonbayer commented Jun 16, 2026
edited
Loading

Copy link
Copy Markdown
Contributor

This PR pins Julia's package depot to the per-hook environment directory by setting
JULIA_DEPOT_PATH in get_env_patch, instead of leaving it at its default (~/.julia).

I believe this is required for julia to fully qualify as a second-class language:

- 2nd class - pre-commit requires the user to install the language globally but
will install tools in an isolated fashion (current examples: python, swift,
docker).

This surfaced in a review from @asottile of pre-commit-ci/runner-image#335.

Details about JULIA_DEPOT_PATH are available here.

damonbayer changed the title set JULIA_DEPOT_PATH set JULIA_DEPOT_PATH Jun 16, 2026

Copy link
Copy Markdown
Contributor Author

@asottile are you able to review?

asottile force-pushed the dmb_JULIA_DEPOT_PATH branch 2 times, most recently from 1577634 to b4ec27a Compare July 15, 2026 20:53

asottile left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

asottile enabled auto-merge July 15, 2026 20:54
asottile force-pushed the dmb_JULIA_DEPOT_PATH branch from b4ec27a to 1e7994f Compare July 15, 2026 20:58
asottile merged commit 374d354 into pre-commit:main Jul 15, 2026
30 checks passed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants


Back | FazBrowse Home | New Git URL