lsst-felis 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.
Potentially problematic release.
This version of lsst-felis might be problematic. Click here for more details.
- {lsst_felis-29.2025.2600/python/lsst_felis.egg-info → lsst_felis-29.2025.2700}/PKG-INFO +1 -1
- {lsst_felis-29.2025.2600 → lsst_felis-29.2025.2700}/python/felis/diff.py +14 -4
- {lsst_felis-29.2025.2600 → lsst_felis-29.2025.2700/python/lsst_felis.egg-info}/PKG-INFO +1 -1
- {lsst_felis-29.2025.2600 → lsst_felis-29.2025.2700}/COPYRIGHT +0 -0
- {lsst_felis-29.2025.2600 → lsst_felis-29.2025.2700}/LICENSE +0 -0
- {lsst_felis-29.2025.2600 → lsst_felis-29.2025.2700}/README.rst +0 -0
- {lsst_felis-29.2025.2600 → lsst_felis-29.2025.2700}/pyproject.toml +0 -0
- {lsst_felis-29.2025.2600 → lsst_felis-29.2025.2700}/python/felis/__init__.py +0 -0
- {lsst_felis-29.2025.2600 → lsst_felis-29.2025.2700}/python/felis/cli.py +0 -0
- {lsst_felis-29.2025.2600 → lsst_felis-29.2025.2700}/python/felis/config/tap_schema/columns.csv +0 -0
- {lsst_felis-29.2025.2600 → lsst_felis-29.2025.2700}/python/felis/config/tap_schema/key_columns.csv +0 -0
- {lsst_felis-29.2025.2600 → lsst_felis-29.2025.2700}/python/felis/config/tap_schema/keys.csv +0 -0
- {lsst_felis-29.2025.2600 → lsst_felis-29.2025.2700}/python/felis/config/tap_schema/schemas.csv +0 -0
- {lsst_felis-29.2025.2600 → lsst_felis-29.2025.2700}/python/felis/config/tap_schema/tables.csv +0 -0
- {lsst_felis-29.2025.2600 → lsst_felis-29.2025.2700}/python/felis/config/tap_schema/tap_schema_std.yaml +0 -0
- {lsst_felis-29.2025.2600 → lsst_felis-29.2025.2700}/python/felis/datamodel.py +0 -0
- {lsst_felis-29.2025.2600 → lsst_felis-29.2025.2700}/python/felis/db/__init__.py +0 -0
- {lsst_felis-29.2025.2600 → lsst_felis-29.2025.2700}/python/felis/db/dialects.py +0 -0
- {lsst_felis-29.2025.2600 → lsst_felis-29.2025.2700}/python/felis/db/schema.py +0 -0
- {lsst_felis-29.2025.2600 → lsst_felis-29.2025.2700}/python/felis/db/sqltypes.py +0 -0
- {lsst_felis-29.2025.2600 → lsst_felis-29.2025.2700}/python/felis/db/utils.py +0 -0
- {lsst_felis-29.2025.2600 → lsst_felis-29.2025.2700}/python/felis/db/variants.py +0 -0
- {lsst_felis-29.2025.2600 → lsst_felis-29.2025.2700}/python/felis/metadata.py +0 -0
- {lsst_felis-29.2025.2600 → lsst_felis-29.2025.2700}/python/felis/py.typed +0 -0
- {lsst_felis-29.2025.2600 → lsst_felis-29.2025.2700}/python/felis/tap_schema.py +0 -0
- {lsst_felis-29.2025.2600 → lsst_felis-29.2025.2700}/python/felis/tests/__init__.py +0 -0
- {lsst_felis-29.2025.2600 → lsst_felis-29.2025.2700}/python/felis/tests/postgresql.py +0 -0
- {lsst_felis-29.2025.2600 → lsst_felis-29.2025.2700}/python/felis/tests/run_cli.py +0 -0
- {lsst_felis-29.2025.2600 → lsst_felis-29.2025.2700}/python/felis/types.py +0 -0
- {lsst_felis-29.2025.2600 → lsst_felis-29.2025.2700}/python/lsst_felis.egg-info/SOURCES.txt +0 -0
- {lsst_felis-29.2025.2600 → lsst_felis-29.2025.2700}/python/lsst_felis.egg-info/dependency_links.txt +0 -0
- {lsst_felis-29.2025.2600 → lsst_felis-29.2025.2700}/python/lsst_felis.egg-info/entry_points.txt +0 -0
- {lsst_felis-29.2025.2600 → lsst_felis-29.2025.2700}/python/lsst_felis.egg-info/requires.txt +0 -0
- {lsst_felis-29.2025.2600 → lsst_felis-29.2025.2700}/python/lsst_felis.egg-info/top_level.txt +0 -0
- {lsst_felis-29.2025.2600 → lsst_felis-29.2025.2700}/python/lsst_felis.egg-info/zip-safe +0 -0
- {lsst_felis-29.2025.2600 → lsst_felis-29.2025.2700}/setup.cfg +0 -0
- {lsst_felis-29.2025.2600 → lsst_felis-29.2025.2700}/tests/test_cli.py +0 -0
- {lsst_felis-29.2025.2600 → lsst_felis-29.2025.2700}/tests/test_datamodel.py +0 -0
- {lsst_felis-29.2025.2600 → lsst_felis-29.2025.2700}/tests/test_db.py +0 -0
- {lsst_felis-29.2025.2600 → lsst_felis-29.2025.2700}/tests/test_diff.py +0 -0
- {lsst_felis-29.2025.2600 → lsst_felis-29.2025.2700}/tests/test_metadata.py +0 -0
- {lsst_felis-29.2025.2600 → lsst_felis-29.2025.2700}/tests/test_postgres.py +0 -0
- {lsst_felis-29.2025.2600 → lsst_felis-29.2025.2700}/tests/test_tap_schema.py +0 -0
- {lsst_felis-29.2025.2600 → lsst_felis-29.2025.2700}/tests/test_tap_schema_postgres.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: lsst-felis
|
|
3
|
-
Version: 29.2025.
|
|
3
|
+
Version: 29.2025.2700
|
|
4
4
|
Summary: A vocabulary for describing catalogs and acting on those descriptions
|
|
5
5
|
Author-email: Rubin Observatory Data Management <dm-admin@lists.lsst.org>
|
|
6
6
|
License: GNU General Public License v3 or later (GPLv3+)
|
|
@@ -112,8 +112,10 @@ class FormattedSchemaDiff(SchemaDiff):
|
|
|
112
112
|
handler(self.diff[change_type])
|
|
113
113
|
|
|
114
114
|
def _print_header(self, id_dict: dict[str, Any], keys: list[int | str]) -> None:
|
|
115
|
-
id = self._get_id(id_dict, keys)
|
|
116
|
-
|
|
115
|
+
# id = self._get_id(id_dict, keys)
|
|
116
|
+
# Don't display ID here for now; it is always just the schema ID.
|
|
117
|
+
print(f"{self._get_key_display(keys)}")
|
|
118
|
+
# print(f"{id} @ {self._get_key_display(keys)}")
|
|
117
119
|
|
|
118
120
|
def _handle_values_changed(self, changes: dict[str, Any]) -> None:
|
|
119
121
|
for key in changes:
|
|
@@ -156,13 +158,21 @@ class FormattedSchemaDiff(SchemaDiff):
|
|
|
156
158
|
|
|
157
159
|
@staticmethod
|
|
158
160
|
def _get_id(values: dict, keys: list[str | int]) -> str:
|
|
159
|
-
|
|
161
|
+
# Unused for now, pending updates to diff tool in DM-49446.
|
|
162
|
+
value: list | dict = values
|
|
160
163
|
last_id = None
|
|
161
164
|
|
|
162
165
|
for key in keys:
|
|
166
|
+
logger.debug(f"Processing key <{key}> with type {type(key)}")
|
|
167
|
+
logger.debug(f"Type of value: {type(value)}")
|
|
163
168
|
if isinstance(value, dict) and "id" in value:
|
|
164
169
|
last_id = value["id"]
|
|
165
|
-
value
|
|
170
|
+
elif isinstance(value, list) and isinstance(key, int):
|
|
171
|
+
if 0 <= key < len(value):
|
|
172
|
+
value = value[key]
|
|
173
|
+
else:
|
|
174
|
+
raise ValueError(f"Index '{key}' is out of range for list of length {len(value)}")
|
|
175
|
+
value = value[key]
|
|
166
176
|
|
|
167
177
|
if isinstance(value, dict) and "id" in value:
|
|
168
178
|
last_id = value["id"]
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: lsst-felis
|
|
3
|
-
Version: 29.2025.
|
|
3
|
+
Version: 29.2025.2700
|
|
4
4
|
Summary: A vocabulary for describing catalogs and acting on those descriptions
|
|
5
5
|
Author-email: Rubin Observatory Data Management <dm-admin@lists.lsst.org>
|
|
6
6
|
License: GNU General Public License v3 or later (GPLv3+)
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{lsst_felis-29.2025.2600 → lsst_felis-29.2025.2700}/python/felis/config/tap_schema/columns.csv
RENAMED
|
File without changes
|
{lsst_felis-29.2025.2600 → lsst_felis-29.2025.2700}/python/felis/config/tap_schema/key_columns.csv
RENAMED
|
File without changes
|
|
File without changes
|
{lsst_felis-29.2025.2600 → lsst_felis-29.2025.2700}/python/felis/config/tap_schema/schemas.csv
RENAMED
|
File without changes
|
{lsst_felis-29.2025.2600 → lsst_felis-29.2025.2700}/python/felis/config/tap_schema/tables.csv
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
|
{lsst_felis-29.2025.2600 → lsst_felis-29.2025.2700}/python/lsst_felis.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
{lsst_felis-29.2025.2600 → lsst_felis-29.2025.2700}/python/lsst_felis.egg-info/entry_points.txt
RENAMED
|
File without changes
|
|
File without changes
|
{lsst_felis-29.2025.2600 → lsst_felis-29.2025.2700}/python/lsst_felis.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
|