Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

⬆ Bump uvicorn[standard] from 0.20.0 to 0.31.1 #29

Closed
wants to merge 1 commit into from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Oct 10, 2024

Bumps uvicorn[standard] from 0.20.0 to 0.31.1.

Release notes

Sourced from uvicorn[standard]'s releases.

Version 0.31.1

Fixed

  • Support WebSockets 0.13.1 #2471
  • Restore support for [*] in trusted hosts #2480
  • Add PathLike[str] type hint for ssl_keyfile #2481

Full Changelog: encode/uvicorn@0.31.0...0.31.1

Version 0.31.0

Added

Improve ProxyHeadersMiddleware (#2468) and (#2231):

  • Fix the host for requests from clients running on the proxy server itself.
  • Fallback to host that was already set for empty x-forwarded-for headers.
  • Also allow specifying IP Networks as trusted hosts. This greatly simplifies deployments on docker swarm/Kubernetes, where the reverse proxy might have a dynamic IP.
    • This includes support for IPv6 Address/Networks.

Full Changelog: encode/uvicorn@0.30.6...0.31.0

Version 0.30.6

Fixed

  • Don't warn when upgrade is not WebSocket and depedencies are installed (#2360)

Full Changelog: encode/uvicorn@0.30.5...0.30.6

Version 0.30.5

Fixed

  • Don't close connection before receiving body on H11 (#2408)

Full Changelog: encode/uvicorn@0.30.4...0.30.5

Version 0.30.4

Fixed

  • Close connection when h11 sets client state to MUST_CLOSE #2375

... (truncated)

Changelog

Sourced from uvicorn[standard]'s changelog.

0.31.1 (2024-10-09)

Fixed

  • Support WebSockets 0.13.1 (#2471)
  • Restore support for [*] in trusted hosts (#2480)
  • Add PathLike[str] type hint for ssl_keyfile (#2481)

0.31.0 (2024-09-27)

Added

Improve ProxyHeadersMiddleware (#2468) and (#2231):

  • Fix the host for requests from clients running on the proxy server itself.
  • Fallback to host that was already set for empty x-forwarded-for headers.
  • Also allow to specify IP Networks as trusted hosts. This greatly simplifies deployments on docker swarm/kubernetes, where the reverse proxy might have a dynamic IP.
    • This includes support for IPv6 Address/Networks.

0.30.6 (2024-08-13)

Fixed

  • Don't warn when upgrade is not WebSocket and depedencies are installed (#2360)

0.30.5 (2024-08-02)

Fixed

  • Don't close connection before receiving body on H11 (#2408)

0.30.4 (2024-07-31)

Fixed

  • Close connection when h11 sets client state to MUST_CLOSE (#2375)

0.30.3 (2024-07-20)

Fixed

  • Suppress KeyboardInterrupt from CLI and programmatic usage (#2384)
  • ClientDisconnect inherits from OSError instead of IOError (#2393)

0.30.2 (2024-07-20)

Added

... (truncated)

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [uvicorn[standard]](https://github.com/encode/uvicorn) from 0.20.0 to 0.31.1.
- [Release notes](https://github.com/encode/uvicorn/releases)
- [Changelog](https://github.com/encode/uvicorn/blob/master/CHANGELOG.md)
- [Commits](encode/uvicorn@0.20.0...0.31.1)

---
updated-dependencies:
- dependency-name: uvicorn[standard]
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Oct 10, 2024
Copy link

@sourcery-ai sourcery-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We have skipped reviewing this pull request. Here's why:

  • It seems to have been created by a bot (hey, dependabot[bot]!). We assume it knows what it's doing!
  • We don't review packaging changes - Let us know if you'd like us to change this.

Copy link

PR-Agent was enabled for this repository. To continue using it, please link your git user with your CodiumAI identity here.

CI Failure Feedback 🧐

Action: test (python3.7, 3.7)

Failed stage: Build [❌]

Failure summary:

The action failed due to the following reasons:

  • The pip install command could not find a compatible version of the package uvicorn[standard] with
    the specified version 0.31.1.
  • The available versions of uvicorn require Python version >=3.8, but the environment is using an
    incompatible Python version (likely Python 3.7).
  • The error occurred during the execution of the Dockerfile command RUN pip install --no-cache-dir -r
    /tmp/requirements.txt, resulting in an exit code 1.

  • Relevant error logs:
    1:  ##[group]Operating System
    2:  Ubuntu
    ...
    
    354:  #6 extracting sha256:fcd90443044aa98b4425a1f5b622b8613c789fdcbe1f0fa8028960b5f197434d done
    355:  #6 extracting sha256:fd4ef7ca93e7fe35eb8c300f131cb64aa89ef20a753f16f77d915a6b9de9b3b0 done
    356:  #6 extracting sha256:9e1c1200e8df77144ffffd517ed421cca48a64dcae604445f901452b332b7c9a done
    357:  #6 extracting sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 done
    358:  #6 DONE 12.9s
    359:  #7 [2/4] COPY requirements.txt /tmp/requirements.txt
    360:  #7 DONE 0.0s
    361:  #8 [3/4] RUN pip install --no-cache-dir -r /tmp/requirements.txt
    362:  #8 1.310 ERROR: Ignored the following versions that require a different python version: 0.23.0 Requires-Python >=3.8; 0.23.1 Requires-Python >=3.8; 0.23.2 Requires-Python >=3.8; 0.24.0 Requires-Python >=3.8; 0.24.0.post1 Requires-Python >=3.8; 0.25.0 Requires-Python >=3.8; 0.26.0 Requires-Python >=3.8; 0.27.0 Requires-Python >=3.8; 0.27.0.post1 Requires-Python >=3.8; 0.27.1 Requires-Python >=3.8; 0.28.0 Requires-Python >=3.8; 0.28.1 Requires-Python >=3.8; 0.29.0 Requires-Python >=3.8; 0.30.0 Requires-Python >=3.8; 0.30.1 Requires-Python >=3.8; 0.30.2 Requires-Python >=3.8; 0.30.3 Requires-Python >=3.8; 0.30.4 Requires-Python >=3.8; 0.30.5 Requires-Python >=3.8; 0.30.6 Requires-Python >=3.8; 0.31.0 Requires-Python >=3.8; 0.31.1 Requires-Python >=3.8
    363:  #8 1.310 ERROR: Could not find a version that satisfies the requirement uvicorn[standard]==0.31.1 (from versions: 0.0.1, 0.0.2, 0.0.3, 0.0.4, 0.0.5, 0.0.6, 0.0.7, 0.0.8, 0.0.9, 0.0.10, 0.0.11, 0.0.12, 0.0.13, 0.0.14, 0.0.15, 0.1.0, 0.1.1, 0.2.0, 0.2.1, 0.2.2, 0.2.3, 0.2.4, 0.2.5, 0.2.6, 0.2.7, 0.2.8, 0.2.9, 0.2.10, 0.2.11, 0.2.12, 0.2.13, 0.2.14, 0.2.15, 0.2.16, 0.2.17, 0.2.18, 0.2.19, 0.2.20, 0.2.21, 0.2.22, 0.3.0, 0.3.1, 0.3.2, 0.3.3, 0.3.4, 0.3.5, 0.3.6, 0.3.7, 0.3.8, 0.3.9, 0.3.10, 0.3.11, 0.3.12, 0.3.13, 0.3.14, 0.3.15, 0.3.16, 0.3.17, 0.3.18, 0.3.19, 0.3.20, 0.3.21, 0.3.22, 0.3.23, 0.3.24, 0.3.25, 0.3.26, 0.3.27, 0.3.28, 0.3.29, 0.3.30, 0.3.31, 0.3.32, 0.4.0, 0.4.1, 0.4.2, 0.4.3, 0.4.4, 0.4.5, 0.4.6, 0.5.0, 0.5.1, 0.5.2, 0.6.0, 0.6.1, 0.7.0b1, 0.7.0b2, 0.7.0, 0.7.1, 0.7.2, 0.7.3, 0.8.0, 0.8.1, 0.8.2, 0.8.3, 0.8.4, 0.8.5, 0.8.6, 0.9.0, 0.9.1, 0.10.0, 0.10.1, 0.10.2, 0.10.3, 0.10.4, 0.10.5, 0.10.6, 0.10.7, 0.10.8, 0.10.9, 0.11.0, 0.11.1, 0.11.2, 0.11.3, 0.11.4, 0.11.5, 0.11.6, 0.11.7, 0.11.8, 0.12.0, 0.12.1, 0.12.2, 0.12.3, 0.13.0, 0.13.1, 0.13.2, 0.13.3, 0.13.4, 0.14.0, 0.15.0, 0.16.0, 0.17.0, 0.17.0.post1, 0.17.1, 0.17.2, 0.17.3, 0.17.4, 0.17.5, 0.17.6, 0.18.0, 0.18.1, 0.18.2, 0.18.3, 0.19.0, 0.20.0, 0.21.0, 0.21.1, 0.22.0)
    364:  #8 1.310 ERROR: No matching distribution found for uvicorn[standard]==0.31.1
    365:  #8 1.413 
    366:  #8 1.413 [notice] A new release of pip is available: 23.0.1 -> 24.0
    367:  #8 1.413 [notice] To update, run: pip install --upgrade pip
    368:  #8 ERROR: process "/bin/sh -c pip install --no-cache-dir -r /tmp/requirements.txt" did not complete successfully: exit code: 1
    369:  ------
    370:  > [3/4] RUN pip install --no-cache-dir -r /tmp/requirements.txt:
    371:  1.310 ERROR: Ignored the following versions that require a different python version: 0.23.0 Requires-Python >=3.8; 0.23.1 Requires-Python >=3.8; 0.23.2 Requires-Python >=3.8; 0.24.0 Requires-Python >=3.8; 0.24.0.post1 Requires-Python >=3.8; 0.25.0 Requires-Python >=3.8; 0.26.0 Requires-Python >=3.8; 0.27.0 Requires-Python >=3.8; 0.27.0.post1 Requires-Python >=3.8; 0.27.1 Requires-Python >=3.8; 0.28.0 Requires-Python >=3.8; 0.28.1 Requires-Python >=3.8; 0.29.0 Requires-Python >=3.8; 0.30.0 Requires-Python >=3.8; 0.30.1 Requires-Python >=3.8; 0.30.2 Requires-Python >=3.8; 0.30.3 Requires-Python >=3.8; 0.30.4 Requires-Python >=3.8; 0.30.5 Requires-Python >=3.8; 0.30.6 Requires-Python >=3.8; 0.31.0 Requires-Python >=3.8; 0.31.1 Requires-Python >=3.8
    372:  1.310 ERROR: Could not find a version that satisfies the requirement uvicorn[standard]==0.31.1 (from versions: 0.0.1, 0.0.2, 0.0.3, 0.0.4, 0.0.5, 0.0.6, 0.0.7, 0.0.8, 0.0.9, 0.0.10, 0.0.11, 0.0.12, 0.0.13, 0.0.14, 0.0.15, 0.1.0, 0.1.1, 0.2.0, 0.2.1, 0.2.2, 0.2.3, 0.2.4, 0.2.5, 0.2.6, 0.2.7, 0.2.8, 0.2.9, 0.2.10, 0.2.11, 0.2.12, 0.2.13, 0.2.14, 0.2.15, 0.2.16, 0.2.17, 0.2.18, 0.2.19, 0.2.20, 0.2.21, 0.2.22, 0.3.0, 0.3.1, 0.3.2, 0.3.3, 0.3.4, 0.3.5, 0.3.6, 0.3.7, 0.3.8, 0.3.9, 0.3.10, 0.3.11, 0.3.12, 0.3.13, 0.3.14, 0.3.15, 0.3.16, 0.3.17, 0.3.18, 0.3.19, 0.3.20, 0.3.21, 0.3.22, 0.3.23, 0.3.24, 0.3.25, 0.3.26, 0.3.27, 0.3.28, 0.3.29, 0.3.30, 0.3.31, 0.3.32, 0.4.0, 0.4.1, 0.4.2, 0.4.3, 0.4.4, 0.4.5, 0.4.6, 0.5.0, 0.5.1, 0.5.2, 0.6.0, 0.6.1, 0.7.0b1, 0.7.0b2, 0.7.0, 0.7.1, 0.7.2, 0.7.3, 0.8.0, 0.8.1, 0.8.2, 0.8.3, 0.8.4, 0.8.5, 0.8.6, 0.9.0, 0.9.1, 0.10.0, 0.10.1, 0.10.2, 0.10.3, 0.10.4, 0.10.5, 0.10.6, 0.10.7, 0.10.8, 0.10.9, 0.11.0, 0.11.1, 0.11.2, 0.11.3, 0.11.4, 0.11.5, 0.11.6, 0.11.7, 0.11.8, 0.12.0, 0.12.1, 0.12.2, 0.12.3, 0.13.0, 0.13.1, 0.13.2, 0.13.3, 0.13.4, 0.14.0, 0.15.0, 0.16.0, 0.17.0, 0.17.0.post1, 0.17.1, 0.17.2, 0.17.3, 0.17.4, 0.17.5, 0.17.6, 0.18.0, 0.18.1, 0.18.2, 0.18.3, 0.19.0, 0.20.0, 0.21.0, 0.21.1, 0.22.0)
    373:  1.310 ERROR: No matching distribution found for uvicorn[standard]==0.31.1
    ...
    
    378:  python3.7.dockerfile:6
    379:  --------------------
    380:  4 |     
    381:  5 |     COPY requirements.txt /tmp/requirements.txt
    382:  6 | >>> RUN pip install --no-cache-dir -r /tmp/requirements.txt
    383:  7 |     
    384:  8 |     COPY ./app /app
    385:  --------------------
    386:  ERROR: failed to solve: process "/bin/sh -c pip install --no-cache-dir -r /tmp/requirements.txt" did not complete successfully: exit code: 1
    387:  ##[group]Reference
    388:  default/default/e4k7tnlxow2dn7rzih8jutjns
    389:  ##[endgroup]
    390:  ##[group]Check build summary support
    391:  Build summary supported!
    392:  ##[endgroup]
    393:  ##[error]buildx failed with: ERROR: failed to solve: process "/bin/sh -c pip install --no-cache-dir -r /tmp/requirements.txt" did not complete successfully: exit code: 1
    

    ✨ CI feedback usage guide:

    The CI feedback tool (/checks) automatically triggers when a PR has a failed check.
    The tool analyzes the failed checks and provides several feedbacks:

    • Failed stage
    • Failed test name
    • Failure summary
    • Relevant error logs

    In addition to being automatically triggered, the tool can also be invoked manually by commenting on a PR:

    /checks "https://github.com/{repo_name}/actions/runs/{run_number}/job/{job_number}"
    

    where {repo_name} is the name of the repository, {run_number} is the run number of the failed check, and {job_number} is the job number of the failed check.

    Configuration options

    • enable_auto_checks_feedback - if set to true, the tool will automatically provide feedback when a check is failed. Default is true.
    • excluded_checks_list - a list of checks to exclude from the feedback, for example: ["check1", "check2"]. Default is an empty list.
    • enable_help_text - if set to true, the tool will provide a help message with the feedback. Default is true.
    • persistent_comment - if set to true, the tool will overwrite a previous checks comment with the new feedback. Default is true.
    • final_update_message - if persistent_comment is true and updating a previous checks message, the tool will also create a new message: "Persistent checks updated to latest commit". Default is true.

    See more information about the checks tool in the docs.

    Copy link

    PR-Agent was enabled for this repository. To continue using it, please link your git user with your CodiumAI identity here.

    CI Failure Feedback 🧐

    Action: check

    Failed stage: Decide whether the needed jobs succeeded or failed [❌]

    Failed test name: test

    Failure summary:

    The action failed because a required job named 'test' did not succeed. The process completed with an
    exit code 1, indicating a failure in the execution of the test job.

    Relevant error logs:
    1:  ##[group]Operating System
    2:  Ubuntu
    ...
    
    63:  �[36;1m  }�[0m
    64:  �[36;1m}�[0m
    65:  �[36;1mEOM�[0m
    66:  �[36;1m)"�[0m
    67:  shell: /usr/bin/bash --noprofile --norc -e -o pipefail {0}
    68:  env:
    69:  PYTHONPATH: /home/runner/work/_actions/re-actors/alls-green/release/v1/src
    70:  ##[endgroup]
    71:  # ❌ Some of the required to succeed jobs failed 😢😢😢
    72:  📝 Job statuses:
    73:  📝 test → ❌ failure [required to succeed]
    74:  ##[error]Process completed with exit code 1.
    

    ✨ CI feedback usage guide:

    The CI feedback tool (/checks) automatically triggers when a PR has a failed check.
    The tool analyzes the failed checks and provides several feedbacks:

    • Failed stage
    • Failed test name
    • Failure summary
    • Relevant error logs

    In addition to being automatically triggered, the tool can also be invoked manually by commenting on a PR:

    /checks "https://github.com/{repo_name}/actions/runs/{run_number}/job/{job_number}"
    

    where {repo_name} is the name of the repository, {run_number} is the run number of the failed check, and {job_number} is the job number of the failed check.

    Configuration options

    • enable_auto_checks_feedback - if set to true, the tool will automatically provide feedback when a check is failed. Default is true.
    • excluded_checks_list - a list of checks to exclude from the feedback, for example: ["check1", "check2"]. Default is an empty list.
    • enable_help_text - if set to true, the tool will provide a help message with the feedback. Default is true.
    • persistent_comment - if set to true, the tool will overwrite a previous checks comment with the new feedback. Default is true.
    • final_update_message - if persistent_comment is true and updating a previous checks message, the tool will also create a new message: "Persistent checks updated to latest commit". Default is true.

    See more information about the checks tool in the docs.

    Copy link
    Contributor Author

    dependabot bot commented on behalf of github Oct 16, 2024

    Superseded by #33.

    @dependabot dependabot bot closed this Oct 16, 2024
    @dependabot dependabot bot deleted the dependabot/pip/uvicorn-standard--0.31.1 branch October 16, 2024 12:09
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    dependencies Pull requests that update a dependency file python Pull requests that update Python code
    Projects
    None yet
    Development

    Successfully merging this pull request may close these issues.

    0 participants