Upgrade edx-lint BOM-1298 (#23227)
The last time we tried this upgrade we encountered timeouts on the quality job, which it now appears were due to the worker running pylint common running out of memory and killing the Jenkins process. Switching to a different worker type with double the RAM (8 GB vs. 4 GB) seems to have fixed this; about 5.5 GB was used. Upstream is aware of the high memory usage on large projects, it's apparently due primarily to a cache of parsed modules: https://github.com/PyCQA/pylint/issues/1495 . Even after disabling some of the new checks that have been added, the new version of pylint found about twice as much to complain about. Just bumping the threshold for now to unblock the Django upgrade, we can try automated utilities like pyupgrade to fix some of these later.
Showing
- pylintrc 6 additions, 1 deletionpylintrc
- pylintrc_tweaks 7 additions, 1 deletionpylintrc_tweaks
- requirements/constraints.txt 3 additions, 0 deletionsrequirements/constraints.txt
- requirements/edx/base.txt 1 addition, 1 deletionrequirements/edx/base.txt
- requirements/edx/development.txt 7 additions, 6 deletionsrequirements/edx/development.txt
- requirements/edx/paver.txt 1 addition, 1 deletionrequirements/edx/paver.txt
- requirements/edx/testing.in 1 addition, 1 deletionrequirements/edx/testing.in
- requirements/edx/testing.txt 7 additions, 6 deletionsrequirements/edx/testing.txt
- scripts/Jenkinsfiles/quality 2 additions, 1 deletionscripts/Jenkinsfiles/quality
- scripts/thresholds.sh 1 addition, 1 deletionscripts/thresholds.sh
Please register or sign in to comment