zeldor.biz

Linux, programming and more

Copyright © 2025
Log in

Python 2 to 3 migration

April 11, 2019 by Igor Drobot Leave a Comment

pythonclock.org is a pretty simple countdown for the end of Python 2.
The End Of Life, sunset date for Python 2.7 is officially announced to January 1, 2020.

It’s not a 1 April fool joke and not a really something new.
Python 3, a major, backwards-incompatible release, was released on December 3, 2008. [2]
So lets say, it was pretty clear who has not switched to Python 3 version,
it’s your own fault.

This a simple dive in for converting Python code from version 2 to Python 3.

[Read more…]

Filed Under: Linux Tagged With: pip3, python migration, python2, python3

Multiple python versions with pyenv

March 11, 2019 by Igor Drobot Leave a Comment

Perhaps you have have a bunch of staging or testing systems with different python version and you have to switch between different systems to test your written code with different python version.
Or you tried to use multiple python version parallel installed, lets say on a older os.
That a really mess!

[Read more…]

Filed Under: Linux

Parallel python versions

March 11, 2019 by Igor Drobot Leave a Comment

Some project have strict dependencies, and requires additional python 3.x versions to manage the dependencies.
This describes a walkthrough of a build of python 3.5.6 from a source tarball.

Just go to python.org Download section and copy the download link to a python version of your need:

[Read more…]

Filed Under: Linux Tagged With: pyenv, Python, python3

OpenSUSE unattended upgrades

February 24, 2019 by Igor Drobot Leave a Comment

I was looking around to find something similar to perform update-automation on openSUSE distribution, just like in Debian GNU Linux.
Some pretty way, without hacking a bash script and adding it to the cron…

It seems, there is a build in solution which is unfortunately configurable out of YaST2.

Install YaST2 module:

[Read more…]

Filed Under: Linux Tagged With: Automation, openSUSE, security, update

Debian unattended-upgrades

February 10, 2019 by Igor Drobot Leave a Comment

UnattendedUpgrades is since Debian 9 a part of default installation.
Only with graphical desktop environment, its activated by default.

For server systems, the following basic configuration is required:

[Read more…]

Filed Under: Linux Tagged With: apt, aptitude, Debian, security, Ubuntu, Updates

  • « Previous Page
  • 1
  • …
  • 5
  • 6
  • 7
  • 8
  • 9
  • …
  • 62
  • Next Page »
Yeaaah Cookie! We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.Ok