1. 03 Feb, 2022 1 commit
  2. 28 Jan, 2022 2 commits
    • Aurel's avatar
      WIP: zope4 on python patches from Aurel (+changes from jerome) · 9943ce81
      Aurel authored
      build on zope4
      
      wip : patches
      
      update patches
      
      reactivatee some patches & egg and remove dep to old ZSQLMEthod
      
      fix zope patch
      
      add Sessions product
      
      reintroduce reStructuredText
      
      use ExternalEditor compatible with Zope4
      
      reinstroduce the config of _Z2PORT and _Z2HOST for testing
      
      fix patch ?
      
      add CMFDefault
      
      Revert "add CMFDefault"
      
      This reverts commit 3e3545ebd02fa188f4265301bbbf6b6b0f0dad9b.
      
      pin eggs version
      
      jerome: stop allowing version picking and pin versions
      9943ce81
    • Jérome Perrin's avatar
      ERP5: Start timerserver from wsgi script · 6c6bfdd5
      Jérome Perrin authored
      Depends on erp5!1529 and erp5!1534
      
      See merge request !1114
      6c6bfdd5
  3. 27 Jan, 2022 5 commits
  4. 21 Jan, 2022 1 commit
  5. 20 Jan, 2022 1 commit
  6. 19 Jan, 2022 1 commit
  7. 18 Jan, 2022 2 commits
  8. 17 Jan, 2022 2 commits
  9. 14 Jan, 2022 3 commits
  10. 12 Jan, 2022 3 commits
  11. 11 Jan, 2022 4 commits
  12. 07 Jan, 2022 4 commits
  13. 06 Jan, 2022 6 commits
  14. 05 Jan, 2022 1 commit
  15. 04 Jan, 2022 4 commits
    • Joanne Hugé's avatar
    • Joanne Hugé's avatar
    • Levin Zimmermann's avatar
      software/fluentd: Fix SR test on Debian 11 · b964b95b
      Levin Zimmermann authored
      On Debian 10 the test was successful because it could use the system
      python (usr/bin/python). In Debian 11 the system python isn't available
      anymore, therefore it fails. To ensure the Fluentd program can successfully
      execute the "python custom_read_bme280.py" command, the script passes
      the same python binary to the Fluentd config file with which the test
      is called (sys.executable).
      b964b95b
    • Kirill Smelkov's avatar
      component/python-2.7: Lib/subprocess: Speedup close_fds=True · ce75e16e
      Kirill Smelkov authored
      @romain reports that Popen(close_fds=True) is slow on py2. Let's semantically
      backport from py3 how to close only actually opened file descriptors instead of
      whole 3..`ulimit -n` range.
      
      Attached test benchmark shows the following results with `ulimit -n`=65K:
      
      Before this patch:
      
          $ ./bin/python2.7 ~/x.py
          close_fds=False:
          0.001251 s/call
          0.001337 s/call
          0.001486 s/call
      
          close_fds=True:
          0.017973 s/call
          0.018152 s/call
          0.018204 s/call
      
      After the patch:
      
          $ ./bin/python2.7 ~/x.py
          close_fds=False:
          0.001391 s/call
          0.001416 s/call
          0.001570 s/call
      
          close_fds=True:
          0.001469 s/call
          0.001479 s/call
          0.001491 s/call
      
      i.e. ~12x speedup.
      
      References on this subject are in the patch itself.
      
      The test benchmark is below:
      
      ---- 8< ----
      import timeit
      from subprocess import check_call
      
      def f():
          check_call(['true'], close_fds=False)
      def g():
          check_call(['true'], close_fds=True)
      
      N=3
      n=100
      print 'close_fds=False:'
      for i in range(N):
          print '%.6f s/call' % (timeit.timeit(f, number=n) / n)
      print
      print 'close_fds=True:'
      for i in range(N):
          print '%.6f s/call' % (timeit.timeit(g, number=n) / n)
      
      /helped-by @jm
      ce75e16e