-
-
Notifications
You must be signed in to change notification settings - Fork 555
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
Meta-ticket: SSL issues #30556
Comments
Dependencies: #30557 |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
comment:3
Many builds of the python3 spkg without its Could there be a Without that flag, consider openssl a dependency of python3, |
comment:4
Even when configuring with So currently one really has to separate into two steps:
or later have to repair with
|
This comment has been minimized.
This comment has been minimized.
comment:5
Replying to @slel:
Yes, this is a problem. We do not have a mechanism to order "optional dependencies". |
comment:6
See #21700 - Packages with "optional" dependencies (a package manager's suggested/recommended packages) |
comment:7
We could add |
comment:10
If we are building |
comment:11
Replying to @slel:
This would effectively make openssl a standard package. I don't think we should do that because of license reasons. Warnings about the disabled features are better. |
comment:12
I would like to mention that the SSL requirement for Jupyter seems to be a recent change – presumably the upgrade of tornado or other Jupyter packages in 9.2.beta9. This was not clear to me and part of why I was confused on the mailing list. I was actually using the Python 3 SPKG without SSL all along and until now I have not experienced any problem with this. In particular, this is not related to the Python 3.8 upgrade as I had assumed at first. |
comment:13
This might be worth investigating more. |
comment:14
Replying to @mkoeppe:
As suspected, this is a consequence of the Jupyter upgrades in #26919, merged in 9.2.beta9. The dependency on |
comment:15
Replying to @mwageringel:
Looks like this would be easy to patch out. |
comment:16
This is now #30674 |
This comment has been minimized.
This comment has been minimized.
comment:18
Building a Python without ssl module is happening on Our configure finds system openssl; system python3 is too old, so python 3.8 is built from source; but apparently it fails to build the ssl module. (This should be investigated!) The symptom is that
It is likely that this problem has actually been around for a while and was only masked by the faulty SAGE_CHECK logic fixed in #31020. |
comment:19
Same in Also in various |
comment:20
#31062 "tox / GH Actions: Disable testsuites of packages depending on pip packages (pytest, ...) if there is no ssl" proposes a workaround |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
comment:24
Moving it to 9.4; we seem to have an OK solution for now |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
I think we can close this. Haven't seen any issues with SSL in a long time. |
Building Sage with its own Python 3 can easily produce
a Python 3 missing its
_ssl
module.Python's
_ssl
module is only built if OpenSSL (with headers)is available, either via the system or via the
openssl
spkg.The result is reduced functionality:
See also:
Tickets:
pyopenssl
References:
Depends on #30557
Depends on #30560
Depends on #30383
CC: @mwageringel @mkoeppe @slel @williamstein @dimpase
Component: packages: standard
Keywords: openssl, python
Issue created by migration from https://trac.sagemath.org/ticket/30556
The text was updated successfully, but these errors were encountered: