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

Mamba installation requiring downgrading pandas version #1436

Closed
3 tasks done
jbwhit opened this issue Sep 7, 2023 · 2 comments
Closed
3 tasks done

Mamba installation requiring downgrading pandas version #1436

jbwhit opened this issue Sep 7, 2023 · 2 comments
Labels
information requested ❔ Cannot reproduce, waiting for minimum reproduction details.

Comments

@jbwhit
Copy link

jbwhit commented Sep 7, 2023

Current Behaviour

I'm not sure if this is a ydata-profiling bug or a mamba/conda problem. I have conda-forge as a channel. When I try to install with the command: mamba install ydata-profiling I get the following output:

...
  Package            Version  Build            Channel           Size
───────────────────────────────────────────────────────────────────────
  Install:
───────────────────────────────────────────────────────────────────────

  + wordcloud          1.9.2  py310h6729b98_1  conda-forge      163kB
  + phik              0.12.3  py310ha51cec0_0  conda-forge     Cached
  + dacite             1.8.0  pyhd8ed1ab_0     conda-forge     Cached
  + visions            0.7.5  pyhd8ed1ab_0     conda-forge     Cached
  + ydata-profiling    4.5.1  pyhd8ed1ab_1     conda-forge      203kB

  Downgrade:
───────────────────────────────────────────────────────────────────────

  - pandas             2.1.0  py310h5262a37_0  conda-forge     Cached
  + pandas             2.0.3  py310h5e4fcda_1  conda-forge       12MB

  Summary:

  Install: 5 packages
  Downgrade: 1 packages

Where it's finding the current version of ydata-profiling but it's requiring pandas to downgrade from the current version 2.1.0 to 2.0.3.

Expected Behaviour

Expected behavior would be to simply install ydata-profiling without downgrading the pandas installation. I saw previous bugs where conda / mamba was trying to install an old version of ydata-profiling but this is the first that I've seen that's asking for pandas to be downgraded.

Data Description

N/A

Code that reproduces the bug

No response

pandas-profiling version

v4.5.1

Dependencies

pandas==2.1.0
python==3.10

OS

MacOS

Checklist

  • There is not yet another bug report for this issue in the issue tracker
  • The problem is reproducible from this bug report. This guide can help to craft a minimal bug report.
  • The issue has not been resolved by the entries listed under Common Issues.
@jbwhit jbwhit changed the title Bug Report Mamba installation requiring downgrading pandas version Sep 7, 2023
@fabclmnt fabclmnt added information requested ❔ Cannot reproduce, waiting for minimum reproduction details. and removed needs-triage labels Sep 19, 2023
@fabclmnt
Copy link
Contributor

Hi @jbwhit ,

because pandas 2.1.0 is introducing some breaking changes, in ydata-profiling we have kept the pandas version bounded to versions that are below to 2.1.0 as per our setup file.

How relevant is for you to be using pandas 2.1.0? Can you please share a bit more on your experience?

I'll keep this request open so it can be upvoted by the community!

@jbwhit
Copy link
Author

jbwhit commented Feb 5, 2024

We can close this. I just tested this with the newest pandas release v2.2.0 and it looks to work without requiring a downgrade. It does seem to require numpy to be downgraded, but that's another for another issue.

  - numpy                    1.26.3  py310h4bfa8fc_0    conda-forge
  + numpy                    1.25.2  py310h7451ae0_0    conda-forge/osx-64     Cached

@jbwhit jbwhit closed this as completed Feb 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
information requested ❔ Cannot reproduce, waiting for minimum reproduction details.
Projects
None yet
Development

No branches or pull requests

3 participants