Skip to content
Snippets Groups Projects
  1. Apr 01, 2020
    • Jeremy Bowman's avatar
      Downgrade to pytest-django 3.8.0 for now (#23566) · 9ef0aa48
      Jeremy Bowman authored
      We'll upgrade this again along with pytest once pytest-dev/pytest#6925 is resolved.
      
      Also, it looks like a flaky error in test class DB setup outside a transaction was mucking things up for the rest of the test shard. I didn't try to fix the flakiness, but this should at least limit the blast radius to just that test class. We really need to start using setUpTestData() more consistently.
  2. Mar 30, 2020
  3. Mar 26, 2020
  4. Mar 25, 2020
  5. Mar 12, 2020
  6. Mar 11, 2020
  7. Mar 10, 2020
    • Ayub-khan's avatar
      BOM-1045 · 3c1140dc
      Ayub-khan authored
      -Upgrade edx-drf-extensions
      -settings-update
      3c1140dc
  8. Mar 09, 2020
  9. Mar 02, 2020
    • Diana Huang's avatar
      0024f001
    • 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.
  10. Feb 27, 2020
    • Robert Raposa's avatar
      fix tests and requirements · c291e4a5
      Robert Raposa authored
      try to fix github
      c291e4a5
    • Jeremy Bowman's avatar
      Remove duplicate dependency version constraints (#23198) · 230bee9a
      Jeremy Bowman authored
      Remove duplicate constraints in requirements/constraints.txt uncovered by the recent change in pip-compile output format. I sorted the pinned dependencies by name to try and make it more obvious if this happens again. I also upgraded to pip-tools 4.5.1, which removes the line numbers from the enhanced pip-compile output added in 4.5.0, which should reduce future diff churn and merge conflicts but means that there's a large diff this one last time.
      
      Also unpin edx-search again after the previous change to do that was apparently broken by a merge conflict.
  11. Feb 26, 2020
    • Tim McCormack's avatar
      Minimize dependency on django-celery (#23193) · 95d4acad
      Tim McCormack authored
      - Reimplement `djcelery.common.respect_language` utility function so we
        can drop the dependency.
      - Loosen `celery` pinning to a range, which brings in a fix for a
        possible crash bug
      
      Also, pin `path` to 13.1.0 for now in order to continue supporting py35.
      95d4acad
  12. Feb 24, 2020
    • Robert Raposa's avatar
      add constraint for edx-drf-extensions · ce0b4242
      Robert Raposa authored
      There is a planned edx-drf-extension update to 3.0.0 to remove the
      toggle used for ENFORCE_JWT_SCOPES. Currently, edx-platform is dependent
      on the this toggle. This constraint will keep other `make upgrade` PRs
      working in the short window before the edx-paltform PR to remove the
      same toggle can land.
      
      BOM-1324
      ce0b4242
  13. Feb 21, 2020
  14. Feb 18, 2020
  15. Feb 14, 2020
  16. Feb 13, 2020
  17. Feb 11, 2020
    • Aarif's avatar
      replaced jsonfield with jsonfield2 · c9309a4b
      Aarif authored
      c9309a4b
    • Ayub-khan's avatar
      BOM-1121 · d3a02bc3
      Ayub-khan authored
      -Updated middleware setting to use use middleware insted of
      middleware_classes
      -github install of django-method-override fork to support
      new style middleware in django1.11
      d3a02bc3
  18. Feb 06, 2020
    • Michael Terry's avatar
      Update requirements · 6813414a
      Michael Terry authored
      Fix constraints to not have a lingering pin on edx-when. And
      add constraint on version of mock that supports python 3.5.
      
      And then a general make upgrade.
      6813414a
  19. Feb 03, 2020
  20. Jan 30, 2020
  21. Jan 24, 2020
  22. Jan 23, 2020
    • Manjinder Singh's avatar
      Constraining edx-rest-api-client (#22924) · d9b8fb6e
      Manjinder Singh authored
      * Constraining edx-rest-api-client
      
      * Decreased pin on edx-rest-api-client from <3.0.0 to <2.0.0
      d9b8fb6e
    • 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
  23. Jan 22, 2020
  24. Jan 16, 2020
  25. Jan 14, 2020
  26. Jan 06, 2020
  27. Jan 03, 2020
  28. 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
  29. 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
  30. Dec 27, 2019
  31. Dec 26, 2019
  32. Dec 16, 2019
    • Ayub khan's avatar
      BOM-1085 · 5c4c9fd2
      Ayub khan authored
      -bumped django-model-utils version to support django 22
      5c4c9fd2