Skip to content
Snippets Groups Projects
  1. Dec 30, 2019
    • Jeremy Bowman's avatar
      Unpin assorted dependencies (#22656) · eace6e36
      Jeremy Bowman authored
    • 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.
    • Awais Qureshi's avatar
      BOM-1117 · 928a84f9
      Awais Qureshi authored
      Specifying a namespace in django.conf.urls.include() without providing an app_name is deprecated.
      Adding the app_name attribute in the included module.
      928a84f9
    • edX requirements bot's avatar
      Updating Python Requirements · a05714e3
      edX requirements bot authored
      a05714e3
  2. Dec 27, 2019
  3. Dec 26, 2019
  4. Dec 23, 2019
  5. Dec 20, 2019
  6. Dec 19, 2019
  7. Dec 18, 2019
  8. Dec 17, 2019
  9. Dec 16, 2019
  10. Dec 13, 2019
  11. Dec 12, 2019
  12. Dec 11, 2019
  13. Dec 10, 2019
  14. Dec 09, 2019
  15. Dec 06, 2019