Closed nikmolnar closed 3 years ago
I found where this class was dropped from frozendict
, but am not clear on whether or not it was intentional: https://github.com/Marco-Sulla/python-frozendict/issues/22
Looks like there is still active conversation on python-frozendict
around this.
Yes, for the moment, I suggest pinning frozendict
to version 1.2
.
The frozendict
dependency is now pinned at 1.2
in gis-metadata-parser
version 1.2.6
.
If your package it's for python 3.6+ and you don't use __reversed__
or move_to_end
, you can safely use from frozendict import frozendict as FrozenOrderedDict
, since frozendict
is based on dict
and dict
is ordered by default since Python 3.6
Thanks for the tip, @Marco-Sulla!
The
frozendict
dependency is listed insetup.py
asfrozendict >= 1.2
. Since 2.0.2 was recently released, it ends up getting installed whenevergis-metadata-parser
is freshly installed. This breaks the library, becausegis-metadata-parser
tries to importFrozenOrderedDict
which no longer exists (or not in the same place).