lsst-utils 29.2025.2600__tar.gz → 29.2025.2700__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {lsst_utils-29.2025.2600/python/lsst_utils.egg-info → lsst_utils-29.2025.2700}/PKG-INFO +1 -1
- {lsst_utils-29.2025.2600 → lsst_utils-29.2025.2700}/python/lsst/utils/logging.py +2 -2
- lsst_utils-29.2025.2700/python/lsst/utils/version.py +2 -0
- {lsst_utils-29.2025.2600 → lsst_utils-29.2025.2700/python/lsst_utils.egg-info}/PKG-INFO +1 -1
- {lsst_utils-29.2025.2600 → lsst_utils-29.2025.2700}/tests/test_logging.py +3 -3
- lsst_utils-29.2025.2600/python/lsst/utils/version.py +0 -2
- {lsst_utils-29.2025.2600 → lsst_utils-29.2025.2700}/COPYRIGHT +0 -0
- {lsst_utils-29.2025.2600 → lsst_utils-29.2025.2700}/LICENSE +0 -0
- {lsst_utils-29.2025.2600 → lsst_utils-29.2025.2700}/MANIFEST.in +0 -0
- {lsst_utils-29.2025.2600 → lsst_utils-29.2025.2700}/README.rst +0 -0
- {lsst_utils-29.2025.2600 → lsst_utils-29.2025.2700}/doc/lsst.utils/CHANGES.rst +0 -0
- {lsst_utils-29.2025.2600 → lsst_utils-29.2025.2700}/doc/lsst.utils/index.rst +0 -0
- {lsst_utils-29.2025.2600 → lsst_utils-29.2025.2700}/pyproject.toml +0 -0
- {lsst_utils-29.2025.2600 → lsst_utils-29.2025.2700}/python/lsst/__init__.py +0 -0
- {lsst_utils-29.2025.2600 → lsst_utils-29.2025.2700}/python/lsst/utils/__init__.py +0 -0
- {lsst_utils-29.2025.2600 → lsst_utils-29.2025.2700}/python/lsst/utils/_packaging.py +0 -0
- {lsst_utils-29.2025.2600 → lsst_utils-29.2025.2700}/python/lsst/utils/argparsing.py +0 -0
- {lsst_utils-29.2025.2600 → lsst_utils-29.2025.2700}/python/lsst/utils/classes.py +0 -0
- {lsst_utils-29.2025.2600 → lsst_utils-29.2025.2700}/python/lsst/utils/db_auth.py +0 -0
- {lsst_utils-29.2025.2600 → lsst_utils-29.2025.2700}/python/lsst/utils/deprecated.py +0 -0
- {lsst_utils-29.2025.2600 → lsst_utils-29.2025.2700}/python/lsst/utils/doImport.py +0 -0
- {lsst_utils-29.2025.2600 → lsst_utils-29.2025.2700}/python/lsst/utils/inheritDoc.py +0 -0
- {lsst_utils-29.2025.2600 → lsst_utils-29.2025.2700}/python/lsst/utils/introspection.py +0 -0
- {lsst_utils-29.2025.2600 → lsst_utils-29.2025.2700}/python/lsst/utils/iteration.py +0 -0
- {lsst_utils-29.2025.2600 → lsst_utils-29.2025.2700}/python/lsst/utils/packages.py +0 -0
- {lsst_utils-29.2025.2600 → lsst_utils-29.2025.2700}/python/lsst/utils/plotting/__init__.py +0 -0
- {lsst_utils-29.2025.2600 → lsst_utils-29.2025.2700}/python/lsst/utils/plotting/figures.py +0 -0
- {lsst_utils-29.2025.2600 → lsst_utils-29.2025.2700}/python/lsst/utils/plotting/limits.py +0 -0
- {lsst_utils-29.2025.2600 → lsst_utils-29.2025.2700}/python/lsst/utils/plotting/publication_plots.py +0 -0
- {lsst_utils-29.2025.2600 → lsst_utils-29.2025.2700}/python/lsst/utils/plotting/rubin.mplstyle +0 -0
- {lsst_utils-29.2025.2600 → lsst_utils-29.2025.2700}/python/lsst/utils/py.typed +0 -0
- {lsst_utils-29.2025.2600 → lsst_utils-29.2025.2700}/python/lsst/utils/tests.py +0 -0
- {lsst_utils-29.2025.2600 → lsst_utils-29.2025.2700}/python/lsst/utils/threads.py +0 -0
- {lsst_utils-29.2025.2600 → lsst_utils-29.2025.2700}/python/lsst/utils/timer.py +0 -0
- {lsst_utils-29.2025.2600 → lsst_utils-29.2025.2700}/python/lsst/utils/usage.py +0 -0
- {lsst_utils-29.2025.2600 → lsst_utils-29.2025.2700}/python/lsst/utils/wrappers.py +0 -0
- {lsst_utils-29.2025.2600 → lsst_utils-29.2025.2700}/python/lsst_utils.egg-info/SOURCES.txt +0 -0
- {lsst_utils-29.2025.2600 → lsst_utils-29.2025.2700}/python/lsst_utils.egg-info/dependency_links.txt +0 -0
- {lsst_utils-29.2025.2600 → lsst_utils-29.2025.2700}/python/lsst_utils.egg-info/requires.txt +0 -0
- {lsst_utils-29.2025.2600 → lsst_utils-29.2025.2700}/python/lsst_utils.egg-info/top_level.txt +0 -0
- {lsst_utils-29.2025.2600 → lsst_utils-29.2025.2700}/python/lsst_utils.egg-info/zip-safe +0 -0
- {lsst_utils-29.2025.2600 → lsst_utils-29.2025.2700}/setup.cfg +0 -0
- {lsst_utils-29.2025.2600 → lsst_utils-29.2025.2700}/tests/test_argparsing.py +0 -0
- {lsst_utils-29.2025.2600 → lsst_utils-29.2025.2700}/tests/test_classes.py +0 -0
- {lsst_utils-29.2025.2600 → lsst_utils-29.2025.2700}/tests/test_db_auth.py +0 -0
- {lsst_utils-29.2025.2600 → lsst_utils-29.2025.2700}/tests/test_decorators.py +0 -0
- {lsst_utils-29.2025.2600 → lsst_utils-29.2025.2700}/tests/test_deprecated.py +0 -0
- {lsst_utils-29.2025.2600 → lsst_utils-29.2025.2700}/tests/test_doImport.py +0 -0
- {lsst_utils-29.2025.2600 → lsst_utils-29.2025.2700}/tests/test_executables.py +0 -0
- {lsst_utils-29.2025.2600 → lsst_utils-29.2025.2700}/tests/test_getPackageDir.py +0 -0
- {lsst_utils-29.2025.2600 → lsst_utils-29.2025.2700}/tests/test_getTempFilePath.py +0 -0
- {lsst_utils-29.2025.2600 → lsst_utils-29.2025.2700}/tests/test_import.py +0 -0
- {lsst_utils-29.2025.2600 → lsst_utils-29.2025.2700}/tests/test_inheritDoc.py +0 -0
- {lsst_utils-29.2025.2600 → lsst_utils-29.2025.2700}/tests/test_introspection.py +0 -0
- {lsst_utils-29.2025.2600 → lsst_utils-29.2025.2700}/tests/test_iteration.py +0 -0
- {lsst_utils-29.2025.2600 → lsst_utils-29.2025.2700}/tests/test_matplotlib_figures.py +0 -0
- {lsst_utils-29.2025.2600 → lsst_utils-29.2025.2700}/tests/test_ordering.py +0 -0
- {lsst_utils-29.2025.2600 → lsst_utils-29.2025.2700}/tests/test_packages.py +0 -0
- {lsst_utils-29.2025.2600 → lsst_utils-29.2025.2700}/tests/test_plotting_limits.py +0 -0
- {lsst_utils-29.2025.2600 → lsst_utils-29.2025.2700}/tests/test_threads.py +0 -0
- {lsst_utils-29.2025.2600 → lsst_utils-29.2025.2700}/tests/test_timer.py +0 -0
- {lsst_utils-29.2025.2600 → lsst_utils-29.2025.2700}/tests/test_usage.py +0 -0
- {lsst_utils-29.2025.2600 → lsst_utils-29.2025.2700}/tests/test_utils.py +0 -0
- {lsst_utils-29.2025.2600 → lsst_utils-29.2025.2700}/tests/test_wrappers.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: lsst-utils
|
|
3
|
-
Version: 29.2025.
|
|
3
|
+
Version: 29.2025.2700
|
|
4
4
|
Summary: Utility functions from Rubin Observatory Data Management for the Legacy Survey of Space and Time (LSST).
|
|
5
5
|
Author-email: Rubin Observatory Data Management <dm-admin@lists.lsst.org>
|
|
6
6
|
License: BSD 3-Clause License
|
|
@@ -394,13 +394,13 @@ class PeriodicLogger:
|
|
|
394
394
|
`LOGGING_INTERVAL` will be used.
|
|
395
395
|
level : `int`, optional
|
|
396
396
|
Log level to use when issuing messages, default is
|
|
397
|
-
`~
|
|
397
|
+
`~logging.INFO`.
|
|
398
398
|
"""
|
|
399
399
|
|
|
400
400
|
LOGGING_INTERVAL = 600.0
|
|
401
401
|
"""Default interval between log messages in seconds."""
|
|
402
402
|
|
|
403
|
-
def __init__(self, logger: LsstLoggers, interval: float | None = None, level: int =
|
|
403
|
+
def __init__(self, logger: LsstLoggers, interval: float | None = None, level: int = logging.INFO):
|
|
404
404
|
self.logger = logger
|
|
405
405
|
# None -> LOGGING_INTERVAL conversion done so that unit tests (e.g., in
|
|
406
406
|
# pipe_base) can tweak log interval without access to the constructor.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: lsst-utils
|
|
3
|
-
Version: 29.2025.
|
|
3
|
+
Version: 29.2025.2700
|
|
4
4
|
Summary: Utility functions from Rubin Observatory Data Management for the Legacy Survey of Space and Time (LSST).
|
|
5
5
|
Author-email: Rubin Observatory Data Management <dm-admin@lists.lsst.org>
|
|
6
6
|
License: BSD 3-Clause License
|
|
@@ -111,13 +111,13 @@ class TestLogging(unittest.TestCase):
|
|
|
111
111
|
# Create a new periodic logger with no delay.
|
|
112
112
|
# Every message should be issued.
|
|
113
113
|
periodic = PeriodicLogger(logger, interval=0.0)
|
|
114
|
-
with self.assertLogs(logger.name, level=logger.
|
|
114
|
+
with self.assertLogs(logger.name, level=logger.INFO) as cm:
|
|
115
115
|
periodic.log("Message")
|
|
116
116
|
periodic.log("Message %d", 1)
|
|
117
117
|
self.assertEqual(len(cm.output), 2)
|
|
118
118
|
self.assertEqual(periodic.num_issued, 2)
|
|
119
|
-
self.assertEqual(cm.output[0], f"
|
|
120
|
-
self.assertEqual(cm.output[1], f"
|
|
119
|
+
self.assertEqual(cm.output[0], f"INFO:{logger.name}:Message")
|
|
120
|
+
self.assertEqual(cm.output[1], f"INFO:{logger.name}:Message 1")
|
|
121
121
|
self.assertEqual(cm.records[0].filename, "test_logging.py", str(cm.records[0]))
|
|
122
122
|
|
|
123
123
|
# Create a new periodic logger with small delay.
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{lsst_utils-29.2025.2600 → lsst_utils-29.2025.2700}/python/lsst/utils/plotting/publication_plots.py
RENAMED
|
File without changes
|
{lsst_utils-29.2025.2600 → lsst_utils-29.2025.2700}/python/lsst/utils/plotting/rubin.mplstyle
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{lsst_utils-29.2025.2600 → lsst_utils-29.2025.2700}/python/lsst_utils.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
|
File without changes
|
{lsst_utils-29.2025.2600 → lsst_utils-29.2025.2700}/python/lsst_utils.egg-info/top_level.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|