1. 19 Aug, 2019 12 commits
  2. 26 Dec, 2018 9 commits
  3. 12 Dec, 2018 2 commits
  4. 09 Dec, 2018 3 commits
  5. 04 Oct, 2018 7 commits
  6. 22 Jun, 2018 7 commits
    • Drew Parsons's avatar
      remove _compiled.so when cleaning · 776d049c
      Drew Parsons authored
      776d049c
    • Drew Parsons's avatar
      handle python-bumps-dbgsym as a dummy package · bb25957d
      Drew Parsons authored
      python-bumps-dbgsym depends on python3-bumps-dbgsym for debug symbols,
      since _compiled.so is the same file for either python version.
      
      Otherwise there is a file conflict in the /usr/lib/debug/ entry.
      
      Yes, this means you'll pull in python3 if you try to use the debug
      symbols for python2.  Why are you using python2 anyway?  It's time to
      use python3 only.
      bb25957d
    • Drew Parsons's avatar
      use dpkg-buildflags when compiling _compiled.so · 887a8036
      Drew Parsons authored
      provides -g to get debug symbols, among other things
      887a8036
    • Drew Parsons's avatar
      add ${shlibs:Depends} to python*-bumps · 1316478e
      Drew Parsons authored
      1316478e
    • Drew Parsons's avatar
      _compiled.so destabilises build time tests of dream, so skip them · ee001115
      Drew Parsons authored
      but do run gui tests on python3 now.
      
      dream.bounds fails build time tests:
      bounds handlers test ... FAIL
      ======================================================================
      FAIL: bounds handlers test
      ----------------------------------------------------------------------
      Traceback (most recent call last):
        File "/usr/lib/python3/dist-packages/nose/case.py", line 197, in runTest
          self.test(*self.arg)
        File "/home/projects/python-bumps/.pybuild/cpython3_3.6_bumps/build/bumps/dream/bounds.py", line 207, in test
          assert norm(w(array([v, v, v])) - w.apply(v+0)) == 0
      AssertionError
      
      ----------------------------------------------------------------------
      
      Failure is intermittent: it might succeed when run locally in the build
      dir.
      
      When it fails, the failure in bumps.dream.bounds.test() is this:
      with t='reflect',
        v=array([ 12.,  12., -12., -12.]),
      
        w = w(array([v, v, v])) =
          = array([[  8., -32.,   2., -12.],
                   [  8., -32.,   2., -12.],
                   [  8., -32.,   2., -12.]])
      and
        w.apply(v+0)=array([  8., -32.,   2., -12.])
      
      So we should get
        w(array([v, v, v])) - w.apply(v+0)
        = array([[  0.,   0.,   0.,   0.],
                 [  0.,   0.,   0.,   0.],
      	   [  0.,   0.,   0.,   0.]])
      which has norm 0
      
      Instead when the test fails we get
        w(array([v, v, v])) - w.apply(v+0)
        = array([[  0.,   0.,   0.,   0.],
                 [  0.,   0.,   0.,   0.],
      	   [  0.,   0., -14.,   0.]])
      which has non-zero norm (46.17358552246078).
      
      Might need to inspect handling of the bounds_reflect function in
      compiled.c more closely.
      ee001115
    • Drew Parsons's avatar
      bumps/dream:_compiled.so is hardwired into compiled.py so don't rename · 3fcb1780
      Drew Parsons authored
      Simpler to not let dh_python* rename to multiarch versions
      than to let it and then add symlinks for the generic _compiled.so.
      
      The alternative is to patch compiled.py to look for the multiarch
      .so file.
      3fcb1780
    • Drew Parsons's avatar
      build compiled.c with Random123 to speed up bumps/dream · 3a1bb580
      Drew Parsons authored
      see README.rst
      
      use system Random123, not bumps' version
      3a1bb580