-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Switch to extensions instead of requires for datasets (#24)
* Switch to extensions instead of requires for datasets * Move all array interface implementations to extensions This moves everything from using Requires to the new extensions setup. * Switch the array tests to testitems This ensures, that the tests for different backends are independent. * Remove the Requires setup for lower julia versions We decided to only support julia versions larger than 1.9 * Switch CI to test on julia 1.9 instead of 1.6 When we restrict the Julia version to 1.9 we should also stop testing on 1.6 * Remove Zarr and NetCDF as dependencies * Remove AxisIndices This seems to be not maintained anymore with the last commit three years ago * Stop tracking Manifest.toml * Remove AxisIndices also from test environment * Add testing on nightly * Bump version to 0.7.0
- Loading branch information
1 parent
c9d7d6d
commit d779f74
Showing
20 changed files
with
1,061 additions
and
230 deletions.
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
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 |
---|---|---|
|
@@ -3,3 +3,4 @@ | |
*.jl.mem | ||
/deps/deps.jl | ||
/docs/build | ||
Manifest.toml |
This file was deleted.
Oops, something went wrong.
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,16 +1,38 @@ | ||
name = "YAXArrayBase" | ||
uuid = "90b8fcef-0c2d-428d-9c56-5f86629e9d14" | ||
authors = ["Fabian Gans <fgans@bgc-jena.mpg.de>"] | ||
version = "0.6.1" | ||
version = "0.7.0" | ||
|
||
[deps] | ||
DataStructures = "864edb3b-99cc-5e75-8d2d-829cb0a9cfe8" | ||
Dates = "ade2ca70-3891-5945-98fb-dc099432e06a" | ||
Downloads = "f43a241f-c20a-4ad4-852c-f6b1247861c6" | ||
Requires = "ae029012-a4dd-5104-9daa-d747884805df" | ||
|
||
|
||
[compat] | ||
DataStructures = "0.17, 0.18" | ||
Requires = "1" | ||
julia = "1.6" | ||
DataStructures = "0.17,0.18" | ||
julia = "1.9" | ||
ArchGDAL = "0.10" | ||
AxisArrays = "0.4" | ||
AxisKeys = "0.2" | ||
DimensionalData = "0.24" | ||
NetCDF = "0.11" | ||
Zarr = "0.8" | ||
|
||
[extensions] | ||
ArchGDALExt = "ArchGDAL" | ||
AxisArraysExt = "AxisArrays" | ||
AxisKeysExt = "AxisKeys" | ||
DimensionalDataExt = "DimensionalData" | ||
NamedDimsExt = "NamedDims" | ||
NetCDFExt = "NetCDF" | ||
ZarrExt = "Zarr" | ||
|
||
[weakdeps] | ||
ArchGDAL = "c9ce4bd3-c3d5-55b8-8973-c0e20141b8c3" | ||
AxisArrays = "39de3d68-74b9-583c-8d2d-e117c070f3a9" | ||
AxisKeys = "94b1ba4f-4ee9-5380-92f1-94cde586c3c5" | ||
DimensionalData = "0703355e-b756-11e9-17c0-8b28908087d0" | ||
NamedDims = "356022a1-0364-5f58-8944-0da4b18d706f" | ||
NetCDF = "30363a11-5582-574a-97bb-aa9a979735b9" | ||
Zarr = "0a941bbe-ad1d-11e8-39d9-ab76183a1d99" |
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 |
---|---|---|
@@ -1,8 +1,11 @@ | ||
using .NamedDims: NamedDimsArray | ||
module NamedDimsExt | ||
using NamedDims: NamedDimsArray | ||
import YAXArrayBase: dimname, dimnames, dimvals, iscontdim, getattributes, getdata, yaxcreate | ||
dimname(a::NamedDimsArray{N},i) where N = N[i] | ||
dimnames(a::NamedDimsArray{N}) where N = N | ||
getdata(a::NamedDimsArray) = parent(a) | ||
function yaxcreate(::Type{<:NamedDimsArray},data, dnames, dvals, atts) | ||
n = ntuple(i->dnames[i],ndims(data)) | ||
NamedDimsArray(data,n) | ||
end | ||
end |
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.
d779f74
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.
@JuliaRegistrator register
d779f74
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.
Registration pull request created: JuliaRegistries/General/112124
Tip: Release Notes
Did you know you can add release notes too? Just add markdown formatted text underneath the comment after the text
"Release notes:" and it will be added to the registry PR, and if TagBot is installed it will also be added to the
release that TagBot creates. i.e.
To add them here just re-invoke and the PR will be updated.
Tagging
After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.
This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:
d779f74
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.
@JuliaRegistrator register
d779f74
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.
Error while trying to register: Version 0.7.0 already exists