From 5553fedf42a9876cb000f4b4aeaa28f9b6a9a81c Mon Sep 17 00:00:00 2001 From: Thomas Dutkiewicz <106269091+ttdu@users.noreply.github.com> Date: Tue, 9 Jul 2024 11:33:01 -0400 Subject: [PATCH 1/2] add numpy < 2.0.0 --- notebooks/HSC/HSCV3_SMC_API/requirements.txt | 2 +- notebooks/HSC/SWEEPS_HSCV3P1/requirements.txt | 2 +- notebooks/HSC/SWEEPS_HSCV3P1_API/requirements.txt | 2 +- .../K2/removing_instrumental_noise_using_pld/requirements.txt | 3 ++- notebooks/Kepler/creating_periodograms/requirements.txt | 3 ++- .../requirements.txt | 3 ++- .../requirements.txt | 3 ++- .../requirements.txt | 3 ++- .../requirements.txt | 3 ++- .../Kepler/lightkurve_analyzing_lc_products/requirements.txt | 2 ++ .../Kepler/lightkurve_analyzing_tpf_products/requirements.txt | 2 ++ .../lightkurve_combining_multiple_quarters/requirements.txt | 2 ++ .../requirements.txt | 2 ++ notebooks/Kepler/measuring_a_rotation_period/requirements.txt | 3 ++- notebooks/Kepler/plotting_lightcurves/requirements.txt | 2 ++ .../Kepler/verifying_the_location_of_a_signal/requirements.txt | 3 ++- .../requirements.txt | 2 ++ notebooks/TESS/asteroid_rotation/requirements.txt | 3 ++- notebooks/multi_mission/beginner_search/requirements.txt | 2 ++ 19 files changed, 35 insertions(+), 12 deletions(-) diff --git a/notebooks/HSC/HSCV3_SMC_API/requirements.txt b/notebooks/HSC/HSCV3_SMC_API/requirements.txt index 5f00e96c..9fde1008 100644 --- a/notebooks/HSC/HSCV3_SMC_API/requirements.txt +++ b/notebooks/HSC/HSCV3_SMC_API/requirements.txt @@ -1,7 +1,7 @@ astropy >= 5.3.3 fastkde == 1.0.30 matplotlib >= 3.7.1 -numpy >= 1.24.3 +numpy < 2.0.0 pandas >= 2.0.2 Requests >= 2.31.0 scipy >= 1.11.0 diff --git a/notebooks/HSC/SWEEPS_HSCV3P1/requirements.txt b/notebooks/HSC/SWEEPS_HSCV3P1/requirements.txt index dfdd2197..91bd10f8 100644 --- a/notebooks/HSC/SWEEPS_HSCV3P1/requirements.txt +++ b/notebooks/HSC/SWEEPS_HSCV3P1/requirements.txt @@ -2,7 +2,7 @@ astropy >= 5.3.3 fastkde == 1.0.30 mastcasjobs >= 0.0.5 matplotlib >= 3.7.1 -numpy >= 1.24.3 +numpy < 2.0.0 packaging >= 23.1 Pillow >= 9.5.0 Pillow >= 9.5.0 diff --git a/notebooks/HSC/SWEEPS_HSCV3P1_API/requirements.txt b/notebooks/HSC/SWEEPS_HSCV3P1_API/requirements.txt index fa3cc292..a5fc43e9 100644 --- a/notebooks/HSC/SWEEPS_HSCV3P1_API/requirements.txt +++ b/notebooks/HSC/SWEEPS_HSCV3P1_API/requirements.txt @@ -1,7 +1,7 @@ astropy >= 5.3.3 fastkde == 1.0.30 matplotlib >= 3.7.1 -numpy >= 1.24.3 +numpy < 2.0.0 Pillow >= 9.5.0 Pillow >= 9.5.0 Requests >= 2.31.0 diff --git a/notebooks/K2/removing_instrumental_noise_using_pld/requirements.txt b/notebooks/K2/removing_instrumental_noise_using_pld/requirements.txt index 0c2ba489..c772b60d 100644 --- a/notebooks/K2/removing_instrumental_noise_using_pld/requirements.txt +++ b/notebooks/K2/removing_instrumental_noise_using_pld/requirements.txt @@ -1 +1,2 @@ -lightkurve >= 2.4.2 \ No newline at end of file +lightkurve >= 2.4.2 +numpy < 2.0.0 \ No newline at end of file diff --git a/notebooks/Kepler/creating_periodograms/requirements.txt b/notebooks/Kepler/creating_periodograms/requirements.txt index 0c2ba489..c772b60d 100644 --- a/notebooks/Kepler/creating_periodograms/requirements.txt +++ b/notebooks/Kepler/creating_periodograms/requirements.txt @@ -1 +1,2 @@ -lightkurve >= 2.4.2 \ No newline at end of file +lightkurve >= 2.4.2 +numpy < 2.0.0 \ No newline at end of file diff --git a/notebooks/Kepler/how_to_estimate_a_stars_mass_and_radius_using_asteroseismology/requirements.txt b/notebooks/Kepler/how_to_estimate_a_stars_mass_and_radius_using_asteroseismology/requirements.txt index 2063cbaa..96038249 100644 --- a/notebooks/Kepler/how_to_estimate_a_stars_mass_and_radius_using_asteroseismology/requirements.txt +++ b/notebooks/Kepler/how_to_estimate_a_stars_mass_and_radius_using_asteroseismology/requirements.txt @@ -1,4 +1,5 @@ lightkurve >= 2.4.2 # until matplotlib fixes an issue with get_renderer, we need: -matplotlib == 3.6.3 \ No newline at end of file +matplotlib == 3.6.3 +numpy < 2.0.0 \ No newline at end of file diff --git a/notebooks/Kepler/how_to_understand_and_manipulate_the_periodogram_of_an_oscillating_star/requirements.txt b/notebooks/Kepler/how_to_understand_and_manipulate_the_periodogram_of_an_oscillating_star/requirements.txt index 0c2ba489..c772b60d 100644 --- a/notebooks/Kepler/how_to_understand_and_manipulate_the_periodogram_of_an_oscillating_star/requirements.txt +++ b/notebooks/Kepler/how_to_understand_and_manipulate_the_periodogram_of_an_oscillating_star/requirements.txt @@ -1 +1,2 @@ -lightkurve >= 2.4.2 \ No newline at end of file +lightkurve >= 2.4.2 +numpy < 2.0.0 \ No newline at end of file diff --git a/notebooks/Kepler/instrumental_noise_2_spurious_signals_and_time_sampling_effects/requirements.txt b/notebooks/Kepler/instrumental_noise_2_spurious_signals_and_time_sampling_effects/requirements.txt index 0c2ba489..c772b60d 100644 --- a/notebooks/Kepler/instrumental_noise_2_spurious_signals_and_time_sampling_effects/requirements.txt +++ b/notebooks/Kepler/instrumental_noise_2_spurious_signals_and_time_sampling_effects/requirements.txt @@ -1 +1,2 @@ -lightkurve >= 2.4.2 \ No newline at end of file +lightkurve >= 2.4.2 +numpy < 2.0.0 \ No newline at end of file diff --git a/notebooks/Kepler/instrumental_noise_3_seasonal_and_detector_effects/requirements.txt b/notebooks/Kepler/instrumental_noise_3_seasonal_and_detector_effects/requirements.txt index bba2cb41..5c56d75b 100644 --- a/notebooks/Kepler/instrumental_noise_3_seasonal_and_detector_effects/requirements.txt +++ b/notebooks/Kepler/instrumental_noise_3_seasonal_and_detector_effects/requirements.txt @@ -1,2 +1,3 @@ lightkurve >= 2.4.2 -matplotlib >= 3.7.2 \ No newline at end of file +matplotlib >= 3.7.2 +numpy < 2.0.0 \ No newline at end of file diff --git a/notebooks/Kepler/lightkurve_analyzing_lc_products/requirements.txt b/notebooks/Kepler/lightkurve_analyzing_lc_products/requirements.txt index a72050c1..bed7e851 100644 --- a/notebooks/Kepler/lightkurve_analyzing_lc_products/requirements.txt +++ b/notebooks/Kepler/lightkurve_analyzing_lc_products/requirements.txt @@ -1 +1,3 @@ lightkurve >= 2.4.2 + +numpy < 2.0.0 \ No newline at end of file diff --git a/notebooks/Kepler/lightkurve_analyzing_tpf_products/requirements.txt b/notebooks/Kepler/lightkurve_analyzing_tpf_products/requirements.txt index a72050c1..bed7e851 100644 --- a/notebooks/Kepler/lightkurve_analyzing_tpf_products/requirements.txt +++ b/notebooks/Kepler/lightkurve_analyzing_tpf_products/requirements.txt @@ -1 +1,3 @@ lightkurve >= 2.4.2 + +numpy < 2.0.0 \ No newline at end of file diff --git a/notebooks/Kepler/lightkurve_combining_multiple_quarters/requirements.txt b/notebooks/Kepler/lightkurve_combining_multiple_quarters/requirements.txt index a72050c1..bed7e851 100644 --- a/notebooks/Kepler/lightkurve_combining_multiple_quarters/requirements.txt +++ b/notebooks/Kepler/lightkurve_combining_multiple_quarters/requirements.txt @@ -1 +1,3 @@ lightkurve >= 2.4.2 + +numpy < 2.0.0 \ No newline at end of file diff --git a/notebooks/Kepler/lightkurve_interactively_inspecting_TPFs_and_LCs/requirements.txt b/notebooks/Kepler/lightkurve_interactively_inspecting_TPFs_and_LCs/requirements.txt index a72050c1..bed7e851 100644 --- a/notebooks/Kepler/lightkurve_interactively_inspecting_TPFs_and_LCs/requirements.txt +++ b/notebooks/Kepler/lightkurve_interactively_inspecting_TPFs_and_LCs/requirements.txt @@ -1 +1,3 @@ lightkurve >= 2.4.2 + +numpy < 2.0.0 \ No newline at end of file diff --git a/notebooks/Kepler/measuring_a_rotation_period/requirements.txt b/notebooks/Kepler/measuring_a_rotation_period/requirements.txt index 0c2ba489..c772b60d 100644 --- a/notebooks/Kepler/measuring_a_rotation_period/requirements.txt +++ b/notebooks/Kepler/measuring_a_rotation_period/requirements.txt @@ -1 +1,2 @@ -lightkurve >= 2.4.2 \ No newline at end of file +lightkurve >= 2.4.2 +numpy < 2.0.0 \ No newline at end of file diff --git a/notebooks/Kepler/plotting_lightcurves/requirements.txt b/notebooks/Kepler/plotting_lightcurves/requirements.txt index a0c36c1f..23982671 100644 --- a/notebooks/Kepler/plotting_lightcurves/requirements.txt +++ b/notebooks/Kepler/plotting_lightcurves/requirements.txt @@ -1,3 +1,5 @@ astropy >= 5.3.3 astroquery==0.4.6 matplotlib==3.6.0 + +numpy < 2.0.0 \ No newline at end of file diff --git a/notebooks/Kepler/verifying_the_location_of_a_signal/requirements.txt b/notebooks/Kepler/verifying_the_location_of_a_signal/requirements.txt index bba2cb41..5c56d75b 100644 --- a/notebooks/Kepler/verifying_the_location_of_a_signal/requirements.txt +++ b/notebooks/Kepler/verifying_the_location_of_a_signal/requirements.txt @@ -1,2 +1,3 @@ lightkurve >= 2.4.2 -matplotlib >= 3.7.2 \ No newline at end of file +matplotlib >= 3.7.2 +numpy < 2.0.0 \ No newline at end of file diff --git a/notebooks/Kepler/visualizing_periodic_signals_using_a_river_plot/requirements.txt b/notebooks/Kepler/visualizing_periodic_signals_using_a_river_plot/requirements.txt index a72050c1..bed7e851 100644 --- a/notebooks/Kepler/visualizing_periodic_signals_using_a_river_plot/requirements.txt +++ b/notebooks/Kepler/visualizing_periodic_signals_using_a_river_plot/requirements.txt @@ -1 +1,3 @@ lightkurve >= 2.4.2 + +numpy < 2.0.0 \ No newline at end of file diff --git a/notebooks/TESS/asteroid_rotation/requirements.txt b/notebooks/TESS/asteroid_rotation/requirements.txt index 7ae39ed5..b4a3c8b4 100644 --- a/notebooks/TESS/asteroid_rotation/requirements.txt +++ b/notebooks/TESS/asteroid_rotation/requirements.txt @@ -1,3 +1,4 @@ astroquery >= 0.4.6 lightkurve >= 2.4.2 -matplotlib >= 3.7.2 \ No newline at end of file +matplotlib >= 3.7.2 +numpy < 2.0.0 \ No newline at end of file diff --git a/notebooks/multi_mission/beginner_search/requirements.txt b/notebooks/multi_mission/beginner_search/requirements.txt index a0c36c1f..23982671 100644 --- a/notebooks/multi_mission/beginner_search/requirements.txt +++ b/notebooks/multi_mission/beginner_search/requirements.txt @@ -1,3 +1,5 @@ astropy >= 5.3.3 astroquery==0.4.6 matplotlib==3.6.0 + +numpy < 2.0.0 \ No newline at end of file From e960a9ca92260d1f979df37d2d63b6790fe42104 Mon Sep 17 00:00:00 2001 From: Thomas Dutkiewicz <106269091+ttdu@users.noreply.github.com> Date: Tue, 9 Jul 2024 11:45:29 -0400 Subject: [PATCH 2/2] numpy < 2.0.0 --- .../Kepler/lightkurve_analyzing_lc_products/requirements.txt | 1 - .../Kepler/lightkurve_analyzing_tpf_products/requirements.txt | 1 - .../lightkurve_combining_multiple_quarters/requirements.txt | 1 - .../requirements.txt | 1 - notebooks/Kepler/plotting_lightcurves/requirements.txt | 1 - .../requirements.txt | 1 - notebooks/multi_mission/beginner_search/requirements.txt | 1 - 7 files changed, 7 deletions(-) diff --git a/notebooks/Kepler/lightkurve_analyzing_lc_products/requirements.txt b/notebooks/Kepler/lightkurve_analyzing_lc_products/requirements.txt index bed7e851..c772b60d 100644 --- a/notebooks/Kepler/lightkurve_analyzing_lc_products/requirements.txt +++ b/notebooks/Kepler/lightkurve_analyzing_lc_products/requirements.txt @@ -1,3 +1,2 @@ lightkurve >= 2.4.2 - numpy < 2.0.0 \ No newline at end of file diff --git a/notebooks/Kepler/lightkurve_analyzing_tpf_products/requirements.txt b/notebooks/Kepler/lightkurve_analyzing_tpf_products/requirements.txt index bed7e851..c772b60d 100644 --- a/notebooks/Kepler/lightkurve_analyzing_tpf_products/requirements.txt +++ b/notebooks/Kepler/lightkurve_analyzing_tpf_products/requirements.txt @@ -1,3 +1,2 @@ lightkurve >= 2.4.2 - numpy < 2.0.0 \ No newline at end of file diff --git a/notebooks/Kepler/lightkurve_combining_multiple_quarters/requirements.txt b/notebooks/Kepler/lightkurve_combining_multiple_quarters/requirements.txt index bed7e851..c772b60d 100644 --- a/notebooks/Kepler/lightkurve_combining_multiple_quarters/requirements.txt +++ b/notebooks/Kepler/lightkurve_combining_multiple_quarters/requirements.txt @@ -1,3 +1,2 @@ lightkurve >= 2.4.2 - numpy < 2.0.0 \ No newline at end of file diff --git a/notebooks/Kepler/lightkurve_interactively_inspecting_TPFs_and_LCs/requirements.txt b/notebooks/Kepler/lightkurve_interactively_inspecting_TPFs_and_LCs/requirements.txt index bed7e851..c772b60d 100644 --- a/notebooks/Kepler/lightkurve_interactively_inspecting_TPFs_and_LCs/requirements.txt +++ b/notebooks/Kepler/lightkurve_interactively_inspecting_TPFs_and_LCs/requirements.txt @@ -1,3 +1,2 @@ lightkurve >= 2.4.2 - numpy < 2.0.0 \ No newline at end of file diff --git a/notebooks/Kepler/plotting_lightcurves/requirements.txt b/notebooks/Kepler/plotting_lightcurves/requirements.txt index 23982671..9b2cee22 100644 --- a/notebooks/Kepler/plotting_lightcurves/requirements.txt +++ b/notebooks/Kepler/plotting_lightcurves/requirements.txt @@ -1,5 +1,4 @@ astropy >= 5.3.3 astroquery==0.4.6 matplotlib==3.6.0 - numpy < 2.0.0 \ No newline at end of file diff --git a/notebooks/Kepler/visualizing_periodic_signals_using_a_river_plot/requirements.txt b/notebooks/Kepler/visualizing_periodic_signals_using_a_river_plot/requirements.txt index bed7e851..c772b60d 100644 --- a/notebooks/Kepler/visualizing_periodic_signals_using_a_river_plot/requirements.txt +++ b/notebooks/Kepler/visualizing_periodic_signals_using_a_river_plot/requirements.txt @@ -1,3 +1,2 @@ lightkurve >= 2.4.2 - numpy < 2.0.0 \ No newline at end of file diff --git a/notebooks/multi_mission/beginner_search/requirements.txt b/notebooks/multi_mission/beginner_search/requirements.txt index 23982671..9b2cee22 100644 --- a/notebooks/multi_mission/beginner_search/requirements.txt +++ b/notebooks/multi_mission/beginner_search/requirements.txt @@ -1,5 +1,4 @@ astropy >= 5.3.3 astroquery==0.4.6 matplotlib==3.6.0 - numpy < 2.0.0 \ No newline at end of file