File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ FROM ${IMAGE}
44USER jovyan
55RUN conda install -y -n base -c conda-forge python=${PY_VER} git graphviz pydot && \
66 conda clean -afy
7- COPY --chown=1000:100 ./pyproject.toml ./README.md ./LICENSE.txt ./datajoint.pub /main/
7+ COPY --chown=1000:100 ./pyproject.toml ./README.md ./LICENSE.txt /main/
88COPY --chown=1000:100 ./datajoint /main/datajoint
99RUN \
1010 pip install --no-cache-dir /main && \
Original file line number Diff line number Diff line change @@ -63,9 +63,6 @@ datajoint = "datajoint.cli:cli"
6363[tool .setuptools ]
6464packages = [" datajoint" ]
6565
66- [tool .setuptools .package-data ]
67- datajoint = [" datajoint.pub" ]
68-
6966[build-system ]
7067requires = [
7168 " setuptools>=60" ,
Original file line number Diff line number Diff line change @@ -102,14 +102,7 @@ class IJ(dj.Lookup):
102102 {"i" : 2 , "j" : 3 },
103103 {"i" : 2 , "j" : 4 },
104104 ]
105- assert (
106- "\
107- dj repl\n \n \
108- \
109- schema modules:\n \n \
110- - test_schema"
111- == stderr [159 :200 ]
112- )
113- assert "'test_schema'" == stdout [4 :17 ]
114- assert "Schema `djtest_cli`" == stdout [22 :41 ]
115- assert fetch_res == json .loads (stdout [47 :209 ].replace ("'" , '"' ))
105+
106+ cleaned = stdout .strip (" >\t \n \r " )
107+ for key in ("test_schema" , "Schema `djtest_cli`" ,):
108+ assert key in cleaned , f"Key { key } not found in config from stdout: { cleaned } "
Original file line number Diff line number Diff line change 55from os import path
66
77
8+ @pytest .mark .skip (reason = "marked for deprecation" )
89def test_check_pubkey ():
910 base_name = "datajoint"
1011 base_meta = pkg_resources .get_distribution (base_name )
You can’t perform that action at this time.
0 commit comments