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

conda pkg openssl is restricted to version <3.1 - this prevents installation of recent r-base #587

Open
schlichtanders opened this issue Jan 15, 2025 · 2 comments
Labels
question Further information is requested

Comments

@schlichtanders
Copy link
Contributor

Not sure whether this is a bug, probably not?

How can we rely on more recent openssl version, e.g. in order to install a recent r-base next to PythonCall?

I got the following error

error    libmamba Could not solve for environment specs
    The following packages are incompatible
    ├─ openssl >=3,<3.1  is requested and can be installed;
    └─ r 4.4  is not installable because it requires
       └─ r-base >=4.4,<4.5.0a0  but there are no viable options
          ├─ r-base [4.4.0|4.4.1] would require
          │  └─ libcurl >=8.8.0,<9.0a0  but there are no viable options
          │     ├─ libcurl [8.10.0|8.10.1] would require
          │     │  └─ openssl >=3.3.2,<4.0a0 , which conflicts with any installable versions previously reported;
          │     ├─ libcurl 8.11.1 would require
          │     │  └─ openssl >=3.4.0,<4.0a0 , which conflicts with any installable versions previously reported;
          │     ├─ libcurl 8.8.0 would require
          │     │  └─ openssl >=3.3.0,<4.0a0 , which conflicts with any installable versions previously reported;
          │     └─ libcurl [8.8.0|8.9.0|8.9.1] would require
          │        └─ openssl >=3.3.1,<4.0a0 , which conflicts with any installable versions previously reported;
          ├─ r-base 4.4.1 would require
          │  └─ libcurl [>=8.9.0,<9.0a0 |>=8.9.1,<9.0a0 ], which cannot be installed (as previously explained);
          ├─ r-base [4.4.1|4.4.2] would require
          │  └─ libcurl >=8.10.1,<9.0a0 , which cannot be installed (as previously explained);
          └─ r-base 4.4.2 would require
             └─ libcurl >=8.11.1,<9.0a0 , which cannot be installed (as previously explained).
@schlichtanders schlichtanders added the question Further information is requested label Jan 15, 2025
@cjdoris
Copy link
Collaborator

cjdoris commented Jan 15, 2025

Yep unfortunately Julia currently uses OpenSSL 3.0 (this is apparently intentional) so for compatibility reasons we restrict the version of OpenSSL installed by CondaPkg.

You can override this by setting the openssl_version preference to ignore. However YMMV and you'll likely get errors in any code that actually uses OpenSSL.

This is an annoying incompatibility - you can't install new versions of Python for the same reason. I need to open a dialogue with Julia maintainers about this.

@schlichtanders
Copy link
Contributor Author

Thank you so much for your comment. For Python it is the same? Indeed a big pity...
Also thanks for pointing to the preference option.

Please feel free to close this issue or keep it open, whatever you like.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants