Skip to content

Commit

Permalink
Fix dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
phausamann committed Jun 5, 2021
1 parent 6cff52a commit 9214d09
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 5 deletions.
2 changes: 1 addition & 1 deletion ci/conda_recipe/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ test:
source_files:
- tests
requires:
- python 3.6
- python 3.8
- pandas
- xarray
- netcdf4
Expand Down
3 changes: 2 additions & 1 deletion ci/requirements_docs.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,11 @@ numpy==1.19.*
scipy==1.5.*
pandas==1.1.*
xarray==0.16.*
numpy-quaternion>=2020.9.5.14.42.2
numpy-quaternion==2020.9.5.14.42.2
numba==0.53.*
anytree==2.8.*
pooch==1.3.*
netcdf4==1.5.*
matplotlib==3.3.*

sphinx==4.0.*
Expand Down
2 changes: 1 addition & 1 deletion environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ dependencies:
- pandas=1.1
- xarray=0.16
- netcdf4=1.5
- quaternion>=2020.9.5.14.42.2
- quaternion=2020.9.5.14.42.2
- numba=0.53
- anytree=2.8
- pooch=1.3
Expand Down
3 changes: 2 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,10 @@ numpy==1.19.*
scipy==1.5.*
pandas==1.1.*
xarray==0.16.*
numpy-quaternion>=2020.9.5.14.42.2
numpy-quaternion==2020.9.5.14.42.2
numba==0.53.*
anytree==2.8.*
pooch==1.3.*
netcdf4==1.5.*
matplotlib==3.3.*
pytest==6.2.*
3 changes: 2 additions & 1 deletion tests/test_ros.py
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,8 @@ def test_load_dataset(self, RosbagReader, rosbag_path):
}

# regression test for using header timestamps if available
assert np.mean(np.diff(ds.time)).astype(int) == 4998060
dt_ns = np.mean(np.diff(ds.time)).astype(int)
assert 4998060 <= dt_ns <= 4998061

def test_write_netcdf(self, RosbagReader, rosbag_path, export_folder):
""""""
Expand Down

0 comments on commit 9214d09

Please sign in to comment.