Opened 2 years ago

Closed 2 years ago

Last modified 2 years ago

#786 closed enhancement (worksforme)

python3-autopep8 available but not installable and black and isort missing

Reported by: andreaerdna Owned by: osgeo4w-dev@…
Priority: normal Component: Package
Version: Keywords:
Cc:

Description

The python3-autopep8 package is available at https://download.osgeo.org/osgeo4w/v2/x86_64/release/python3/python3-autopep8/ but it is not listed in setup.ini, so it is not possible to install it using Setup.

Such package is needed in order to enable the Reforma Code functionality in QGIS dev and in the upcoming QGIS 3.32. AFAIK the other Python modules needed for such functionality are black and isort.

Change History (3)

comment:1 by jef, 2 years ago

Resolution: worksforme
Status: newclosed

python3-autopep8 is both listed and installable.

Last edited 2 years ago by jef (previous) (diff)

comment:2 by andreaerdna, 2 years ago

mmhh... you are right! I don't know why i didn't find the python3-autopep8 package before...

What about the black and isort Python modules? Will them be available as OSGeo4W packages?

If not, is there a recommended why to install them?

E.g. using the OSGeo4W Shell with

python -m pip install module_name

or is it also possible via the QGIS Python console?

comment:3 by jef, 2 years ago

AFAIK they are only optional.

Note: See TracTickets for help on using tickets.