Skip to content
Snippets Groups Projects
  1. Feb 23, 2023
  2. Feb 28, 2022
  3. Sep 30, 2021
  4. Jun 17, 2021
    • Antoine Lambert's avatar
      requirements-server: Pin psycopg2 to < 2.9 · 51d5c999
      Antoine Lambert authored
      psycopg2 2.9 release broke compatibility with django 2.2 release
      and deposit tests are failing since.
      
      That error was missed by psycopg2 maintainers as they are testing
      against django >= 3.1 where the issue does not appear.
      
      So pin psycopg2 version to avoid test failures.
      v0.14.2
      51d5c999
  5. Sep 17, 2020
  6. Jan 10, 2020
    • David Douard's avatar
      Make tests pass with django 2 · 75e7385e
      David Douard authored
      For this we:
      
      - ensure we create the DepositRequest with str as raw_metadata (instead
        of a bytes), and
      - make atom_dataset return a str instead of a bytes
      
        Every time this chunk of data is sent on the wire (http req to the django app)
        this needs to be an str, otherwise we have things like:
      
          raw_metadata = "b'[...]'"
      
        especially when testing against django 2, which is the only django version
        available on debian sid, so this is needed to make it possible to build the
        deb file on sid *with* tests enabled.
      - add a py3-django2 environment in tox
      - bump the dependency to django <3 in requirements-server.txt (otherwise it
        will take precendence on the deps: field of the tox file, thus execute tests
        in py3-django2 with django 1.11).
      
      Note that no other tests than executing pytest have been done with django2, so
      do not expect it works flawlessly.
      75e7385e
  7. Apr 13, 2019
  8. Oct 02, 2018
    • vlorentz's avatar
      Fix dependencies. · 3c94d488
      vlorentz authored
      Django 2.0 removed `django.core.urlresolvers` (which was
      replaced/deprecated in favor of `django.urls` in 1.10).
      Django_nose is also needed to run tests.
      3c94d488
  9. Jul 20, 2018
  10. Jul 06, 2018
  11. Jan 24, 2018
  12. Jan 11, 2018
  13. Oct 16, 2017
  14. Sep 18, 2017
  15. Aug 09, 2017
  16. Jul 31, 2017
  17. Jul 28, 2017
  18. Jun 14, 2017
  19. Jun 07, 2017
  20. May 22, 2017
  21. May 19, 2017
Loading