Skip to content

Commit

Permalink
pin pendulum to a version that will install on Windows.
Browse files Browse the repository at this point in the history
Should be unpinned if python-pendulum/pendulum#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.
  • Loading branch information
Wooble committed May 22, 2019
1 parent 01a5da5 commit 304f7d8
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit 304f7d8

Please sign in to comment.