Re: [QGIS-Developer] QGIS Python Versions

2025-04-11 Thread Etienne Trimaille via QGIS-Developer
Python 3.10 minimal version was in PR : https://github.com/qgis/QGIS/pull/56499 I think it has been closed because the version on MacOS is kind of locked for now. (not sure about the status now), if I remember correctly. Le mer. 9 avr. 2025 à 19:05, Greg Troxel via QGIS-Developer < qgis-developer

Re: [QGIS-Developer] QGIS Python Versions

2025-04-11 Thread Greg Troxel via QGIS-Developer
Etienne Trimaille writes: > Python 3.10 minimal version was in PR : > https://github.com/qgis/QGIS/pull/56499 I had forgotten. I do remember that now. > I think it has been closed because the version on MacOS is kind of locked > for now. (not sure about the status now), if I remember correctly

[QGIS-Developer] QGIS Python Versions

2025-04-10 Thread Sergi Maspons - BGEO via QGIS-Developer
Hi devs, I was wondering, is there a rule for which python version comes with each QGIS version? It would be very useful for developing plugins, because I thought that from QGIS 3.34 onwards it comes with Python 3.12. But I installed qgis-ltr (3.40.5) on debian and saw that it came with Pyth

Re: [QGIS-Developer] QGIS Python Versions

2025-04-09 Thread Greg Troxel via QGIS-Developer
Here's your answer. For 3.40, python could be as early as 3.9. Fro 3.34, it could be 3.7. Even for the master branch, it could be 3.9. $ for i in 34 36 38 40 42; do git checkout release-3_$i; echo 3_$i; egrep 'MIN_PYTHON_VERSION ' CMakeLists.txt ; done 3_34 set(MIN_PYTHON_VERSION "3.7") 3_36

Re: [QGIS-Developer] QGIS Python Versions

2025-04-09 Thread Sergi Maspons - BGEO via QGIS-Developer
In the qgis sources, look at CMakeLists and see what the minimum python version is. Stick to that. Really; it's that simple. Oh, okay, I didn't know that. Thank you very much! El 09/04/2025 a las 18:08, Greg Troxel via QGIS-Developer escribió: Sergi Maspons - BGEO via QGIS-Developer writes:

Re: [QGIS-Developer] QGIS Python Versions

2025-04-09 Thread Greg Troxel via QGIS-Developer
Sergi Maspons - BGEO via QGIS-Developer writes: > I was wondering, is there a rule for which python version comes with > each QGIS version? No. qgis is in general built from source, and will support multiple versions, from some minimum to some max. Each binary package constructed from those so