comparison contrib/heptapod-ci.yml @ 49437:5baf873ccb6e

ci: bump pytype to 2022.03.29 This is as far as we can go without running into issues with the vendored `attr` package. I tried updating that to the latest, and not only did it not fix the issue, but test-util.py failed due to some poking at `attr` internals that apparently is no longer valid. The `libcst` package is now pinned to what I have locally because trying to install the latest (0.4.7) complains that it can't find the Rust compiler. We should probably use a requirements file instead (and/or figure out why it can't find the Rust compiler), but I don't feel like dealing with another side quest.
author Matt Harbison <matt_harbison@yahoo.com>
date Wed, 13 Jul 2022 17:13:33 -0400
parents 127d33e63d1a
children 44bc045a43ca
comparison
equal deleted inserted replaced
49436:9f3edb305261 49437:5baf873ccb6e
87 before_script: 87 before_script:
88 - hg clone . /tmp/mercurial-ci/ --noupdate --config phases.publish=no 88 - hg clone . /tmp/mercurial-ci/ --noupdate --config phases.publish=no
89 - hg -R /tmp/mercurial-ci/ update `hg log --rev '.' --template '{node}'` 89 - hg -R /tmp/mercurial-ci/ update `hg log --rev '.' --template '{node}'`
90 - cd /tmp/mercurial-ci/ 90 - cd /tmp/mercurial-ci/
91 - make local PYTHON=$PYTHON 91 - make local PYTHON=$PYTHON
92 - $PYTHON -m pip install --user -U pytype==2021.04.15 92 - $PYTHON -m pip install --user -U libcst==0.3.20 pytype==2022.03.29
93 variables: 93 variables:
94 RUNTEST_ARGS: " --allow-slow-tests tests/test-check-pytype.t" 94 RUNTEST_ARGS: " --allow-slow-tests tests/test-check-pytype.t"
95 HGTEST_SLOWTIMEOUT: "3600" 95 HGTEST_SLOWTIMEOUT: "3600"
96 PYTHON: python3 96 PYTHON: python3
97 TEST_HGMODULEPOLICY: "c" 97 TEST_HGMODULEPOLICY: "c"