AnacondaRecipes / repodata-hotfixes

Changes to package metadata to fix behavior
BSD 3-Clause "New" or "Revised" License
14 stars 20 forks source link

Basemap uninstall fix. #238

Closed ryanskeith closed 2 months ago

ryanskeith commented 2 months ago

Creating an upper bound on basemap constraint.

Currently trying to install it yields:

conda create --dry-run -n bm_test basemap
Channels:
 - defaults
Platform: osx-arm64
Collecting package metadata (repodata.json): done
Solving environment: failed

LibMambaUnsatisfiableError: Encountered problems while solving:
  - package basemap-1.2.2-py38hd91d049_1 requires proj >=7.2.0,<7.2.1.0a0, but none of the providers can be installed

Could not solve for environment specs
The following packages are incompatible
└─ basemap is installable with the potential options
   ├─ basemap 1.2.2 would require
   │  └─ proj [<6 |>=7.2.0,<7.2.1.0a0 ] with the potential options
   │     ├─ proj 7.2.0, which can be installed;
   │     └─ proj <6 conflicts with any installable versions previously reported;
   ├─ basemap 1.2.2 would require
   │  └─ proj [ |<6 ] with the potential options
   │     ├─ proj 7.2.0, which can be installed;
   │     ├─ proj 6.2.1, which can be installed;
   │     ├─ proj 8.2.1, which can be installed;
   │     ├─ proj 9.3.1, which can be installed;
   │     └─ proj <6 conflicts with any installable versions previously reported;
   ├─ basemap [1.3.2|1.3.6] would require
   │  ├─ proj <6 , which conflicts with any installable versions previously reported;
   │  └─ pyproj [>=1.9.3,<3.4 |>=1.9.3,<3.5.0 ] with the potential options
   │     ├─ pyproj 3.1.0 would require
   │     │  └─ proj >=7.2.0,<7.2.1.0a0 , which can be installed;
   │     └─ pyproj [3.3.0|3.4.1] would require
   │        └─ proj >=8.2.1,<8.2.2.0a0 , which can be installed;
   └─ basemap 1.4.0 would require
      ├─ proj <6 , which conflicts with any installable versions previously reported;
      └─ pyproj >=1.9.3,<3.7.0  with the potential options
         ├─ pyproj 3.1.0, which can be installed (as previously explained);
         ├─ pyproj [3.3.0|3.4.1], which can be installed (as previously explained);
         └─ pyproj 3.6.1 would require
            └─ proj >=9.3.1,<9.3.2.0a0 , which can be installed.

The note on the constraint mentions this issue https://github.com/ContinuumIO/anaconda-issues/issues/11590. It may have been misdiagnosed. basemap did do a small reorg in 1.3.0 where it states it put enough data to be functional. I think this constraint should be the right place to protect the past but enable the future.