Skip to content
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

global: requests package dependency missing from setup.cfg #423

Open
mirekys opened this issue Nov 10, 2022 · 0 comments
Open

global: requests package dependency missing from setup.cfg #423

mirekys opened this issue Nov 10, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@mirekys
Copy link

mirekys commented Nov 10, 2022

Package version (if known): 1.0.0

Describe the bug

Newly introduced dependency on requests package is missing from this package's setup.cfg install_requires.

Steps to Reproduce

  1. pip install invenio-records-resources==1.0.0
  2. from invenio_records_resources.resources import (...
2022-11-10T09:31:12.6734294Z /opt/hostedtoolcache/Python/3.10.8/x64/lib/python3.10/site-packages/invenio_records_resources/services/__init__.py:13: in <module>
2022-11-10T09:31:12.6734695Z     from .files import FileLink, FileService, FileServiceConfig
2022-11-10T09:31:12.6735238Z /opt/hostedtoolcache/Python/3.10.8/x64/lib/python3.10/site-packages/invenio_records_resources/services/files/__init__.py:12: in <module>
2022-11-10T09:31:12.6735854Z     from .components import FileServiceComponent
2022-11-10T09:31:12.6736405Z /opt/hostedtoolcache/Python/3.10.8/x64/lib/python3.10/site-packages/invenio_records_resources/services/files/components/__init__.py:12: in <module>
2022-11-10T09:31:12.6736799Z     from .content import FileContentComponent
2022-11-10T09:31:12.6737331Z /opt/hostedtoolcache/Python/3.10.8/x64/lib/python3.10/site-packages/invenio_records_resources/services/files/components/content.py:11: in <module>
2022-11-10T09:31:12.6737704Z     from ..transfer import Transfer
2022-11-10T09:31:12.6738186Z /opt/hostedtoolcache/Python/3.10.8/x64/lib/python3.10/site-packages/invenio_records_resources/services/files/transfer.py:19: in <module>
2022-11-10T09:31:12.6738544Z     from .tasks import fetch_file
2022-11-10T09:31:12.6739026Z /opt/hostedtoolcache/Python/3.10.8/x64/lib/python3.10/site-packages/invenio_records_resources/services/files/tasks.py:11: in <module>
2022-11-10T09:31:12.6739360Z     import requests
2022-11-10T09:31:12.6739674Z E   ModuleNotFoundError: No module named 'requests'
@mirekys mirekys added the bug Something isn't working label Nov 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant