[default] [meta] mission = hst name = CALDP codename = blazingsaddles version = 2026.3.1 rc = 01 python = 3.14 final = false [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 = drizzlepac==3.11.0 photutils==2.3.0 conda_packages = hstcal=3.3.0rc1 [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:photutils] repository = https://github.com/astropy/photutils script_setup = pip install -e '.[test]' script = exit 0 [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: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