Skip to content
Snippets Groups Projects
  1. Mar 02, 2020
    • Jeremy Bowman's avatar
      Upgrade edx-lint BOM-1298 (#23227) · 45644a35
      Jeremy Bowman authored
      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.
  2. Jan 26, 2020
    • Aarif's avatar
      BOM-1141 · 8cc86d3a
      Aarif authored
      Updating the django-rate-limit requirement.
      updated the django-ratelimit to use unreleased version that supports Django 2.2
      8cc86d3a
  3. Jan 23, 2020
    • Jeremy Bowman's avatar
      Unpin more outdated dependencies (#22898) · 7bbd2295
      Jeremy Bowman authored
      Unpin several more outdated dependencies whose changelogs don't contain any significant backwards incompatible changes. Also add "moto" to the list of packages to uninstall from existing environments, since it requires a jsondiff version that clashes with the one we now use (triggering a harmless but distracting warning on dependency updates).
      
      We can potentially stop using path.py/path altogether by switching to pathlib in the Python 3 standard library, but that merits a separate PR of its own.
      
      Also, note that I'm not actually unpinning freezegun; different PRs restricted it in both constraints.txt and test.in, I'm just removing the latter redundant constraint.
      7bbd2295
  4. Jan 16, 2020
  5. Jan 15, 2020
  6. Jan 02, 2020
    • Manjinder Singh's avatar
      Adding code to output pytest warnings. (#22570) · 6c69b6d4
      Manjinder Singh authored
      * Added pytest-json-report plugin
      	- modifying app-opts in setup.cfg
      	- adding hook to all conftest.py files in repo
      	- setting report to be saved to test_root/log/warnings.json
      	- Writing custom logic to save json report to avoid overwrite if pytest called twice
      This was created to allow us to easily parse through test warnings in jenkins
      6c69b6d4
  7. Dec 30, 2019
    • Jeremy Bowman's avatar
      Unpin assorted dependencies (#22656) · eace6e36
      Jeremy Bowman authored
      eace6e36
    • Jeremy Bowman's avatar
      Remove pytest version constraint (#22626) · 63574e12
      Jeremy Bowman authored
      Fix the issue that was preventing us from upgrading pytest.  pytest does some manipulation of test packages that prevents `pkg_resources` from loading resources from them, but used to contain a workaround for the problem.  That workaround was [removed](https://github.com/pytest-dev/pytest/issues/5392) in 4.6.0 as a performance enhancement when pytest switched from `pkg_resources` to `importlib-metadata` for its own entrypoint handling.  This tripped up one of our test modules which defined classes that loaded templates from inside a test package.  Moving these resources to the parent package fixes the problem.
      
      More and more, `pkg_resources` is being abandoned in favor of `importlib-metadata` and `importlib_resources` as they have a simpler design with much better performance.  However, `importlib_resources` doesn't support loading files from any directory which isn't itself a Python package (and doesn't allow direct use of paths including directories within the...
      63574e12
  8. Dec 27, 2019
  9. Dec 26, 2019
  10. Oct 11, 2019
    • Feanil Patel's avatar
      Pin just edx-drf-extensions. · 695ed0cb
      Feanil Patel authored
      We also pin back edx-lint to fix a regression we introduced when we
      started having to roll back all the requirements changes.
      695ed0cb
  11. Oct 09, 2019
    • Feanil Patel's avatar
      Revert requirements changes due to memory issues. · 5d7bdf91
      Feanil Patel authored
      Some change in the requirements here may be responsible for increased
      CPU and memory usage.  This is causing production LMS for edx.org to run
      into lots of performance issues.  Reverting for now until we can narrow
      it down to which change caused the issue.
      5d7bdf91
  12. Oct 03, 2019
  13. Oct 01, 2019
  14. Sep 24, 2019
  15. Aug 02, 2019
  16. Jul 22, 2019
  17. Jun 05, 2019
  18. May 24, 2019
  19. May 23, 2019
  20. May 19, 2019
  21. Apr 18, 2019
  22. Apr 10, 2019
  23. Feb 21, 2019
  24. Feb 19, 2019
  25. Feb 01, 2019
  26. Jan 08, 2019
  27. Dec 17, 2018
  28. Dec 14, 2018
  29. Dec 11, 2018
  30. Dec 04, 2018
  31. Oct 31, 2018
  32. Oct 30, 2018
  33. Sep 10, 2018
  34. Sep 08, 2018
  35. Aug 13, 2018
  36. Aug 01, 2018
  37. Jul 06, 2018