Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem bei max python Version zum Start? #642

Open
onkelandy opened this issue Mar 6, 2024 · 3 comments
Open

Problem bei max python Version zum Start? #642

onkelandy opened this issue Mar 6, 2024 · 3 comments

Comments

@onkelandy
Copy link
Member

Im Forum berichtet ein User, dass beim Angeben einer py_maxversion von 3.10 in einem Plugin diese Fehlermeldung kommt:
plugin 'jsonread' v1.0.3: The Python version v3.10.13 is too new for this plugin. It requires a version up to v3.1.999. The plugin was not loaded.

@msinn
Copy link
Member

msinn commented Mar 6, 2024

Was ist das Issue? Das ist doch eine korrekte Meldung, wenn in den Metadaten des Plugins py_maxversion: 3.10 steht.

3.10.13 ist nunmal größer als 3.10.0.

@stoepf
Copy link
Contributor

stoepf commented Mar 6, 2024

Problem ist das die 3.10 im yaml im Code als 3.1 "ankommen". In der Fehlermeldung wird dann die "up to"-Versionsnummer falsch angezeigt.

@Morg42
Copy link
Member

Morg42 commented Mar 13, 2024

Das Problem ist, dass der yaml-Importer

py_maxversion: 3.10

immer als Zahl liest, und 3.10 === 3.1.

Wenn du

py_maxversion: "3.10"

schreibst, sollte es ohne Probleme gehen. Das müsste bei allen Plugins geprüft und angepasst werden.

@msinn: vielleicht können wir das in die Tests einbauen, dass eine entsprechende [py|sh]_[min|max]version immer auf "given as string" geprüft wird?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants