Revisions of python-starlette
- update to 0.37.2: * Add `bytes` to `_RequestData` type #2510. * Revert "Turn `scope["client"]` to `None` on `TestClient` * Remove deprecated `app` argument passed to `httpx.Client` on the `TestClient` #2526. - update to 0.37.1: * Warn instead of raise for missing env file on `Config` #2485. - update to 0.37.0: * Support the WebSocket Denial Response ASGI extension #2041. - update to 0.36.3: * Create `anyio.Event` on async context #2459. - update to 0.36.2: * Upgrade `python-multipart` to `0.0.7` 13e5c26. * Avoid duplicate charset on `Content-Type` #2443. - update to 0.36.1: * Check if "extensions" in scope before checking the extension - update to 0.36.0: * Add support for ASGI `pathsend` extension #2435. * Cancel `WebSocketTestSession` on close #2427. * Raise `WebSocketDisconnect` when `WebSocket.send()` excepts `IOError` #2425. * Raise `FileNotFoundError` when the `env_file` parameter on `Config` is not valid #2422.
Fix tests with modern version of python-anyio https://build.opensuse.org/request/show/1126958 - Override pytest configuration to do not handle warnings as errors.
- Add %{?sle15_python_module_pythons}
Automatic submission by obs-autosubmit
- Disable broken tests for i586 and armv7l. - Update to 0.24.0 * Added - Allow StaticFiles to follow symlinks - Allow Request.form() as a context manager - Add size attribute to UploadFile - Add env_prefix argument to Config - Add template context processors - Support str and datetime on expires parameter on the Response.set_cookie method * Changed - Lazily build the middleware stack - Make the file argument required on UploadFile - Use debug extension instead of custom response template extension * Fixed - Fix url parsing of ipv6 urls on URL.replace
Forwarded request #1056060 from bnavigator - Clean up test dependencies: fastapi pulls this into Staging Ring1, we don't want to pull in more than we want.
- Remove unneeded BuildRequires on contextlib2.
- Update to 0.20.4: - Remove converter from path when generating OpenAPI schema #1648. - Revert "Allow StaticFiles to follow symlinks" #1681. - Fix regression on route paths with colons #1675. - Allow StaticFiles to follow symlinks #1337. - Improve detection of async callables #1444. - Send 400 (Bad Request) when boundary is missing #1617. - Send 400 (Bad Request) when missing "name" field on Content-Disposition header #1643. - Do not send empty data to StreamingResponse on BaseHTTPMiddleware #1609. - Add __bool__ dunder for Secret #1625. - Drop Python 3.6 support #1357 and #1616.
- Update to 0.18.0: * Change default chunk size from 4Kb to 64Kb on FileResponse #1345. * Add support for functools.partial in WebSocketRoute #1356. * Add StaticFiles packages with directory #1350. * Allow environment options in Jinja2Templates #1401. * Allow HEAD method on HttpEndpoint #1346. * Accept additional headers on websocket.accept message #1361 and #1422. * Add reason to WebSocket close ASGI event #1417. * Add headers attribute to UploadFile #1382. * Don't omit Content-Length header for Content-Length: 0 cases #1395. * Don't set headers for responses with 1xx, 204 and 304 status code #1397. * SessionMiddleware.max_age now accepts None, so cookie can last as long as the browser session #1387. * Tweak hashlib.md5() function on FileResponses ETag generation. The parameter usedforsecurity flag is set to False, if the flag is available on the system. This fixes an error raised on systems with FIPS enabled #1366 and #1410. * Fix path_params type on url_path_for() method i.e. turn str into Any #1341. * Host now ignores port on routing #1322. - Set asyncio_mode when running pytest, and stop turning warnings into errors.
Displaying revisions 1 - 20 of 24