cloudflare / cloudflare/cloudflare-python
Migrate to httpx2
- Linguagem predominante
- Python
- Estrelas
- 506
- Forks
- 148
- Merge médio
- 3h 15min
- PRs com merge (30d)
- 1
Descrição
### 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
Guia de contribuição
Direção de pesquisa
Comece verificando as dependências do projeto para descobrir onde httpx é declarado e como ele é usado na biblioteca Python. Migre essas referências para o pacote mantido httpx2 e, em seguida, execute a suíte de testes existente da biblioteca para confirmar que a alteração da dependência funciona em todos os usos compatíveis.
Escrita pelo modelo de indexação a partir do texto da issue.
Avaliação
- Stack de tecnologia
- python
- Domínio
- api
- Tipo de issue
- Refatoração
- Dificuldade
- 3/5
- Tempo estimado
- 1-2 dias
- Status de atividade
- Pouca atividade
- Clareza
- Razoavelmente clara
- Facilidade para iniciantes
- 48/100