Skip to content

Commit d6b64ee

Browse files
authored
Merge pull request #433 from dependabot/copilot/update-smoke-python-tests-extras
Add Python extras dependencies to all smoke-python-* tests
2 parents 6c5488e + 40d4dd3 commit d6b64ee

12 files changed

+1184
-320
lines changed

pip-compile/requirements.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
django>=3.1,<4.0
1+
django[argon2]>=3.1,<4.0
22
numpy==1.23.0

pip/multi-dir/bar/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
urllib3==1.0
1+
urllib3[socks]==1.0
22
numpy==1.0

pip/multi-dir/foo/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
urllib3==1.0
2-
Flask==2.0.0
2+
Flask[async]==2.0.0

pip/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
Django>=3.1,<4.0
2-
requests
2+
requests[socks]==2.28.0
33
pyyaml
44
pytest
55
numpy==1.23.0

pipenv/Pipfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ name = "pypi"
55

66
[packages]
77
numpy = "1.25.0"
8+
requests = {version = "==2.28.0", extras = ["socks"]}
89

910
[dev-packages]
1011

poetry/pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ python = "~3.10"
99
toml = "0.10.0"
1010
PyYAML = "^6.0"
1111
numpy = "1.23.0"
12+
requests = {version = "2.28.0", extras = ["socks"]}
1213

1314
[tool.poetry.dev-dependencies]
1415

tests/smoke-python-group-multidir.yaml

