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

Dependencies and unsupported libraries (software) are checked before running #11

Open
sjib opened this issue Oct 14, 2024 · 0 comments
Open
Labels
feature Specification Specification of a functionnality / development

Comments

@sjib
Copy link

sjib commented Oct 14, 2024

Objective

TEKSI solutions should not run when the expected criterii are not met.

How it works

Dependencies and supported librairies are checked before running

Configuration

When run from TMMT a check of the availability and the versions of the dependancies is essential.
When run from the commandline, at least a dependancy check should be implemented to avoid bugs around dependancies.

  • Parameters :
Field Type Mandatory Example
id int4 Primary key
  • postgres
  • postgis
  • python libraries ...
  • ubuntu
  • qgis
  • used plugins like modelbaker, relation manager, etc.
  • used plugin libraries (modelbaker)
  • ili2db
  • ...

Example

python app/create_app.py --pg_service pg_tww_dev --srid 2056

Should check that it's requirements fixed in requirements.txt are met before running into an error message :

image

Instead an error message should be prompted :
pirogue 1.4.1 is installed but pirogue 2.2.0 is expected, please upgrade using pip install -r requirements.txt in the app folder.

Acceptation criteria

Identifier Description
#ISSUE-1 It works from TMMT
#ISSUE-2 It works from the commandline
#ISSUE-3 It works on all supported systems
@ponceta ponceta changed the title Add automatic issue to check on on dependencies and unsupported libraries (software) Dependencies and unsupported libraries (software) are checked before running Nov 18, 2024
@ponceta ponceta added Specification Specification of a functionnality / development feature labels Nov 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature Specification Specification of a functionnality / development
Projects
None yet
Development

No branches or pull requests

2 participants