Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: encode/starlette
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 0.38.1
Choose a base ref
...
head repository: encode/starlette
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 0.38.2
Choose a head ref
  • 4 commits
  • 39 files changed
  • 5 contributors

Commits on Jul 24, 2024

  1. Fix routing.get_name() not to assume all routines have __name__ (#…

    …2648)
    
    Fix `routing.get_name()` to use the `__name__` attribute only if it is
    actually present, rather than assuming that all routine and class types
    have it, and use the fallback to class name otherwise.  This is
    necessary for `functools.partial()` that doesn't have a `__name__`
    attribute, but is recognized as a routine starting with Python 3.13.0b3.
    Since for older versions of Python, it would have used the fallback
    anyway, this doesn't really change the behavior there.
    
    Fixes #2638
    mgorny authored Jul 24, 2024
    Copy the full SHA
    07427f8 View commit details

Commits on Jul 27, 2024

  1. Bump the python-packages group with 13 updates (#2632)

    * Bump the python-packages group with 13 updates
    
    Bumps the python-packages group with 13 updates:
    
    | Package | From | To |
    | --- | --- | --- |
    | [anyio](https://github.com/agronholm/anyio) | `4.3.0` | `4.4.0` |
    | [coverage](https://github.com/nedbat/coveragepy) | `7.4.3` | `7.5.4` |
    | [importlib-metadata](https://github.com/python/importlib_metadata) | `7.0.1` | `8.0.0` |
    | [mypy](https://github.com/python/mypy) | `1.8.0` | `1.10.1` |
    | [ruff](https://github.com/astral-sh/ruff) | `0.1.15` | `0.5.0` |
    | [typing-extensions](https://github.com/python/typing_extensions) | `4.10.0` | `4.12.2` |
    | [types-pyyaml](https://github.com/python/typeshed) | `6.0.12.12` | `6.0.12.20240311` |
    | [pytest](https://github.com/pytest-dev/pytest) | `8.0.2` | `8.2.2` |
    | [trio](https://github.com/python-trio/trio) | `0.24.0` | `0.25.1` |
    | [mkdocs](https://github.com/mkdocs/mkdocs) | `1.5.3` | `1.6.0` |
    | [mkdocs-material](https://github.com/squidfunk/mkdocs-material) | `9.5.12` | `9.5.27` |
    | [build](https://github.com/pypa/build) | `1.1.1` | `1.2.1` |
    | [twine](https://github.com/pypa/twine) | `5.0.0` | `5.1.1` |
    
    
    Updates `anyio` from 4.3.0 to 4.4.0
    - [Release notes](https://github.com/agronholm/anyio/releases)
    - [Changelog](https://github.com/agronholm/anyio/blob/master/docs/versionhistory.rst)
    - [Commits](agronholm/anyio@4.3.0...4.4.0)
    
    Updates `coverage` from 7.4.3 to 7.5.4
    - [Release notes](https://github.com/nedbat/coveragepy/releases)
    - [Changelog](https://github.com/nedbat/coveragepy/blob/master/CHANGES.rst)
    - [Commits](nedbat/coveragepy@7.4.3...7.5.4)
    
    Updates `importlib-metadata` from 7.0.1 to 8.0.0
    - [Release notes](https://github.com/python/importlib_metadata/releases)
    - [Changelog](https://github.com/python/importlib_metadata/blob/main/NEWS.rst)
    - [Commits](python/importlib_metadata@v7.0.1...v8.0.0)
    
    Updates `mypy` from 1.8.0 to 1.10.1
    - [Changelog](https://github.com/python/mypy/blob/master/CHANGELOG.md)
    - [Commits](python/mypy@v1.8.0...v1.10.1)
    
    Updates `ruff` from 0.1.15 to 0.5.0
    - [Release notes](https://github.com/astral-sh/ruff/releases)
    - [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md)
    - [Commits](astral-sh/ruff@v0.1.15...0.5.0)
    
    Updates `typing-extensions` from 4.10.0 to 4.12.2
    - [Release notes](https://github.com/python/typing_extensions/releases)
    - [Changelog](https://github.com/python/typing_extensions/blob/main/CHANGELOG.md)
    - [Commits](python/typing_extensions@4.10.0...4.12.2)
    
    Updates `types-pyyaml` from 6.0.12.12 to 6.0.12.20240311
    - [Commits](https://github.com/python/typeshed/commits)
    
    Updates `pytest` from 8.0.2 to 8.2.2
    - [Release notes](https://github.com/pytest-dev/pytest/releases)
    - [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst)
    - [Commits](pytest-dev/pytest@8.0.2...8.2.2)
    
    Updates `trio` from 0.24.0 to 0.25.1
    - [Release notes](https://github.com/python-trio/trio/releases)
    - [Commits](python-trio/trio@v0.24.0...v0.25.1)
    
    Updates `mkdocs` from 1.5.3 to 1.6.0
    - [Release notes](https://github.com/mkdocs/mkdocs/releases)
    - [Commits](mkdocs/mkdocs@1.5.3...1.6.0)
    
    Updates `mkdocs-material` from 9.5.12 to 9.5.27
    - [Release notes](https://github.com/squidfunk/mkdocs-material/releases)
    - [Changelog](https://github.com/squidfunk/mkdocs-material/blob/master/CHANGELOG)
    - [Commits](squidfunk/mkdocs-material@9.5.12...9.5.27)
    
    Updates `build` from 1.1.1 to 1.2.1
    - [Release notes](https://github.com/pypa/build/releases)
    - [Changelog](https://github.com/pypa/build/blob/main/CHANGELOG.rst)
    - [Commits](pypa/build@1.1.1...1.2.1)
    
    Updates `twine` from 5.0.0 to 5.1.1
    - [Release notes](https://github.com/pypa/twine/releases)
    - [Changelog](https://github.com/pypa/twine/blob/main/docs/changelog.rst)
    - [Commits](pypa/twine@5.0.0...v5.1.1)
    
    ---
    updated-dependencies:
    - dependency-name: anyio
      dependency-type: direct:production
      update-type: version-update:semver-minor
      dependency-group: python-packages
    - dependency-name: coverage
      dependency-type: direct:production
      update-type: version-update:semver-minor
      dependency-group: python-packages
    - dependency-name: importlib-metadata
      dependency-type: direct:production
      update-type: version-update:semver-major
      dependency-group: python-packages
    - dependency-name: mypy
      dependency-type: direct:production
      update-type: version-update:semver-minor
      dependency-group: python-packages
    - dependency-name: ruff
      dependency-type: direct:production
      update-type: version-update:semver-minor
      dependency-group: python-packages
    - dependency-name: typing-extensions
      dependency-type: direct:production
      update-type: version-update:semver-minor
      dependency-group: python-packages
    - dependency-name: types-pyyaml
      dependency-type: direct:production
      update-type: version-update:semver-patch
      dependency-group: python-packages
    - dependency-name: pytest
      dependency-type: direct:production
      update-type: version-update:semver-minor
      dependency-group: python-packages
    - dependency-name: trio
      dependency-type: direct:production
      update-type: version-update:semver-minor
      dependency-group: python-packages
    - dependency-name: mkdocs
      dependency-type: direct:production
      update-type: version-update:semver-minor
      dependency-group: python-packages
    - dependency-name: mkdocs-material
      dependency-type: direct:production
      update-type: version-update:semver-patch
      dependency-group: python-packages
    - dependency-name: build
      dependency-type: direct:production
      update-type: version-update:semver-minor
      dependency-group: python-packages
    - dependency-name: twine
      dependency-type: direct:production
      update-type: version-update:semver-minor
      dependency-group: python-packages
    ...
    
    Signed-off-by: dependabot[bot] <[email protected]>
    
    * Add all changes needed for bump
    
    * Ignore ResourceWarning
    
    ---------
    
    Signed-off-by: dependabot[bot] <[email protected]>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    Co-authored-by: Marcelo Trylesinski <[email protected]>
    dependabot[bot] and Kludex authored Jul 27, 2024
    Copy the full SHA
    296cab9 View commit details
  2. Create types module inside tests (#2502)

    * Create types module inside tests
    
    * Apply suggestions from code review
    
    * Apply suggestions from code review
    
    * Fix check errors
    
    * Change testclientfactory due to autotest
    
    * No cover fix
    
    * Apply suggestions from code review
    
    * Skip code coverage for TestClientFactory protocol
    
    * Apply suggestions from code review
    
    * Small improvements
    
    * Lint
    
    * Fix everything
    
    ---------
    
    Co-authored-by: Scirlat Danut <[email protected]>
    Co-authored-by: Marcelo Trylesinski <[email protected]>
    3 people authored Jul 27, 2024
    Copy the full SHA
    78fcd54 View commit details
  3. Version 0.38.2 (#2655)

    Kludex authored Jul 27, 2024
    Copy the full SHA
    5ed55c4 View commit details
Loading