Opened 4 years ago

Last modified 10 months ago

#23893 new defect

make openssl a dependency for pip packages

Reported by: mderickx Owned by:
Priority: major Milestone: sage-wishlist
Component: packages: optional Keywords:
Cc: dunfield Merged in:
Authors: Reviewers:
Report Upstream: N/A Work issues:
Branch: Commit:
Dependencies: Stopgaps:

Status badges

Description

Right now one has:

sage -i beautifulsoup
***********************************************
make[1]: Entering directory '/users/derickx/sage_patch2/build/make'
sage-logger -p 'sage --pip install beautifulsoup' /users/derickx/sage_patch2/logs/pkgs/beautifulsoup.log
[beautifulsoup] pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.
[beautifulsoup] Collecting beautifulsoup
[beautifulsoup]   Could not fetch URL https://pypi.python.org/simple/beautifulsoup/: There was a problem confirming the ssl certificate: Can't connect to HTTPS URL because the SSL module is not available. - skipping
[beautifulsoup]   Could not find a version that satisfies the requirement beautifulsoup (from versions: )
[beautifulsoup] No matching distribution found for beautifulsoup
Makefile:1114: recipe for target 'beautifulsoup' failed
make[1]: *** [beautifulsoup] Error 1
make[1]: Leaving directory '/users/derickx/sage_patch2/build/make'

real    0m1.186s
user    0m0.788s
sys     0m0.040s
***************************************************************
Error building Sage.

The following package(s) may have failed to build (not necessarily
during this run of 'make beautifulsoup'):

The build directory may contain configuration files and other potentially
helpful information. WARNING: if you now run 'make' again, the build
directory will, by default, be deleted. Set the environment variable
SAGE_KEEP_BUILT_SPKGS to 'yes' to prevent this.

Makefile:16: recipe for target 'beautifulsoup' failed
make: *** [beautifulsoup] Error 1

However this does not need to fail since it succeeds after:

sage -i openssl
sage -f python2

Change History (3)

comment:1 Changed 2 years ago by embray

  • Milestone changed from sage-8.1 to sage-wishlist

I think what we may want to do about this is actually just make building Sage without SSL fail unless explicitly requested. See e.g. #27705

comment:2 Changed 16 months ago by dunfield

  • Cc dunfield added

comment:3 Changed 10 months ago by slelievre

Related:

  • #30560: Make openssl an optional dependency of python3
  • #29555: Upgrade: OpenSSL 3.0, make it a standard package
Note: See TracTickets for help on using tickets.