<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Removing Python 2.7]]></title><description><![CDATA[<p dir="auto">We run Cloudron on an AWS EC2 instance (Ubuntu 22.04LTS), and Amazon Inspector is flagging security issues with Python 2.7 on this box that are now only being fixed in Ubuntu's "Extended Security Maintenance" (esm3). As best I can tell, we're not actually using Python 2.7 for installed apps, so I'm wondering about uninstalling Python 2.7 entirely from our Cloudron. What would you recommend?</p>
]]></description><link>https://forum.cloudron.io/topic/13403/removing-python-2.7</link><generator>RSS for Node</generator><lastBuildDate>Tue, 14 Apr 2026 18:46:15 GMT</lastBuildDate><atom:link href="https://forum.cloudron.io/topic/13403.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 09 Mar 2025 03:49:50 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Removing Python 2.7 on Tue, 11 Mar 2025 20:33:35 GMT]]></title><description><![CDATA[<p dir="auto">Removing 2.7 seems to have been seamless. Thank you!</p>
]]></description><link>https://forum.cloudron.io/post/102986</link><guid isPermaLink="true">https://forum.cloudron.io/post/102986</guid><dc:creator><![CDATA[sparkwise]]></dc:creator><pubDate>Tue, 11 Mar 2025 20:33:35 GMT</pubDate></item><item><title><![CDATA[Reply to Removing Python 2.7 on Mon, 10 Mar 2025 09:18:14 GMT]]></title><description><![CDATA[<p dir="auto">This is strange where python2 would be coming from. The python versions Cloudron installs (depending on the ubuntu versions) are listed at <a href="https://git.cloudron.io/platform/box/-/blob/master/scripts/init-ubuntu.sh?ref_type=heads#L73" target="_blank" rel="noopener noreferrer nofollow ugc">https://git.cloudron.io/platform/box/-/blob/master/scripts/init-ubuntu.sh?ref_type=heads#L73</a></p>
]]></description><link>https://forum.cloudron.io/post/102855</link><guid isPermaLink="true">https://forum.cloudron.io/post/102855</guid><dc:creator><![CDATA[nebulon]]></dc:creator><pubDate>Mon, 10 Mar 2025 09:18:14 GMT</pubDate></item><item><title><![CDATA[Reply to Removing Python 2.7 on Sun, 09 Mar 2025 21:26:31 GMT]]></title><description><![CDATA[<p dir="auto">Oh! Python 2.7! My mind just ignored the <code>2</code> and just made it a <code>3</code>.<br />
No Python 2.7 is not used by anything Cloudron related.</p>
<p dir="auto">Here is the Python installed list from a fresh setup Ubuntu 24 with Cloudron on my system:</p>
<pre><code>libpython3-stdlib/noble-updates,now 3.12.3-0ubuntu2 amd64 [installed,automatic]
libpython3.12-minimal/noble-updates,noble-security,now 3.12.3-1ubuntu0.5 amd64 [installed,automatic]
libpython3.12-stdlib/noble-updates,noble-security,now 3.12.3-1ubuntu0.5 amd64 [installed,automatic]
libpython3.12t64/noble-updates,noble-security,now 3.12.3-1ubuntu0.5 amd64 [installed]
python-apt-common/noble-updates,now 2.7.7ubuntu4 all [installed,automatic]
python-babel-localedata/noble,now 2.10.3-3build1 all [installed,automatic]
python3-apport/noble-updates,now 2.28.1-0ubuntu3.3 all [installed,automatic]
python3-apt/noble-updates,now 2.7.7ubuntu4 amd64 [installed]
python3-attr/noble,now 23.2.0-2 all [installed,automatic]
python3-automat/noble,now 22.10.0-2 all [installed,automatic]
python3-babel/noble,now 2.10.3-3build1 all [installed,automatic]
python3-bcrypt/noble,now 3.2.2-1build1 amd64 [installed,automatic]
python3-blinker/noble,now 1.7.0-1 all [installed,automatic]
python3-boto3/noble,now 1.34.46+dfsg-1ubuntu1 all [installed,automatic]
python3-botocore/noble,now 1.34.46+repack-1ubuntu1 all [installed,automatic]
python3-certifi/noble,now 2023.11.17-1 all [installed,automatic]
python3-cffi-backend/noble,now 1.16.0-2build1 amd64 [installed,automatic]
python3-chardet/noble,now 5.2.0+dfsg-1 all [installed,automatic]
python3-click/noble,now 8.1.6-2 all [installed,automatic]
python3-colorama/noble,now 0.4.6-4 all [installed,automatic]
python3-commandnotfound/noble,now 23.04.0 all [installed,automatic]
python3-configobj/noble,now 5.0.8-3 all [installed,automatic]
python3-constantly/noble,now 23.10.4-1 all [installed,automatic]
python3-cryptography/noble-updates,noble-security,now 41.0.7-4ubuntu0.1 amd64 [installed,automatic]
python3-dateutil/noble,now 2.8.2-3ubuntu1 all [installed,automatic]
python3-dbus/noble,now 1.3.2-5build3 amd64 [installed,automatic]
python3-debconf/noble,now 1.5.86ubuntu1 all [installed,automatic]
python3-debian/noble,now 0.1.49ubuntu2 all [installed,automatic]
python3-distro-info/noble,now 1.7build1 all [installed,automatic]
python3-distro/noble,now 1.9.0-1 all [installed,automatic]
python3-distupgrade/noble-updates,now 1:24.04.26 all [installed,automatic]
python3-gdbm/noble,now 3.12.3-0ubuntu1 amd64 [installed,automatic]
python3-gi/noble,now 3.48.2-1 amd64 [installed,automatic]
python3-hamcrest/noble,now 2.1.0-1 all [installed,automatic]
python3-httplib2/noble,now 0.20.4-3 all [installed,automatic]
python3-hyperlink/noble,now 21.0.0-5 all [installed,automatic]
python3-idna/noble-updates,noble-security,now 3.6-2ubuntu0.1 all [installed,automatic]
python3-incremental/noble,now 22.10.0-1 all [installed,automatic]
python3-jinja2/noble-updates,noble-security,now 3.1.2-1ubuntu1.2 all [installed,automatic]
python3-jmespath/noble,now 1.0.1-1 all [installed,automatic]
python3-json-pointer/noble,now 2.0-0ubuntu1 all [installed,automatic]
python3-jsonpatch/noble,now 1.32-3 all [installed,automatic]
python3-jsonschema/noble,now 4.10.3-2ubuntu1 all [installed,automatic]
python3-jwt/noble,now 2.7.0-1 all [installed,automatic]
python3-launchpadlib/noble,now 1.11.0-6 all [installed,automatic]
python3-lazr.restfulclient/noble,now 0.14.6-1 all [installed,automatic]
python3-lazr.uri/noble,now 1.0.6-3 all [installed,automatic]
python3-magic/noble,now 2:0.4.27-3 all [installed]
python3-markdown-it/noble,now 3.0.0-2 all [installed,automatic]
python3-markupsafe/noble,now 2.1.5-1build2 amd64 [installed,automatic]
python3-mdurl/noble,now 0.1.2-1 all [installed,automatic]
python3-minimal/noble-updates,now 3.12.3-0ubuntu2 amd64 [installed,automatic]
python3-netifaces/noble,now 0.11.0-2build3 amd64 [installed,automatic]
python3-netplan/noble-updates,now 1.1.1-1~ubuntu24.04.1 amd64 [installed,automatic]
python3-newt/noble,now 0.52.24-2ubuntu2 amd64 [installed,automatic]
python3-oauthlib/noble,now 3.2.2-1 all [installed,automatic]
python3-openssl/noble,now 23.2.0-1 all [installed,automatic]
python3-packaging/noble,now 24.0-1 all [installed,automatic]
python3-pexpect/noble,now 4.9-2 all [installed,automatic]
python3-pkg-resources/noble-updates,noble-security,now 68.1.2-2ubuntu1.1 all [installed,automatic]
python3-problem-report/noble-updates,now 2.28.1-0ubuntu3.3 all [installed,automatic]
python3-ptyprocess/noble,now 0.7.0-5 all [installed,automatic]
python3-pyasn1-modules/noble,now 0.2.8-1 all [installed,automatic]
python3-pyasn1/noble,now 0.4.8-4 all [installed,automatic]
python3-pyasyncore/noble,now 1.0.2-2 all [installed,automatic]
python3-pygments/noble,now 2.17.2+dfsg-1 all [installed,automatic]
python3-pyinotify/noble,now 0.9.6-2ubuntu1 all [installed,automatic]
python3-pyparsing/noble,now 3.1.1-1 all [installed,automatic]
python3-pyrsistent/noble,now 0.20.0-1build2 amd64 [installed,automatic]
python3-requests/noble,now 2.31.0+dfsg-1ubuntu1 all [installed,automatic]
python3-rich/noble,now 13.7.1-1 all [installed,automatic]
python3-s3transfer/noble,now 0.10.1-1ubuntu2 all [installed,automatic]
python3-serial/noble,now 3.5-2 all [installed,automatic]
python3-service-identity/noble,now 24.1.0-1 all [installed,automatic]
python3-setuptools/noble-updates,noble-security,now 68.1.2-2ubuntu1.1 all [installed,automatic]
python3-six/noble,now 1.16.0-4 all [installed,automatic]
python3-software-properties/noble-updates,now 0.99.49.1 all [installed,automatic]
python3-systemd/noble,now 235-1build4 amd64 [installed,automatic]
python3-twisted/noble-updates,noble-security,now 24.3.0-1ubuntu0.1 all [installed,automatic]
python3-tz/noble,now 2024.1-2 all [installed,automatic]
python3-update-manager/noble-updates,now 1:24.04.9 all [installed,automatic]
python3-urllib3/noble-updates,noble-security,now 2.0.7-1ubuntu0.1 all [installed,automatic]
python3-wadllib/noble,now 1.3.6-5 all [installed,automatic]
python3-xkit/noble,now 0.5.0ubuntu6 all [installed,automatic]
python3-yaml/noble,now 6.0.1-2build2 amd64 [installed,automatic]
python3-zope.interface/noble,now 6.1-1build1 amd64 [installed,automatic]
python3.12-minimal/noble-updates,noble-security,now 3.12.3-1ubuntu0.5 amd64 [installed,automatic]
python3.12/noble-updates,noble-security,now 3.12.3-1ubuntu0.5 amd64 [installed]
python3/noble-updates,now 3.12.3-0ubuntu2 amd64 [installed]
</code></pre>
]]></description><link>https://forum.cloudron.io/post/102840</link><guid isPermaLink="true">https://forum.cloudron.io/post/102840</guid><dc:creator><![CDATA[BrutalBirdie]]></dc:creator><pubDate>Sun, 09 Mar 2025 21:26:31 GMT</pubDate></item><item><title><![CDATA[Reply to Removing Python 2.7 on Sun, 09 Mar 2025 18:01:26 GMT]]></title><description><![CDATA[<p dir="auto">Thanks for the pointer! I doesn't look like Inspector is reporting spurious findings, though: Python 2.7 appears to be fully installed and active on the system, and is not just remnant configuration files picked up by SSM.</p>
<p dir="auto">I don't see any indication that Python 2.7 is used by any Cloudron containers, so I <em>think</em> that removing the <code>python2.7</code> and <code>python2.7-minimal</code> packages is the best path forward. My hesitation is the presence of the <code>python-is-python2</code> package:</p>
<pre><code class="language-bash">$ sudo apt-get --simulate remove python2.7 python2.7-minimal
The following packages will be REMOVED:
  python-is-python2 python2 python2-minimal python2.7 python2.7-minimal

