inveniosoftware / inveniosoftware/pytest-invenio
Dependencies is missing for poetry.
- Dominant language
- Python
- Stars
- 5
- Forks
- 28
- PR merge metrics
- No merged PRs in 30d
Description
Package version (if known): 1.4.12
## Describe the bug
In the new 1.4.12 version a pyproject.toml has been created. Unfortunately, poetry consider pyproject.toml for entrypoints and dependencies instead of `setup.py` file. Thus when an invenio instance using poetry try to install `pytest-invenio>1.4.11` all configuration present in the `setup.py` and not in the `pyproject.toml` is ignored.
## Steps to Reproduce
1. Create a invenio-instance with poetry see: https://github.com/rero/rero-ils/blob/staging/pyproject.toml for example.
2. Install the project.
3. the `pytest` command does not recognize the `--pycodestyle` option as the `pytest-pydocstyle` package is not installed
## Expected behavior
All configuration present in the `setup.py` should be present in the `pyproject.toml`: dependencies, entrypoints, etc.
Contributor guide
Research direction
Compare setup.py with pyproject.toml, focusing on the dependencies and entrypoints used when installing pytest-invenio 1.4.12. Reproduce the issue with an Invenio instance using Poetry, then verify that installing pytest-invenio provides the pytest-pycodestyle package and that pytest recognizes the --pycodestyle option.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- testing-qa
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 45/100