Skip to content

Conversation

@mtfishman
Copy link
Member

@mtfishman mtfishman commented Oct 11, 2025

Supersedes #1657 and #1674. The idea here is that I don't want to upgrade NDTensors.jl to TypeParameterAccessors.jl v0.4 since it is too annoying to do, but the ITensorBase.jl ecosystem uses TypeParameterAccessors.jl v0.4, and I don't want the compat requirements to conflict if ITensors.jl and ITensorBase.jl are loaded together, so I vendor TypeParameterAccessors.jl v0.3 into this library (i.e. copy it into this codebase directly instead of loading it through the package manager) so it can use its own private version of that codebase.

The vendoring script and strategy is based on https://github.com/JuliaTesting/ExplicitImports.jl/tree/v1.13.2/vendor.

To-do:

  • NDTensors/vendor/run.jl should replace using TypeParametersAccessors with using NDTensors.Vendored.TypeParameterAccessors.
  • Vendor TypeParameterAccessors.jl package extensions.

@mtfishman mtfishman marked this pull request as draft October 11, 2025 01:10
@mtfishman mtfishman changed the title [WIP] [NDTensors] Vendor TypeParameterAccessors.jl [NDTensors] Vendor TypeParameterAccessors.jl Oct 11, 2025
@mtfishman mtfishman marked this pull request as ready for review October 11, 2025 16:39
@mtfishman mtfishman merged commit c510561 into main Oct 11, 2025
13 of 18 checks passed
@mtfishman mtfishman deleted the NDTensors/mf/vendor_typeparameteraccessors2 branch October 11, 2025 17:13
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.

2 participants