Skip to content

Conversation

@ericphanson
Copy link
Member

@ericphanson ericphanson commented Jul 17, 2025

followup to #121

Note we could avoid some of the Wrapper stuff that we did in parsing just to avoid piracy, since adding methods to this AbstractTrees would not be piracy. However I'd rather leave everything the same so we could unvendor easily if we wanted to.

We haven't had specific issues with AbstractTrees but I do like the idea of ExplicitImports having no external compat restrictions so in its app usage or similar it can analyze any package (even a hypothetical AbstractTrees v0.5).

This leaves only PrecompileTools, Pkg, Markdown, and TOML as deps. We could vendor Markdown and TOML but I don't think there's currently really any benefit as we do not have restrictive compatibility needs with them (and I don't think they are freely upgradable yet anyway). I don't think we should vendor PrecompileTools or Pkg as they need Julia-version-specific functionality.

So this PR would close the loop on vendoring/compatibility/deps at this point.

@ericphanson ericphanson marked this pull request as ready for review July 19, 2025 15:55
@ericphanson
Copy link
Member Author

IMO this is much less important than JuliaSyntax but the cost of vendoring 1 more dependency-free package is not high (need to run the update script sometimes anyway for JuliaSyntax) and this will prevent compat issues if AbstractTrees has a breaking release. So I think I will merge it too.

Base automatically changed from eph/vendor-js to main July 19, 2025 16:01
@ericphanson ericphanson merged commit 6334d68 into main Jul 19, 2025
6 checks passed
@ericphanson ericphanson deleted the eph/vendor-abstract-trees branch July 19, 2025 16:10
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.

1 participant