Skip to content

[Code scan] Conda package omits runtime dependencies while installing with --no-deps #139

Description

@njzjz

Source: Codex global repository scan of deepmodeling/dpti at commit b719828.
Project: DeepModeling Agent Code Scan

Problem
The conda recipe installs the package with pip install --no-deps, but its run requirements omit several dependencies declared in setup.py, including apache-airflow, scipy, numpy, and pymbar. The recipe test only imports dpti, so missing dependencies for real modules and DAGs are not caught.

Code references

dpti/setup.py

Line 12 in b719828

install_requires=['apache-airflow>2.0', 'scipy', 'numpy', 'pymbar', 'dargs', 'dpdispatcher>=0.3']

script: python -m pip install --no-deps --ignore-installed .


Reproduction
Build and install the conda package in a clean environment, then run:

python -c "import dpti.ti; import dpti.dags.dp_ti_gdi"

Expected result
The conda runtime dependencies should cover the modules shipped by the package, or optional extras should be split explicitly and tested accordingly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    Status
    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions