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

Remove numpy dependency #172

Closed
wants to merge 4 commits 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
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ The package requires Python >= 3.7 and the following python packages:
```
click>=8.0.1
pandas>=1.3.4
numpy==1.26.4
requests>=2.26.0
```

Expand Down
1 change: 0 additions & 1 deletion environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,3 @@ dependencies:
- requests
- click
- pandas
- numpy==1.26.4
1 change: 0 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ click>=8.0.1
requests>=2.26.0
requests-mock>=1.9.3
pandas>=1.3.4
numpy==1.26.4
pytest>=6.2.5
responses>=0.21.0
mock>=3.0.5
3 changes: 1 addition & 2 deletions tests/test_clos/test_process_job_list.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
import requests_mock
import requests
import pandas as pd
import numpy as np
from cloudos.clos import Cloudos

input_json = "tests/test_data/process_job_list_initial_json.json"
Expand Down Expand Up @@ -52,7 +51,7 @@ def test_process_job_list_df_values_equal(mocked_requests_get,):
'workflow.updatedAt', 'workflow.workflowType',
'project._id', 'project.name',
'project.createdAt', 'project.updatedAt']
assert np.all(df[columns_to_compare] == output_df[columns_to_compare])
pd.testing.assert_frame_equal(df[columns_to_compare], output_df[columns_to_compare])


def test_process_job_list_full_has_correct_columns(mocked_requests_get):
Expand Down