skypyproject / skypy

SkyPy: A package for modelling the Universe.
BSD 3-Clause "New" or "Revised" License
118 stars 38 forks source link

Compatibility workflow cannot install numpy and scipy nightly wheels #490

Closed rrjbca closed 3 years ago

rrjbca commented 3 years ago

In the compatibility workflow, pip is failing to install the numpy and scipy nightly wheels due to "conflicting dependencie". See the full logs e.g. HERE for details. Relevant extract:

ERROR: Cannot install numpy, scipy==1.7.0.dev0+1036.4ec6f29, scipy==1.7.0.dev0+802.2d872f7, scipy==1.7.0.dev0+805.6a02659, scipy==1.7.0.dev0+810.cfb3e80, scipy==1.7.0.dev0+854.2a263d5, scipy==1.7.0.dev0+869.30db361, scipy==1.7.0.dev0+948.f020e7b, scipy==1.7.0.dev0+990.cee5290, scipy==1.8.0.dev0+0.2c72ae2, scipy==1.8.0.dev0+0.59b4a29, scipy==1.8.0.dev0+0.6146879, scipy==1.8.0.dev0+0.f6745a5, scipy==1.8.0.dev0+0.f856e3e, scipy==1.8.0.dev0+1302.9fc6071, scipy==1.8.0.dev0+1366.153467a, scipy==1.8.0.dev0+1396.b3f92fd, scipy==1.8.0.dev0+1413.8e0e726, scipy==1.8.0.dev0+1450.f91728a, scipy==1.8.0.dev0+1485.053f3f5, scipy==1.8.0.dev0+1503.8647ee9, scipy==1.8.0.dev0+1529.803e52d, scipy==1.8.0.dev0+1534.ba58017, scipy==1.8.0.dev0+1577.2f60c33, scipy==1.8.0.dev0+1668.8853c61 and scipy==1.8.0.dev0+1675.774941b because these package versions have conflicting dependencies.

The conflict is caused by:
    The user requested numpy
    scipy 1.8.0.dev0+1675.774941b depends on numpy>=1.17.3
    The user requested numpy
    scipy 1.8.0.dev0+1668.8853c61 depends on numpy>=1.16.5
    The user requested numpy
    scipy 1.8.0.dev0+1577.2f60c33 depends on numpy>=1.16.5
    The user requested numpy
    scipy 1.8.0.dev0+1534.ba58017 depends on numpy>=1.16.5
    The user requested numpy
    scipy 1.8.0.dev0+1529.803e52d depends on numpy>=1.16.5
    The user requested numpy
    scipy 1.8.0.dev0+1503.8647ee9 depends on numpy>=1.16.5
    The user requested numpy
    scipy 1.8.0.dev0+1485.053f3f5 depends on numpy>=1.16.5
    The user requested numpy
    scipy 1.8.0.dev0+1450.f91728a depends on numpy>=1.16.5
    The user requested numpy
    scipy 1.8.0.dev0+1413.8e0e726 depends on numpy>=1.16.5
    The user requested numpy
    scipy 1.8.0.dev0+1396.b3f92fd depends on numpy>=1.16.5
    The user requested numpy
    scipy 1.8.0.dev0+1366.153467a depends on numpy>=1.16.5
    The user requested numpy
    scipy 1.8.0.dev0+1302.9fc6071 depends on numpy>=1.16.5
    The user requested numpy
    scipy 1.8.0.dev0+0.6146879 depends on numpy>=1.16.5
    The user requested numpy
    scipy 1.8.0.dev0+0.f856e3e depends on numpy>=1.16.5
    The user requested numpy
    scipy 1.8.0.dev0+0.f6745a5 depends on numpy>=1.16.5
    The user requested numpy
    scipy 1.8.0.dev0+0.59b4a29 depends on numpy>=1.16.5
    The user requested numpy
    scipy 1.8.0.dev0+0.2c72ae2 depends on numpy>=1.16.5
    The user requested numpy
    scipy 1.7.0.dev0+1036.4ec6f29 depends on numpy>=1.16.5
    The user requested numpy
    scipy 1.7.0.dev0+990.cee5290 depends on numpy>=1.16.5
    The user requested numpy
    scipy 1.7.0.dev0+948.f020e7b depends on numpy>=1.16.5
    The user requested numpy
    scipy 1.7.0.dev0+869.30db361 depends on numpy>=1.16.5
    The user requested numpy
    scipy 1.7.0.dev0+854.2a263d5 depends on numpy>=1.16.5
    The user requested numpy
    scipy 1.7.0.dev0+810.cfb3e80 depends on numpy>=1.16.5
    The user requested numpy
    scipy 1.7.0.dev0+805.6a02659 depends on numpy>=1.16.5
    The user requested numpy
    scipy 1.7.0.dev0+802.2d872f7 depends on numpy>=1.16.5

To fix this you could try to:
1. loosen the range of package versions you've specified
2. remove package versions to allow pip attempt to solve the dependency conflict

ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/user_guide/#fixing-conflicting-dependencies