<p></p>
<h3 dir="auto">Description</h3>
<p dir="auto">Issues building <code class="notranslate">PYTHON</code> module on Alpine Linux due to <a href="https://www.python.org/doc/sunset-python-2/" rel="nofollow">sunsetting of Python2</a>.  The <code class="notranslate">python2</code> package (apk) has been removed from the current Alpine linux.  The APKBUILD file in the current Kamailio branches includes build settings for installing the Python (python2) module.  While I'm guessing it's possible to build python2 in the current Alpine container it was a conscious decision to no longer have a package for it.  Given this, what is the opinion about not building this by default within the APKBUILD file?</p>
<h3 dir="auto">Troubleshooting</h3>
<p dir="auto">Running <code class="notranslate">abuild -r</code> fails due to lack of python2 libraries.</p>
<h4 dir="auto">Reproduction</h4>
<p dir="auto">Running <code class="notranslate">abuild -r</code> fails due to lack of python2 libraries.</p>
<h4 dir="auto">Debugging Data</h4>
<p dir="auto">N/A</p>
<h4 dir="auto">Log Messages</h4>
<p dir="auto">N/A</p>
<h4 dir="auto">SIP Traffic</h4>
<p dir="auto">N/A</p>
<h3 dir="auto">Possible Solutions</h3>
<p dir="auto">In <code class="notranslate">APKBUILD</code>  remove references to <code class="notranslate">python2</code> and  <code class="notranslate">python</code> (but not <code class="notranslate">python3</code>).  I'll submit a pull request to do this.</p>
<h3 dir="auto">Additional Information</h3>
<p dir="auto">Kamailio 5.7</p>
<ul dir="auto">
<li><strong>Operating System</strong>:</li>
</ul>
<p dir="auto">Alpine Linux  latest</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />Reply to this email directly, <a href="https://github.com/kamailio/kamailio/issues/3257">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABO7UZOIOSBHTHMDWNQPX5LWCLMIHANCNFSM6AAAAAARAXGAIA">unsubscribe</a>.<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/ABO7UZOBI6J2LCUNLUVSKU3WCLMIHA5CNFSM6AAAAAARAXGAICWGG33NNVSW45C7OR4XAZNFJFZXG5LFVJRW63LNMVXHIX3JMTHFHFLE5Y.gif" height="1" width="1" alt="" /><span style="color: transparent; font-size: 0; display: none; visibility: hidden; overflow: hidden; opacity: 0; width: 0; height: 0; max-width: 0; max-height: 0; mso-hide: all">Message ID: <span><kamailio/kamailio/issues/3257</span><span>@</span><span>github</span><span>.</span><span>com></span></span></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/kamailio/kamailio/issues/3257",
"url": "https://github.com/kamailio/kamailio/issues/3257",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>