Title: python 3.7 by peterbe · Pull Request #407 · python-hyper/hyper · GitHub
Open Graph Title: python 3.7 by peterbe · Pull Request #407 · python-hyper/hyper
X Title: python 3.7 by peterbe · Pull Request #407 · python-hyper/hyper
Description: I'm getting a suppressed traceback though: Full tox -e py37 output ▶ tox -e py37 GLOB sdist-make: /Users/peterbe/dev/PYTHON/hyper/setup.py py37 inst-nodeps: /Users/peterbe/dev/PYTHON/hyper/.tox/.tmp/package/1/hyper-0.8.0.dev0.zip py37 installed: apipkg==1.5,atomicwrites==1.3.0,attrs==19.1.0,brotlipy==0.7.0,certifi==2019.3.9,cffi==1.12.3,chardet==3.0.4,coverage==4.5.3,execnet==1.6.0,h2==2.6.2,hpack==3.0.0,hyper==0.8.0.dev0,hyperframe==3.2.0,idna==2.8,mock==2.0.0,more-itertools==7.0.0,pbr==5.1.3,pluggy==0.9.0,py==1.8.0,pycparser==2.19,pytest==4.4.1,pytest-cov==2.6.1,pytest-forked==1.0.2,pytest-xdist==1.28.0,requests==2.21.0,rfc3986==1.3.1,six==1.12.0,urllib3==1.24.2 py37 run-test-pre: PYTHONHASHSEED='2726258995' py37 run-test: commands[0] | coverage run -m py.test /Users/peterbe/dev/PYTHON/hyper/test/ ================================================================================================ test session starts ================================================================================================ platform darwin -- Python 3.7.3, pytest-4.4.1, py-1.8.0, pluggy-0.9.0 cachedir: .tox/py37/.pytest_cache rootdir: /Users/peterbe/dev/PYTHON/hyper plugins: xdist-1.28.0, forked-1.0.2, cov-2.6.1 collected 303 items test/test_SSLContext.py ..... [ 1%] test/test_abstraction.py .... [ 2%] test/test_cli.py ................................ [ 13%] test/test_headers.py ............................ [ 22%] test/test_http11.py ............................................................. [ 42%] test/test_http20.py . [ 43%] test/test_hyper.py ....Exception in thread Thread-1: Traceback (most recent call last): File "/usr/local/Cellar/python/3.7.3/Frameworks/Python.framework/Versions/3.7/lib/python3.7/threading.py", line 917, in _bootstrap_inner self.run() File "/Users/peterbe/dev/PYTHON/hyper/test/server.py", line 103, in run self.server = self._start_server() File "/Users/peterbe/dev/PYTHON/hyper/test/server.py", line 96, in _start_server self.socket_handler(sock) File "/Users/peterbe/dev/PYTHON/hyper/test/test_http20.py", line 21, in socket_handler sock = listener.accept()[0] File "/usr/local/Cellar/python/3.7.3/Frameworks/Python.framework/Versions/3.7/lib/python3.7/ssl.py", line 1166, in accept server_side=True) File "/usr/local/Cellar/python/3.7.3/Frameworks/Python.framework/Versions/3.7/lib/python3.7/ssl.py", line 412, in wrap_socket session=session File "/usr/local/Cellar/python/3.7.3/Frameworks/Python.framework/Versions/3.7/lib/python3.7/ssl.py", line 853, in _create self.do_handshake() File "/usr/local/Cellar/python/3.7.3/Frameworks/Python.framework/Versions/3.7/lib/python3.7/ssl.py", line 1117, in do_handshake self._sslobj.do_handshake() ssl.SSLEOFError: EOF occurred in violation of protocol (_ssl.c:1056) .................................................................................... [ 72%] test/test_hyper_SSLContext.py s [ 72%] test/test_import.py s. [ 73%] test/test_integration.py ................................... [ 84%] test/test_integration_http11.py ............ [ 88%] test/test_parser.py .... [ 90%] test/test_socket.py ................. [ 95%] test/test_ssl_socket.py ... [ 96%] test/test_windowmanager.py .......... [100%] ================================================================================================= warnings summary ================================================================================================== hyper/http11/connection.py:13 hyper/http11/connection.py:13 /Users/peterbe/dev/PYTHON/hyper/hyper/http11/connection.py:13: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated, and in 3.8 it will stop working from collections import Iterable, Mapping .tox/py37/lib/python3.7/site-packages/hyperframe/flags.py:14 /Users/peterbe/dev/PYTHON/hyper/.tox/py37/lib/python3.7/site-packages/hyperframe/flags.py:14: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated, and in 3.8 it will stop working class Flags(collections.MutableSet): hyper/common/headers.py:13 /Users/peterbe/dev/PYTHON/hyper/hyper/common/headers.py:13: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated, and in 3.8 it will stop working class HTTPHeaderMap(collections.MutableMapping): test/test_hyper.py::TestHyperConnection::test_closed_connections_are_reset /Users/peterbe/dev/PYTHON/hyper/hyper/http20/connection.py:465: DeprecationWarning: The 'warn' method is deprecated, use 'warning' instead log.warn("GoAway frame could not be sent: %s" % e) test/test_hyper.py::TestServerPush::test_reset_pushed_streams_when_push_disabled test/test_hyper.py::TestUpgradingPush::test_reset_pushed_streams_when_push_disabled /Users/peterbe/dev/PYTHON/hyper/hyper/http20/connection.py:843: DeprecationWarning: The 'warn' method is deprecated, use 'warning' instead stream_id, e) -- Docs: https://docs.pytest.org/en/latest/warnings.html ================================================================================ 301 passed, 2 skipped, 7 warnings in 10.24 seconds ================================================================================= py37 run-test: commands[1] | coverage report Name Stmts Miss Cover Missing hyper/init.py 13 0 100% hyper/cli.py 143 0 100% hyper/common/init.py 1 0 100% hyper/common/bufsocket.py 89 0 100% hyper/common/connection.py 34 0 100% hyper/common/decoder.py 21 0 100% hyper/common/exceptions.py 25 0 100% hyper/common/headers.py 94 0 100% hyper/common/util.py 27 0 100% hyper/contrib.py 77 0 100% hyper/http11/init.py 1 0 100% hyper/http11/connection.py 200 0 100% hyper/http11/parser.py 35 0 100% hyper/http11/response.py 146 0 100% hyper/http20/init.py 1 0 100% hyper/http20/connection.py 291 0 100% hyper/http20/errors.py 23 0 100% hyper/http20/exceptions.py 14 0 100% hyper/http20/response.py 91 0 100% hyper/http20/stream.py 131 0 100% hyper/http20/util.py 21 0 100% hyper/http20/window.py 27 0 100% hyper/tls.py 47 0 100% TOTAL 1552 0 100% ______________________________________________________________________________________________________ summary ______________________________________________________________________________________________________ py37: commands succeeded congratulations :)
Open Graph Description: I'm getting a suppressed traceback though: Full tox -e py37 output ▶ tox -e py37 GLOB sdist-make: /Users/peterbe/dev/PYTHON/hyper/setup.py py37 inst-nodeps: /Users/peterbe/dev/PYTHON/hyper/.to...
X Description: I'm getting a suppressed traceback though: Full tox -e py37 output ▶ tox -e py37 GLOB sdist-make: /Users/peterbe/dev/PYTHON/hyper/setup.py py37 inst-nodeps: /Users/peterbe/dev/PYTHON/hyper...
Opengraph URL: https://github.com/python-hyper/hyper/pull/407
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:3216ad5c-40d9-0137-ec2a-96370af4ef4e |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | EB9A:26BEF2:559BB5:6E5F07:696B0EBF |
| html-safe-nonce | 955e79c94dd09f8e1ef5530dc5e4870afdab57bd458ccaf1e12302a9e925ece0 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFQjlBOjI2QkVGMjo1NTlCQjU6NkU1RjA3OjY5NkIwRUJGIiwidmlzaXRvcl9pZCI6IjQ4NTg4ODAwNTgzMDM2NDc0MjMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | adb81f9fc11426f4202fba31c71d3c1a3504f06154aabdfb7119c6ac4d19d6b7 |
| hovercard-subject-tag | pull_request:273129458 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/python-hyper/hyper/pull/407/files |
| twitter:image | https://avatars.githubusercontent.com/u/26739?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/26739?s=400&v=4 |
| og:image:alt | I'm getting a suppressed traceback though: Full tox -e py37 output ▶ tox -e py37 GLOB sdist-make: /Users/peterbe/dev/PYTHON/hyper/setup.py py37 inst-nodeps: /Users/peterbe/dev/PYTHON/hyper/.to... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5f99f7c1d70f01da5b93e5ca90303359738944d8ab470e396496262c66e60b8d |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/python-hyper/hyper git https://github.com/python-hyper/hyper.git |
| octolytics-dimension-user_id | 13035907 |
| octolytics-dimension-user_login | python-hyper |
| octolytics-dimension-repository_id | 16165969 |
| octolytics-dimension-repository_nwo | python-hyper/hyper |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 16165969 |
| octolytics-dimension-repository_network_root_nwo | python-hyper/hyper |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 82560a55c6b2054555076f46e683151ee28a19bc |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width