drop support for Python 3.8

This commit is contained in:
Maximilian Hils 2022-04-26 13:53:04 +02:00
parent b31ad66225
commit 08b8310133
5 changed files with 4 additions and 6 deletions

View file

@ -74,8 +74,6 @@ jobs:
py: "3.10" py: "3.10"
- os: ubuntu-latest - os: ubuntu-latest
py: 3.9 py: 3.9
- os: ubuntu-latest
py: 3.8
runs-on: ${{ matrix.os }} runs-on: ${{ matrix.os }}
steps: steps:
- run: printenv - run: printenv

View file

@ -3,6 +3,7 @@
## Unreleased: mitmproxy next ## Unreleased: mitmproxy next
* DNS support (@meitinger) * DNS support (@meitinger)
* Mitmproxy now requires Python 3.9 or above.
* Replayed flows retain their current position in the flow list. * Replayed flows retain their current position in the flow list.
([#5227](https://github.com/mitmproxy/mitmproxy/issues/5227), @mhils) ([#5227](https://github.com/mitmproxy/mitmproxy/issues/5227), @mhils)
* Periodically send HTTP/2 ping frames to keep connections alive. * Periodically send HTTP/2 ping frames to keep connections alive.

View file

@ -14,7 +14,7 @@ forward, please consider contributing in the following areas:
## Development Setup ## Development Setup
To get started hacking on mitmproxy, please install a recent version of Python (we require at least Python 3.8). To get started hacking on mitmproxy, please install a recent version of Python (we require at least Python 3.9).
Then, do the following: Then, do the following:
##### Linux / macOS ##### Linux / macOS

View file

@ -64,7 +64,7 @@ While there are plenty of options around[^1], we recommend the installation usin
packages. Most of them (pip, virtualenv, pipenv, etc.) should just work, but we don't have the capacity to packages. Most of them (pip, virtualenv, pipenv, etc.) should just work, but we don't have the capacity to
provide support for it. provide support for it.
1. Install a recent version of Python (we require at least 3.8). 1. Install a recent version of Python (we require at least 3.9).
2. Install [pipx](https://pipxproject.github.io/pipx/). 2. Install [pipx](https://pipxproject.github.io/pipx/).
3. `pipx install mitmproxy` 3. `pipx install mitmproxy`

View file

@ -36,7 +36,6 @@ setup(
"Operating System :: POSIX", "Operating System :: POSIX",
"Operating System :: Microsoft :: Windows", "Operating System :: Microsoft :: Windows",
"Programming Language :: Python :: 3 :: Only", "Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.10",
"Programming Language :: Python :: Implementation :: CPython", "Programming Language :: Python :: Implementation :: CPython",
@ -63,7 +62,7 @@ setup(
"mitmweb = mitmproxy.tools.main:mitmweb", "mitmweb = mitmproxy.tools.main:mitmweb",
] ]
}, },
python_requires='>=3.8', python_requires='>=3.9',
# https://packaging.python.org/en/latest/discussions/install-requires-vs-requirements/#install-requires # https://packaging.python.org/en/latest/discussions/install-requires-vs-requirements/#install-requires
# It is not considered best practice to use install_requires to pin dependencies to specific versions. # It is not considered best practice to use install_requires to pin dependencies to specific versions.
install_requires=[ install_requires=[