Repository: ITMO-NSS-team/GAMLET (language: python)

Issue:
Update openml version
openml-python 14.0 stopped loading datasets' data with 503 error from server. The version 14.1 works fine. Presumably, the error was fixed with the update.

Closes #36 

Changelist:
- Moved openml from 14.0 to 14.1 in requirements.txt
- Removed deprecated argument "dataset_format", since it will be removed in 15.0. Also, eliminates the corresponding deprecation warning.
- Minor variable naming changes
Update openml version
openml-python 14.0 stopped loading datasets' data with 503 error from server. The version 14.1 works fine. Presumably, the error was fixed with the update.

Closes #36 

Changelist:
- Moved openml from 14.0 to 14.1 in requirements.txt
- Removed deprecated argument "dataset_format", since it will be removed in 15.0. Also, eliminates the corresponding deprecation warning.
- Minor variable naming changes


Discussion / hints:

Fix patch:
diff --git a/requirements.txt b/requirements.txt
index be26c218..b1f97512 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -1,10 +1,14 @@
-fedot==0.7.1
-numpy==1.24.4
+# constant versions (for direct, unstable & important dependencies)
+fedot==0.7.2
 openml==0.14.1
-pandas==2.0.3
 pymfe==0.4.2
-pytest==7.4.0
-scikit-learn==1.3.0
-scipy==1.10.1
-tqdm==4.65.0
-thegolem==0.3.1
\ No newline at end of file
+
+# variable versions
+numpy>=1.16.5
+pandas>=1.3.0
+pytest>=7.4.0
+scikit-learn>=1.3.0
+scipy>=1.7.3
+tqdm>=4.65.0
+thegolem>=0.3.2
+


Test patch:
diff --git a/test/data/cache/openml_cache/org/openml/www/datasets/333/dataset_333.pkl.py3 b/test/data/cache/openml_cache/org/openml/www/datasets/333/dataset_333.pkl.py3
index 5c9a3b2e..cc43c9db 100644
Binary files a/test/data/cache/openml_cache/org/openml/www/datasets/333/dataset_333.pkl.py3 and b/test/data/cache/openml_cache/org/openml/www/datasets/333/dataset_333.pkl.py3 differ
diff --git a/test/data/cache/openml_cache/org/openml/www/datasets/40981/dataset_40981.pkl.py3 b/test/data/cache/openml_cache/org/openml/www/datasets/40981/dataset_40981.pkl.py3
index b217d55f..00243a8a 100644
Binary files a/test/data/cache/openml_cache/org/openml/www/datasets/40981/dataset_40981.pkl.py3 and b/test/data/cache/openml_cache/org/openml/www/datasets/40981/dataset_40981.pkl.py3 differ
diff --git a/test/unit/datasets/test_custom_dataset.py b/test/unit/datasets/test_custom_dataset.py
index 5f34b194..c7496047 100644
--- a/test/unit/datasets/test_custom_dataset.py
+++ b/test/unit/datasets/test_custom_dataset.py
@@ -1,4 +1,5 @@
 import numpy as np
+import pandas as pd
 import pytest
 
 from meta_automl.data_preparation.dataset import DataNotFoundError, CustomDataset, DatasetData
@@ -8,8 +9,8 @@
 @pytest.fixture(scope='module')
 def new_dataset_data():
     dataset_data = DatasetData(
-        x=np.array([['a', 'b'], ['b', 'a']]),
-        y=np.array([5, 10]),
+        x=pd.DataFrame([['a', 'b'], ['b', 'a']]),
+        y=pd.DataFrame([[5], [10]]),
         categorical_indicator=[True, True],
         attribute_names=['foo', 'bar']
     )
@@ -18,7 +19,7 @@ def new_dataset_data():
 
 @pytest.fixture(scope='module')
 def new_dataset(new_dataset_data):
-    dataset = CustomDataset(42)
+    dataset = CustomDataset(42, 'custom_dataset_for_test')
     dataset.dump_data(new_dataset_data)
     yield dataset
     dataset.cache_path.unlink()