cloudflare / cloudflare/cloudflare-python
Migrate to httpx2
- Lenguaje dominante
- Python
- Estrellas
- 506
- Forks
- 148
- Merge medio
- 3 h 15 min
- PR fusionados (30 d)
- 1
Descripción
### 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
Guía de contribución
Línea de trabajo
Comienza revisando las dependencias del proyecto para encontrar dónde se declara httpx y cómo se utiliza en la biblioteca de Python. Migra esas referencias al paquete mantenido httpx2 y, después, ejecuta la suite de pruebas existente de la biblioteca para confirmar que el cambio de dependencia funciona en todos los usos compatibles.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- python
- Área
- api
- Tipo de issue
- Refactorización
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Estado de actividad
- Tranquilo
- Claridad
- Bastante claro
- Aptitud para principiantes
- 48/100