Skip to content

Bug Report: Missing Support for Latest NumPy Versions (>=2.2 or 2.3.x) #1783

@xgboosted

Description

@xgboosted

Current Behaviour

ydata-profiling cannot be installed alongside the latest versions of numpy (>=2.2, 2.3.x) and pandas (>=2.3.x) due to strict dependency requirements. The current release restricts numpy to <2.2, while pandas 2.3.x requires numpy>=1.26.0, and the latest numpy is 2.3.3.

Expected Behaviour

ydata-profiling should support the latest numpy and pandas versions so it can be used in modern data science environments.

This issue blocks adoption in projects that require up-to-date scientific Python stacks. Please update ydata-profiling to support the latest numpy releases (>=2.2, including 2.3.x) and ensure compatibility with current pandas versions.

Thank you!

Data Description

N/A

Code that reproduces the bug

Steps to reproduce the behavior:
1. Create a new Python environment
2. Run:
   
   pip install numpy==2.3.3 pandas==2.3.3 ydata-profiling==4.17.0
   
3. Observe the dependency conflict error:
   
   ERROR: Cannot install -r requirements.txt (line 21), -r requirements.txt (line 3) and numpy==2.3.3 because these package versions have conflicting dependencies.
   The conflict is caused by:
       The user requested numpy==2.3.3
       pandas 2.3.3 depends on numpy>=1.26.0; python_version >= "3.12"
       ydata-profiling 4.17.0 depends on numpy<2.2 and >=1.16.0

pandas-profiling version

4.17.0

Dependencies

- Python Version: 3.12.10
 - ydata-profiling Version: 4.17.0
 - numpy Version: 2.3.3
 - pandas Version: 2.3.3

OS

Ubuntu 24.04

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions