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

add version when installing pseudo #425

Merged
merged 1 commit into from
Jun 22, 2023
Merged

add version when installing pseudo #425

merged 1 commit into from
Jun 22, 2023

Conversation

superstar54
Copy link
Member

@superstar54 superstar54 commented Jun 22, 2023

QeApp failed when installing SSSP pseudo, because the new SSSP version (1.3) is released, and we hard-coded version 1.2 in QeApp, so we need to add the version when installing pseudo.

@superstar54 superstar54 requested a review from unkcpz June 22, 2023 11:03
@codecov
Copy link

codecov bot commented Jun 22, 2023

Codecov Report

Patch and project coverage have no change.

Comparison is base (d210b45) 52.63% compared to head (3bf1e63) 52.63%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #425   +/-   ##
=======================================
  Coverage   52.63%   52.63%           
=======================================
  Files          17       17           
  Lines        1879     1879           
=======================================
  Hits          989      989           
  Misses        890      890           
Flag Coverage Δ
python-3.10 52.63% <ø> (ø)
python-3.8 52.69% <ø> (ø)
python-3.9 52.69% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
aiidalab_qe/app/sssp.py 41.30% <ø> (ø)

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

Copy link
Member

@unkcpz unkcpz left a comment

Choose a reason for hiding this comment

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

LGTM! thanks!

@unkcpz unkcpz merged commit 92f567c into main Jun 22, 2023
@unkcpz unkcpz deleted the fix_pseudo_version branch June 22, 2023 11:52
unkcpz pushed a commit that referenced this pull request Jun 22, 2023
There is an issue that when the aiida-pseudo update to have the latest version of library, such as from `v1,2` to `v1.3`, since in the QeApp we hardcode the library for workchain protocol, the install command in `sssp.py` will fail because it trys to install the latest version which is `v1.3` but it not compatible with the validate version that is `v1.2`.

In this commit, we also hardcode the version to the install command to make sure when a new version is available in aiida-pseudo, it will still install the correct version.
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.

2 participants