huggingface / datasets

🤗 The largest hub of ready-to-use datasets for ML models with fast, easy-to-use and efficient data manipulation tools
https://huggingface.co/docs/datasets
Apache License 2.0
19.29k stars 2.7k forks source link

The test test_move_script_doesnt_change_hash fails because it runs the 'python' command while the python executable has a different name #7090

Open yurivict opened 3 months ago

yurivict commented 3 months ago

Describe the bug

Tests should use the same pythin path as they are launched with, which in the case of FreeBSD is /usr/local/bin/python3.11

Failure:

                if err_filename is not None:
>                   raise child_exception_type(errno_num, err_msg, err_filename)
E                   FileNotFoundError: [Errno 2] No such file or directory: 'python'

Steps to reproduce the bug

regular test run using PyTest

Expected behavior

n/a

Environment info

FreeBSD 14.1