Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Weaken numpy requirement #195

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion requirements/cli.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
SQLAlchemy>=1.1.1
tabulate==0.8.2
tabulate==0.9.0
xhtml2pdf==0.2.15
ohio>=0.2.0
markdown2==2.3.5
4 changes: 2 additions & 2 deletions requirements/main.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@ fairlearn>=0.8.0
hydra-core>=1.3.0
validators>=0.22.0
hyperparameter-tuning>=0.3.1
numpy==1.23.5
fastparquet==2024.2.0
numpy>=1.23.5
fastparquet==2024.2.0
9 changes: 4 additions & 5 deletions tests/test_generic.py
Original file line number Diff line number Diff line change
Expand Up @@ -199,11 +199,10 @@ def test_invalid_splits_warn(self):
),
split_values={"train": 0.3, "validation": 0.1, "test": 0.2},
)
self.assertEqual(
cm.output,
[
"WARNING:datasets.GenericDataset:Using only 0.6000000000000001 of the dataset."
],
self.assertEqual(len(cm.output), 1)
self.assertIn(
"WARNING:datasets.GenericDataset:Using only 0.6",
cm.output[0]
)

def test_missing_splits_column(self):
Expand Down