Skip to content

Commit

Permalink
increase pyyaml requirement to >= 5.3
Browse files Browse the repository at this point in the history
  • Loading branch information
bhazelton committed Dec 15, 2023
1 parent c4265e4 commit ca22e79
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ positions are near surface of whatever celestial body their positions are refere
(either the Earth or Moon, currently).

### Changed
- added support for python 3.12
- added support for python 3.12, dropped support for python 3.8.
- Updated minimum dependency versions: pyyaml>=5.3
- Changed `UVData.write_ms` to sort polarizations based on CASA-preferred ordering.
- Added some functionality to the `utils._convert_to_slices` method to enable quick
assessment of whether an indexing array can be replaced by a single slice.
Expand All @@ -27,7 +28,6 @@ tolerance value to be user-specified.
Additionally, failing this check results in a warning (was an error).

### Deprecated
- Dropped support for python 3.8
- Having `freq_range` defined on non-wide-band gain style UVCal objects.
- Having `freq_array` and `channel_width` defined on wide-band UVCal objects.

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ Optional:
* lunarsky >=0.2.1 (for working with simulated datasets for lunar telescopes)
* novas and novas_de405 (for using the NOVAS library for astrometry)
* python-casacore >= 3.3.1 (for working with CASA measurement sets)
* pyyaml >= 5.1 (for working with settings files for CST beam files)
* pyyaml >= 5.3 (for working with settings files for CST beam files)


The numpy and astropy versions are important, so make sure these are up to date.
Expand Down
2 changes: 1 addition & 1 deletion ci/pyuvdata_min_versions_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ dependencies:
- numpy==1.20.*
- pyerfa==2.0
- python-casacore==3.3.1
- pyyaml==5.1.*
- pyyaml==5.3.*
- scipy==1.5.*
- coverage
- pytest==6.2.0
Expand Down
2 changes: 1 addition & 1 deletion ci/pyuvdata_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ dependencies:
- numpy>=1.20.*
- pyerfa>=2.0
- python-casacore>=3.3.1
- pyyaml>=5.1
- pyyaml>=5.3
- scipy>=1.5
- coverage
- pytest>=6.2.0
Expand Down
2 changes: 1 addition & 1 deletion ci/pyuvdata_tests_windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ dependencies:
- hdf5plugin>=3.1.0
- numpy>=1.20.*
- pyerfa>=2.0
- pyyaml>=5.1
- pyyaml>=5.3
- scipy>=1.5
- coverage
- pytest>=6.2.0
Expand Down
2 changes: 1 addition & 1 deletion environment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ dependencies:
- pytest-cov
- pytest-xdist
- python-casacore>=3.3.1
- pyyaml>=5.1
- pyyaml>=5.3
- scipy>=1.5
- setuptools_scm<7.0|>=7.0.3
- sphinx
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ def is_platform_windows():

astroquery_reqs = ["astroquery>=0.4.4"]
casa_reqs = ["python-casacore>=3.3.1"]
cst_reqs = ["pyyaml>=5.1"]
cst_reqs = ["pyyaml>=5.3"]
hdf5_compression_reqs = ["hdf5plugin>=3.1.0"]
healpix_reqs = ["astropy_healpix>=0.6"]
lunar_reqs = ["lunarsky>=0.2.1"]
Expand Down

0 comments on commit ca22e79

Please sign in to comment.