Revisions of python-starlette

Ana Guerrero's avatar Ana Guerrero (anag+factory) accepted request 1222062 from Nico Krapp's avatar Nico Krapp (nkrapp) (revision 28)
- disable PendingDeprecationWarning
Ana Guerrero's avatar Ana Guerrero (anag+factory) accepted request 1208248 from Steve Kowalik's avatar Steve Kowalik (StevenK) (revision 27)
- Update to 0.41.0:
  * Allow to raise HTTPException before websocket.accept().
  * Add max_part_size to MultiPartParser to limit the size of parts in
    multipart/form-data requests. (bsc#1231689, CVE-2024-47874)
  * Allow use of request.url_for when only "app" scope is available.
  * Avoid regex re-compilation in responses.py and schemas.py.
  * Improve performance of get_route_path by removing regular expression
    usage.
  * Consider FileResponse.chunk_size when handling multiple ranges.
  * Use token_hex for generating multipart boundary strings.
  * Add support for HTTP Range to FileResponse.
  * Close unclosed MemoryObjectReceiveStream in TestClient.
Ana Guerrero's avatar Ana Guerrero (anag+factory) accepted request 1199466 from Dirk Mueller's avatar Dirk Mueller (dirkmueller) (revision 26)
- update to 0.38.5:
  * Schedule `BackgroundTasks` from within `BaseHTTPMiddleware`
    #2688.
- update to 0.38.4:
  * Ensure accurate `root_path` removal in `get_route_path`
    function #2600
- update to 0.38.3:
  * Support for Python 3.13 #2662.
  * Don't poll for disconnects in `BaseHTTPMiddleware` via
    `StreamingResponse` #2620.
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 1193696 from Daniel Garcia's avatar Daniel Garcia (dgarcia) (revision 25)
- Update to 0.38.2:
  * Fix routing.get_name() not to assume all routines have __name__ #2648
- 0.38.1:
  * Revert "Add support for ASGI pathsend extension" #2649.
- 0.38.0:
  * Allow use of memoryview in StreamingResponse and Response #2576
    and #2577.
  * Send 404 instead of 500 when filename requested is too long on
    StaticFiles #2583.
  * Fail fast on invalid Jinja2Template instantiation parameters #2568.
  * Check endpoint handler is async only once #2536.
  * Add proper synchronization to WebSocketTestSession #2597.
Ana Guerrero's avatar Ana Guerrero (anag+factory) accepted request 1170764 from Dirk Mueller's avatar Dirk Mueller (dirkmueller) (revision 24)
- 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.
Ana Guerrero's avatar Ana Guerrero (anag+factory) accepted request 1128182 from Daniel Garcia's avatar Daniel Garcia (dgarcia) (revision 22)
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.
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 1092390 from Dirk Mueller's avatar Dirk Mueller (dirkmueller) (revision 20)
- Add %{?sle15_python_module_pythons}
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 1067461 from Factory Maintainer's avatar Factory Maintainer (factory-maintainer) (revision 17)
Automatic submission by obs-autosubmit
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 1064388 from David Anes's avatar David Anes (david.anes) (revision 16)
- 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
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 1056202 from Matej Cepl's avatar Matej Cepl (mcepl) (revision 15)
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.
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 994423 from Steve Kowalik's avatar Steve Kowalik (StevenK) (revision 11)
- Remove unneeded BuildRequires on contextlib2.
Displaying revisions 1 - 20 of 28
openSUSE Build Service is sponsored by