Skip to content

Commit

Permalink
PICARD-2331: Set minimum supported API version to 3.0
Browse files Browse the repository at this point in the history
We need to evaluate and eventually updated all plugins, most notably those using Qt6 directly in some way.
  • Loading branch information
phw committed Oct 13, 2023
1 parent d26569f commit 390c65c
Show file tree
Hide file tree
Showing 6 changed files with 3 additions and 13 deletions.
12 changes: 1 addition & 11 deletions picard/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,17 +61,7 @@

# Keep those ordered
api_versions = [
"2.0",
"2.1",
"2.2",
"2.3",
"2.4",
"2.5",
"2.6",
"2.7",
"2.8",
"2.9",
"2.10",
"3.0",
]

api_versions_tuple = [Version.from_string(v) for v in api_versions]
Expand Down
2 changes: 1 addition & 1 deletion test/data/testplugins/module/dummyplugin/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
PLUGIN_AUTHOR = "Zas"
PLUGIN_DESCRIPTION = "Dummy plugin description"
PLUGIN_VERSION = "1.0"
PLUGIN_API_VERSIONS = ["2.0"]
PLUGIN_API_VERSIONS = ["3.0"]
PLUGIN_LICENSE = 'Dummy plugin license'
PLUGIN_LICENSE_URL = 'dummy.plugin.url'

Expand Down
Binary file modified test/data/testplugins/packaged_module/dummyplugin.picard.zip
Binary file not shown.
2 changes: 1 addition & 1 deletion test/data/testplugins/singlefile/dummyplugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
PLUGIN_AUTHOR = "Zas"
PLUGIN_DESCRIPTION = "Dummy plugin description"
PLUGIN_VERSION = "1.0"
PLUGIN_API_VERSIONS = ["2.0"]
PLUGIN_API_VERSIONS = ["3.0"]
PLUGIN_LICENSE = 'Dummy plugin license'
PLUGIN_LICENSE_URL = 'dummy.plugin.url'

Expand Down
Binary file modified test/data/testplugins/zipped_module/dummyplugin.zip
Binary file not shown.
Binary file modified test/data/testplugins/zipped_singlefile/dummyplugin.zip
Binary file not shown.

0 comments on commit 390c65c

Please sign in to comment.