cloudflare / cloudflare/cloudflare-python

Migrate to httpx2

オープン
#2,733 コメント 1 件 リアクション 1 件 担当者 0 名 GitHub で見る
主要言語
Python
スター
506
フォーク
148
平均マージ
3時間 15分
マージ済み PR(30日)
1

説明

### Confirm this is a Python library issue and not an underlying Cloudflare API issue.

- [x] This is an issue with the Python library

### Describe the bug

This project currently depends on httpx, which is no longer maintained. Given that situation, it should be migrated away to a maintained http library. One such option is `httpx2` (https://github.com/pydantic/httpx2), which seems to be the accepted community fork of httpx, specially given it's maintained by pydantic. This is even more true, when the author of `httpxyz` (a previous fork) [blesses](https://tildeweb.nl/~michiel/httpx2.html) this new package.

Note that Sentry, already added support for this package in https://github.com/getsentry/sentry-python/issues/6448.

### To Reproduce

Check the project dependencies

### Code snippets

```Python

```

### OS

any

### Python version

any

### Library version

5.x

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

まずプロジェクトの依存関係を確認し、httpx がどこで宣言されていて、Python ライブラリでどのように使用されているかを調べます。これらの参照をメンテナンスされている httpx2 パッケージに移行し、その後ライブラリの既存のテストスイートを実行して、依存関係の変更がサポート対象のすべての用途で機能することを確認します。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
python
領域
api
issue の種類
リファクタリング
難易度
3/5
見積もり時間
1〜2日
活発さ
静か
明瞭さ
おおむね明確
初心者へのやさしさ
48/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。