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

Check exactextract library version on plugin init #28

Closed
JakubCha opened this issue Sep 20, 2024 · 3 comments
Closed

Check exactextract library version on plugin init #28

JakubCha opened this issue Sep 20, 2024 · 3 comments
Assignees
Labels
enhancement New feature or request

Comments

@JakubCha
Copy link
Owner

Before initialization of the plugin, there is a check for the missing exactextract library. If there's no library it will be installed according to qgis-requirements.txt.
A case should also be handled for an old version of the exactextract library; in that case, a new version should be installed, otherwise new functionality won't work.

@JakubCha JakubCha added the enhancement New feature or request label Sep 20, 2024
@JakubCha JakubCha self-assigned this Sep 20, 2024
@JakubCha
Copy link
Owner Author

JakubCha commented Oct 1, 2024

I am struggling with this. I would like to not add another python packages folder that would mess up things with the standard one - the worst case is exactextract in both places with different versions installed. It would happen in case the plugin installs the package into the custom, --user folder and then the user installs it by themself, using OSGEO4W shell.
Unfortunately, there's no standardized way to do that right now in QGIS. Consider releasing a plugin without this feature and letting the user install the library by themself.

qgis/QGIS-Enhancement-Proposals#202
qiceradar/qiceradar#42

@JakubCha
Copy link
Owner Author

JakubCha commented Oct 8, 2024

#29 doesn't check for a package version but gives proper exception if package is outdated through the usage of new attributes (e.g. progress). It also gives information on how to update package.

@JakubCha
Copy link
Owner Author

JakubCha commented Oct 9, 2024

New plugin version was released with changes introduced with #29

@JakubCha JakubCha closed this as completed Oct 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant