I still have to deal with #Python2 every day.
Everyone else?
This guide walks you through installing Python 2, from compiling the source code to setting up pip.
https://greenwebpage.com/community/how-to-install-python-2-on-ubuntu-24-04/
#python2 #webdevelopment #scripting #ubuntu #linuxadministration #greenwebpage
Si Python 2 N'est Pas Disponible Sur Votre Distribution Linux, Il Faut Le Compiler ::::::::::::::::::::::::::::::: https://www.python.org/downloads/release/python-2718/
Faite :::::::
./configure
make
sudo make install
Eh...
It's a rolling release, so it's got that going for it, but a lot/most of their custom utilities (such as the package manager) is still on Python 2, which is... not good.
/usr/bin/python
is even a symlink to python2
which is really not good.
Small team. Looks like the original dev, who started a new distro, is going to re-work a lot of those things, which will be the basis for Solus going forward, so there's a lot of hope for newer and better utilities.
To be clear, my only real complaint so far is the python2-ness of it.
Also, they don't have a ksh
package (which some of my scripts require), but I managed to compile the standard ksh2020.
I don't know if I will stay. #Python2 is kind of a deal-breaker.
Still slowly replicating my #KDE #Plasma setup from my work #Debian box. I have a lot of custom keybinds that make it a little more like i3/sway for me.
My other options are Debian testing, #FreeBSD (probably will lose the ability to run KSP), or #OpenSuSE tumbleweed (if they can ever just enable polkit by default, already).
Spoke too soon about InfoSec projects still clinging to Python 2.7. Turns out my ronin-payloads project, a Ruby project, requires the python2
package in order to test it's Python Payload Encoders under Python versions 2 and 3.
https://github.com/ronin-rb/ronin-payloads/blob/1ae19ec2c3ae0a244b02d4a8cfc7d638c2414743/spec/encoders/builtin/python/base64_encode_spec.rb#L25-L31
Appears that GitHub has recently updated their GitHub Actions Ubuntu VM to 24.04.1, which no longer has a python2
package :(
https://github.com/ronin-rb/ronin-payloads/actions/runs/13234890368/job/36937936068
Also looks like the setup-python GitHub Action has also already removed python2.7.
https://github.com/actions/setup-python/issues/672
This poses a bit of a problem for software which needs to test against other legacy software.
Пишем приложение для SIM-карты
Приветствую всех! Думаю, многим из вас доводилось слышать такое утверждение, что SIM-карта — по сути полноценный специализированный компьютер. А раз симка — это компьютер, то, очевидно, должен быть и софт для него. Как насчёт попробовать что-нибудь написать и заставить это работать прямо на карте? Давайте разбираться. Итак, в сегодняшней статье поговорим про эту довольно редко упоминающуюся сторону сотовой связи. Узнаем, как писать приложения, чтобы они запускались на всех телефонах, от Nokia 3310 до последних айфонов. Попутно выясним, как загружать их в SIM-карты и насколько сложно это сделать, и, конечно же, напишем наш первый апплет. Традиционно будет много интересного.
https://habr.com/ru/companies/timeweb/articles/819209/
#timeweb_статьи #javacard #sim #python2 #pcsc #stk #gsm #kic #kid #ki #opc #adm #симки #смарткарты #iso7816
Imagine:
- small custom tool in #Python2 / #Jython, bundled to an .exe
- Last time bundled was a few years back
- executable used on CI server
Then:
- suddenly all builds across the Server fail 😳
- The CI server and your own PC fail executing your small tool, saying "This application needs #Java 8" 🤔
- But your CI Server and own PC _have_ Java 8 installed 🤨
- The fellas around you have seemingly the same tools installed and can execute the tool 🧐
Python 2 | Full Monster Horror Movie | WATCH FOR FREE
#horror – #Trailers – #horrormovies – #Python2 – @GoldwynFilms – A man, his business partner, and his wife are enlisted to transport an unknown object from a Russian military base, only to discover that the object is a giant, genetically-altered python. …
#ad #horror #Python2 #Trailers
https://horrornerdonline.com/2024/10/python-2-full-monster-horror-movie-watch-for-free/
> Most “packaging problems” are actually bootstrapping problems. With imports and versioning sprinkled on top.
From a fun little article on the history of Python packaging. I quite enjoy Bite Code.
https://open.substack.com/pub/bitecode/p/whats-the-deal-with-setuptools-setuppy
Added integration tests for ronin-payload's new payload encoders and discovered that Python2 does not support evaling a print
statement. Python3 however added support for this.
>>> eval('print "test"')
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "<string>", line 1
print "test"
^
SyntaxError: invalid syntax
Lol, wtf, how did people seriously tout Python2 over Python3. Even Ruby and JavaScript are more consistent.
It is wild that, in this year of the Lord, I still have to install #python2 to get a development environment for #Google's #AppEngine. Google, aka the champions of deprecating stuff, one of the most powerful tech companies worldwide, somehow can't provide a reasonable migration path off a language that was EOL'd 4 years ago :(
Packages still depending on six (via "pipdeptree --reverse -p six"):
asttokens
bleach
fire
html5lib
ics
isodate
lplight
Mastodon.py
python-coveralls
python-dateutil
Python gurus, can I wrap a function in more than one decorator at the same time? On the same topic, can I wrap a decorator in another decorator ?
Asking for a friend...
"Type annotations are unsupperted in Python 2"
😒😒
Will man Jython überhaupt noch verwenden? 🤐
#Python2 (2002) 🐍
A man, his business partner, and his wife are enlisted to transport an unknown object from a Russian military base, only to discover that the object is a giant, genetically-altered python.
#CreatureFeature #FilmsWithBite
#FilmMastodon 📽️ 🎬
Python 3.8 and 3.9 have joined the docker-six family!
docker-six, known simply as six at Docker Hub, now supports the 3.8 and 3.9 tags.
Moved a #wagtail #cms site from #debian 9.5 (released mid 2018) to #ubuntu #jammy (Released 2022) with, as far as I can tell, no problems.
On top of that, the underlying host has changed as well as the containerisation tech.
- Created new #LXD #container based on ubuntu-minimal images
- Installed #python2 and virtualenv
- Copied my #virtualenv and codebase from the old server to the new
And its working!
A painless migration today, which I expected to be a lot worse.
I don't know who to thank, but #thankyou to the people who make these management tasks so painless!
Big news: `mypy[python2]==0.971`, the last version able to typecheck Python 2 can be installed on Python 3.13.0a4.
This means I can continue run my GitHub workflows and Azure Pipelines till October 2029, when 3.13 reaches end-of-support.
Read more here: https://cesar.coatl.dev/2024/03/01/python-3-tools-i-use-for-my-python-2-projects-2024-edition/
#python2 #mypy #python3 #typechecking #python #github #azuredevops