This repository contains scripts to test the compatibility and behavior differences between NumPy versions 1.26.4 and 2.0.0. The scripts cover various NumPy functions that have different behaviors or outputs in these versions.
NumPy 2.0.0 Release Notes#Changes
- Python 3.x
- Virtual environment tool (e.g.,
venv
)
-
Clone this repository:
git clone <repository_url> cd <repository_directory>
-
Run the setup script to create virtual environments and install the required NumPy versions:
chmod +x setup.sh (only when the first run) ./setup.sh
To run the tests for both NumPy versions, execute the run_tests.sh
script:
chmod +x run_tests.sh (only when the first run)
./run_tests.sh