1. 27 Oct, 2020 3 commits
    • Kipp Cannon's avatar
      update change log, set release date · bf9cc77e
      Kipp Cannon authored
      bf9cc77e
    • Kipp Cannon's avatar
      Revert "Switch from distutils to setuptools to fix namespace package issues" · 5db36130
      Kipp Cannon authored
      This reverts commit 866c600a.
      
      This patch causes the test suite to fail with
      
      Traceback (most recent call last):
        File "/home/kipp/local/bin/ligolw_print", line 4, in <module>
          __import__('pkg_resources').run_script('python-ligo-lw==1.7.0', 'ligolw_print')
        File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 665, in run_script
          self.require(requires)[0].run_script(script_name, ns)
        File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 1451, in run_script
          raise ResolutionError(
      pkg_resources.ResolutionError: Script 'scripts/ligolw_print' not found in metadata at None
      5db36130
    • Kipp Cannon's avatar
      utils: expand auto format detection logic · ad826ae2
      Kipp Cannon authored
      - prior to this, compress=None explicitly selected "no compression", and was also the default, and when writing a file it was always necessary to explicitly enable compression if desired.  now:
      - compress=None means "select default behaviour", and does not necessarily mean to disable compression
      - load_fileobj() and write_fileobj() (and by proxy load_filename(), write_filename(), load_url(), write_url()) accept compress=False to explicitly disable compression.  this is a new keyword argument and does not break backwards compatibility
      - load_fileobj() and write_filename() accept compress="auto" to explicitly enable automatic format detection.  this is a new keyword argument and does not break backward compatibility
      - load_fileobj()'s compress=None default is to select "auto" mode, which is equivalent to the previous behaviour
      - write_filename()'s compress=None default is to select "auto" mode, which is not equivalent to previous behaviour and so breaks compatibility, however, in practice all calling codes include logic to set or clear the (deprecated) gz keyword argument to force compression on or off.  the gz keyword argument is maintained for backwards compatibility and continues to override the compress= keyword argument so this change will have no effect on calling codes
      ad826ae2
  2. 09 Oct, 2020 8 commits
  3. 01 Aug, 2020 1 commit
    • Kipp Cannon's avatar
      utils: tweak handling of new "compress" keyword · e11928f7
      Kipp Cannon authored
      - the default value for the existing "gz" keyward argument is "False", not None, which breaks the error checking the temporary _normalize_compress_kwarg() function.  this patch fixes the error checking, but it's not as good as it used to be because some mistakes can't be tested for.
      e11928f7
  4. 30 Jul, 2020 7 commits
  5. 29 Jul, 2020 2 commits
  6. 28 Jul, 2020 3 commits
  7. 07 Jul, 2020 1 commit
    • Leo Pound Singer's avatar
      Make glue and lal Recommended, but not hard dependencies · 39252590
      Leo Pound Singer authored
      lal is used only for LIGOTimeGPS, and the import is at the point of
      use and not at module level. glue is used to provide old ILWD format
      support, and glue imports are guarded by if statements. The basic
      functionality of python-ligo-lw is still present if lal and glue are
      missing, so it is appopriate to describe the relationship using
      `Recommends` rather than `Depends`.
      
      On the other hand, LALSuite uses glue pervasively, so LALSuite must
      Depend on python-ligo-lw.
      
      This breaks the circular dependency that was a problem in
      lscsoft/lalsuite!644.
      39252590
  8. 06 Jul, 2020 1 commit
    • Leo Pound Singer's avatar
      Replace glue.text_progress_bar with tqdm · 55b22515
      Leo Pound Singer authored
      Glue is not being actively maintained. Tqdm is a very popular and
      lightweight progress bar and is nicer than the one in glue anyway.
      So many packages use tqdm that the user is likely to already have
      it on their system.
      55b22515
  9. 16 Apr, 2020 2 commits
  10. 14 Apr, 2020 1 commit
  11. 11 Mar, 2020 1 commit
  12. 26 Feb, 2020 10 commits