-
Notifications
You must be signed in to change notification settings - Fork 58
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 ecosystem.json
to include project in Qiskit ecosystem
#43
Conversation
Pull Request Test Coverage Report for Build 5876576652
💛 - Coveralls |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would expect we need to make some changes from the example file, as we use different tools and already have some workflows in place 🙂 But I'm also not sure if this is correct -- however opening an issue and letting the ecosystem's CI run would probably resolve it 😄
"versions": ["3.9"] | ||
}, | ||
"tests_command": [ | ||
"pytest" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Couldn't we just defer this to the Makefile we have already? So
"pytest" | |
"make test_ci" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just keep in mind in Ecosystem we launch it inside a tox env, so keep it as simple and basic as possible :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You'll need to add :
"debian_dependencies": [
"make"
],
The feature is actually in review process
"pytest" | ||
], | ||
"styles_check_command": [ | ||
"pylint -rn src tests" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Likewise this could maybe be
"pylint -rn src tests" | |
"make lint style" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just keep in mind in Ecosystem we launch it inside a tox env, so keep it as simple and basic as possible :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You'll need to add :
"debian_dependencies": [
"make"
],
The feature is actually in review process
"requirements-dev.txt" | ||
], | ||
"extra_dependencies": [ | ||
"pytest" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since the test dependencies are in requirements-dev.txt
which is in the dependencies above, maybe we don't need this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just check it, what do you mean ?
I even don't see pytest in your 2 files
I would have to ask whether this is really needed - it was not done for any of the apps. I guess my concern is over running duplicate? CI over the tests? I get that if you are submitting a new project having some CI run is good so ecosystem provisioing something is helpful - where is this run under the ecosystem's repo github actions. But in this case we have a comprehensive CI that runs already here - and flags in the readme, via the ribbon, whether tests are passing etc which I guess ends up as as outcome of whatever ecosystem runs. Would it not be better to just link this in someway assuming this is doable in the ecosystem. If it was setup for this it could hooked up for the apps too so their status was visible in the ecosystem project cards. |
Hello @woodsp-ibm :) I'm Michael one of the creator of the Ecosystem and I'm trying to continue contributing to. If you want to test before merging you can set the branch of this PR as default and submitting it in an Ecosystem fork (I can do it for you if you want) |
@mickahell If we need to have a json file its fine by me. My comment was more around the fact that the repo heres has its own CI and does not need anything run elsewhere - and most likely what is here is way more comprehensive. Couple this with the fact that any number of other repos are part of Ecosystem (qiskit-aer, runtime, provider, experiments, nature, etc) that do not have an ecosystem.json, so however these were moved from qiskit org and became ecosystem projects I am not quite sure why this is being treated different. Not that I mind that it is as such, more I was questioning things since the changes noted above all seem to relate to CI being run for this - in the ecosystem repo I think if I understand how things are. How that's triggered and when it runs I have no idea. And since we have CI here with info about tests passing etc I guess I was wondering if that's all that was wanted to be shown on the ecosystem card (though I note none of the other repo's above have that either) is there no way to leverage this whereby we could include some link or other in the json for status rather than having to use resources to runs tests just to do that when the whole CI is already run here. |
hmm ok, I think it's just a misunderstanding. Project in Ecosystem are just to present on the page https://qiskit.org/ecosystem for the public. There it has project from IBM, community and partner. Adding a project there doesn't mean your project goes to community project at all. The default tier is community but we'll allow to people to set another tier in the next release. The process to check : the Ecosystem gonna scan your project if you don't have With every project having their own CI and diff way to do so, we set ours own and we created the And about which qiskit project is treat and how, I don't know. I think the main qiskit project are adding by hand with I hope, what I wrote is clear enough and I answer your though @woodsp-ibm :) |
Sorry I missed this. We'll be dropping the testing feature of the Ecosystem soon, so this PR is no longer needed. |
@frankharkins Thanks - but what we we really want/need the qiskit-algorithms listed in the ecosystem, that was the real goal behind this PR. qiskit-nature etc were all added somehow so they are listed there (like qiskit-experiments, qiskit-aer etc none of these have this file), but qiskit-algorithms does not show up. Maybe someone manually added the apps etc. so that this is yet to be done for this project. |
Sorry, I should have clarified; I've added the project to the Ecosystem in Qiskit/ecosystem#485, and it should appear on https://qiskit.org/ecosystem when that's next rebuilt (I believe nightly). Let me know if you need anything else. |
Perfect, thanks. |
|
Summary
Adds an
ecosystem.json
file to pass necessary checks to add project to Qiskit ecosystem.Details and comments