From 0fbb52641279de33bcd86b7dfcbc3048ad67549e Mon Sep 17 00:00:00 2001 From: Brett Date: Wed, 22 Jan 2025 11:24:08 -0500 Subject: [PATCH] change dkist directory to fix pytest configuration --- tox.ini | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/tox.ini b/tox.ini index 16e704b47..e4134aeeb 100644 --- a/tox.ini +++ b/tox.ini @@ -313,17 +313,13 @@ allowlist_externals = bash extras = commands_pre = - bash -c "pip freeze -q | grep 'asdf @' > {env_tmp_dir}/requirements.txt" - git clone https://github.com/DKISTDC/dkist.git - pip install -e dkist[tests] - pip install -r {env_tmp_dir}/requirements.txt + git clone https://github.com/DKISTDC/dkist.git . + bash -c "pip freeze -q | grep 'asdf @' > {env_tmp_dir}/asdf_requirement.txt" + pip install -e ".[tests]" + pip install -r {env_tmp_dir}/asdf_requirement.txt pip freeze commands = -# the AsdfManifestURIMismatchWarning filter can be removed when a new sunpy -# is released which contains the fixed manifests: -# https://github.com/sunpy/sunpy/pull/7432 - pytest dkist --benchmark-skip \ - -W "ignore::asdf.exceptions.AsdfManifestURIMismatchWarning" + pytest --benchmark-skip [testenv:abacusutils] change_dir = {env_tmp_dir}