Insync Nautilus is still using Python 2

Hello, the add-on package for Nautilus file manager insync-nautilus is still using python2. Python 2 was EODed on 2020-01-01 and represents a potential security issue. Moreover, it is in the process of removal from all major distros’ new releases. Please update it to python3.

1 Like

Hi @spyke,

Thank you for this! I have escalated the concern to our engineers so we can update it accordingly.

Hi @spyke! We’ve added python3-nautilus as a dependency for the Nautilus package in 3.0.30. :slight_smile:

@mia, It says about RPM build, but I’m using Ubuntu. Also, the 3.0.30 itself is still missing from the downloads page (refreshed a couple of times) and from the repo:

$ sudo apt update
...
Hit:15 http://apt.insync.io/ubuntu eoan InRelease
Fetched 262 kB in 1s (200 kB/s)
Reading package lists... Done
Building dependency tree       
Reading state information... Done
All packages are up to date.
$ apt list insync*
Listing... Done
insync-caja/unknown 3.0.11.40167 all
insync-dolphin/unknown 3.0.22.40446 all
insync-nautilus/unknown 3.0.23.40579 all [installed]
insync-nemo/unknown 3.0.11.40167 all
insync-thunar/unknown 3.0.23.40579 all
insync/unknown,now 3.0.29.40727-bionic amd64 [installed]

3.0.30 has been published to the homepage so the repos should now be avail, thanks.

@terpua 3.0.30 is available, but insync-nautilus is still 3.0.23.40579 and relies on python2:

$ apt list insync*
Listing... Done
insync-caja/unknown 3.0.11.40167 all
insync-dolphin/unknown 3.0.22.40446 all
insync-nautilus/unknown 3.0.23.40579 all
insync-nemo/unknown 3.0.11.40167 all
insync-thunar/unknown 3.0.23.40579 all
insync/unknown,now 3.0.30.40732-bionic amd64 [installed]
$ sudo apt install insync-nautilus 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following additional packages will be installed:
  gir1.2-nautilus-3.0 libpython-stdlib libpython2-stdlib libpython2.7 libpython2.7-minimal libpython2.7-stdlib python
  python-gi python-minimal python-nautilus python2 python2-minimal python2.7 python2.7-minimal
Suggested packages:
  python-doc python-tk python-gi-cairo python2-doc python2.7-doc binfmt-support
The following NEW packages will be installed:
  gir1.2-nautilus-3.0 insync-nautilus libpython-stdlib libpython2-stdlib libpython2.7 libpython2.7-minimal libpython2.7-stdlib
  python python-gi python-minimal python-nautilus python2 python2-minimal python2.7 python2.7-minimal
0 upgraded, 15 newly installed, 0 to remove and 0 not upgraded.
Need to get 5,164 kB of archives.
After this operation, 21.0 MB of additional disk space will be used.
Do you want to continue? [Y/n]

Hi @spyke

One of the dependencies for our Nautilus file manager integration is python-nautilus. There are versions of this package that uses Python 3, however those versions are not yet available in the Ubuntu apt repos.

python-caja is not available in the “Bullseye” repositories as well. Thanks.

fedora 31, insync-nautilus-3.0.30 still has dependency for python2-gobject
that prevents to upgrade to fedora32, that missing python2
could you please fix that?

$ sudo dnf repoquery --requires --resolve insync-nautilus-3.0.30.40732-1
Last metadata expiration check: 0:43:56 ago on Sat 28 Mar 2020 05:20:17 PM EET.
bash-0:5.0.11-1.fc31.i686
bash-0:5.0.11-1.fc31.x86_64
insync-0:3.1.1.40765-fc30.x86_64
nautilus-0:3.34.2-2.fc31.i686
nautilus-0:3.34.2-2.fc31.x86_64
nautilus-python-0:1.2.3-2.fc31.i686
nautilus-python-0:1.2.3-2.fc31.x86_64
python2-gobject-0:3.34.0-3.fc31.i686
python2-gobject-0:3.34.0-3.fc31.x86_64

1 Like

Python 2 is also removed from Ubuntu 20.04

This is an issue even in insync-3.1. Fedora 32 is two weeks ahead, so we are running out of time to get python2 dependencies removed from insync and insync-nautilus.

@Kurt_Ko Ubuntu 20.04 and Fedora 32 were released a week ago, are there any news on Nautilus integration?

Hi @spyke

The updated Nautilus integration should be up for our Ubuntu 20.04 and Fedora 32. The version of insync-nautilus is 3.1.4.40795. It can also be downloaded from our downloads page

1 Like