inveniosoftware / pytest-invenio

Pytest fixtures for Invenio.
https://pytest-invenio.readthedocs.io
Other
3 stars 22 forks source link

Dependencies is missing for poetry. #83

Open jma opened 2 years ago

jma commented 2 years ago

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.