Skip to content

Plugin compatibility#1496

Open
edan-bainglass wants to merge 13 commits into
aiidalab:mainfrom
edan-bainglass:plugin-compatibility
Open

Plugin compatibility#1496
edan-bainglass wants to merge 13 commits into
aiidalab:mainfrom
edan-bainglass:plugin-compatibility

Conversation

@edan-bainglass
Copy link
Copy Markdown
Member

@edan-bainglass edan-bainglass commented May 7, 2026

This PR updates two things:

  1. plugins.yaml: all plugins have moved to the AiiDAlab/aiidaplugins organizations
  2. Some QE calculationis are developed externally (e.g., Xspec, Hubbard). In these cases, the entry point is not quantumespresso, but e.g., xspec. However, the QE app's auto-code-installation scheme assumes the quantumespresso prefix. This PR adds a simple mapping patch (thanks @mbercx 🙏)

Update

This PR now does more than two things 😅

In the process of updating other plugins, I noticed that we have a circular dependency issue. The newer process tree loads plugins for their process metadata. Since it lives in the common package, when plugins reach out for common things, we get a circular dependency, as the process tree package loads and fetches plugins metadata at the same time.

The solution here is simple - the tree is not common! It is strictly used by the app. Here I move it into the app package.
I also removed the old workchain selector widgets, which we haven't been using in a year or so.

I also pin hiphive to 1.3.1 to avoid conflicts with spglib, which is pinned in at least the muonic plugin.

@codecov
Copy link
Copy Markdown

codecov Bot commented May 7, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 74.89%. Comparing base (03b0bcb) to head (429fc47).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1496      +/-   ##
==========================================
+ Coverage   74.52%   74.89%   +0.37%     
==========================================
  Files         117      115       -2     
  Lines        7442     7369      -73     
==========================================
- Hits         5546     5519      -27     
+ Misses       1896     1850      -46     
Flag Coverage Δ
python-3.12 74.89% <100.00%> (+0.37%) ⬆️
python-3.9 74.92% <100.00%> (+0.37%) ⬆️

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

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Comment on lines +46 to +50
# Some quantumespresso features are developed in separate repositories, with different
# entry point prefix (e.g. `xspec` in aiida-qe-xspec)
ENTRY_POINT_MAP = {
"xspectra": "xspec",
}
Copy link
Copy Markdown
Member Author

@edan-bainglass edan-bainglass May 8, 2026

Choose a reason for hiding this comment

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

@PNOGillespie this resolves the xspectra code auto-installation issue.

@edan-bainglass edan-bainglass force-pushed the plugin-compatibility branch 2 times, most recently from c735453 to f7a369b Compare May 9, 2026 09:21
@edan-bainglass edan-bainglass force-pushed the plugin-compatibility branch from c22662c to 429fc47 Compare May 13, 2026 13:26
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.

1 participant