You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
pySPEDAS was the biggest package requiring <1.0.0.
GeospaceLAB was pinned to 0.6.1 because after that it requires >=1.0.0.
Update Dec 5, 2024:
The CDFlib version is no longer pinned because it no longer causes conflicts. HOWEVER, I'm keeping this open out of an abundance of caution, since it's possible some packages haven't realized v1.0.0+ might break their code. And the backwards compatibility trick commented below could help them (and I don't wanna forget about it).
The text was updated successfully, but these errors were encountered:
Viresclient found a solution to support cdflib before and after the 1.0 release (see this commit):
@staticmethoddef_get_attr_or_key(obj, attr):
# Used to work around cdflib<1 & >=1 support# cdflib>=1 introduces dataclasses in place of some dictsifisinstance(obj, dict):
returnobj.get(attr, None)
else:
returngetattr(obj, attr, None)
This is much nicer than how e.g. GeospaceLAB did it, which was to simply switch from the old syntax to the new (hence issue #4). I think PyHC should recommend other packages that use cdflib do the same:
pySPEDAS (>=0.3.9,<1.0.0) -> (now >=1.2.0)
PyTplot (any)
PyTplot-mpl-temp (<1.0.0) -> (now >=1.2.0)
aidapy (any)
geospaceLAB (>=0.3.20) -> (now >=1.2.3)
solo-epd-loader (any)
themisasi (>=0.3.13)
viresclient (>=0.3.9)
sapols
changed the title
CDFlib pinned to 0.4.9
CDFlib no longer pinned to 0.4.9
Dec 6, 2024
sapols
changed the title
CDFlib no longer pinned to 0.4.9
CDFlib >= 1.0.0 may cause problems
Dec 6, 2024
CDFlib made a major release 1.0.0 with breaking changes June 2023. It's now up to 1.3.2 as of this writing.
Some PyHC packages didn't yet support the new major release so we temporarily pinned the CDFlib version to 0.4.9.
pySPEDAS was the biggest package requiring <1.0.0.
GeospaceLAB was pinned to 0.6.1 because after that it requires >=1.0.0.
Update Dec 5, 2024:
The CDFlib version is no longer pinned because it no longer causes conflicts. HOWEVER, I'm keeping this open out of an abundance of caution, since it's possible some packages haven't realized v1.0.0+ might break their code. And the backwards compatibility trick commented below could help them (and I don't wanna forget about it).
The text was updated successfully, but these errors were encountered: