Unpin pandas dependency in refinitiv-data?

Currently refinitiv-data https://pypi.org/project/refinitiv-data/ has a pinned pandas dependency at 1.3.5, which is a few versions old.

Would it be possible to unpin that? It's forcing users to downgrade their pandas versions to use the library.


Thank you!

Best Answer

  • @m01

    Thanks for reaching out to us.

    I checked the setup.py file in the refinitiv-data package and found the following pandas dependency.

    1670380140006.png

    It depends on pandas version 1.3.5 or above.

    Please feel free to reach out if you have any further questions.


Answers

  • Thanks @Jirapongse — you're correct. It's the numpy dependency which is capped at an out-of-date version — and then the pandas dependency is limited by that:


    numpy = ">=1.11.0,<=1.23.4"


    Would it be possible to uncap that?

  • Actually I misspoke again — upgrading refinitiv-data from 25 to 28 has let us upgrade pandas.


    Numpy is capped, but not at a very old version (though we would prefer refinitiv to have the testing infrastructure to have confidence in raising the cap quickly!).


    So the immediate question is answered. Thanks @Jirapongse !