$ dpkg -l | grep python-is-python2
ii  python-is-python2                      2.7.17-4                                all          symlinks /usr/bin/python to the DEPRECATED python2
</code></pre>
<p dir="auto">Wondering if that changes the recommended path forward.</p>
]]></description><link>https://forum.cloudron.io/post/102832</link><guid isPermaLink="true">https://forum.cloudron.io/post/102832</guid><dc:creator><![CDATA[sparkwise]]></dc:creator><pubDate>Sun, 09 Mar 2025 18:01:26 GMT</pubDate></item><item><title><![CDATA[Reply to Removing Python 2.7 on Sun, 09 Mar 2025 16:11:43 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/sparkwise" aria-label="Profile: sparkwise">@<bdi>sparkwise</bdi></a> said in <a href="/post/102814">Removing Python 2.7</a>:</p>
<blockquote>
<p dir="auto">What would you recommend?</p>
</blockquote>
<p dir="auto"><img src="https://forum.cloudron.io/assets/plugins/nodebb-plugin-emoji/emoji/android/1f937.png?v=223f9defb2f" class="not-responsive emoji emoji-android emoji--shrug" style="height:23px;width:auto;vertical-align:middle" title=":shrug:" alt="🤷" /> Cloudron does <a href="https://docs.cloudron.io/security/#os-updates" target="_blank" rel="noopener noreferrer nofollow ugc">automatic security updates</a>.<br />
Why your AWS is complaining is a different topic.<br />
Do you mean this?<br />
<img src="https://preview.redd.it/amazon-inspector-showing-package-vulnerabilities-on-an-ec2-v0-beupqj6g1qua1.png?width=703&amp;format=png&amp;auto=webp&amp;s=0e232a31c8c3d70ca1240c4c21280828ae710ad0" alt="" class=" img-fluid img-markdown" /></p>
<p dir="auto">from =&gt; <a href="https://www.reddit.com/r/aws/comments/12r7ehn/amazon_inspector_showing_package_vulnerabilities/" target="_blank" rel="noopener noreferrer nofollow ugc">Reddit - Amazon Inspector showing package vulnerabilities on an EC2 instance that aren't installed?</a></p>
<p dir="auto">What I would recommend?<br />
Well, if you want to test it, shutdown, snapshot, uninstall python and see what happens and report back here for everyone to learn from your findings.</p>
]]></description><link>https://forum.cloudron.io/post/102822</link><guid isPermaLink="true">https://forum.cloudron.io/post/102822</guid><dc:creator><![CDATA[BrutalBirdie]]></dc:creator><pubDate>Sun, 09 Mar 2025 16:11:43 GMT</pubDate></item></channel></rss>