Lines changed: 9 additions & 53 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ input:
4242
directories:
4343
- /pip/multi-dir/foo
4444
- /pip/multi-dir/bar
45-
commit: 7b8e1971f18f6a47430796ec0e430e005d2d97f3
45+
commit: 0962713db3cb346a729e68bc86706ac7372f9067
4646
credentials:
4747
- host: github.com
4848
password: $LOCAL_GITHUB_ACCESS_TOKEN
@@ -61,15 +61,15 @@ output:
6161
requirement: ==1.0
6262
source: null
6363
version: "1.0"
64-
- name: flask
64+
- name: flask[async]
6565
requirements:
6666
- file: requirements.txt
6767
groups:
6868
- dependencies
6969
requirement: ==2.0.0
7070
source: null
7171
version: 2.0.0
72-
- name: urllib3
72+
- name: urllib3[socks]
7373
requirements:
7474
- file: requirements.txt
7575
groups:
@@ -91,7 +91,7 @@ output:
9191
- type: create_pull_request
9292
expect:
9393
data:
94-
base-commit-sha: 7b8e1971f18f6a47430796ec0e430e005d2d97f3
94+
base-commit-sha: 0962713db3cb346a729e68bc86706ac7372f9067
9595
dependencies:
9696
- name: urllib3
9797
previous-requirements:
@@ -109,22 +109,6 @@ output:
109109
source: null
110110
version: 1.0.1
111111
directory: /pip/multi-dir/foo
112-
- name: urllib3
113-
previous-requirements:
114-
- file: requirements.txt
115-
groups:
116-
- dependencies
117-
requirement: ==1.0
118-
source: null
119-
previous-version: "1.0"
120-
requirements:
121-
- file: requirements.txt
122-
groups:
123-
- dependencies
124-
requirement: ==1.0.1
125-
source: null
126-
version: 1.0.1
127-
directory: /pip/multi-dir/bar
128112
- name: numpy
129113
previous-requirements:
130114
- file: requirements.txt
@@ -144,7 +128,7 @@ output:
144128
updated-dependency-files:
145129
- content: |
146130
urllib3==1.0.1
147-
Flask==2.0.0
131+
Flask[async]==2.0.0
148132
content_encoding: utf-8
149133
deleted: false
150134
directory: /pip/multi-dir/foo
@@ -153,7 +137,7 @@ output:
153137
support_file: false
154138
type: file
155139
- content: |
156-
urllib3==1.0.1
140+
urllib3[socks]==1.0
157141
numpy==1.3.0
158142
content_encoding: utf-8
159143
deleted: false
@@ -165,30 +149,7 @@ output:
165149
pr-title: Bump the pip group across 2 directories with 2 updates
166150
pr-body: |
167151
Bumps the pip group with 1 update in the /pip/multi-dir/foo directory: [urllib3](https://github.com/urllib3/urllib3).
168-
Bumps the pip group with 2 updates in the /pip/multi-dir/bar directory: [urllib3](https://github.com/urllib3/urllib3) and [numpy](https://github.com/numpy/numpy).
169-
170-
Updates `urllib3` from 1.0 to 1.0.1
171-
<details>
172-
<summary>Changelog</summary>
173-
<p><em>Sourced from <a href="https://github.com/urllib3/urllib3/blob/main/CHANGES.rst">urllib3's changelog</a>.</em></p>
174-
<blockquote>
175-
<h1>1.0.1 (2011-10-10)</h1>
176-
<ul>
177-
<li>Fixed a bug where the same connection would get returned into the pool twice,
178-
causing extraneous &quot;HttpConnectionPool is full&quot; log warnings.</li>
179-
</ul>
180-
</blockquote>
181-
</details>
182-
<details>
183-
<summary>Commits</summary>
184-
<ul>
185-
<li><a href="https://github.com/urllib3/urllib3/commit/9f6e2eaae4b8ef84b6d3dddf55197c4d17946ca1"><code>9f6e2ea</code></a> Version bump to 1.0.1</li>
186-
<li><a href="https://github.com/urllib3/urllib3/commit/231b75492c85692ec307fb9606dbaabff0a80754"><code>231b754</code></a> Added test which fails when double release bug exists.</li>
187-
<li><a href="https://github.com/urllib3/urllib3/commit/9f7306fed618577ca89d0d355e8f51027aaeb54d"><code>9f7306f</code></a> Bug fix: Connection was double-released when preload_content=True.</li>
188-
<li>See full diff in <a href="https://github.com/urllib3/urllib3/compare/1.0...1.0.1">compare view</a></li>
189-
</ul>
190-
</details>
191-
<br />
152+
Bumps the pip group with 1 update in the /pip/multi-dir/bar directory: [numpy](https://github.com/numpy/numpy).
192153
193154
Updates `urllib3` from 1.0 to 1.0.1
194155
<details>
@@ -235,14 +196,9 @@ output:
235196
Bump the pip group across 2 directories with 2 updates
236197
237198
Bumps the pip group with 1 update in the /pip/multi-dir/foo directory: [urllib3](https://github.com/urllib3/urllib3).
238-
Bumps the pip group with 2 updates in the /pip/multi-dir/bar directory: [urllib3](https://github.com/urllib3/urllib3) and [numpy](https://github.com/numpy/numpy).
199+
Bumps the pip group with 1 update in the /pip/multi-dir/bar directory: [numpy](https://github.com/numpy/numpy).
239200
240201
241-
Updates `urllib3` from 1.0 to 1.0.1
242-
- [Release notes](https://github.com/urllib3/urllib3/releases)
243-
- [Changelog](https://github.com/urllib3/urllib3/blob/main/CHANGES.rst)
244-
- [Commits](https://github.com/urllib3/urllib3/compare/1.0...1.0.1)
245-
246202
Updates `urllib3` from 1.0 to 1.0.1
247203
- [Release notes](https://github.com/urllib3/urllib3/releases)
248204
- [Changelog](https://github.com/urllib3/urllib3/blob/main/CHANGES.rst)
@@ -257,4 +213,4 @@ output:
257213
- type: mark_as_processed
258214
expect:
259215
data:
260-
base-commit-sha: 7b8e1971f18f6a47430796ec0e430e005d2d97f3
216+
base-commit-sha: 0962713db3cb346a729e68bc86706ac7372f9067

0 commit comments

Comments
 (0)