This repository has been archived by the owner on Oct 24, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 41
Warning about repo being archived #344
Merged
Merged
Changes from 17 commits
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
7bb738f
add DeprecationWarning on import
TomNicholas 0191f70
big wrarning in README
TomNicholas 967662d
add big fat warning to docs landing page too
TomNicholas d241cdc
try adding prolog to every page
TomNicholas 8d65f31
rearrange emojis
TomNicholas 64566c0
try updating micromamba action
TomNicholas 9179cf2
also update micromamba for other job
TomNicholas 019418e
fix expected repr diff
TomNicholas 1c48ed5
pin xarray
TomNicholas 0b23e98
pin to earlier version
TomNicholas b53b962
upgrade the python version for docs
keewis aa59a95
require a more recent version of `sphinx`
keewis 47110b4
replace `sphinx-panels` with `sphinx-design`
keewis dbeb958
disable the mypy hook
keewis d9f6d4a
autoupdate hook versions
keewis 6fa3497
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 669a8bf
ignore `flake8` errors that conflict with `black`
keewis 2ed2105
update link in warning to release discussion upstream
TomNicholas fe7e0c2
update links
TomNicholas File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,6 +10,8 @@ ignore = | |
E731 | ||
# line break before binary operator | ||
W503 | ||
E701 | ||
E704 | ||
exclude= | ||
.eggs | ||
doc |
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,4 +13,4 @@ dependencies: | |
- h5netcdf | ||
- zarr | ||
- pip: | ||
- xarray>=2022.05.0.dev0 | ||
- "xarray>=2022.06.0, <=2024.07.0" |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,20 @@ | ||
import warnings | ||
|
||
# import public API | ||
from .datatree import DataTree | ||
from .extensions import register_datatree_accessor | ||
from .io import open_datatree | ||
from .mapping import TreeIsomorphismError, map_over_subtree | ||
from .treenode import InvalidTreeError, NotFoundInTreeError | ||
|
||
warnings.warn( | ||
"The repository `xarray-contrib/datatree` has been archived! It is no longer maintained as of October 2024. " | ||
"Datatree functionality has been migrated upstream to `pydata/xarray`, so please use `xarray.DataTree` instead. " | ||
"To help you migrate there is a guide at https://github.com/pydata/xarray/blob/main/DATATREE_MIGRATION_GUIDE.md", | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. this might be tricky to change since we do plan on moving it out of the |
||
DeprecationWarning, | ||
) | ||
|
||
|
||
try: | ||
# NOTE: the `_version.py` file must not be present in the git repository | ||
# as it is generated by setuptools at install time | ||
|
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,6 +5,18 @@ Datatree | |
|
||
**Datatree is a prototype implementation of a tree-like hierarchical data structure for xarray.** | ||
|
||
# !!! NO LONGER MAINTAINED !!! | ||
|
||
**This repository has been archived and the code is no longer maintained!** | ||
|
||
Datatree has been `merged upstream into pydata/xarray <https://github.com/pydata/xarray/issues/8572>`_, and released as of xarray version `2024.10.0`. | ||
|
||
There will be no further bugfixes or feature additions to this respository. | ||
|
||
Users of this repository should migrate to using `xarray.DataTree` instead, following the `Migration Guide <https://github.com/pydata/xarray/blob/main/DATATREE_MIGRATION_GUIDE.md>`_. | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. same here: should we link to a discussion on the datatree repository? |
||
|
||
The information below is all outdated, and is left only for historical interest. | ||
|
||
Why Datatree? | ||
~~~~~~~~~~~~~ | ||
|
||
|
This file contains 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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.