question

Upvotes
Accepted
3 0 0 1

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!

python#technologypandasdependency
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Hi @m01 ,

Thank you for your participation in the forum. Is the reply below satisfactory in resolving your query?
If so please can you click the 'Accept' text on the left side of the appropriate reply? This will guide all community members who have a similar question.

Thanks,

AHS

m01 avatar image   m01 raksina.samasiri
Done! Thank you
Upvotes
Accepted
79.2k 251 52 74

@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.



1670380140006.png (24.8 KiB)
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Upvotes
3 0 0 1

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?

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Upvotes
3 0 0 1

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 !

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.