Skip to content
Snippets Groups Projects
  1. Aug 03, 2021
  2. Jul 29, 2021
  3. Jul 28, 2021
  4. Jul 22, 2021
  5. Jul 21, 2021
  6. Jul 20, 2021
  7. Jul 13, 2021
  8. Jul 06, 2021
  9. Jun 30, 2021
  10. Jun 29, 2021
  11. Jun 15, 2021
  12. Jun 03, 2021
  13. Jun 01, 2021
  14. May 17, 2021
  15. May 11, 2021
  16. May 06, 2021
  17. May 05, 2021
  18. Apr 21, 2021
  19. Apr 20, 2021
  20. Apr 12, 2021
  21. Apr 06, 2021
  22. Mar 26, 2021
  23. Mar 22, 2021
  24. Mar 08, 2021
  25. Feb 26, 2021
  26. Feb 25, 2021
  27. Feb 16, 2021
  28. Jan 29, 2021
  29. Jan 27, 2021
  30. Jan 15, 2021
    • Richard van der Hoff's avatar
      Remote dependency on distutils (#9125) · 9ffac2be
      Richard van der Hoff authored
      `distutils` is pretty much deprecated these days, and replaced with
      `setuptools`. It's also annoying because it's you can't `pip install` it, and
      it's hard to figure out which debian package we should depend on to make sure
      it's there.
      
      Since we only use it for a tiny function anyway, let's just vendor said
      function into our codebase.
      9ffac2be
  31. Jan 13, 2021
  32. Jan 12, 2021
    • Dan Callahan's avatar
      Fix failures in Debian packaging (#9079) · fa6deb29
      Dan Callahan authored
      Debian package builds were failing for two reasons:
      
       1. Python versions prior to 3.7 throw exceptions when attempting to print
          Unicode characters under a "C" locale. (#9076)
      
       2. We depended on `dh-systemd` which no longer exists in Debian Bullseye, but
          is necessary in Ubuntu Xenial. (#9073)
      
      Setting `LANG="C.UTF-8"` in the build environment fixes the first issue.
      See also: https://bugs.python.org/issue19846
      
      
      
      The second issue is a bit trickier. The dh-systemd package was merged into
      debhelper version 9.20160709 and a transitional package left in its wake.
      
      The transitional dh-systemd package was removed in Debian Bullseye.
      
      However, Ubuntu Xenial ships an older debhelper, and still needs dh-systemd.
      
      Thus, builds were failing on Bullseye since we depended on a package which had
      ceased existing, but we couldn't remove it from the debian/control file and our
      build scripts because we still needed it for Ubuntu Xenial.
      
      We can fix the debian/control issue by listing dh-systemd as an alternative to
      the newer versions of debhelper. Since dh-systemd declares that it depends on
      debhelper, Ubuntu Xenial will select its older dh-systemd which will in turn
      pull in its older debhelper, resulting in no change from the status quo. All
      other supported releases will satisfy the debhelper dependency constraint and
      skip the dh-systemd alternative.
      
      Build scripts were fixed by unconditionally attempting to install dh-systemd on
      all releases and suppressing failures.
      
      Once we drop support for Ubuntu Xenial, we can revert most of this commit and
      rely on the version constraint on debhelper in debian/control.
      
      Fixes #9076
      Fixes #9073
      
      Signed-off-by: default avatarDan Callahan <danc@element.io>
      fa6deb29
  33. Dec 09, 2020
  34. Nov 18, 2020
Loading