Skip to content

Commit bed117a

Browse files
committed
CI: more workaround to ensure we patch the requirements before trying to install them
1 parent b1658ec commit bed117a

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

tox.ini

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,13 +38,20 @@ deps =
3838
devdeps: git+https://github.com/astropy/pyvo.git#egg=pyvo
3939
devdeps: git+https://github.com/astropy/astroquery.git#egg=astroquery
4040

41-
allowlist_externals = bash, sed
41+
allowlist_externals = bash, sed, pytest
4242

43-
commands =
44-
pip freeze
4543

44+
install_command =
4645
# lsdb has tighter minimum dependencies, deal with it here for now, long term handle it from the notebook metadata
46+
# We need to do this here before the dependencies are installed to work around deps conflicts
4747
oldestdeps: bash -c 'echo tutorials/parquet-catalog-demos/irsa-hats-with-lsdb >> ignore_testing'
48+
oldestdeps: bash -c "sed -e 's|lsdb|\#lsdb|g' .binder/requirements.txt"
49+
50+
# Adding back the default install command
51+
python -I -m pip install {opts} {packages}
52+
53+
commands =
54+
pip freeze
4855

4956
# Ignore testing the tutorials listed in ignore_testing file. We have some OS specific ignores,
5057
# too due to issues with e.g. multiprocessing and problems in upstream dependency

0 commit comments

Comments
 (0)