Qiskit / ecosystem

The Ecosystem consists of projects, tools, utilities, libraries and tutorials from a broad community of developers and researchers. The goal of the Ecosystem is to recognize, support and accelerate development of quantum technologies using Qiskit.
https://www.ibm.com/quantum/ecosystem
Apache License 2.0
102 stars 53 forks source link

[Submission]: Qiskit Algorithms #484

Closed ElePT closed 1 year ago

ElePT commented 1 year ago

Github repo

https://github.com/qiskit-community/qiskit-algorithms

Description

Qiskit Algorithms is a library of quantum algorithms based on Qiskit, suitable to run on near-term quantum devices with short-depth circuits.

Email

ept@zurich.ibm.com

Alternatives

No response

License

Apache License 2.0

Affiliations

IBM Quantum

Labels

Algorithms

Website

https://qiskit.org/ecosystem/algorithms

github-actions[bot] commented 1 year ago

Submission PR #485 has been created with errors in tests :warning: See logs: https://github.com/qiskit-community/ecosystem/actions/runs/5797373497 Please follow minimal requirements for project or/and add ecosystem.json configuration in the root of the project Read more here https://github.com/qiskit-community/ecosystem/blob/main/docs/project_overview.md#adding-project-to-the-ecosystem

github-actions[bot] commented 1 year ago

Tests with latest version of Qiskit release failed! :warning: This means your project doesn't work with the latest version of Qiskit. This is purely informational and doesn't affect your project joining the Ecosystem, but you may want to investigate the problem. See logs: https://github.com/qiskit-community/ecosystem/actions/runs/5797373497

github-actions[bot] commented 1 year ago

Tests with development version of Qiskit release failed! :warning: This means your project might not work with the next version of Qiskit. This is purely informational and doesn't affect your project joining Ecosystem. See logs: https://github.com/qiskit-community/ecosystem/actions/runs/5797373497

mickahell commented 1 year ago

Hi @ElePT :)

It seems to have a problem with finding the ddt python module, error :

from ddt import ddt, idata, data, unpack
ModuleNotFoundError: No module named 'ddt'
ElePT commented 1 year ago

Hey @mickahell, I was wondering where did you find these error logs pointing to ddt, I cannot find them (also not sure why would that fail when it's correctly specified in requirements.txt)

mickahell commented 1 year ago

Hey @mickahell, I was wondering where did you find these error logs pointing to ddt, I cannot find them (also not sure why would that fail when it's correctly specified in requirements.txt)

I think I find out why, by default we only install the requirements.txt and not the requirements-dev.txt and ddt is in your -dev.txt and not in the regular one. Could you add an ecosystem.json file to your project, something like that should do the job :

{
    "dependencies_files": [
        "requirements.txt",
        "requirements-dev.txt"
    ],
    "extra_dependencies": [
        "pytest"
    ],
    "language": {
        "name": "python",
        "versions": ["3.9"]
    },
    "tests_command": [
        "pytest"
    ],
    "styles_check_command": [
        "pylint -rn qiskit_algorithms tests"
    ],
    "coverages_check_command": [
        "coverage3 run -m pytest",
        "coverage3 report --fail-under=80"
    ]
}
mickahell commented 1 year ago

Hi @ElePT any news :)

frankharkins commented 1 year ago

We'll be dropping the testing feature soon, so we can ad this project and skip / ignore the tests.

github-actions[bot] commented 1 year ago

Standard tests

:x: The submission didn't pass the standard check. Please follow minimal requirements for project or/and add ecosystem.json configuration in the root of the project. Read more here https://github.com/qiskit-community/ecosystem/blob/main/docs/project_overview.md#adding-project-to-the-ecosystem.

Stable tests

:warning: The submission didn't pass the stable check. This means your project doesn't work with the latest version of Qiskit. This is purely informational and doesn't affect your project joining the Ecosystem, but you may want to investigate the problem.

Development tests

:warning: The submission didn't pass the development check. This means your project might not work with the next version of Qiskit. This is purely informational and doesn't affect your project joining Ecosystem.


Logs: https://github.com/qiskit-community/ecosystem/actions/runs/6469552858 PR #485