* Changes for Python 3.11 support
* Updated README.md for versioning info
* Update `httpx==0.27.0` to avoid `cgi` deprecation warning from pytest on Python 3.11
* Make tests work for 3.11
* Declare support for 3.11
* Use 3.11-alpine for Docker images
* Preserve pylint version for `python_version <= 3.10`
* Preserve httpx version for <= 3.10
* `httpx` usage fix in tests for <=3.10
* Adjust pylint and pytest for >= 3.11
* Use 3.11.8, bad-option-value and httpx proxies fix
* tox for 3.11
* Fix for `TOXENV: py`
* -vv for pytest
* Downgrade to `pytest-asyncio==0.21.1`
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* remove asyncio_mode=strict
* try with `pytest-cov==4.1.0` for 3.11
* bump coverage for 3.11
* Try `3.11` in GitHub workflow which installs >3.11.8 unavailable via pyenv yet
* Revert back to `-v`
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
* Refactor tests into submodules
* isort tests
* Add malicious request headers test
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
* Add `Descriptors` type
* Add a `DescriptorsHandlerMixin` class used throughout the http framework
* Remove dependency upon `HasFileno` ie `typing_extension` too
* Define `SelectableEvents` type
* Fix doc
* Blank line
* Remove dep on `typing-extensions`
* Discover base plugin class
* await on now async handlers
* Refactored TlsParser based upon work done in #748
* Add missing `tls_server_hello.data`, thanks to @JerryKwan
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Pass `check.py`
* Run check.py locally
* Fix lint errors
* Fix indentation issue
* Ignore linkcheck for cloudflare links, GHA is getting a 403 reply, while the link actually works
* Fix lint
* codespell skip
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
* Ignore `docs/_build`
* Remove `v` prefix from VERSION. Also added a `lib-doc` target
* Raise a `ValueError` instead of `NotImplementedError`
* Add all registered http method verbs
* Generate `_scm_version.py` on every `make` invocation. Fix `v` prefix bug.
* `+proxy` for emails
* Make explicit that this script writes to file
* `PROXY_AGENT_HEADER_VALUE` still needs the `v` :)
This is necessary because setuptools is about to deprecate supporting
LF in one-line metadata fields.
Co-authored-by: Abhinav Singh <mailsforabhinav@gmail.com>
* Invoke self-install via PEP517 in the CI
* Add tox envs for building dists via PEP 517
* Add linting dists via tox to GHA
* Upgrade `master` to `develop` in `setup.py`
* Simplify `python_requires` in `setup.py`
* Convert dynamic `setup.py` into static `setup.cfg`