We have moved to a new Sailfish OS Forum. Please start new discussions there.
6

python: curl and SSL support missing [solved] [released]

asked 2014-04-05 19:08:16 +0300

qrosh gravatar image

updated 2014-08-09 13:38:46 +0300

Apparently python and curl were compiled without SSL support. I know its possible to install warehouse python with SSL support, but why is it missing in the first place?

It would make things easier for some devs

edit retag flag offensive reopen delete

The question has been closed for the following reason "released in a software update" by nthn
close date 2014-08-10 17:28:52.378099

2 Answers

Sort by » oldest newest most voted
4

answered 2014-04-16 12:09:54 +0300

thp gravatar image

updated 2014-04-17 16:37:55 +0300

Python should have SSL enabled now:

https://github.com/nemomobile-packages/python3/commit/bbe3f602812fee5aaa0cfad093b8d12937b91054

Edit: Just checked and yes, curl is indeed built with SSL support already:

SSL support: enabled (OpenSSL)

edit flag offensive delete publish link more

Comments

To be honest I have no clue I just wanted to mention it as it seemed to bug some developers. I will close it if you say it is fixed.

qrosh ( 2014-04-16 13:00:54 +0300 )edit

I know its not entirely on topic... but since thp is on top of all the python stuff... is there any chance that the python-requests library can be packaged and included in Sailfish? I'll consider creating a package myself on openrepos if this is not likely, but it is so much more useful than urllib or any of the other http oriented python libraries, and I think it would be a definite plus in the python armoury.

roboro ( 2014-04-16 13:54:09 +0300 )edit

roboro: I'll see what I can do about python-requests, but it's a pure Python library (no C extensions, etc..), so you can just as well ship it with your application normally and add it to the import path. I'd like to keep the amount of modules to a minimum (additional maintenance burden to keep it updated), and especially with Python, it's not really hard to ship pure Python libraries with your application. The story is a bit different for C extension modules.

thp ( 2014-04-17 16:41:28 +0300 )edit

thp: thanks... I get you. Probably better just to ship with it bundled.

roboro ( 2014-04-17 17:45:46 +0300 )edit
1

answered 2014-04-06 12:13:33 +0300

Khertan gravatar image

updated 2014-04-06 12:13:57 +0300

If i believe Thp post, and tweets, this is fixed in Nemo repository and so should be included soon in Sailfish OS. I was hoping this was in last release (1.0.4) but no.

For the moment i suggest to use python2.7

edit flag offensive delete publish link more

Stats

Asked: 2014-04-05 19:08:16 +0300

Seen: 660 times

Last updated: Aug 09 '14