cloudflare / cloudflare/cloudflare-python

Migrate to httpx2

Open
#2,733 1 comment 1 reaction 0 assignees View on GitHub
Dominant language
Python
Stars
506
Forks
148
Avg merge
3h 15m
Merged PRs (30d)
1

Description

### 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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.