acryl-datahub 0.15.0.5rc7__py3-none-any.whl → 0.15.0.5rc9__py3-none-any.whl

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 acryl-datahub might be problematic. Click here for more details.

Files changed (38) hide show
  1. {acryl_datahub-0.15.0.5rc7.dist-info → acryl_datahub-0.15.0.5rc9.dist-info}/METADATA +2493 -2463
  2. {acryl_datahub-0.15.0.5rc7.dist-info → acryl_datahub-0.15.0.5rc9.dist-info}/RECORD +38 -35
  3. datahub/_version.py +1 -1
  4. datahub/cli/iceberg_cli.py +707 -0
  5. datahub/entrypoints.py +21 -0
  6. datahub/ingestion/api/incremental_lineage_helper.py +4 -0
  7. datahub/ingestion/glossary/classification_mixin.py +6 -0
  8. datahub/ingestion/glossary/classifier.py +3 -2
  9. datahub/ingestion/source/aws/glue.py +3 -2
  10. datahub/ingestion/source/identity/azure_ad.py +6 -14
  11. datahub/ingestion/source/mode.py +2 -4
  12. datahub/ingestion/source/snowflake/snowflake_config.py +13 -0
  13. datahub/ingestion/source/snowflake/snowflake_query.py +11 -0
  14. datahub/ingestion/source/snowflake/snowflake_report.py +1 -0
  15. datahub/ingestion/source/snowflake/snowflake_schema.py +17 -0
  16. datahub/ingestion/source/snowflake/snowflake_schema_gen.py +18 -36
  17. datahub/ingestion/source/snowflake/snowflake_tag.py +57 -3
  18. datahub/ingestion/source/snowflake/snowflake_v2.py +1 -0
  19. datahub/ingestion/source/sql/mssql/job_models.py +37 -8
  20. datahub/ingestion/source/sql/mssql/source.py +17 -0
  21. datahub/ingestion/source/tableau/tableau.py +14 -12
  22. datahub/ingestion/source/tableau/tableau_common.py +1 -1
  23. datahub/metadata/_schema_classes.py +160 -2
  24. datahub/metadata/com/linkedin/pegasus2avro/dataplatforminstance/__init__.py +2 -0
  25. datahub/metadata/com/linkedin/pegasus2avro/dataset/__init__.py +2 -0
  26. datahub/metadata/schema.avsc +96 -7
  27. datahub/metadata/schemas/DashboardInfo.avsc +5 -5
  28. datahub/metadata/schemas/DataPlatformInstanceKey.avsc +2 -1
  29. datahub/metadata/schemas/DatasetKey.avsc +2 -1
  30. datahub/metadata/schemas/IcebergCatalogInfo.avsc +28 -0
  31. datahub/metadata/schemas/IcebergWarehouseInfo.avsc +92 -0
  32. datahub/metadata/schemas/MetadataChangeEvent.avsc +5 -5
  33. datahub/specific/dashboard.py +43 -1
  34. datahub/upgrade/upgrade.py +13 -5
  35. {acryl_datahub-0.15.0.5rc7.dist-info → acryl_datahub-0.15.0.5rc9.dist-info}/LICENSE +0 -0
  36. {acryl_datahub-0.15.0.5rc7.dist-info → acryl_datahub-0.15.0.5rc9.dist-info}/WHEEL +0 -0
  37. {acryl_datahub-0.15.0.5rc7.dist-info → acryl_datahub-0.15.0.5rc9.dist-info}/entry_points.txt +0 -0
  38. {acryl_datahub-0.15.0.5rc7.dist-info → acryl_datahub-0.15.0.5rc9.dist-info}/top_level.txt +0 -0
@@ -55,11 +55,19 @@ async def get_client_version_stats():
55
55
  async with session.get(pypi_url) as resp:
56
56
  response_json = await resp.json()
57
57
  try:
58
- releases = response_json.get("releases", [])
59
- sorted_releases = sorted(releases.keys(), key=lambda x: Version(x))
60
- latest_cli_release_string = [
61
- x for x in sorted_releases if "rc" not in x
62
- ][-1]
58
+ releases = response_json.get("releases", {})
59
+ filtered_releases = {
60
+ version: release_files
61
+ for version, release_files in releases.items()
62
+ if not all(
63
+ release_file.get("yanked") for release_file in release_files
64
+ )
65
+ and "rc" not in version
66
+ }
67
+ sorted_releases = sorted(
68
+ filtered_releases.keys(), key=lambda x: Version(x)
69
+ )
70
+ latest_cli_release_string = sorted_releases[-1]
63
71
  latest_cli_release = Version(latest_cli_release_string)
64
72
  current_version_info = releases.get(current_version_string)
65
73
  current_version_date = None