[default] [meta] mission = hst name = CALDP codename = arcticdrizzle version = 2026.2.1 rc = 07 based_on = https://ssb.stsci.edu/stasis/releases/hst/CALDP-2026.2.1+arcticdrizzle/delivery/hotfix/CALDP-2026.2.1-5+arcticdrizzle-py{{ meta.python_compact}}-{{ system.platform }}-{{ system.arch }}.yml python = 3.12 final = true [conda] installer_name = Miniforge3 installer_version = 24.9.0-0 installer_platform = {{env:STASIS_CONDA_PLATFORM}} installer_arch = {{env:STASIS_CONDA_ARCH}} installer_baseurl = https://github.com/conda-forge/miniforge/releases/download/{{conda.installer_version}} pip_packages = crds==13.1.14 drizzlepac==3.11.0 costools==1.2.7 stwcs==1.7.7 conda_packages = hstcal=3.2.0 conda_packages_purge = hstcal [runtime] PYTHONUNBUFFERED = 1 LANG = C CPPFLAGS = ${CPPFLAGS} -Wno-incompatible-pointer-types TEST_BIGDATA = https://bytesalad.stsci.edu/artifactory crrefer = /grp/hst/cdbs/ iref = /grp/hst/cdbs/iref/ jref = /grp/hst/cdbs/jref/ oref = /grp/hst/cdbs/oref/ [test:gwcs] repository = https://github.com/spacetelescope/gwcs script_setup = pip install -e '.[test]' script = pytest -v -r=fEsx \ --basetemp="{{ func:basetemp_dir() }}" \ --junitxml="{{ func:junitxml_file() }}" [test:tweakwcs] repository = https://github.com/spacetelescope/tweakwcs script_setup = cat << EOF > doctest-skip.patch diff --git a/tweakwcs/imalign.py b/tweakwcs/imalign.py index 351df0f..099c944 100644 --- a/tweakwcs/imalign.py +++ b/tweakwcs/imalign.py @@ -30,0 +31,2 @@ __all__ = ['fit_wcs', 'align_wcs'] +__doctest_skip__ = ['align_wcs'] + EOF patch -p1 -i doctest-skip.patch pip install -e '.[test,docs]' script = pytest -v -r=fEsx \ --basetemp="{{ func:basetemp_dir() }}" \ --junitxml="{{ func:junitxml_file() }}" [test:stwcs] repository = https://github.com/spacetelescope/stwcs disable = true script_setup = pip install -e '.[test]' script = pytest -v -r=fEsx \ --basetemp="{{ func:basetemp_dir() }}" \ --junitxml="{{ func:junitxml_file() }}" [test:stsci.stimage] repository = https://github.com/spacetelescope/stsci.stimage script_setup = export CPPFLAGS="$CPPFLAGS -Wno-incompatible-pointer-types" pip install -e '.[test]' script = pytest -v -r=fEsx \ --basetemp="{{ func:basetemp_dir() }}" \ --junitxml="{{ func:junitxml_file() }}" [test:stsci.image] repository = https://github.com/spacetelescope/stsci.image script_setup = pip install -e '.[test]' script = pytest -v -r=fEsx \ --basetemp="{{ func:basetemp_dir() }}" \ --junitxml="{{ func:junitxml_file() }}" [test:fitsblender] repository = https://github.com/spacetelescope/fitsblender script_setup = pip install -e '.[test]' script = pytest -v -r=fEsx \ --basetemp="{{ func:basetemp_dir() }}" \ --junitxml="{{ func:junitxml_file() }}" [test:spherical_geometry] repository = https://github.com/spacetelescope/spherical_geometry script_setup = pip install -e '.[test]' script = pytest -v -r=fEsx \ --basetemp="{{ func:basetemp_dir() }}" \ --junitxml="{{ func:junitxml_file() }}" [test:stsci.tools] repository = https://github.com/spacetelescope/stsci.tools script_setup = # The following test waits for user input... No thanks. rm -f lib/stsci/tools/tests/test_tkrotext.py git update-index --assume-unchanged lib/stsci/tools/tests/test_tkrotext.py pip install -e '.[test]' script = pytest -v -r=fEsx \ --basetemp="{{ func:basetemp_dir() }}" \ --junitxml="{{ func:junitxml_file() }}" [test:stsci.skypac] repository = https://github.com/spacetelescope/stsci.skypac parallel = false script_setup = pip install -e '.[test]' script = # No tests python -c 'import stsci.skypac' [test:wfpc2tools] repository = https://github.com/spacetelescope/wfpc2tools script_setup = pip install -e '.[test]' script = # No meaningful tests python -c 'import wfpc2tools' [test:wfc3tools] repository = https://github.com/spacetelescope/wfc3tools script_setup = pip install -e '.[test]' script = pytest -v -r=fEsx \ --basetemp="{{ func:basetemp_dir() }}" \ --junitxml="{{ func:junitxml_file() }}" [test:stistools] repository = https://github.com/spacetelescope/stistools script_setup = pip install -e '.[test]' script = # echo > tests/conftest.py # git update-index --assume-unchanged tests/conftest.py # stistools does not follow the dev/ structure on Artifactory pytest -v -r=fEsx \ --bigdata \ --slow \ --env="" \ --basetemp="{{ func:basetemp_dir() }}" \ --junitxml="{{ func:junitxml_file() }}" [test:crds] disable = true repository = https://github.com/spacetelescope/crds script_setup = pip install -e '.[test]' script = pytest -v -r=fEsx \ --basetemp="{{ func:basetemp_dir() }}" \ --junitxml="{{ func:junitxml_file() }}" [test:costools] repository = https://github.com/spacetelescope/costools script_setup = pip install -e '.[test]' script = pytest -v -r=fEsx \ --basetemp="{{ func:basetemp_dir() }}" \ --junitxml="{{ func:junitxml_file() }}" [test:calcos] repository = https://github.com/spacetelescope/calcos script_setup = pip install -e '.[test]' script = pytest -v -r=fEsx \ --slow \ --basetemp="{{ func:basetemp_dir() }}" \ --junitxml="{{ func:junitxml_file() }}" [test:stsci.imagestats] repository = https://github.com/spacetelescope/stsci.imagestats script_setup = pip install -e '.[test]' script = pytest -v -r=fEsx \ --basetemp="{{ func:basetemp_dir() }}" \ --junitxml="{{ func:junitxml_file() }}" [test:acstools] repository = https://github.com/spacetelescope/acstools script_setup = git lfs install git lfs pull pip install -e '.[all,test]' script = pytest -v -r=fEsx \ --remote-data \ --basetemp="{{ func:basetemp_dir() }}" \ --junitxml="{{ func:junitxml_file() }}" [test:drizzlepac] repository = https://github.com/spacetelescope/drizzlepac parallel = false script_setup = pip install -e .'[test]' pip install pytest-xdist script = pytest -v -r=fEsx \ -n $(( $CPU_COUNT / 2 )) \ --dist=loadscope \ --slow \ --bigdata \ --env=dev\ --basetemp="{{ func:basetemp_dir() }}" \ --junitxml="{{ func:junitxml_file() }}" \ [test:hstcal] repository = https://github.com/spacetelescope/hstcal build_recipe = https://github.com/conda-forge/hstcal-feedstock parallel = false script_setup = mamba install cmake make compilers pkg-config cfitsio python -m pip install ci_watson pytest pytest-xdist {{ workaround.conda_reactivate }} mkdir -p build pushd build cmake .. \ -DCMAKE_INSTALL_PREFIX=${CONDA_PREFIX} \ -DCMAKE_BUILD_TYPE=Release make make install popd script = export OMP_NUM_THREADS=$(( $CPU_COUNT / 2 )) pytest -v -r=fEsx \ -n $CPU_COUNT \ --bigdata \ --env=dev \ --basetemp="{{ func:basetemp_dir() }}" \ --junitxml="{{ func:junitxml_file() }}" \ || true [deploy:artifactory:test results] files = {{ storage.results_dir }}/results-*.xml dest = {{ meta.mission }}/{{ info.build_name }}/results/ [deploy:artifactory:delivery] files = {{ storage.output_dir }}/** dest = {{ meta.mission }}/{{ info.build_name }}/ [deploy:docker] registry = bytesalad.stsci.edu image_compression = zstd -v -9 -c build_args = SNAPSHOT_INPUT={{ info.release_name }}.yml SNAPSHOT_PKGDIR=packages tags = {{ meta.name }}:{{ info.build_number }}-py{{ meta.python_compact }} {{ deploy.docker.registry }}/{{ meta.name }}:{{ info.build_number }}-py{{ meta.python_compact }} test_script = source /etc/profile mamba info python -m pip freeze mamba list