Bump development version to 4.0.0dev0

Following the release of 3.2.0

Drop py27, py34, py35 support.
Bump test dependencies.
General cleanup.
This commit is contained in:
Thomas Kriechbaumer
2020-02-08 15:12:38 +00:00
parent 570dc7daa4
commit c77a815674
17 changed files with 51 additions and 182 deletions
+13 -21
View File
@@ -13,39 +13,31 @@ cache:
matrix:
include:
# Main tests on supported Python versions.
- python: "2.7"
dist: trusty
env: TOXENV=py27
- python: "3.4"
dist: trusty
env: TOXENV=py34
- python: "3.5"
dist: trusty
env: TOXENV=py35
- python: "3.6"
dist: trusty
dist: bionic
env: TOXENV=py36
- python: "3.7"
dist: xenial
dist: bionic
env: TOXENV=py37
- python: "3.8"
dist: xenial
dist: bionic
env: TOXENV=py38
- python: "pypy-5.3.1"
dist: trusty
- python: "pypy3.6-7.2.0"
dist: bionic
env: TOXENV=pypy
# Linting, docs, and other non-test stuff.
- python: "3.7"
dist: xenial
- python: "3.8"
dist: bionic
env: TOXENV=lint
- python: "3.7"
dist: xenial
- python: "3.8"
dist: bionic
env: TOXENV=docs
- python: "3.7"
dist: xenial
- python: "3.8"
dist: bionic
env: TOXENV=packaging
- python: "3.6"
- python: "3.8"
dist: bionic
env: TOXENV=h2spec
install:
-115
View File
@@ -1,115 +0,0 @@
Hyper-h2 is written and maintained by Cory Benfield and various contributors:
Development Lead
````````````````
- Cory Benfield <cory@lukasa.co.uk>
Contributors
````````````
In chronological order:
- Robert Collins (@rbtcollins)
- Provided invaluable and substantial early input into API design and layout.
- Added code preventing ``Proxy-Authorization`` from getting added to HPACK
compression contexts.
- Maximilian Hils (@maximilianhils)
- Added asyncio example.
- Alex Chan (@alexwlchan)
- Fixed docstring, added URLs to README.
- Glyph Lefkowitz (@glyph)
- Improved example Twisted server.
- Thomas Kriechbaumer (@Kriechi)
- Fixed incorrect arguments being passed to ``StreamIDTooLowError``.
- Added new arguments to ``close_connection``.
- WeiZheng Xu (@boyxuper)
- Reported a bug relating to hyper-h2's updating of the connection window in
response to SETTINGS_INITIAL_WINDOW_SIZE.
- Evgeny Tataurov (@etataurov)
- Added the ``additional_data`` field to the ``ConnectionTerminated`` event.
- Brett Cannon (@brettcannon)
- Changed Travis status icon to SVG.
- Documentation improvements.
- Felix Yan (@felixonmars)
- Widened allowed version numbers of enum34.
- Updated test requirements.
- Keith Dart (@kdart)
- Fixed curio example server flow control problems.
- Gil Gonçalves (@LuRsT)
- Added code forbidding non-RFC 7540 pseudo-headers.
- Louis Taylor (@kragniz)
- Cleaned up the README
- Berker Peksag (@berkerpeksag)
- Improved the docstring for ``StreamIDTooLowError``.
- Adrian Lewis (@aidylewis)
- Fixed the broken Twisted HEAD request example.
- Added verification logic for ensuring that responses to HEAD requests have
no body.
- Lorenzo (@Mec-iS)
- Changed documentation to stop using dictionaries for header blocks.
- Kracekumar Ramaraj (@kracekumar)
- Cleaned up Twisted example.
- @mlvnd
- Cleaned up curio example.
- Tom Offermann (@toffer)
- Added Tornado example.
- Tarashish Mishra (@sunu)
- Added code to reject header fields with leading/trailing whitespace.
- Added code to remove leading/trailing whitespace from sent header fields.
- Nate Prewitt (@nateprewitt)
- Added code to validate that trailers do not contain pseudo-header fields.
- Chun-Han, Hsiao (@chhsiao90)
- Fixed a bug with invalid ``HTTP2-Settings`` header output in plaintext
upgrade.
- Bhavishya (@bhavishyagopesh)
- Added support for equality testing to ``h2.settings.Settings`` objects.
- Fred Thomsen (@fredthomsen)
- Added logging.
- Enhance equality testing of ``h2.settings.Settings`` objects with
``hypothesis``.
+12
View File
@@ -1,6 +1,18 @@
Release History
===============
4.0.0.dev0
------------------
API Changes (Backward-Incompatible)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- Support for Python 2.7 has been removed.
- Support for Python 3.4 has been removed.
- Support for Python 3.5 has been removed.
- Support for PyPy (Python 2.7 compatible) has been removed.
3.2.0 (2020-02-08)
------------------
+1 -1
View File
@@ -1,6 +1,6 @@
The MIT License (MIT)
Copyright (c) 2015-2016 Cory Benfield and contributors
Copyright (c) 2015-2020 Cory Benfield and contributors
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
+1 -4
View File
@@ -1,9 +1,6 @@
.PHONY: publish test
.PHONY: publish
publish:
rm -rf dist/
python setup.py sdist bdist_wheel
twine upload -s dist/*
test:
py.test -n 4 --cov h2 test/
+1 -2
View File
@@ -61,5 +61,4 @@ License
Authors
=======
``hyper-h2`` is maintained by Cory Benfield, with contributions from others. For
more details about the contributors, please see ``CONTRIBUTORS.rst``.
``hyper-h2`` is maintained by Cory Benfield, with contributions from others.
Binary file not shown.

Before

Width:  |  Height:  |  Size: 698 KiB

After

Width:  |  Height:  |  Size: 656 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.8 MiB

After

Width:  |  Height:  |  Size: 1.8 MiB

+2 -2
View File
@@ -55,9 +55,9 @@ copyright = u'2015, Cory Benfield'
# built documents.
#
# The short X.Y version.
version = '3.2.0'
version = '4.0.0'
# The full version, including alpha/beta/rc tags.
release = '3.2.0'
release = '4.0.0dev0'
# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
-4
View File
@@ -1,4 +0,0 @@
Contributors
============
.. include:: ../../CONTRIBUTORS.rst
-1
View File
@@ -38,4 +38,3 @@ Contents
testimonials
release-process
release-notes
contributors
+2 -1
View File
@@ -85,7 +85,7 @@ lot of great work has been done by the community. To that end, we'd also like
to extend a great thankyou to those contributors who made their first contribution
to the project between release 1.0.0 and 2.0.0. Many thanks to:
`Thomas Kriechbaumer`_, `Alex Chan`_, `Maximilian Hils`_, and `Glyph`_. For a
full historical list of contributors, see :doc:`contributors`.
full historical list of contributors, see `contributors`_.
We're looking forward to the next few months of Python HTTP/2 work, and hoping
that you'll find lots of excellent HTTP/2 applications to build with Hyper-h2!
@@ -95,6 +95,7 @@ that you'll find lots of excellent HTTP/2 applications to build with Hyper-h2!
.. _Alex Chan: https://github.com/alexwlchan
.. _Maximilian Hils: https://github.com/mhils
.. _Glyph: https://github.com/glyph
.. _contributors: https://github.com/python-hyper/hyper-h2/blob/b14817b79c7bb1661e1aa84ef7920c009ef1e75b/CONTRIBUTORS.rst
.. _detailed-release-notes:
+1 -1
View File
@@ -5,4 +5,4 @@ h2
A HTTP/2 implementation.
"""
__version__ = '3.2.0'
__version__ = '4.0.0dev0'
+4 -15
View File
@@ -26,10 +26,6 @@ if sys.argv[-1] == 'publish':
os.system('python setup.py sdist upload')
sys.exit()
packages = [
'h2',
]
readme = codecs.open('README.rst', encoding='utf-8').read()
history = codecs.open('HISTORY.rst', encoding='utf-8').read()
@@ -45,8 +41,8 @@ setup(
'Documentation': 'https://python-hyper.org/projects/h2',
'Source': 'https://github.com/python-hyper/hyper-h2',
},
packages=packages,
package_data={'': ['LICENSE', 'README.rst', 'CONTRIBUTORS.rst', 'HISTORY.rst', 'NOTICES']},
packages=['h2'],
package_data={'': ['LICENSE', 'README.rst', 'HISTORY.rst']},
package_dir={'h2': 'h2'},
include_package_data=True,
license='MIT License',
@@ -55,11 +51,7 @@ setup(
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
@@ -67,10 +59,7 @@ setup(
'Programming Language :: Python :: Implementation :: PyPy',
],
install_requires=[
'hyperframe>=5.2.0, <6',
'hpack>=3.0,<4',
'hyperframe>=5.2.0,<6',
'hpack>=3.0.0,<4',
],
extras_require={
':python_version == "2.7"': ['enum34>=1.1.6, <2'],
}
)
+3 -3
View File
@@ -1,5 +1,5 @@
pytest==4.6.5 # rq.filter: < 5
pytest==5.3.5
pytest-cov==2.8.1
pytest-xdist==1.31.0
coverage==4.5.4
hypothesis
coverage==5.0.3
hypothesis>=5.5,<6
+11 -11
View File
@@ -1,5 +1,5 @@
[tox]
envlist = py27, py34, py35, py36, py37, py38, pypy, lint, packaging, docs
envlist = py36, py37, py38, pypy, lint, packaging, docs
[testenv]
deps= -r{toxinidir}/test_requirements.txt
@@ -12,13 +12,13 @@ commands=
commands= py.test {posargs}
[testenv:lint]
basepython=python3.7
deps = flake8==3.7.8
basepython=python3.8
deps = flake8==3.7.9
commands = flake8 --max-complexity 10 h2 test
[testenv:docs]
basepython=python3.7
deps = sphinx==2.2.0
basepython=python3.8
deps = sphinx==2.3.1
changedir = {toxinidir}/docs
whitelist_externals = rm
commands =
@@ -26,23 +26,23 @@ commands =
sphinx-build -nW -b html -d build/doctrees source build/html
[testenv:graphs]
basepython=python2.7
deps = graphviz==0.13
basepython=python3.8
deps = graphviz==0.13.2
commands =
python visualizer/visualize.py -i docs/source/_static
[testenv:packaging]
basepython=python3.7
basepython=python3.8
deps =
check-manifest==0.39
check-manifest==0.40
readme-renderer==24.0
commands =
check-manifest
python setup.py check --metadata --restructuredtext --strict
[testenv:h2spec]
basepython=python3.6
deps = twisted[tls]==19.7.0
basepython=python3.8
deps = twisted[tls]==19.10.0
whitelist_externals = {toxinidir}/test/h2spectest.sh
commands =
{toxinidir}/test/h2spectest.sh
-1
View File
@@ -16,7 +16,6 @@ This module is very deliberately not shipped with the rest of hyper-h2. This is
because it is of minimal value to users who are installing hyper-h2: its use
is only really for the developers of hyper-h2.
"""
from __future__ import print_function
import argparse
import collections
import sys