cloudflare / cloudflare/cloudflare-python
Migrate to httpx2
- Vorherrschende Sprache
- Python
- Sterne
- 506
- Forks
- 148
- Ø Merge
- 3 Std. 15 Min.
- Gemergte PRs (30 T.)
- 1
Beschreibung
### 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
Beitragsleitfaden
Rechercherichtung
Beginne damit, die Projektabhängigkeiten zu überprüfen, um herauszufinden, wo httpx deklariert ist und wie es in der Python-Bibliothek verwendet wird. Migriere diese Verweise zum gepflegten Paket httpx2 und führe anschließend die vorhandene Testsuite der Bibliothek aus, um zu bestätigen, dass die Abhängigkeitsänderung in allen unterstützten Verwendungen funktioniert.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- python
- Bereich
- api
- Issue-Typ
- Refactoring
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Aktivitätsstatus
- Ruhig
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 48/100