Skip to content

Inconsistent requirements on requirements.txt, environment.yml, README.md, setup.py and GitHub CI #668

@caioolivv

Description

@caioolivv

The README.md file shows the following requirements

python >= 3.8
numpy >= 1.17
scipy >= 1.6
astropy >= 4, != 5.0
CCL >= 2.7.1.dev10+gf81b59a4, <= 3
pytest >= 3.0

while requirements.txt shows

numpy >= 1.17
scipy >= 1.3
astropy >= 4, != 5.0

and environment.yml requires

python >= 3.10.2
numpy == 1.25.2
scipy >= 1.11.2
astropy == 5.3.2
pytest == 7.4.0

Also, setup.py seems to require

python == 3.8
astropy >= 4.0

Finally, from what I understand, build_check.yml tries to install the latest available (and consistent) versions of

conda-forge
gobject-introspection
pygobject
numcosmo
cmake
swig
setuptools_scm
sphinx
sphinx_rtd_theme
nbconvert
pandoc
ipython
pytest
pytetst-cov
pylint
coveralls

though I'm not sure about it, since if that was the case, all CI's would break while trying to install latest numcosmo. It then installs the requirements in requirements.txt and the latest CCL from source (which is inconsistent with environment.yml.

Aside from the obvious inconsistencies, there's probably more since libraries like numcosmo have breaking dependencies.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions