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

chore: warmup py cache #4463

Open
wants to merge 7 commits into
base: master
Choose a base branch
from
Open

chore: warmup py cache #4463

wants to merge 7 commits into from

Conversation

connoratrug
Copy link
Contributor

@connoratrug connoratrug commented Nov 8, 2024

What are the main changes you did:

  • install the python requirements into pip before starting the test, i hope that during the test run pip will hit the local cache during the test and be a lot faster

how to test:

  • see if the python script tests fail less often ?
    todo:
  • updated docs in case of new feature
  • added/updated tests
  • added/updated testplan to include a test for this fix, including ref to bug using # notation

@connoratrug connoratrug marked this pull request as ready for review November 8, 2024 10:44
Copy link
Member

@mswertz mswertz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no success so it seems :-(

@connoratrug
Copy link
Contributor Author

no success so it seems :-(

yea disappointing, but not sure if this is the issue then, i think the test needs for output ( was @harmbrugge ) working on this are, is it already merged ?

@@ -180,6 +180,10 @@ jobs:
name: prepare sql test database
command: psql -h 127.0.0.1 -p 5432 -U postgres < .docker/initdb.sql

- run:
name: warm up the cache
command: pip3 install molgenis-emx2-pyclient numpy==1.23.4
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why numpy==1.23.4? The current version is at 2.1.3

Copy link
Contributor Author

@connoratrug connoratrug Nov 27, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the version used by the client i guess ?, i'll double check

yes this one:

maybe update the once used in the Service ? , should be done in other pr

Copy link

sonarqubecloud bot commented Dec 5, 2024

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

Successfully merging this pull request may close these issues.

4 participants