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

pydata/xarray as monorepo for Xarray and NamedArray #8310

Open
Tracked by #8238
dcherian opened this issue Oct 14, 2023 · 1 comment
Open
Tracked by #8238

pydata/xarray as monorepo for Xarray and NamedArray #8310

dcherian opened this issue Oct 14, 2023 · 1 comment
Labels
topic-NamedArray Lightweight version of Variable

Comments

@dcherian
Copy link
Contributor

What is your issue?

As we work through refactoring for NamedArray, it's pretty clear that Xarray will depend pretty closely on many files in namedarray/. For example various utils.py, pycompat.py, *ops.py, formatting.py, formatting_html.py at least. This promises to be quite painful if we did break NamedArray out in to its own repo (particularly around typing, e.g. #8309)

I propose we use pydata/xarray as a monorepo that serves two packages: NamedArray and Xarray.

  • We can move as much as is needed to have NamedArray be independent of Xarray, but Xarray will depend quite closely on many utility functions in NamedArray.
  • We can release both at the same time similar to dask and distributed.
  • We can re-evaluate if and when NamedArray grows its own community.
@dcherian dcherian added needs triage Issue that has not been reviewed by xarray team member and removed needs triage Issue that has not been reviewed by xarray team member labels Oct 14, 2023
@github-actions github-actions bot added the needs triage Issue that has not been reviewed by xarray team member label Oct 14, 2023
@TomNicholas
Copy link
Member

Another option would be to make the NamedArray repository a git submodule

@TomNicholas TomNicholas removed the needs triage Issue that has not been reviewed by xarray team member label Oct 14, 2023
@TomNicholas TomNicholas added the topic-NamedArray Lightweight version of Variable label Oct 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic-NamedArray Lightweight version of Variable
Projects
Status: To do
Development

No branches or pull requests

2 participants