Uploaded image for project: 'Data Management'
  1. Data Management
  2. DM-28158

2021-12-31 is not far enough in the future to trigger an Astropy warning

    XMLWordPrintable

Details

    • Bug
    • Status: Done
    • Resolution: Done
    • None
    • obs_lsst
    • None

    Description

      test_translator.LsstMetadataTranslatorTestCase testMethod=test_imsim_translator failed in the lsst_distrib clean build, probably since we're now less than 53 weeks from the purported observation date, so it's not far enough in the future to trigger the expected warning.

      Attachments

        Activity

          mjuric Mario Juric added a comment - - edited

          I think I just hit this trying to build {{eups distrib install -t v21_0_0 lsst_distrib }}for the SolSysSciCol sprint.

          Is there a workaround (I'd like to stick to the official release, as this will be used for the next ~year)?

          mjuric Mario Juric added a comment - - edited I think I just hit this trying to build {{eups distrib install -t v21_0_0 lsst_distrib }}for the SolSysSciCol sprint. Is there a workaround (I'd like to stick to the official release, as this will be used for the next ~year)?
          ktl Kian-Tat Lim added a comment -

          You could try installing from binaries instead; I think that should bypass the tests.

          Alternatives include waiting for the much-improved and almost-out-the-door v22 or requesting a v21_0_1 patch (which, due to various reasons, almost certainly cannot come out before v22 does).

          ktl Kian-Tat Lim added a comment - You could try installing from binaries instead; I think that should bypass the tests. Alternatives include waiting for the much-improved and almost-out-the-door v22 or requesting a v21_0_1 patch (which, due to various reasons, almost certainly cannot come out before v22 does).
          mjuric Mario Juric added a comment - - edited

          The machines involved are on Ubuntu, so newinstall demands a rebuild .

          I'm trying again with w_latest (need this for later today, unfortunately).

          mjuric Mario Juric added a comment - - edited The machines involved are on Ubuntu, so newinstall demands a rebuild . I'm trying again with w_latest (need this for later today, unfortunately).
          jbosch Jim Bosch added a comment -

          Binaries work fine on Ubuntu (ever since we switched to conda compilers/stdlibs); I do it all the time. You just need to lie about your OS, by setting

          EUPS_PKGROOT=https://eups.lsst.codes/stack/redhat/el7/conda-system/miniconda3-py38_4.9.2-0.6.0

          jbosch Jim Bosch added a comment - Binaries work fine on Ubuntu (ever since we switched to conda compilers/stdlibs); I do it all the time. You just need to lie about your OS, by setting EUPS_PKGROOT= https://eups.lsst.codes/stack/redhat/el7/conda-system/miniconda3-py38_4.9.2-0.6.0
          mjuric Mario Juric added a comment -

          Thanks jbosch – while it comes too late this time around, I will use it next time I need it.

          This seems like a bug, though – shouldn't the install script know this? If so, can someone (ktl?) pass this issue on to the right person in the packaging team to be considered for a fix? I've spent about 6 hours waiting for numerous from-source builds to fail yesterday (until the last one succeeded).

          mjuric Mario Juric added a comment - Thanks jbosch – while it comes too late this time around, I will use it next time I need it. This seems like a bug, though – shouldn't the install script know this? If so, can someone ( ktl ?) pass this issue on to the right person in the packaging team to be considered for a fix? I've spent about 6 hours waiting for numerous from-source builds to fail yesterday (until the last one succeeded).

          People

            jbosch Jim Bosch
            ktl Kian-Tat Lim
            Ian Sullivan
            Ian Sullivan, Jim Bosch, Kian-Tat Lim, Mario Juric, Tim Jenness
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Jenkins

                No builds found.