conda-forge / cyipopt-feedstock

A conda-smithy repository for cyipopt.
BSD 3-Clause "New" or "Revised" License
3 stars 5 forks source link

cyipopt 1.1.0 seems to only be installable with ipopt 3.14 #48

Open moorepants opened 10 months ago

moorepants commented 10 months ago

Solution to issue cannot be found in the documentation.

Issue

cyipopt supports ipopt 3.11+ but if I try to install anything less than 3.14 it fails:

$ conda create -n old-ipopt cyipopt=1.1.0 "ipopt<3.14"
Channels:
 - conda-forge
Platform: linux-64
Collecting package metadata (repodata.json): done
Solving environment: failed

LibMambaUnsatisfiableError: Encountered problems while solving:
  - package cyipopt-1.1.0-py36h68cfc00_0 requires ipopt >=3.14.3,<3.14.4.0a0, but none of the providers can be installed
Could not solve for environment specs
The following packages are incompatible
├─ cyipopt 1.1.0**  is installable with the potential options
│  ├─ cyipopt 1.1.0 would require
│  │  └─ ipopt >=3.14.9,<3.14.10.0a0 , which can be installed;
│  ├─ cyipopt 1.1.0 would require
│  │  └─ ipopt >=3.14.10,<3.14.11.0a0 , which can be installed;
│  ├─ cyipopt 1.1.0 would require
│  │  └─ ipopt >=3.14.4,<3.14.5.0a0 , which can be installed;
│  ├─ cyipopt 1.1.0 would require
│  │  └─ ipopt >=3.14.8,<3.14.9.0a0 , which can be installed;
│  └─ cyipopt 1.1.0 would require
│     └─ ipopt >=3.14.3,<3.14.4.0a0 , which can be installed;
└─ ipopt <3.14  is not installable because it conflicts with any installable versions previously reported.

Installed packages

NA

Environment info

NA
moorepants commented 9 months ago

Another similar example using the libmamba solver:

$ conda create -n oldipopt "cyipopt=1.3.*" "ipopt=3.12.*"
Channels:
 - conda-forge
Platform: linux-64
Collecting package metadata (repodata.json): done
Solving environment: failed

LibMambaUnsatisfiableError: Encountered problems while solving:
  - package cyipopt-1.3.0-py38he9eb08c_0 requires ipopt >=3.14.12,<3.14.13.0a0, but none of the providers can be installed
  - package cyipopt-1.3.0-py38he9eb08c_0 requires ipopt >=3.14.12,<3.14.13.0a0, but none of the providers can be installed

Could not solve for environment specs
The following packages are incompatible
├─ cyipopt 1.3**  is installable and it requires
│  └─ ipopt >=3.14.12,<3.14.13.0a0 , which can be installed;
└─ ipopt 3.12**  is not installable because it conflicts with any installable versions previously reported.