Skip to content

Commit 43f3b52

Browse files
committed
Don't install black on Cygwin
As of black 23.12.0, installing black builds a wheel on Cygwin, downloading dependencies for the "d" extra (i.e., black[d]), which provides dependencies for running the blackd daemon. This includes dependencies, such as asyncio, whose compilation fails on CI as it is currently set up, fails under some common Cygwin setups (since it needs a C compiler), and even if successful would cause the Cygwin test workflow to take significantly longer to run.
1 parent 68272aa commit 43f3b52

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: test-requirements.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
black
1+
black ; sys_platform != "cygwin"
22
coverage[toml]
33
ddt >= 1.1.1, != 1.4.3
44
mock ; python_version < "3.8"

0 commit comments

Comments
 (0)