Closed 5j9 closed 1 year ago
@5j9 / @hramezani do you know how to fix the build in windows? https://ci.appveyor.com/project/slashmili/python-jalali
If we want to apply this changes, I'd rather to fix the appveyor as well.
@slashmili I just triggered an Appveyor build for this commit and it worked fine: https://ci.appveyor.com/project/5j9/python-jalali
I read somewhere that this particular error may occur if Appveyor's authorization to read your Github account has expired. You may need to revoke the Github access by going to https://ci.appveyor.com/authorizations and then reauthorize it.
Thanks @5j9! It was indeed authorization issue!
…windows
On Windows, zoneinfo relies on tzinfo and without it the tests fail with import error.
Also, rewrite pickle file loading. Previously
open
was using a relative path, which means the path used to depend on the current working directory and could fail if tests were triggered from a wrong directory. The new load_pickle function will handle that.