Skip to content

Commit 1dba030

Browse files
committed
build: pin windows-only transitive dependencies
1 parent b076ffe commit 1dba030

File tree

5 files changed

+35
-2
lines changed

5 files changed

+35
-2
lines changed

requirements/kit.in

+6
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,9 @@ build
1111
cibuildwheel
1212
setuptools
1313
wheel
14+
15+
# Build has a windows-only dependency on colorama:
16+
# https://github.com/pypa/build/blob/main/setup.cfg#L32
17+
# colorama;os_name == "nt"
18+
# We copy it here so it can get pinned.
19+
colorama

requirements/light-threads.in

+4-1
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,11 @@
33

44
-c pins.pip
55

6-
# The light-threads packages we test against
6+
# The light-threads packages we test against.
77

88
eventlet
99
gevent
1010
greenlet
11+
12+
# gevent needs cffi, but only on Windows, not sure why.
13+
cffi>=1.12.2

requirements/pins.pip

+5
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,8 @@
99

1010
# https://github.com/jazzband/pip-tools/issues/1617
1111
pip<22.1
12+
13+
# requests gets different versions in dev.pip and doc/requirements.pip, not
14+
# sure why, and they then ask for different versions of certifi, and we can't
15+
# install, so pin certifi.
16+
certifi==2022.5.18.1

requirements/pytest.in

+14-1
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,17 @@ pytest
1212
pytest-xdist
1313
# Use a fork of PyContracts that supports Python 3.9
1414
#PyContracts==1.8.12
15-
git+https://github.com/slorg1/contracts@collections_and_validator
15+
# git+https://github.com/slorg1/contracts@collections_and_validator
16+
https://github.com/slorg1/contracts/archive/c5a6da27d4dc9985f68e574d20d86000880919c3.zip
17+
18+
# Pytest has a windows-only dependency on colorama:
19+
# https://github.com/pytest-dev/pytest/blob/main/setup.cfg#L49
20+
# colorama;sys_platform=="win32"
21+
# We copy it here so it can get pinned.
22+
colorama
23+
24+
# Pytest has a windows-only dependency on atomicwrites:
25+
# https://github.com/pytest-dev/pytest/blob/7.1.2/setup.cfg#L50
26+
# atomicwrites>=1.0;sys_platform=="win32"
27+
# though it's been removed on main.
28+
atomicwrites>=1.0

requirements/tox.in

+6
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,9 @@
88

99
tox
1010
tox-gh-actions
11+
12+
# Tox has a windows-only dependency on colorama:
13+
# https://github.com/tox-dev/tox/blob/master/setup.cfg#L44
14+
# colorama>=0.4.1 ;platform_system=="Windows"
15+
# We copy it here so it can get pinned.
16+
colorama>=0.4.1

0 commit comments

Comments
 (0)