Skip to content
Snippets Groups Projects
  1. Aug 26, 2020
  2. Aug 04, 2020
  3. Jun 16, 2020
  4. Jun 11, 2020
    • morenol's avatar
      Upgrade transifex-client (#24183) · cfb53bb9
      morenol authored
      Upgrade transifex-client version.
      
      This is only made in order to run the tests with a transifex-client version compatible with python3.8
      
      The actual problem that we have in edx-platform is that the last version of transifex-client has as constraint python-slugify<2.0.0 which is not compatible with the current requierements of edx-platform on the other hand, the current version used in edx-platform is not compatible with python3.8
      cfb53bb9
  5. May 06, 2020
  6. 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.
  7. 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
  8. 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
  9. Jan 16, 2020
  10. Jan 15, 2020
  11. 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
  12. 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 package).  Jinja2 chose a [different approach](https://github.com/pallets/jinja/pull/1082) that we may want to emulate in our resource handling.
      
      Also fixed usage of a removed `pytest.raises()` parameter and a bug in our configuration of the `common/lib` tests that became a problem after the upgrade.
      63574e12
  13. Dec 27, 2019
  14. Dec 26, 2019
  15. 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
  16. 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
  17. Oct 03, 2019
  18. Oct 01, 2019
  19. Sep 24, 2019
  20. Aug 02, 2019
  21. Jul 22, 2019
  22. Jun 05, 2019
  23. May 24, 2019
  24. May 23, 2019
  25. May 19, 2019
  26. Apr 18, 2019
  27. Apr 10, 2019
  28. Feb 21, 2019
  29. Feb 19, 2019
  30. Feb 01, 2019
  31. Jan 08, 2019
  32. Dec 17, 2018
  33. Dec 14, 2018
  34. Dec 11, 2018
  35. Dec 04, 2018
  36. Oct 31, 2018
  37. Oct 30, 2018
Loading