Upgrade to numpy 2.2

Author: claudia-dribiaCreated May 12, 2025Updated Apr 22, 2026
LabelsUpdate

Current Behaviour

I encountered a version incompatibility issue when trying to use ydata-profiling with a project that depends on NumPy 2.2. It appears that the current version of ydata-profiling specifies a dependency constraint of numpy <2.2.

Attempting to install or use ydata-profiling with NumPy 2.2 results in dependency resolution errors.

Expected Behaviour

I would like to use ydata-profiling in conjunction with NumPy 2.2 without encountering compatibility issues.

Data Description

To reproduce:

  1. Set up a Python environment with NumPy 2.2 installed
  2. Attempt to install ydata-profiling
  3. Observe the dependency conflict.

Code that reproduces the bug

python

pandas-profiling version

v4.16.1

Dependencies

numpy>=1.16.0,<2.2

OS

No response

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.

Source: Data-Centric-AI-Community/fg-data-profiling