Skip to content

Commit 03f76c6

Browse files
authored
Pin dependencies for tpn and 'news' (#8872)
1 parent d84a11e commit 03f76c6

File tree

5 files changed

+58
-8
lines changed

5 files changed

+58
-8
lines changed

news/requirements.in

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
docopt
2+
pytest

news/requirements.txt

Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,20 @@
1-
docopt~=0.6.2
2-
pytest>=5.2.0
1+
#
2+
# This file is autogenerated by pip-compile
3+
# To update, run:
4+
#
5+
# pip-compile
6+
#
7+
atomicwrites==1.3.0 # via pytest
8+
attrs==19.3.0 # via pytest
9+
colorama==0.4.1 # via pytest
10+
docopt==0.6.2
11+
importlib-metadata==1.1.0 # via pluggy, pytest
12+
more-itertools==8.0.0 # via pytest, zipp
13+
packaging==19.2 # via pytest
14+
pluggy==0.13.1 # via pytest
15+
py==1.8.0 # via pytest
16+
pyparsing==2.4.5 # via packaging
17+
pytest==5.3.1
18+
six==1.13.0 # via packaging
19+
wcwidth==0.1.7 # via pytest
20+
zipp==0.6.0 # via importlib-metadata

tpn/requirements.in

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
aiohttp
2+
docopt
3+
pytest
4+
pytest-asyncio
5+
pytoml

tpn/requirements.txt

Lines changed: 28 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,28 @@
1-
aiohttp~=3.4.4
2-
docopt~=0.6.2
3-
pytest~=3.6.0
4-
pytest-asyncio~=0.8.0
5-
pytoml~=0.1.15
1+
#
2+
# This file is autogenerated by pip-compile
3+
# To update, run:
4+
#
5+
# pip-compile
6+
#
7+
aiohttp==3.6.2
8+
async-timeout==3.0.1 # via aiohttp
9+
atomicwrites==1.3.0 # via pytest
10+
attrs==19.3.0 # via aiohttp, pytest
11+
chardet==3.0.4 # via aiohttp
12+
colorama==0.4.1 # via pytest
13+
docopt==0.6.2
14+
idna==2.8 # via yarl
15+
importlib-metadata==1.1.0 # via pluggy, pytest
16+
more-itertools==8.0.0 # via pytest, zipp
17+
multidict==4.6.1 # via aiohttp, yarl
18+
packaging==19.2 # via pytest
19+
pluggy==0.13.1 # via pytest
20+
py==1.8.0 # via pytest
21+
pyparsing==2.4.5 # via packaging
22+
pytest-asyncio==0.10.0
23+
pytest==5.3.1
24+
pytoml==0.1.21
25+
six==1.13.0 # via packaging
26+
wcwidth==0.1.7 # via pytest
27+
yarl==1.4.1 # via aiohttp
28+
zipp==0.6.0 # via importlib-metadata

tpn/tpn/npm.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,9 @@ async def fill_in_licenses(requested_projects):
109109
failures = {}
110110
names = list(requested_projects.keys())
111111
urls = (requested_projects[name].url for name in names)
112-
async with aiohttp.ClientSession(connector=aiohttp.TCPConnector(verify_ssl=False)) as session:
112+
async with aiohttp.ClientSession(
113+
connector=aiohttp.TCPConnector(ssl=False)
114+
) as session:
113115
tasks = (_fetch_license(session, url) for url in urls)
114116
for name, license_or_exc in zip(names, await asyncio.gather(*tasks)):
115117
details = requested_projects[name]

0 commit comments

Comments
 (0)