Commit 34ace3c
committed
Make tests compatible with pymongo >= 4.14
mongodb/mongo-python-driver#2413 caused some
test regressions here. This isn't currently a problem for the upstream
test suite since it pins pymongo==4.10.1 via kombu, but we're running
into it in Debian where we've already upgraded pymongo for other
reasons. kombu already tried to upgrade pymongo but had to revert due
to these test regressions (see celery/kombu#2384
and celery#9938).
One of the test fixes (relating to `mongodb_backend_settings`)
illustrates an incompatibility where I couldn't figure out a reasonable
way to avoid passing it through to Celery users, so I added a note to
the documentation about it. It may also be worth including a brief
mention of it in the release notes. Using the canonical case for the
option in question should work with both old and new versions of
pymongo.1 parent 2aebae5 commit 34ace3c
File tree
2 files changed
+39
-19
lines changed- docs/userguide
- t/unit/backends
2 files changed
+39
-19
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1208 | 1208 | | |
1209 | 1209 | | |
1210 | 1210 | | |
| 1211 | + | |
| 1212 | + | |
| 1213 | + | |
| 1214 | + | |
| 1215 | + | |
| 1216 | + | |
1211 | 1217 | | |
1212 | 1218 | | |
1213 | 1219 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
130 | 130 | | |
131 | 131 | | |
132 | 132 | | |
133 | | - | |
134 | | - | |
135 | | - | |
136 | | - | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
137 | 141 | | |
138 | 142 | | |
139 | 143 | | |
140 | 144 | | |
141 | 145 | | |
142 | 146 | | |
143 | | - | |
| 147 | + | |
144 | 148 | | |
145 | 149 | | |
146 | 150 | | |
| |||
149 | 153 | | |
150 | 154 | | |
151 | 155 | | |
152 | | - | |
153 | | - | |
154 | | - | |
155 | | - | |
156 | | - | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
157 | 161 | | |
158 | 162 | | |
159 | 163 | | |
| |||
222 | 226 | | |
223 | 227 | | |
224 | 228 | | |
225 | | - | |
226 | | - | |
227 | | - | |
228 | | - | |
229 | | - | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
230 | 238 | | |
231 | 239 | | |
232 | 240 | | |
| |||
299 | 307 | | |
300 | 308 | | |
301 | 309 | | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
302 | 314 | | |
303 | 315 | | |
304 | 316 | | |
305 | 317 | | |
306 | | - | |
307 | | - | |
| 318 | + | |
308 | 319 | | |
309 | 320 | | |
310 | 321 | | |
| |||
319 | 330 | | |
320 | 331 | | |
321 | 332 | | |
| 333 | + | |
| 334 | + | |
| 335 | + | |
| 336 | + | |
322 | 337 | | |
323 | 338 | | |
324 | | - | |
325 | | - | |
| 339 | + | |
326 | 340 | | |
327 | 341 | | |
328 | 342 | | |
| |||
0 commit comments