# HG changeset patch # User Matt Harbison # Date 1647962529 14400 # Node ID 455dce344c56a7c67c5100e3a2414158524433b9 # Parent a78c45a22ce4aa5edc40eed43e0b0cbda757adf6 pytype: drop py3.6 support Pytype 2022.01.07 only supports 3.7+. Differential Revision: https://phab.mercurial-scm.org/D12400 diff -r a78c45a22ce4 -r 455dce344c56 tests/test-check-pytype.t --- a/tests/test-check-pytype.t Sun Mar 13 16:14:34 2022 +0100 +++ b/tests/test-check-pytype.t Tue Mar 22 11:22:09 2022 -0400 @@ -30,7 +30,6 @@ mercurial/testing/storage.py # tons of [attribute-error] mercurial/ui.py # [attribute-error], [wrong-arg-types] mercurial/unionrepo.py # ui, svfs, unfiltered [attribute-error] -mercurial/utils/memorytop.py # not 3.6 compatible mercurial/win32.py # [not-callable] mercurial/wireprotoframing.py # [unsupported-operands], [attribute-error], [import-error] mercurial/wireprotov1peer.py # [attribute-error] @@ -39,7 +38,7 @@ TODO: use --no-cache on test server? Caching the files locally helps during development, but may be a hinderance for CI testing. - $ pytype -V 3.6 --keep-going --jobs auto mercurial \ + $ pytype -V 3.7 --keep-going --jobs auto mercurial \ > -x mercurial/bundlerepo.py \ > -x mercurial/context.py \ > -x mercurial/crecord.py \ @@ -62,7 +61,6 @@ > -x mercurial/thirdparty \ > -x mercurial/ui.py \ > -x mercurial/unionrepo.py \ - > -x mercurial/utils/memorytop.py \ > -x mercurial/win32.py \ > -x mercurial/wireprotoframing.py \ > -x mercurial/wireprotov1peer.py \