GothenburgBitFactory / tasklib

A Python library for interacting with taskwarrior databases.
http://tasklib.readthedocs.org/en/latest/
BSD 3-Clause "New" or "Revised" License
146 stars 27 forks source link

Failing tests #48

Open sanjayankur31 opened 6 years ago

sanjayankur31 commented 6 years ago

Hi!

I was packaging this up for Fedora, but I get lots of failed tests. The complete buildlog is attached. Are these expected?

build.txt

robgolding commented 6 years ago

Hey @sanjayankur31!

Looks like this is an instance of https://github.com/regebro/tzlocal/issues/18 (reported by @tbabej who is also a maintainer of this repo).

I wonder if the system you're using has an issue whereby tzlocal is returning 'local' for the timezone rather than the proper TZ string?

sanjayankur31 commented 6 years ago

It looks like it. On my system, I don't get local, but it's possible that's what one gets on the Fedora builders where locale and so on has not been set. The version in Fedora seems to be outdated, though, so I'll ask the maintainer to update to the lastest release and I hope that the new version will fix it.

I'll leave this open until I can confirm. Thanks!