lukasschwab / arxiv.py

Python wrapper for the arXiv API
MIT License
1.11k stars 123 forks source link

Maybe the `requests` dependency should be marked as >= instead of == #161

Closed egeres closed 4 months ago

egeres commented 5 months ago

Motivation

I'm having conflicts with other python packages because the pipy version of arxiv.py is using the version 2.31.0 of requests. Even if arxiv.py can be easily installed with pip install git+https://github.com/lukasschwab/arxiv.py.git and dependabot is updating requests automatically, it would be nice to have a less strict requirements.txt!

Solution

Set: requests>=2.31.0 on the requirements.txt

lukasschwab commented 5 months ago

Good point. I think loosening to the compatibility operator ~= might be the best move here — though this uses very stable parts of the requests API, we do still have to be cautious about future breaking changes.