Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DM-15465: Clean up utils usage with a view to supporting test running in pull requests #323

Merged
merged 28 commits into from
Jul 17, 2020

Commits on Jul 16, 2020

  1. Configuration menu
    Copy the full SHA
    98aea76 View commit details
    Browse the repository at this point in the history
  2. Switch ButlerConfig.configDir to be a ButlerURI

    Make use of new APIs in ButlerURI
    timj committed Jul 16, 2020
    Configuration menu
    Copy the full SHA
    af8e0cc View commit details
    Browse the repository at this point in the history
  3. Switch config discovery from getPackageDir to pkg_resources

    This required that the configs move inside the python package.
    It also needed some cleanup in ButlerURI versus bare paths
    and the addition of support to instantiate a Config from
    a new Resource class.
    timj committed Jul 16, 2020
    Configuration menu
    Copy the full SHA
    65ebfc8 View commit details
    Browse the repository at this point in the history
  4. Remove lsst.utils from test_dbAuth

    No other daf_butler tests include the memory tester
    so the usage here was anomalous.
    timj committed Jul 16, 2020
    Configuration menu
    Copy the full SHA
    afdaef9 View commit details
    Browse the repository at this point in the history
  5. Add the __init__.py back at top level

    Python really really wants it there and setuptools won't
    work without it. It already caused problems with mypy
    so put it back.
    timj committed Jul 16, 2020
    Configuration menu
    Copy the full SHA
    ad4a12b View commit details
    Browse the repository at this point in the history
  6. Create a setup.py to enable test builds with pip

    If lsst.utils is not available locally the files we need
    are downloaded.
    timj committed Jul 16, 2020
    Configuration menu
    Copy the full SHA
    1753bda View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    7ecd59e View commit details
    Browse the repository at this point in the history
  8. Allow longer lines in YAML files

    timj committed Jul 16, 2020
    Configuration menu
    Copy the full SHA
    0210c4f View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    d76b6ca View commit details
    Browse the repository at this point in the history
  10. Explicitly preinstall sphgeom dependencies

    Not sure why the next line doesn't do this
    timj committed Jul 16, 2020
    Configuration menu
    Copy the full SHA
    9ab2646 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    acd40da View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    9d381c6 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    e52d6bf View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    f6c4058 View commit details
    Browse the repository at this point in the history
  15. Adjust tests for missing arguments to account for click 7.1 change

    click 7.0 uses double quotes but 7.1 uses a single quote.
    For now we support both so switch the code to a regex rather
    than a substring match.
    timj committed Jul 16, 2020
    Configuration menu
    Copy the full SHA
    9f1d205 View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    8a2be95 View commit details
    Browse the repository at this point in the history
  17. Enable doc build in action

    timj committed Jul 16, 2020
    Configuration menu
    Copy the full SHA
    278eb13 View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    cd7a94f View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    e80f40f View commit details
    Browse the repository at this point in the history
  20. Configuration menu
    Copy the full SHA
    e098c6d View commit details
    Browse the repository at this point in the history
  21. Update setup.py

    Co-authored-by: Kian-Tat Lim <ktl@slac.stanford.edu>
    timj and ktlim committed Jul 16, 2020
    Configuration menu
    Copy the full SHA
    bfefe54 View commit details
    Browse the repository at this point in the history
  22. Update doc/lsst.daf.butler/configuring.rst

    Co-authored-by: Kian-Tat Lim <ktl@slac.stanford.edu>
    timj and ktlim committed Jul 16, 2020
    Configuration menu
    Copy the full SHA
    e3ac45b View commit details
    Browse the repository at this point in the history

Commits on Jul 17, 2020

  1. Configure test repo to properly use in-memory registry

    We were actually losing our override and getting a default
    sqlite registry file.
    timj committed Jul 17, 2020
    Configuration menu
    Copy the full SHA
    08a12f7 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d9af50c View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    3541962 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    de83b86 View commit details
    Browse the repository at this point in the history
  5. Simplify includeConfig search path by using ButlerURI

    This saves a special "str" logic path.
    timj committed Jul 17, 2020
    Configuration menu
    Copy the full SHA
    5ccfb63 View commit details
    Browse the repository at this point in the history
  6. Enable pytest openfiles checking

    Disable .ttf files opened by matplotlib.
    timj committed Jul 17, 2020
    Configuration menu
    Copy the full SHA
    f2afab2 View commit details
    Browse the repository at this point in the history