[yt-svn] commit/yt: 2 new changesets
commits-noreply at bitbucket.org
commits-noreply at bitbucket.org
Thu Dec 7 10:46:24 PST 2017
2 new commits in yt:
https://bitbucket.org/yt_analysis/yt/commits/ef64b891726b/
Changeset: ef64b891726b
User: brittonsmith
Date: 2017-12-06 21:39:21+00:00
Summary: Adding deprecation warnings for LightRay and AbsorptionSpectrum and updating links to yt_attic.
Affected #: 8 files
diff -r c4bf32338e8eea3fe3ff40f1a6a8253427200d1d -r ef64b891726bcb74335655cb5a69d1740a579502 doc/source/analyzing/analysis_modules/absorption_spectrum.rst
--- a/doc/source/analyzing/analysis_modules/absorption_spectrum.rst
+++ b/doc/source/analyzing/analysis_modules/absorption_spectrum.rst
@@ -1,5 +1,12 @@
.. _absorption_spectrum:
+.. note::
+
+ Development of the AbsorptionSpectrum module has been moved to the
+ Trident package. This version is deprecated and will be removed from yt
+ in a future release. See https://github.com/trident-project/trident
+ for further information.
+
Creating Absorption Spectra
===========================
diff -r c4bf32338e8eea3fe3ff40f1a6a8253427200d1d -r ef64b891726bcb74335655cb5a69d1740a579502 doc/source/analyzing/analysis_modules/light_ray_generator.rst
--- a/doc/source/analyzing/analysis_modules/light_ray_generator.rst
+++ b/doc/source/analyzing/analysis_modules/light_ray_generator.rst
@@ -1,5 +1,12 @@
.. _light-ray-generator:
+.. note::
+
+ Development of the LightRay module has been moved to the Trident
+ package. This version is deprecated and will be removed from yt
+ in a future release. See https://github.com/trident-project/trident
+ for further information.
+
Light Ray Generator
===================
diff -r c4bf32338e8eea3fe3ff40f1a6a8253427200d1d -r ef64b891726bcb74335655cb5a69d1740a579502 yt/analysis_modules/absorption_spectrum/api.py
--- a/yt/analysis_modules/absorption_spectrum/api.py
+++ b/yt/analysis_modules/absorption_spectrum/api.py
@@ -13,6 +13,14 @@
# The full license is in the file COPYING.txt, distributed with this software.
#-----------------------------------------------------------------------------
+from yt.funcs import issue_deprecation_warning
+
+issue_deprecation_warning(
+ "Development of the AbsorptionSpectrum module has been moved to the "
+ "Trident package. This version is deprecated and will be removed from yt "
+ "in a future release. See https://github.com/trident-project/trident "
+ "for further information.")
+
from .absorption_spectrum import \
AbsorptionSpectrum
diff -r c4bf32338e8eea3fe3ff40f1a6a8253427200d1d -r ef64b891726bcb74335655cb5a69d1740a579502 yt/analysis_modules/cosmological_observation/light_ray/api.py
--- a/yt/analysis_modules/cosmological_observation/light_ray/api.py
+++ b/yt/analysis_modules/cosmological_observation/light_ray/api.py
@@ -13,5 +13,13 @@
# The full license is in the file COPYING.txt, distributed with this software.
#-----------------------------------------------------------------------------
+from yt.funcs import issue_deprecation_warning
+
+issue_deprecation_warning(
+ "Development of the LightRay module has been moved to the Trident "
+ "package. This version is deprecated and will be removed from yt "
+ "in a future release. See https://github.com/trident-project/trident "
+ "for further information.")
+
from .light_ray import \
LightRay
diff -r c4bf32338e8eea3fe3ff40f1a6a8253427200d1d -r ef64b891726bcb74335655cb5a69d1740a579502 yt/analysis_modules/halo_mass_function/api.py
--- a/yt/analysis_modules/halo_mass_function/api.py
+++ b/yt/analysis_modules/halo_mass_function/api.py
@@ -18,7 +18,7 @@
issue_deprecation_warning(
"The halo_mass_function module does not function correctly and has been "
"deprecated. This code has been moved to the yt attic "
- "(https://bitbucket.org/yt_analysis/yt_attic) and will be removed in a "
+ "(https://github.com/yt-project/yt_attic) and will be removed in a "
"future release.")
from .halo_mass_function import \
diff -r c4bf32338e8eea3fe3ff40f1a6a8253427200d1d -r ef64b891726bcb74335655cb5a69d1740a579502 yt/analysis_modules/star_analysis/api.py
--- a/yt/analysis_modules/star_analysis/api.py
+++ b/yt/analysis_modules/star_analysis/api.py
@@ -17,7 +17,7 @@
issue_deprecation_warning(
"The star_analysis module has been deprecated. This code has been moved "
- "to the yt attic (https://bitbucket.org/yt_analysis/yt_attic) and will "
+ "to the yt attic (https://github.com/yt-project/yt_attic) and will "
"be removed in a future release.")
from .sfr_spectrum import \
diff -r c4bf32338e8eea3fe3ff40f1a6a8253427200d1d -r ef64b891726bcb74335655cb5a69d1740a579502 yt/analysis_modules/sunrise_export/api.py
--- a/yt/analysis_modules/sunrise_export/api.py
+++ b/yt/analysis_modules/sunrise_export/api.py
@@ -17,7 +17,7 @@
issue_deprecation_warning(
"The sunrise_exporter module has been deprecated. This code has been "
- "moved to the yt attic (https://bitbucket.org/yt_analysis/yt_attic) and "
+ "moved to the yt attic (https://github.com/yt-project/yt_attic) and "
"will be removed in a future release.")
from .sunrise_exporter import \
diff -r c4bf32338e8eea3fe3ff40f1a6a8253427200d1d -r ef64b891726bcb74335655cb5a69d1740a579502 yt/analysis_modules/two_point_functions/api.py
--- a/yt/analysis_modules/two_point_functions/api.py
+++ b/yt/analysis_modules/two_point_functions/api.py
@@ -18,7 +18,7 @@
issue_deprecation_warning(
"The two_point_functions module has been deprecated. This code has been "
- "moved to the yt attic (https://bitbucket.org/yt_analysis/yt_attic) and "
+ "moved to the yt attic (https://github.com/yt-project/yt_attic) and "
"will be removed in a future release.")
from .two_point_functions import \
https://bitbucket.org/yt_analysis/yt/commits/07a5a134b8c8/
Changeset: 07a5a134b8c8
User: ngoldbaum
Date: 2017-12-07 18:45:39+00:00
Summary: Merge pull request #1644 from brittonsmith/dep
Adding deprecation warnings for LightRay and AbsorptionSpectrum
Affected #: 8 files
diff -r c4bf32338e8eea3fe3ff40f1a6a8253427200d1d -r 07a5a134b8c8db35b7380e58d5fd94bcce813e5a doc/source/analyzing/analysis_modules/absorption_spectrum.rst
--- a/doc/source/analyzing/analysis_modules/absorption_spectrum.rst
+++ b/doc/source/analyzing/analysis_modules/absorption_spectrum.rst
@@ -1,5 +1,12 @@
.. _absorption_spectrum:
+.. note::
+
+ Development of the AbsorptionSpectrum module has been moved to the
+ Trident package. This version is deprecated and will be removed from yt
+ in a future release. See https://github.com/trident-project/trident
+ for further information.
+
Creating Absorption Spectra
===========================
diff -r c4bf32338e8eea3fe3ff40f1a6a8253427200d1d -r 07a5a134b8c8db35b7380e58d5fd94bcce813e5a doc/source/analyzing/analysis_modules/light_ray_generator.rst
--- a/doc/source/analyzing/analysis_modules/light_ray_generator.rst
+++ b/doc/source/analyzing/analysis_modules/light_ray_generator.rst
@@ -1,5 +1,12 @@
.. _light-ray-generator:
+.. note::
+
+ Development of the LightRay module has been moved to the Trident
+ package. This version is deprecated and will be removed from yt
+ in a future release. See https://github.com/trident-project/trident
+ for further information.
+
Light Ray Generator
===================
diff -r c4bf32338e8eea3fe3ff40f1a6a8253427200d1d -r 07a5a134b8c8db35b7380e58d5fd94bcce813e5a yt/analysis_modules/absorption_spectrum/api.py
--- a/yt/analysis_modules/absorption_spectrum/api.py
+++ b/yt/analysis_modules/absorption_spectrum/api.py
@@ -13,6 +13,14 @@
# The full license is in the file COPYING.txt, distributed with this software.
#-----------------------------------------------------------------------------
+from yt.funcs import issue_deprecation_warning
+
+issue_deprecation_warning(
+ "Development of the AbsorptionSpectrum module has been moved to the "
+ "Trident package. This version is deprecated and will be removed from yt "
+ "in a future release. See https://github.com/trident-project/trident "
+ "for further information.")
+
from .absorption_spectrum import \
AbsorptionSpectrum
diff -r c4bf32338e8eea3fe3ff40f1a6a8253427200d1d -r 07a5a134b8c8db35b7380e58d5fd94bcce813e5a yt/analysis_modules/cosmological_observation/light_ray/api.py
--- a/yt/analysis_modules/cosmological_observation/light_ray/api.py
+++ b/yt/analysis_modules/cosmological_observation/light_ray/api.py
@@ -13,5 +13,13 @@
# The full license is in the file COPYING.txt, distributed with this software.
#-----------------------------------------------------------------------------
+from yt.funcs import issue_deprecation_warning
+
+issue_deprecation_warning(
+ "Development of the LightRay module has been moved to the Trident "
+ "package. This version is deprecated and will be removed from yt "
+ "in a future release. See https://github.com/trident-project/trident "
+ "for further information.")
+
from .light_ray import \
LightRay
diff -r c4bf32338e8eea3fe3ff40f1a6a8253427200d1d -r 07a5a134b8c8db35b7380e58d5fd94bcce813e5a yt/analysis_modules/halo_mass_function/api.py
--- a/yt/analysis_modules/halo_mass_function/api.py
+++ b/yt/analysis_modules/halo_mass_function/api.py
@@ -18,7 +18,7 @@
issue_deprecation_warning(
"The halo_mass_function module does not function correctly and has been "
"deprecated. This code has been moved to the yt attic "
- "(https://bitbucket.org/yt_analysis/yt_attic) and will be removed in a "
+ "(https://github.com/yt-project/yt_attic) and will be removed in a "
"future release.")
from .halo_mass_function import \
diff -r c4bf32338e8eea3fe3ff40f1a6a8253427200d1d -r 07a5a134b8c8db35b7380e58d5fd94bcce813e5a yt/analysis_modules/star_analysis/api.py
--- a/yt/analysis_modules/star_analysis/api.py
+++ b/yt/analysis_modules/star_analysis/api.py
@@ -17,7 +17,7 @@
issue_deprecation_warning(
"The star_analysis module has been deprecated. This code has been moved "
- "to the yt attic (https://bitbucket.org/yt_analysis/yt_attic) and will "
+ "to the yt attic (https://github.com/yt-project/yt_attic) and will "
"be removed in a future release.")
from .sfr_spectrum import \
diff -r c4bf32338e8eea3fe3ff40f1a6a8253427200d1d -r 07a5a134b8c8db35b7380e58d5fd94bcce813e5a yt/analysis_modules/sunrise_export/api.py
--- a/yt/analysis_modules/sunrise_export/api.py
+++ b/yt/analysis_modules/sunrise_export/api.py
@@ -17,7 +17,7 @@
issue_deprecation_warning(
"The sunrise_exporter module has been deprecated. This code has been "
- "moved to the yt attic (https://bitbucket.org/yt_analysis/yt_attic) and "
+ "moved to the yt attic (https://github.com/yt-project/yt_attic) and "
"will be removed in a future release.")
from .sunrise_exporter import \
diff -r c4bf32338e8eea3fe3ff40f1a6a8253427200d1d -r 07a5a134b8c8db35b7380e58d5fd94bcce813e5a yt/analysis_modules/two_point_functions/api.py
--- a/yt/analysis_modules/two_point_functions/api.py
+++ b/yt/analysis_modules/two_point_functions/api.py
@@ -18,7 +18,7 @@
issue_deprecation_warning(
"The two_point_functions module has been deprecated. This code has been "
- "moved to the yt attic (https://bitbucket.org/yt_analysis/yt_attic) and "
+ "moved to the yt attic (https://github.com/yt-project/yt_attic) and "
"will be removed in a future release.")
from .two_point_functions import \
Repository URL: https://bitbucket.org/yt_analysis/yt/
--
This is a commit notification from bitbucket.org. You are receiving
this because you have the service enabled, addressing the recipient of
this email.
More information about the yt-svn
mailing list