-
Notifications
You must be signed in to change notification settings - Fork 77
Drop support for Python 2 #116
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,11 +13,9 @@ jobs: | |
max-parallel: 5 | ||
matrix: | ||
python-version: | ||
- 2.7 | ||
- 3.6 | ||
- 3.7 | ||
- 3.8 | ||
- pypy2 | ||
- pypy3 | ||
|
||
steps: | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -44,7 +44,9 @@ whatever. But h11 makes it much easier to implement something like | |
Vital statistics | ||
---------------- | ||
|
||
* Requirements: Python 2.7 or Python 3.5+ (PyPy works great) | ||
* Requirements: Python 3.5+ (PyPy works great) | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 3.6+ |
||
|
||
The last Python 2-compatible version was h11 0.11.x. | ||
pgjones marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
||
* Install: ``pip install h11`` | ||
|
||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
Python 2.7 and PyPy 2 support is removed. h11 now requires Python>=3.5 including PyPy 3. | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 3.6+ |
||
Users running `pip install h11` on Python 2 will automatically get the last Python 2-compatible version. |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,3 @@ | ||
[bdist_wheel] | ||
universal=1 | ||
|
||
[isort] | ||
combine_as_imports=True | ||
force_grid_wrap=0 | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,15 +17,15 @@ | |
# This means, just install *everything* you see under h11/, even if it | ||
# doesn't look like a source file, so long as it appears in MANIFEST.in: | ||
include_package_data=True, | ||
python_requires=">=3.5", | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 3.6 |
||
classifiers=[ | ||
"Development Status :: 3 - Alpha", | ||
"Intended Audience :: Developers", | ||
"License :: OSI Approved :: MIT License", | ||
"Programming Language :: Python :: Implementation :: CPython", | ||
"Programming Language :: Python :: Implementation :: PyPy", | ||
"Programming Language :: Python :: 2", | ||
"Programming Language :: Python :: 2.7", | ||
"Programming Language :: Python :: 3", | ||
"Programming Language :: Python :: 3 :: Only", | ||
"Programming Language :: Python :: 3.5", | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Can you also remove this? |
||
"Programming Language :: Python :: 3.6", | ||
"Programming Language :: Python :: 3.7", | ||
|
Uh oh!
There was an error while loading. Please reload this page.