Title: Hypothesis health checks don't pass reliably if "CI" is not set in the environment. · Issue #132 · python-hyper/hyperlink · GitHub
Open Graph Title: Hypothesis health checks don't pass reliably if "CI" is not set in the environment. · Issue #132 · python-hyper/hyperlink
X Title: Hypothesis health checks don't pass reliably if "CI" is not set in the environment. · Issue #132 · python-hyper/hyperlink
Description: With current version of hypothesis: $ tox -e py36 GLOB sdist-make: /tmp/hyperlink/setup.py py36 create: /tmp/hyperlink/.tox/py36 py36 installdeps: idna==2.9, pytest==5.2.4, coverage==4.5.4, pytest-cov==2.10.0, hypothesis==5.8.6 py36 inst...
Open Graph Description: With current version of hypothesis: $ tox -e py36 GLOB sdist-make: /tmp/hyperlink/setup.py py36 create: /tmp/hyperlink/.tox/py36 py36 installdeps: idna==2.9, pytest==5.2.4, coverage==4.5.4, pytest-...
X Description: With current version of hypothesis: $ tox -e py36 GLOB sdist-make: /tmp/hyperlink/setup.py py36 create: /tmp/hyperlink/.tox/py36 py36 installdeps: idna==2.9, pytest==5.2.4, coverage==4.5.4, pytest-...
Opengraph URL: https://github.com/python-hyper/hyperlink/issues/132
X: @github
Domain: github.com
IPv4 address: 140.82.114.3
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Hypothesis health checks don't pass reliably if \"CI\" is not set in the environment.","articleBody":"With current version of hypothesis:\r\n\r\n```pytb\r\n$ tox -e py36\r\nGLOB sdist-make: /tmp/hyperlink/setup.py\r\npy36 create: /tmp/hyperlink/.tox/py36\r\npy36 installdeps: idna==2.9, pytest==5.2.4, coverage==4.5.4, pytest-cov==2.10.0, hypothesis==5.8.6\r\npy36 inst: /tmp/hyperlink/.tox/.tmp/package/1/hyperlink-20.0.1.dev0.zip\r\npy36 installed: atomicwrites==1.4.0,attrs==19.3.0,coverage==4.5.4,hyperlink @ file:///tmp/hyperlink/.tox/.tmp/package/1/hyperlink-20.0.1.dev0.zip,hypothesis==5.8.6,idna==2.9,importlib-metadata==1.7.0,more-itertools==8.4.0,packaging==20.4,pluggy==0.13.1,py==1.9.0,pyparsing==2.4.7,pytest==5.2.4,pytest-cov==2.10.0,six==1.15.0,sortedcontainers==2.2.2,wcwidth==0.2.5,zipp==3.1.0\r\npy36 run-test-pre: PYTHONHASHSEED='2292208485'\r\npy36 run-test: commands[0] | pytest --cov=hyperlink --cov-report=term-missing:skip-covered --doctest-modules src/hyperlink\r\n=============================================================== test session starts ===============================================================\r\nplatform linux -- Python 3.6.11, pytest-5.2.4, py-1.9.0, pluggy-0.13.1\r\ncachedir: .tox/py36/.pytest_cache\r\nrootdir: /tmp/hyperlink, inifile: pytest.ini\r\nplugins: hypothesis-5.8.6, cov-2.10.0\r\ncollected 130 items \r\n\r\nsrc/hyperlink/_url.py .................... [ 15%]\r\nsrc/hyperlink/test/test_common.py ...... [ 20%]\r\nsrc/hyperlink/test/test_decoded_url.py .......... [ 27%]\r\nsrc/hyperlink/test/test_hypothesis.py ......F....... [ 38%]\r\nsrc/hyperlink/test/test_parse.py . [ 39%]\r\nsrc/hyperlink/test/test_scheme_registration.py ...... [ 43%]\r\nsrc/hyperlink/test/test_url.py ......................................................................... [100%]\r\n\r\n==================================================================== FAILURES =====================================================================\r\n______________________________________________ TestHypothesisStrategies.test_hostnames_ascii_nolead _______________________________________________\r\n\r\nself = \u003chyperlink.test.test_hypothesis.TestHypothesisStrategies testMethod=test_hostnames_ascii_nolead>\r\n\r\n @given(hostnames(allow_leading_digit=False, allow_idn=False))\r\n> def test_hostnames_ascii_nolead(self, hostname):\r\n # type: (Text) -> None\r\n \"\"\"\r\n hostnames(allow_leading_digit=False, allow_idn=False) generates\r\n ASCII host names without leading digits.\r\nE hypothesis.errors.FailedHealthCheck: Data generation is extremely slow: Only produced 1 valid examples in 1.01 seconds (40 invalid ones and 0 exceeded maximum size). Try decreasing size of the data you're generating (with e.g.max_size or max_leaves parameters).\r\nE See https://hypothesis.readthedocs.io/en/latest/healthchecks.html for more information about this. If you want to disable just this health check, add HealthCheck.too_slow to the suppress_health_check settings for this test.\r\n\r\nsrc/hyperlink/test/test_hypothesis.py:177: FailedHealthCheck\r\n------------------------------------------------------------------- Hypothesis --------------------------------------------------------------------\r\nYou can add @seed(2426485286323854916506411185325111964) to this test or run pytest with --hypothesis-seed=2426485286323854916506411185325111964 to reproduce this failure.\r\n\r\n---------- coverage: platform linux, python 3.6.11-final-0 -----------\r\nName Stmts Miss Branch BrPart Cover Missing\r\n-----------------------------------------------------------------------------------\r\nsrc/hyperlink/_socket.py 22 20 2 0 8% 3-53\r\nsrc/hyperlink/_url.py 690 21 349 12 96% 28-29, 52-53, 115, 122, 126, 253, 280, 378, 391, 571, 886-887, 1201, 1822-1823, 1845-1847, 2370-2372, 113->115, 195->197, 250->253, 277->280, 375->378, 388->391, 570->571, 884->886, 1200->1201, 1519->1524, 1821->1822, 2274->exit\r\nsrc/hyperlink/hypothesis.py 111 5 37 2 95% 11-14, 101, 244, 100->101, 243->244\r\nsrc/hyperlink/test/__init__.py 12 6 2 1 50% 14-28, 13->14\r\nsrc/hyperlink/test/test_hypothesis.py 72 4 6 0 95% 10-11, 18-19\r\nsrc/hyperlink/test/test_socket.py 29 26 4 1 12% 5-6, 9-45, 8->9\r\nsrc/hyperlink/test/test_url.py 579 3 16 1 99% 940, 1472-1473, 1471->1472\r\n-----------------------------------------------------------------------------------\r\nTOTAL 1766 85 422 17 95%\r\n\r\n6 files skipped due to complete coverage.\r\n\r\n========================================================= 1 failed, 129 passed in 59.10s ==========================================================\r\nERROR: InvocationError for command /tmp/hyperlink/.tox/py36/bin/pytest --cov=hyperlink --cov-report=term-missing:skip-covered --doctest-modules src/hyperlink (exited with code 1)\r\n_____________________________________________________________________ summary _____________________________________________________________________\r\nERROR: py36: commands failed\r\n```\r\n\r\n(this is with 20.0.0 release)","author":{"url":"https://github.com/mgorny","@type":"Person","name":"mgorny"},"datePublished":"2020-08-04T12:22:09Z","url":"https://github.com/python-hyper/hyperlink/issues/132"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:ea67769e-aca3-1ae0-237c-02da1aa88158 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E372:3753E1:BA8C48:1068FCD:6B06E7B7 |
| html-safe-nonce | f4d0d170c0a54775a2fc06e5c516cf6ab0e7702e420ff31f60f44028c2068a8a |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMzcyOjM3NTNFMTpCQThDNDg6MTA2OEZDRDo2QjA2RTdCNyIsInZpc2l0b3JfaWQiOiI5MTcyMTc2NTEzODEzMzc0OTAzIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 56bed44efdf362f3321a825474dfda55899075c4ef79846690fc48c36b3fa8a1 |
| hovercard-subject-tag | issue:672750187 |
| github-keyboard-shortcuts | repository,issues,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/_view_fragments/issues/show/python-hyper/hyperlink/132/issue_layout |
| twitter:image | https://opengraph.githubassets.com/9c5a8ee8ff7098fe2f0684a84770c1647a1849da78a10af86b7dde22eca4abb2/python-hyper/hyperlink/issues/132 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/9c5a8ee8ff7098fe2f0684a84770c1647a1849da78a10af86b7dde22eca4abb2/python-hyper/hyperlink/issues/132 |
| og:image:alt | With current version of hypothesis: $ tox -e py36 GLOB sdist-make: /tmp/hyperlink/setup.py py36 create: /tmp/hyperlink/.tox/py36 py36 installdeps: idna==2.9, pytest==5.2.4, coverage==4.5.4, pytest-... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | mgorny |
| hostname | github.com |
| expected-hostname | github.com |
| None | 351ea5ca38a5758919d44ee52c70fe9003c0c2dfa20f04effd7fac0c5330c16b |
| turbo-cache-control | no-preview |
| go-import | github.com/python-hyper/hyperlink git https://github.com/python-hyper/hyperlink.git |
| octolytics-dimension-user_id | 13035907 |
| octolytics-dimension-user_login | python-hyper |
| octolytics-dimension-repository_id | 82321340 |
| octolytics-dimension-repository_nwo | python-hyper/hyperlink |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 82321340 |
| octolytics-dimension-repository_network_root_nwo | python-hyper/hyperlink |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | af8913cd0f2f77c41796be449ac66a9108825abc |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width