Skip to content

Switch to HTTPX2#191

Open
Kilo59 wants to merge 1 commit into
mainfrom
httpx2
Open

Switch to HTTPX2#191
Kilo59 wants to merge 1 commit into
mainfrom
httpx2

Conversation

@Kilo59
Copy link
Copy Markdown
Owner

@Kilo59 Kilo59 commented May 24, 2026

Summary by Sourcery

Update project to use the newer httpx2 dependency and bump the package version.

Build:

  • Bump project version from 0.1.7.dev1 to 0.1.7.dev2.
  • Replace the httpx 0.x dependency with httpx2>=2.2.0 in project dependencies.

@sourcery-ai
Copy link
Copy Markdown

sourcery-ai Bot commented May 24, 2026

Reviewer's guide (collapsed on small PRs)

Reviewer's Guide

Update project dependency to use the newer httpx2 package and bump the project version for a new dev release.

File-Level Changes

Change Details Files
Bump package version for a new development release associated with the dependency change.
  • Increment project version from 0.1.7.dev1 to 0.1.7.dev2 in the project metadata
pyproject.toml
Switch HTTP client dependency from httpx v0.x to httpx2 v2.2.0+.
  • Replace the httpx dependency constraint with httpx2>=2.2.0 in the dependencies list
pyproject.toml
Regenerate the uv lockfile to reflect the new dependency graph.
  • Update locked dependencies to align with the httpx2 package change
uv.lock

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it. You can also reply to a
    review comment with @sourcery-ai issue to create an issue from it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time. You can also comment
    @sourcery-ai title on the pull request to (re-)generate the title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time exactly where you
    want it. You can also comment @sourcery-ai summary on the pull request to
    (re-)generate the summary at any time.
  • Generate reviewer's guide: Comment @sourcery-ai guide on the pull
    request to (re-)generate the reviewer's guide at any time.
  • Resolve all Sourcery comments: Comment @sourcery-ai resolve on the
    pull request to resolve all Sourcery comments. Useful if you've already
    addressed all the comments and don't want to see them anymore.
  • Dismiss all Sourcery reviews: Comment @sourcery-ai dismiss on the pull
    request to dismiss all existing Sourcery reviews. Especially useful if you
    want to start fresh with a new review - don't forget to comment
    @sourcery-ai review to trigger a new review!

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

Copy link
Copy Markdown

@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.

Hey - I've reviewed your changes and they look great!


Sourcery is free for open source - if you like our reviews please consider sharing them ✨
Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.

@github-actions
Copy link
Copy Markdown
Contributor

Wily: No changes in complexity detected.

@codecov
Copy link
Copy Markdown

codecov Bot commented May 24, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 94.06%. Comparing base (c42beff) to head (14bad4f).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #191   +/-   ##
=======================================
  Coverage   94.06%   94.06%           
=======================================
  Files          10       10           
  Lines        1601     1601           
=======================================
  Hits         1506     1506           
  Misses         95       95           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@Kilo59 Kilo59 added the dependencies Pull requests that update a dependency file label May 24, 2026
@codspeed-hq
Copy link
Copy Markdown
Contributor

codspeed-hq Bot commented May 24, 2026

Merging this PR will not alter performance

✅ 15 untouched benchmarks


Comparing httpx2 (14bad4f) with main (c42beff)

Open in CodSpeed

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant