From 304f7d8223628556904e52f3ecd9465ab26ebee2 Mon Sep 17 00:00:00 2001 From: Geoffrey Spear Date: Wed, 22 May 2019 07:32:53 -0400 Subject: [PATCH] pin pendulum to a version that will install on Windows. Should be unpinned if https://github.com/sdispater/pendulum/issues/365 is ever fixed, but right now pycounter won't install cleanly on Windows (including on Appveyor) or anywhere the locale isn't set to use UTF-8. --- setup.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/setup.py b/setup.py index faca9cf..dfbe9b4 100644 --- a/setup.py +++ b/setup.py @@ -13,7 +13,13 @@ with open("README.rst") as readmefile: readme = readmefile.read() -requirements = ["openpyxl", "requests", "six", "pendulum", "click"] +requirements = [ + "openpyxl", + "requests", + "six", + "pendulum==2.0.2", # FIXME: Unpin once poetry fixes its utf-8 issues + "click", +] if platform.python_implementation() == "PyPy": requirements.append("lxml<=3.4.4")