Pandas compatibility
Hi,
I'd like to use cape-privacy in a project, however, said project runs pandas 1.2 which not compatible with cape-python's dependency constraint of pandas~=1.0.3.
As pandas 1.0 is now more than 1 year old, would it be possible to release a new version of cape-privacy without the version constraint on pandas (I'm assuming it works without changing anything to cape-python) ?
Hi @VincentAntoine thanks for letting us know. We'll take a look!
@gavinuhma Any Updates ?
Solution that worked for me:
- copied
requirements.txt. Changed pandas & numpy versions in that file. -
pip install cape-privacy --no-deps. It will install cape-privacy but without installing the requirements. -
pip install -r requirements.txt. Now we just install our version of the required packages.
This should be resolved now. In the latest release, the install_requires were left open to be more permissive, and we now use the newer pip-tools/pip-compile to solve the repeatable build issue which caused us to pin dependencies that way.
Also note the package has been renamed to cape-dataframes, which you'll want to switch to to receive any future improvements.