Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Basemap uninstall fix. #238

Merged
merged 2 commits into from
Aug 23, 2024
Merged

Basemap uninstall fix. #238

merged 2 commits into from
Aug 23, 2024

Conversation

ryanskeith
Copy link
Contributor

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 ContinuumIO/anaconda-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.

@ryanskeith ryanskeith changed the title Adding in version bounds as it isn't installable with the current con… Basemap uninstall fix. Aug 22, 2024
@ryanskeith ryanskeith merged commit dc1b715 into master Aug 23, 2024
2 checks passed
@ryanskeith ryanskeith deleted the basemap_fix branch August 23, 2024 21:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants