3liz / qgis-plugin-manager

CLI tools for installing QGIS Plugins
GNU General Public License v3.0
13 stars 2 forks source link

Support de python 3.5 ? #5

Closed lhirlimann closed 2 years ago

lhirlimann commented 3 years ago

J'ai des clients en stretch - qui sont pas près de passer en buster. On peut reduire le requirement à python 3.5 ?

Gustry commented 3 years ago

There is indeed a few functions from the Path library not available in Python 3.5 in the current implementation.

I would need to have a look manually in the code and update the code.

lhirlimann commented 3 years ago

If it's too much work, don't bother.

dmarteau commented 3 years ago

It is straightforward to install another version side by side the default version:

As an exemple og installing python 3.8 (or other version):

> sudo add-apt-repository ppa:deadsnakes/ppa 
> sudo apt install python3.8 python3.8-dev python3.8-venv

Or with ansible tasks:

#
# Install python 3.8
#

- name: Add python ppa
  apt_repository: repo=ppa:deadsnakes/ppa

- name: Install python 3.8
  apt: 
    name: "{{ packages }}"
    install_recommends: no
  vars: 
    packages:
      - python3.8
      - python3.8-venv
      - python3.8-dev

From this, you may install anything you want in venv.

Gustry commented 2 years ago

Given the latest development on this repository, it's not possible anymore to support 3.5.

Maybe a have a look to the solution from @dmarteau above