Skip to content

Commit c530071

Browse files
committed
only install orjson on cpython, pypy is ok with pure json
1 parent 4302e30 commit c530071

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

requirements.txt

+1-7
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,4 @@ ttfautohint-py==0.5.1
1212

1313
# optional, for experimental reading/writing ufoLib2's UFO as json
1414
cattrs==23.1.2
15-
# orjson currently doesn't ship 32-bit wheels for Windows
16-
# https://github.com/ijl/orjson/issues/409
17-
# platform_machine environment marker returns 'AMD64' on Windows even if Python is 32-bit
18-
# so there's no way to tell pip to install orjson only on 64-bit Win Python; hence
19-
# don't install orjson on Windows (works fine without it using stdlib json module)
20-
# https://stackoverflow.com/a/75411662
21-
orjson==3.9.3
15+
orjson==3.9.3; platform_python_implementation == 'CPython'

0 commit comments

Comments
 (0)