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
The text was updated successfully, but these errors were encountered:
arnaudh
changed the title
TypeError: in new, expected Union{Nothing, DateTime}, got a value of type Int64
[CI] TypeError: in new, expected Union{Nothing, DateTime}, got a value of type Int64
Oct 18, 2021
#114 won't fix really.
But it will make it easier to not load using the wrong version of TimeZones.
But even without that you can bound TimeZones.jl to less then 1.6
e.g ~1.1,~1.2,~1.3,~1.4,~1.5, in compat.
Until you can regenerate the data to use new format.
(Ideally, if you plan to keep it for a long time, using some other format that is implementation agnostic like Arrow or CSV)
Yeah, I think for this package we should condition the tests based on the TimeZones version and then update the test files in the future. For other packages, you'll just need to regenerate the .jlso files. I do kind of wonder if we could do some kind of introspection to generate a compat struct when loading types that have changed...? This also happened for a breaking Distributions.jl release about 1 yr ago. We don't seem to hit it that frequently, but it's annoying when we do.
CI test consistently fails, likely due to TimeZones v1.6 which changed the representation of FixedTimeZone.
Last night's job: https://github.com/invenia/JLSO.jl/runs/3921890556?check_suite_focus=true
Potential fix: #114
The text was updated successfully, but these errors were encountered: