[SR-Users] Using kamailio-python with python 3.7

Daniel-Constantin Mierla miconda at gmail.com
Tue Apr 13 20:23:05 CEST 2021


Welcome! Thanks as well for confirming back it is working, because it is
valuable to have it in archive of the mailing list so people searching
for similar needs in the future can find it.

Cheers,
Daniel

On 13.04.21 18:12, Aaron Lucia wrote:
> Thank you for your reply Daniel!
>
> Python 3.6 is the only version available in the official CentOS 7
> repos, we are actually installing python 3.7 from our own repo.
>
> I went ahead and updated the RPM spec to require python 3.7 and built
> the app_python3 module against the python 3.7 lib, and it worked!
> Thank you for your confirmation!
>
> Aaron Lucia| Software Engineer
>
> 100 High Street, 7th Floor, Boston, MA 02110 USA
>
> www.cogitocorp.com <http://www.cogitocorp.com/>|Cogito on LinkedIn
> <https://www.linkedin.com/company/cogito-corp-/>| Office: 617.580.3101
>
>
> Confidentiality Notice: This email is the property of Cogito
> Corporation. This message, including any attachments, is for the sole
> use of the intended recipient(s) and may contain confidential and/or
> privileged information. Any unauthorized review, use, disclosure or
> distribution is prohibited. If you are not the intended recipient,
> please contact the sender by reply email and destroy all copies of the
> original message.
>
>
> On Fri, Apr 9, 2021 at 11:22 AM Daniel-Constantin Mierla
> <miconda at gmail.com <mailto:miconda at gmail.com>> wrote:
>
>     Hello,
>
>     I assume that was a dependency that had to be set for building the
>     package on centos. Are both python 3.6 and 3.7 available on centos
>     and they can be installed in parallel?
>
>     Maybe Sergey Safarov can comment more, give that he is the one
>     doing the packages for centos.
>
>     Otherwise, app_python3 module should compile and work with python 3.7.
>
>     Cheers,
>     Daniel
>
>     On 09.04.21 16:29, Aaron Lucia wrote:
>>     Hello,
>>
>>     We have been using the kamailio-python plugin with kamailio,
>>     running on CentOS 7. The RPM for the kamailio-python plugin has a
>>     requirement on the python36 package. I'm curious if it's possible
>>     to run kamailio with the kamailio-python plugin with python 3.7
>>     or if python 3.6 is required. If it is possible to use
>>     the kamailio-python plugin with python 3.7, would we need to
>>     create our own RPM with a requirement on python37 or is there
>>     another way we could set it up?
>>
>>     Thank you very much for your feedback,
>>     Aaron
>>
>>     Aaron Lucia| Software Engineer
>>
>>     100 High Street, 7th Floor, Boston, MA 02110 USA
>>
>>     www.cogitocorp.com <http://www.cogitocorp.com/>|Cogito on
>>     LinkedIn <https://www.linkedin.com/company/cogito-corp-/>|
>>     Office: 617.580.3101
>>
>>
>>     Confidentiality Notice: This email is the property of Cogito
>>     Corporation. This message, including any attachments, is for the
>>     sole use of the intended recipient(s) and may contain
>>     confidential and/or privileged information. Any unauthorized
>>     review, use, disclosure or distribution is prohibited. If you are
>>     not the intended recipient, please contact the sender by reply
>>     email and destroy all copies of the original message.
>>
>>     _______________________________________________
>>     Kamailio (SER) - Users Mailing List
>>     sr-users at lists.kamailio.org <mailto:sr-users at lists.kamailio.org>
>>     https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users <https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users>
>
>     -- 
>     Daniel-Constantin Mierla -- www.asipto.com <http://www.asipto.com>
>     www.twitter.com/miconda <http://www.twitter.com/miconda> -- www.linkedin.com/in/miconda <http://www.linkedin.com/in/miconda>
>     Kamailio Advanced Training - Online
>     May 17-20, 2021 (Europe Timezone) - June 7-10, 2021 (America Timezone)
>       * https://www.asipto.com/sw/kamailio-advanced-training-online/ <https://www.asipto.com/sw/kamailio-advanced-training-online/>
>
-- 
Daniel-Constantin Mierla -- www.asipto.com
www.twitter.com/miconda -- www.linkedin.com/in/miconda
Kamailio Advanced Training - Online
May 17-20, 2021 (Europe Timezone) - June 7-10, 2021 (America Timezone)
  * https://www.asipto.com/sw/kamailio-advanced-training-online/

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20210413/713ac7c9/attachment.htm>


More information about the sr-users mailing list