Commit 5f96d9a
Bump djangorestframework-stubs from 3.17.0 to 3.17.1 (#2211)
* Bump djangorestframework-stubs from 3.17.0 to 3.17.1
Bumps [djangorestframework-stubs](https://github.com/typeddjango/djangorestframework-stubs) from 3.17.0 to 3.17.1.
- [Release notes](https://github.com/typeddjango/djangorestframework-stubs/releases)
- [Commits](typeddjango/djangorestframework-stubs@3.17.0...3.17.1)
---
updated-dependencies:
- dependency-name: djangorestframework-stubs
dependency-version: 3.17.1
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
* Fix typing errors with django-stubs 6.0.7
* Support django field signatures across stub versions
* Fix Codecov coverage for django stubs update
* Bump django-stubs to 6.0.7 to satisfy djangorestframework-stubs 3.17.1's constraint
djangorestframework-stubs 3.17.1 requires django-stubs>=6.0.7, causing
pip's ResolutionImpossible against the django-stubs==6.0.6 pin still in
requirements/local.txt. The three preceding commits are the same
django-stubs 6.0.7 mypy fixes already landed on the parallel
django-stubs bump PR.
* Fix mypy union-attr error from djangorestframework-stubs 3.17.1's widened request.data type
3.17.1 widens request.data to dict[str, Any] | list[Any] to match DRF's
real behavior for bulk JSON array payloads, which broke .get() on the
worker-uploads endpoint's metadata-size check. That endpoint only
accepts MultiPartParser, so request.data is always dict-like at
runtime; narrowed with isinstance rather than suppressing the check.
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: JSv4 <scrudato@umich.edu>1 parent b1198e1 commit 5f96d9a
3 files changed
Lines changed: 19 additions & 2 deletions
File tree
- changelog.d
- opencontractserver/worker_uploads
- requirements
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
91 | 91 | | |
92 | 92 | | |
93 | 93 | | |
94 | | - | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
95 | 105 | | |
96 | 106 | | |
97 | 107 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
| 15 | + | |
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| |||
0 commit comments