pal-found-cli 0.1.4__tar.gz → 0.1.6__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.
- pal_found_cli-0.1.6/.github/safety-ci-exceptions.yml +19 -0
- pal_found_cli-0.1.6/.github/scripts/check_safety.py +88 -0
- {pal_found_cli-0.1.4 → pal_found_cli-0.1.6}/.github/workflows/ci.yml +2 -2
- {pal_found_cli-0.1.4 → pal_found_cli-0.1.6}/.github/workflows/publish.yml +30 -7
- pal_found_cli-0.1.6/.safety-policy.yml +20 -0
- pal_found_cli-0.1.6/CHANGELOG.md +32 -0
- pal_found_cli-0.1.6/LICENSE.foundry-sdk +202 -0
- {pal_found_cli-0.1.4 → pal_found_cli-0.1.6}/PKG-INFO +23 -2
- {pal_found_cli-0.1.4 → pal_found_cli-0.1.6}/README.md +19 -0
- {pal_found_cli-0.1.4 → pal_found_cli-0.1.6}/conda.recipe/meta.yaml +19 -2
- pal_found_cli-0.1.6/conda.recipe/toon-format/meta.yaml +35 -0
- {pal_found_cli-0.1.4 → pal_found_cli-0.1.6}/pyproject.toml +4 -3
- {pal_found_cli-0.1.4 → pal_found_cli-0.1.6}/src/pal_found_cli/_version.py +3 -3
- {pal_found_cli-0.1.4 → pal_found_cli-0.1.6}/src/pal_found_cli/admin/scripts/pal_found_admin_cli.py +56 -39
- {pal_found_cli-0.1.4 → pal_found_cli-0.1.6}/src/pal_found_cli/aip_agents/scripts/pal_found_aip_agents_cli.py +5 -8
- {pal_found_cli-0.1.4 → pal_found_cli-0.1.6}/src/pal_found_cli/audit/scripts/pal_found_audit_cli.py +6 -11
- {pal_found_cli-0.1.4 → pal_found_cli-0.1.6}/src/pal_found_cli/checkpoints/scripts/pal_found_checkpoints_cli.py +8 -15
- {pal_found_cli-0.1.4 → pal_found_cli-0.1.6}/src/pal_found_cli/common/async_client_factory.py +42 -2
- pal_found_cli-0.1.6/src/pal_found_cli/common/cli_parser.py +17 -0
- {pal_found_cli-0.1.4 → pal_found_cli-0.1.6}/src/pal_found_cli/common/config_loader.py +2 -8
- {pal_found_cli-0.1.4 → pal_found_cli-0.1.6}/src/pal_found_cli/common/output_formatter.py +20 -49
- {pal_found_cli-0.1.4 → pal_found_cli-0.1.6}/src/pal_found_cli/common/pagination_helper.py +19 -0
- {pal_found_cli-0.1.4 → pal_found_cli-0.1.6}/src/pal_found_cli/common/retry.py +27 -12
- pal_found_cli-0.1.6/src/pal_found_cli/common/timeout_config.py +45 -0
- {pal_found_cli-0.1.4 → pal_found_cli-0.1.6}/src/pal_found_cli/connectivity/scripts/pal_found_connectivity_cli.py +6 -14
- {pal_found_cli-0.1.4 → pal_found_cli-0.1.6}/src/pal_found_cli/data_health/scripts/pal_found_data_health_cli.py +7 -14
- {pal_found_cli-0.1.4 → pal_found_cli-0.1.6}/src/pal_found_cli/datasets/scripts/pal_found_datasets_cli.py +20 -16
- {pal_found_cli-0.1.4 → pal_found_cli-0.1.6}/src/pal_found_cli/filesystem/scripts/pal_found_filesystem_cli.py +40 -35
- {pal_found_cli-0.1.4 → pal_found_cli-0.1.6}/src/pal_found_cli/functions/scripts/pal_found_functions_cli.py +37 -19
- {pal_found_cli-0.1.4 → pal_found_cli-0.1.6}/src/pal_found_cli/language_models/scripts/pal_found_language_models_cli.py +6 -12
- {pal_found_cli-0.1.4 → pal_found_cli-0.1.6}/src/pal_found_cli/media_sets/scripts/pal_found_media_sets_cli.py +6 -14
- {pal_found_cli-0.1.4 → pal_found_cli-0.1.6}/src/pal_found_cli/models/scripts/pal_found_models_cli.py +44 -17
- pal_found_cli-0.1.6/src/pal_found_cli/ontologies/_geotemporal_compat.py +134 -0
- pal_found_cli-0.1.6/src/pal_found_cli/ontologies/_legacy_geotemporal_models.py +109 -0
- {pal_found_cli-0.1.4 → pal_found_cli-0.1.6}/src/pal_found_cli/ontologies/scripts/pal_found_ontologies_cli.py +146 -24
- {pal_found_cli-0.1.4 → pal_found_cli-0.1.6}/src/pal_found_cli/orchestration/scripts/pal_found_orchestration_cli.py +16 -16
- {pal_found_cli-0.1.4 → pal_found_cli-0.1.6}/src/pal_found_cli/sql_queries/scripts/pal_found_sql_queries_cli.py +9 -22
- {pal_found_cli-0.1.4 → pal_found_cli-0.1.6}/src/pal_found_cli/streams/scripts/pal_found_streams_cli.py +8 -16
- {pal_found_cli-0.1.4 → pal_found_cli-0.1.6}/src/pal_found_cli/third_party_applications/scripts/pal_found_third_party_applications_cli.py +14 -22
- {pal_found_cli-0.1.4 → pal_found_cli-0.1.6}/src/pal_found_cli/widgets/scripts/pal_found_widgets_cli.py +6 -14
- {pal_found_cli-0.1.4 → pal_found_cli-0.1.6}/src/pal_found_cli.egg-info/PKG-INFO +23 -2
- {pal_found_cli-0.1.4 → pal_found_cli-0.1.6}/src/pal_found_cli.egg-info/SOURCES.txt +25 -0
- {pal_found_cli-0.1.4 → pal_found_cli-0.1.6}/src/pal_found_cli.egg-info/requires.txt +1 -0
- {pal_found_cli-0.1.4 → pal_found_cli-0.1.6}/src/pal_found_cli.egg-info/scm_file_list.json +25 -0
- pal_found_cli-0.1.6/src/pal_found_cli.egg-info/scm_version.json +8 -0
- {pal_found_cli-0.1.4 → pal_found_cli-0.1.6}/tests/test_admin_console_wrapper.py +3 -2
- pal_found_cli-0.1.6/tests/test_async_client_proxy.py +152 -0
- {pal_found_cli-0.1.4 → pal_found_cli-0.1.6}/tests/test_audit_console_wrapper.py +0 -3
- pal_found_cli-0.1.6/tests/test_ci_safety.py +99 -0
- pal_found_cli-0.1.6/tests/test_cli_parser_contract.py +70 -0
- {pal_found_cli-0.1.4 → pal_found_cli-0.1.6}/tests/test_datasets_console_wrapper.py +7 -6
- {pal_found_cli-0.1.4 → pal_found_cli-0.1.6}/tests/test_exec_common_components.py +7 -1
- {pal_found_cli-0.1.4 → pal_found_cli-0.1.6}/tests/test_exec_retry_error_output_log.py +17 -16
- {pal_found_cli-0.1.4 → pal_found_cli-0.1.6}/tests/test_filesystem_console_wrapper.py +3 -2
- pal_found_cli-0.1.6/tests/test_filesystem_sdk_batches.py +173 -0
- {pal_found_cli-0.1.4 → pal_found_cli-0.1.6}/tests/test_functions_console_wrapper.py +4 -3
- pal_found_cli-0.1.6/tests/test_functions_streaming_wire.py +214 -0
- pal_found_cli-0.1.6/tests/test_geotemporal_sdk_wire.py +507 -0
- pal_found_cli-0.1.6/tests/test_models_config_version_sdk_wire.py +270 -0
- {pal_found_cli-0.1.4 → pal_found_cli-0.1.6}/tests/test_ontologies_console_wrapper.py +3 -2
- pal_found_cli-0.1.6/tests/test_orchestration_search_wire.py +44 -0
- pal_found_cli-0.1.6/tests/test_output_format_contract.py +92 -0
- {pal_found_cli-0.1.4 → pal_found_cli-0.1.6}/tests/test_pagination_helper.py +49 -0
- {pal_found_cli-0.1.4 → pal_found_cli-0.1.6}/tests/test_pal_found_admin_cli.py +173 -17
- {pal_found_cli-0.1.4 → pal_found_cli-0.1.6}/tests/test_pal_found_aip_agents_cli.py +1 -0
- {pal_found_cli-0.1.4 → pal_found_cli-0.1.6}/tests/test_pal_found_audit_cli.py +5 -6
- {pal_found_cli-0.1.4 → pal_found_cli-0.1.6}/tests/test_pal_found_checkpoints_cli.py +2 -2
- {pal_found_cli-0.1.4 → pal_found_cli-0.1.6}/tests/test_pal_found_data_health_cli.py +193 -4
- {pal_found_cli-0.1.4 → pal_found_cli-0.1.6}/tests/test_pal_found_filesystem_cli.py +132 -17
- {pal_found_cli-0.1.4 → pal_found_cli-0.1.6}/tests/test_pal_found_functions_cli.py +11 -6
- pal_found_cli-0.1.6/tests/test_pal_found_ontologies_cli.py +494 -0
- {pal_found_cli-0.1.4 → pal_found_cli-0.1.6}/tests/test_pal_found_orchestration_cli.py +1 -1
- {pal_found_cli-0.1.4 → pal_found_cli-0.1.6}/tests/test_pal_found_third_party_applications_cli.py +12 -11
- {pal_found_cli-0.1.4 → pal_found_cli-0.1.6}/tests/test_release_artifacts.py +19 -3
- pal_found_cli-0.1.6/tests/test_required_preview_wire.py +82 -0
- pal_found_cli-0.1.6/tests/test_retry_timeout_contract.py +166 -0
- pal_found_cli-0.1.6/tests/test_shared_cli_contracts.py +141 -0
- pal_found_cli-0.1.6/tests/test_sql_queries_wire.py +105 -0
- pal_found_cli-0.1.6/tests/test_third_party_applications_sdk_wire.py +351 -0
- {pal_found_cli-0.1.4 → pal_found_cli-0.1.6}/tests/unit_test_common_components.py +25 -6
- {pal_found_cli-0.1.4 → pal_found_cli-0.1.6}/tests/unit_test_retry_error_output_log.py +8 -8
- pal_found_cli-0.1.4/src/pal_found_cli.egg-info/scm_version.json +0 -8
- {pal_found_cli-0.1.4 → pal_found_cli-0.1.6}/.env.example +0 -0
- {pal_found_cli-0.1.4 → pal_found_cli-0.1.6}/.gitignore +0 -0
- {pal_found_cli-0.1.4 → pal_found_cli-0.1.6}/LICENSE +0 -0
- {pal_found_cli-0.1.4 → pal_found_cli-0.1.6}/setup.cfg +0 -0
- {pal_found_cli-0.1.4 → pal_found_cli-0.1.6}/src/pal_found_cli/__init__.py +0 -0
- {pal_found_cli-0.1.4 → pal_found_cli-0.1.6}/src/pal_found_cli/admin/__init__.py +0 -0
- {pal_found_cli-0.1.4 → pal_found_cli-0.1.6}/src/pal_found_cli/admin/scripts/__init__.py +0 -0
- {pal_found_cli-0.1.4 → pal_found_cli-0.1.6}/src/pal_found_cli/aip_agents/__init__.py +0 -0
- {pal_found_cli-0.1.4 → pal_found_cli-0.1.6}/src/pal_found_cli/aip_agents/metadata-allow-list.md +0 -0
- {pal_found_cli-0.1.4 → pal_found_cli-0.1.6}/src/pal_found_cli/aip_agents/scripts/__init__.py +0 -0
- {pal_found_cli-0.1.4 → pal_found_cli-0.1.6}/src/pal_found_cli/audit/__init__.py +0 -0
- {pal_found_cli-0.1.4 → pal_found_cli-0.1.6}/src/pal_found_cli/audit/metadata-allow-list.md +0 -0
- {pal_found_cli-0.1.4 → pal_found_cli-0.1.6}/src/pal_found_cli/audit/scripts/__init__.py +0 -0
- {pal_found_cli-0.1.4 → pal_found_cli-0.1.6}/src/pal_found_cli/checkpoints/__init__.py +0 -0
- {pal_found_cli-0.1.4 → pal_found_cli-0.1.6}/src/pal_found_cli/checkpoints/metadata-allow-list.md +0 -0
- {pal_found_cli-0.1.4 → pal_found_cli-0.1.6}/src/pal_found_cli/checkpoints/scripts/__init__.py +0 -0
- {pal_found_cli-0.1.4 → pal_found_cli-0.1.6}/src/pal_found_cli/common/__init__.py +0 -0
- {pal_found_cli-0.1.4 → pal_found_cli-0.1.6}/src/pal_found_cli/common/access_control_guard.py +0 -0
- {pal_found_cli-0.1.4 → pal_found_cli-0.1.6}/src/pal_found_cli/common/auth_provider.py +0 -0
- {pal_found_cli-0.1.4 → pal_found_cli-0.1.6}/src/pal_found_cli/common/binary_download_handler.py +0 -0
- {pal_found_cli-0.1.4 → pal_found_cli-0.1.6}/src/pal_found_cli/common/error_serializer.py +0 -0
- {pal_found_cli-0.1.4 → pal_found_cli-0.1.6}/src/pal_found_cli/common/log_setup.py +0 -0
- {pal_found_cli-0.1.4 → pal_found_cli-0.1.6}/src/pal_found_cli/common/metadata-allow-list.md +0 -0
- {pal_found_cli-0.1.4 → pal_found_cli-0.1.6}/src/pal_found_cli/common/sdk_error_utils.py +0 -0
- {pal_found_cli-0.1.4 → pal_found_cli-0.1.6}/src/pal_found_cli/common/session_manager.py +0 -0
- {pal_found_cli-0.1.4 → pal_found_cli-0.1.6}/src/pal_found_cli/common/tracing_provider.py +0 -0
- {pal_found_cli-0.1.4 → pal_found_cli-0.1.6}/src/pal_found_cli/connectivity/__init__.py +0 -0
- {pal_found_cli-0.1.4 → pal_found_cli-0.1.6}/src/pal_found_cli/connectivity/metadata-allow-list.md +0 -0
- {pal_found_cli-0.1.4 → pal_found_cli-0.1.6}/src/pal_found_cli/connectivity/scripts/__init__.py +0 -0
- {pal_found_cli-0.1.4 → pal_found_cli-0.1.6}/src/pal_found_cli/data_health/__init__.py +0 -0
- {pal_found_cli-0.1.4 → pal_found_cli-0.1.6}/src/pal_found_cli/data_health/metadata-allow-list.md +0 -0
- {pal_found_cli-0.1.4 → pal_found_cli-0.1.6}/src/pal_found_cli/data_health/scripts/__init__.py +0 -0
- {pal_found_cli-0.1.4 → pal_found_cli-0.1.6}/src/pal_found_cli/datasets/__init__.py +0 -0
- {pal_found_cli-0.1.4 → pal_found_cli-0.1.6}/src/pal_found_cli/datasets/scripts/__init__.py +0 -0
- {pal_found_cli-0.1.4 → pal_found_cli-0.1.6}/src/pal_found_cli/filesystem/__init__.py +0 -0
- {pal_found_cli-0.1.4 → pal_found_cli-0.1.6}/src/pal_found_cli/filesystem/scripts/__init__.py +0 -0
- {pal_found_cli-0.1.4 → pal_found_cli-0.1.6}/src/pal_found_cli/functions/__init__.py +0 -0
- {pal_found_cli-0.1.4 → pal_found_cli-0.1.6}/src/pal_found_cli/functions/scripts/__init__.py +0 -0
- {pal_found_cli-0.1.4 → pal_found_cli-0.1.6}/src/pal_found_cli/language_models/__init__.py +0 -0
- {pal_found_cli-0.1.4 → pal_found_cli-0.1.6}/src/pal_found_cli/language_models/metadata-allow-list.md +0 -0
- {pal_found_cli-0.1.4 → pal_found_cli-0.1.6}/src/pal_found_cli/language_models/scripts/__init__.py +0 -0
- {pal_found_cli-0.1.4 → pal_found_cli-0.1.6}/src/pal_found_cli/media_sets/__init__.py +0 -0
- {pal_found_cli-0.1.4 → pal_found_cli-0.1.6}/src/pal_found_cli/media_sets/metadata-allow-list.md +0 -0
- {pal_found_cli-0.1.4 → pal_found_cli-0.1.6}/src/pal_found_cli/media_sets/scripts/__init__.py +0 -0
- {pal_found_cli-0.1.4 → pal_found_cli-0.1.6}/src/pal_found_cli/models/__init__.py +0 -0
- {pal_found_cli-0.1.4 → pal_found_cli-0.1.6}/src/pal_found_cli/models/metadata-allow-list.md +0 -0
- {pal_found_cli-0.1.4 → pal_found_cli-0.1.6}/src/pal_found_cli/models/scripts/__init__.py +0 -0
- {pal_found_cli-0.1.4 → pal_found_cli-0.1.6}/src/pal_found_cli/ontologies/__init__.py +0 -0
- {pal_found_cli-0.1.4 → pal_found_cli-0.1.6}/src/pal_found_cli/ontologies/scripts/__init__.py +0 -0
- {pal_found_cli-0.1.4 → pal_found_cli-0.1.6}/src/pal_found_cli/orchestration/__init__.py +0 -0
- {pal_found_cli-0.1.4 → pal_found_cli-0.1.6}/src/pal_found_cli/orchestration/metadata-allow-list.md +0 -0
- {pal_found_cli-0.1.4 → pal_found_cli-0.1.6}/src/pal_found_cli/orchestration/scripts/__init__.py +0 -0
- {pal_found_cli-0.1.4 → pal_found_cli-0.1.6}/src/pal_found_cli/sql_queries/__init__.py +0 -0
- {pal_found_cli-0.1.4 → pal_found_cli-0.1.6}/src/pal_found_cli/sql_queries/metadata-allow-list.md +0 -0
- {pal_found_cli-0.1.4 → pal_found_cli-0.1.6}/src/pal_found_cli/sql_queries/scripts/__init__.py +0 -0
- {pal_found_cli-0.1.4 → pal_found_cli-0.1.6}/src/pal_found_cli/streams/__init__.py +0 -0
- {pal_found_cli-0.1.4 → pal_found_cli-0.1.6}/src/pal_found_cli/streams/metadata-allow-list.md +0 -0
- {pal_found_cli-0.1.4 → pal_found_cli-0.1.6}/src/pal_found_cli/streams/scripts/__init__.py +0 -0
- {pal_found_cli-0.1.4 → pal_found_cli-0.1.6}/src/pal_found_cli/third_party_applications/__init__.py +0 -0
- {pal_found_cli-0.1.4 → pal_found_cli-0.1.6}/src/pal_found_cli/third_party_applications/metadata-allow-list.md +0 -0
- {pal_found_cli-0.1.4 → pal_found_cli-0.1.6}/src/pal_found_cli/third_party_applications/scripts/__init__.py +0 -0
- {pal_found_cli-0.1.4 → pal_found_cli-0.1.6}/src/pal_found_cli/widgets/__init__.py +0 -0
- {pal_found_cli-0.1.4 → pal_found_cli-0.1.6}/src/pal_found_cli/widgets/metadata-allow-list.md +0 -0
- {pal_found_cli-0.1.4 → pal_found_cli-0.1.6}/src/pal_found_cli/widgets/scripts/__init__.py +0 -0
- {pal_found_cli-0.1.4 → pal_found_cli-0.1.6}/src/pal_found_cli.egg-info/dependency_links.txt +0 -0
- {pal_found_cli-0.1.4 → pal_found_cli-0.1.6}/src/pal_found_cli.egg-info/entry_points.txt +0 -0
- {pal_found_cli-0.1.4 → pal_found_cli-0.1.6}/src/pal_found_cli.egg-info/top_level.txt +0 -0
- {pal_found_cli-0.1.4 → pal_found_cli-0.1.6}/tests/__init__.py +0 -0
- {pal_found_cli-0.1.4 → pal_found_cli-0.1.6}/tests/test_access_control_guard.py +0 -0
- {pal_found_cli-0.1.4 → pal_found_cli-0.1.6}/tests/test_aip_agents_console_wrapper.py +0 -0
- {pal_found_cli-0.1.4 → pal_found_cli-0.1.6}/tests/test_binary_download.py +0 -0
- {pal_found_cli-0.1.4 → pal_found_cli-0.1.6}/tests/test_checkpoints_console_wrapper.py +0 -0
- {pal_found_cli-0.1.4 → pal_found_cli-0.1.6}/tests/test_data_health_console_wrapper.py +0 -0
- {pal_found_cli-0.1.4 → pal_found_cli-0.1.6}/tests/test_language_models_console_wrapper.py +0 -0
- {pal_found_cli-0.1.4 → pal_found_cli-0.1.6}/tests/test_pal_found_connectivity_cli.py +0 -0
- {pal_found_cli-0.1.4 → pal_found_cli-0.1.6}/tests/test_pal_found_language_models_cli.py +0 -0
- {pal_found_cli-0.1.4 → pal_found_cli-0.1.6}/tests/test_pal_found_media_sets_cli.py +0 -0
- {pal_found_cli-0.1.4 → pal_found_cli-0.1.6}/tests/test_pal_found_models_cli.py +0 -0
- {pal_found_cli-0.1.4 → pal_found_cli-0.1.6}/tests/test_pal_found_sql_queries_cli.py +0 -0
- {pal_found_cli-0.1.4 → pal_found_cli-0.1.6}/tests/test_pal_found_streams_cli.py +0 -0
- {pal_found_cli-0.1.4 → pal_found_cli-0.1.6}/tests/test_pal_found_widgets_cli.py +0 -0
- {pal_found_cli-0.1.4 → pal_found_cli-0.1.6}/tests/test_rename_migration.py +0 -0
- {pal_found_cli-0.1.4 → pal_found_cli-0.1.6}/tests/test_repository_hygiene.py +0 -0
- {pal_found_cli-0.1.4 → pal_found_cli-0.1.6}/tests/test_session_manager.py +0 -0
- {pal_found_cli-0.1.4 → pal_found_cli-0.1.6}/tests/test_third_party_applications_console_wrapper.py +0 -0
- {pal_found_cli-0.1.4 → pal_found_cli-0.1.6}/tests/test_tracing_provider.py +0 -0
- {pal_found_cli-0.1.4 → pal_found_cli-0.1.6}/tests/test_widgets_console_wrapper.py +0 -0
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
# BUG-051 proposal: activate only after independent risk/security approval.
|
|
2
|
+
# Restricted by scripts/check_safety.py to fresh GitHub-hosted Ubuntu CI,
|
|
3
|
+
# Safety 3.8.1, filelock 3.32.7, no product dependency, and --cache 0.
|
|
4
|
+
# Vulnerabilities remain present. Remove earlier when supported patched Safety ships.
|
|
5
|
+
SFTY-20261017-72390:
|
|
6
|
+
reason: >-
|
|
7
|
+
BUG-051: scanner-only filelock 3.32.7 from Safety 3.8.1; Windows ACL
|
|
8
|
+
advisory CVE-2026-112910. Reviewed Ubuntu/cache0 context only.
|
|
9
|
+
expires: "2026-12-02"
|
|
10
|
+
SFTY-20261017-54654:
|
|
11
|
+
reason: >-
|
|
12
|
+
BUG-051: scanner-only filelock 3.32.7 from Safety 3.8.1; strict soft-lock
|
|
13
|
+
directory advisory CVE-2026-112908. Reviewed Ubuntu/cache0 context only.
|
|
14
|
+
expires: "2026-12-02"
|
|
15
|
+
SFTY-20261017-57659:
|
|
16
|
+
reason: >-
|
|
17
|
+
BUG-051: scanner-only filelock 3.32.7 from Safety 3.8.1; strict-lock
|
|
18
|
+
symlink advisory CVE-2026-112938. Reviewed Ubuntu/cache0 context only.
|
|
19
|
+
expires: "2026-12-02"
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
"""Run full installed-environment Safety scan with bounded BUG-051 CI policy."""
|
|
2
|
+
|
|
3
|
+
from datetime import date, datetime, timezone
|
|
4
|
+
from importlib import metadata
|
|
5
|
+
import os
|
|
6
|
+
from pathlib import Path
|
|
7
|
+
import platform
|
|
8
|
+
import subprocess
|
|
9
|
+
import sys
|
|
10
|
+
import tempfile
|
|
11
|
+
|
|
12
|
+
from packaging.requirements import Requirement
|
|
13
|
+
from packaging.utils import canonicalize_name
|
|
14
|
+
import yaml
|
|
15
|
+
|
|
16
|
+
ROOT = Path(__file__).resolve().parents[2]
|
|
17
|
+
IDS = {"SFTY-20261017-72390", "SFTY-20261017-54654", "SFTY-20261017-57659"}
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
def require(condition, message):
|
|
21
|
+
if not condition:
|
|
22
|
+
raise RuntimeError(message)
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
def check_context():
|
|
26
|
+
require(platform.system() == "Linux", "BUG-051 requires Linux")
|
|
27
|
+
require(platform.freedesktop_os_release().get("ID") == "ubuntu", "BUG-051 requires Ubuntu")
|
|
28
|
+
for key, expected in {
|
|
29
|
+
"GITHUB_ACTIONS": "true",
|
|
30
|
+
"RUNNER_ENVIRONMENT": "github-hosted",
|
|
31
|
+
"RUNNER_OS": "Linux",
|
|
32
|
+
}.items():
|
|
33
|
+
require(os.environ.get(key) == expected, f"BUG-051 requires {key}={expected}")
|
|
34
|
+
for package, expected in {"safety": "3.8.1", "filelock": "3.32.7"}.items():
|
|
35
|
+
require(metadata.version(package) == expected, f"BUG-051 requires {package}=={expected}")
|
|
36
|
+
|
|
37
|
+
# Follow active runtime and dev requirements, including propagated extras.
|
|
38
|
+
pending = [("pal_found_cli", frozenset({"dev"}))]
|
|
39
|
+
seen = set()
|
|
40
|
+
while pending:
|
|
41
|
+
package, extras = pending.pop()
|
|
42
|
+
package = canonicalize_name(package)
|
|
43
|
+
require(package != "filelock", "filelock entered product/dev dependency graph")
|
|
44
|
+
if (package, extras) in seen:
|
|
45
|
+
continue
|
|
46
|
+
seen.add((package, extras))
|
|
47
|
+
for raw in metadata.requires(package) or []:
|
|
48
|
+
dependency = Requirement(raw)
|
|
49
|
+
if dependency.marker is None or any(
|
|
50
|
+
dependency.marker.evaluate({"extra": extra}) for extra in {"", *extras}
|
|
51
|
+
):
|
|
52
|
+
pending.append((dependency.name, frozenset(dependency.extras)))
|
|
53
|
+
|
|
54
|
+
|
|
55
|
+
def build_policy(today):
|
|
56
|
+
policy = yaml.safe_load((ROOT / ".safety-policy.yml").read_text())
|
|
57
|
+
security = policy["security"]
|
|
58
|
+
require(security["continue-on-vulnerability-error"] is False, "Safety must remain blocking")
|
|
59
|
+
exceptions = yaml.safe_load((ROOT / ".github/safety-ci-exceptions.yml").read_text())
|
|
60
|
+
require(set(exceptions) == IDS, "BUG-051 exception IDs changed; review required")
|
|
61
|
+
require(all(entry["expires"] == "2026-12-02" for entry in exceptions.values()), "BUG-051 expiry changed")
|
|
62
|
+
ignores = security["ignore-vulnerabilities"]
|
|
63
|
+
require(not (IDS & ignores.keys()), "BUG-051 must not enter default local policy")
|
|
64
|
+
for entry in [*ignores.values(), *exceptions.values()]:
|
|
65
|
+
require(bool(entry["reason"].strip()), "Exception requires reason")
|
|
66
|
+
require(today < date.fromisoformat(str(entry["expires"])), "Safety exception expired")
|
|
67
|
+
ignores.update(exceptions)
|
|
68
|
+
return policy
|
|
69
|
+
|
|
70
|
+
|
|
71
|
+
def main():
|
|
72
|
+
check_context()
|
|
73
|
+
policy = build_policy(datetime.now(timezone.utc).date())
|
|
74
|
+
subprocess.run([sys.executable, "-m", "pip", "check"], check=True)
|
|
75
|
+
temp_root = ROOT / ".ept/tmp"
|
|
76
|
+
temp_root.mkdir(parents=True, exist_ok=True)
|
|
77
|
+
with tempfile.TemporaryDirectory(prefix="safety-", dir=temp_root) as directory:
|
|
78
|
+
path = Path(directory) / "policy.yml"
|
|
79
|
+
path.write_text(yaml.safe_dump(policy), encoding="utf-8")
|
|
80
|
+
# No requirements file or package filter: include scanner dependencies.
|
|
81
|
+
return subprocess.run([
|
|
82
|
+
sys.executable, "-m", "safety", "check", "--full-report", "--cache", "0",
|
|
83
|
+
"--policy-file", str(path),
|
|
84
|
+
], cwd=ROOT).returncode
|
|
85
|
+
|
|
86
|
+
|
|
87
|
+
if __name__ == "__main__":
|
|
88
|
+
sys.exit(main())
|
|
@@ -103,7 +103,7 @@ jobs:
|
|
|
103
103
|
run: |
|
|
104
104
|
python -m pip install --upgrade pip setuptools wheel
|
|
105
105
|
pip install -e ".[dev]"
|
|
106
|
-
pip install bandit safety
|
|
106
|
+
pip install bandit safety==3.8.1 filelock==3.32.7
|
|
107
107
|
|
|
108
108
|
- name: Run bandit SAST (fail on HIGH severity)
|
|
109
109
|
# --severity-level high: report issues with HIGH severity or higher
|
|
@@ -113,7 +113,7 @@ jobs:
|
|
|
113
113
|
run: bandit -r src/ --severity-level high
|
|
114
114
|
|
|
115
115
|
- name: Run safety dependency scan
|
|
116
|
-
run:
|
|
116
|
+
run: python .github/scripts/check_safety.py
|
|
117
117
|
|
|
118
118
|
build:
|
|
119
119
|
name: Build Package
|
|
@@ -7,13 +7,29 @@ on:
|
|
|
7
7
|
|
|
8
8
|
permissions:
|
|
9
9
|
contents: read
|
|
10
|
-
id-token: write
|
|
11
10
|
|
|
12
11
|
jobs:
|
|
12
|
+
preflight:
|
|
13
|
+
name: Check Conda publish credential
|
|
14
|
+
runs-on: ubuntu-latest
|
|
15
|
+
env:
|
|
16
|
+
ANACONDA_API_TOKEN: ${{ secrets.ANACONDA_API_TOKEN }}
|
|
17
|
+
steps:
|
|
18
|
+
- name: Require Conda publish credential
|
|
19
|
+
run: |
|
|
20
|
+
if [[ -z "$ANACONDA_API_TOKEN" ]]; then
|
|
21
|
+
echo "::error::ANACONDA_API_TOKEN repository secret is required for this release."
|
|
22
|
+
exit 1
|
|
23
|
+
fi
|
|
24
|
+
|
|
13
25
|
release:
|
|
14
26
|
name: Build, stage, verify, and publish
|
|
15
27
|
runs-on: ubuntu-latest
|
|
28
|
+
needs: preflight
|
|
16
29
|
environment: release
|
|
30
|
+
permissions:
|
|
31
|
+
contents: read
|
|
32
|
+
id-token: write
|
|
17
33
|
steps:
|
|
18
34
|
- name: Checkout
|
|
19
35
|
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
|
@@ -70,8 +86,9 @@ jobs:
|
|
|
70
86
|
uses: pypa/gh-action-pypi-publish@dc37677b2e1c63e2034f94d8a5b11f265b73ba33 # v1.14.2
|
|
71
87
|
|
|
72
88
|
conda:
|
|
73
|
-
name: Build and
|
|
89
|
+
name: Build and publish conda package
|
|
74
90
|
runs-on: ubuntu-latest
|
|
91
|
+
needs: [preflight, release]
|
|
75
92
|
steps:
|
|
76
93
|
- name: Checkout
|
|
77
94
|
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
|
@@ -101,16 +118,22 @@ jobs:
|
|
|
101
118
|
# the conda-build plugin in a non-base activated environment, which made
|
|
102
119
|
# `conda build` fail with "invalid choice: 'build'". The conda-build binary
|
|
103
120
|
# is always installed by the package and is version independent.
|
|
104
|
-
conda-build conda.recipe --output-folder conda-channel
|
|
121
|
+
conda-build conda.recipe/toon-format/meta.yaml --output-folder conda-channel
|
|
122
|
+
conda-build conda.recipe/meta.yaml --python 3.11 --output-folder conda-channel --channel "file://$(pwd)/conda-channel"
|
|
105
123
|
|
|
106
|
-
- name: Publish conda package
|
|
124
|
+
- name: Publish conda package
|
|
107
125
|
shell: bash -el {0}
|
|
108
126
|
env:
|
|
109
127
|
ANACONDA_API_TOKEN: ${{ secrets.ANACONDA_API_TOKEN }}
|
|
110
128
|
run: |
|
|
111
129
|
if [[ -z "$ANACONDA_API_TOKEN" ]]; then
|
|
112
|
-
echo "ANACONDA_API_TOKEN
|
|
113
|
-
exit
|
|
130
|
+
echo "::error::ANACONDA_API_TOKEN repository secret is required for this release."
|
|
131
|
+
exit 1
|
|
114
132
|
fi
|
|
115
133
|
conda install --yes anaconda-client
|
|
116
|
-
|
|
134
|
+
helper=conda-channel/noarch/toon-format-1.2.0-py_0.conda
|
|
135
|
+
package="conda-channel/noarch/pal_found_cli-${GITHUB_REF_NAME#v}-py_0.conda"
|
|
136
|
+
test -f "$helper"
|
|
137
|
+
test -f "$package"
|
|
138
|
+
anaconda -t "$ANACONDA_API_TOKEN" upload --user t-jet "$helper"
|
|
139
|
+
anaconda -t "$ANACONDA_API_TOKEN" upload --user t-jet "$package"
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# Safety policy for the CI dependency scan (`safety check`).
|
|
2
|
+
#
|
|
3
|
+
# The scan runs against the CI environment, which contains the scanner plus
|
|
4
|
+
# its own dependencies. Every suppression here is reviewed and time-bound.
|
|
5
|
+
security:
|
|
6
|
+
# Keep the scan blocking: a non-suppressed vulnerability still fails CI.
|
|
7
|
+
continue-on-vulnerability-error: False
|
|
8
|
+
ignore-vulnerabilities:
|
|
9
|
+
# nltk is pulled in by the safety scanner (safety 3.8.1 requires
|
|
10
|
+
# nltk>=3.9), not by pal_found_cli itself. No fixed release exists
|
|
11
|
+
# above 3.10.3 on PyPI, so the finding cannot be remediated by an
|
|
12
|
+
# upgrade. Advisory: SFTY-20260902-58666 / CVE-2026-81726 (path
|
|
13
|
+
# traversal). Remove this entry once a fixed nltk release is available
|
|
14
|
+
# or safety drops the nltk dependency.
|
|
15
|
+
SFTY-20260902-58666:
|
|
16
|
+
reason: >-
|
|
17
|
+
Path traversal (CVE-2026-81726) in nltk, which the safety scanner
|
|
18
|
+
pulls transitively. nltk is not a pal_found_cli dependency and no
|
|
19
|
+
fixed release exists above 3.10.3. Remove when a fix ships.
|
|
20
|
+
expires: "2027-01-09"
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
All notable changes to `pal_found_cli` are recorded here.
|
|
4
|
+
|
|
5
|
+
## [0.1.6] - 2026-11-19
|
|
6
|
+
|
|
7
|
+
### Fixed
|
|
8
|
+
|
|
9
|
+
- Honor standard proxy environment variables and bypass rules in SDK clients.
|
|
10
|
+
- Correct shared output parsing, timeout, retry and preview handling, including Data Health preview requests.
|
|
11
|
+
- Preserve required search filters across pages and keep Functions stream consumption within retry scope.
|
|
12
|
+
- Decode Filesystem positional JSON batch bodies and forward SQL query text through Arrow downloads.
|
|
13
|
+
- Correct Models config-version paths, Third Party Applications SDK parent routing and legacy Geotemporal SDK operations.
|
|
14
|
+
- Keep Conda build and test versions aligned with package metadata.
|
|
15
|
+
|
|
16
|
+
### Security
|
|
17
|
+
|
|
18
|
+
- Bound three temporary scanner-only filelock exceptions to the CI environment and expiry date.
|
|
19
|
+
|
|
20
|
+
## [0.1.5] - 2026-10-14
|
|
21
|
+
|
|
22
|
+
### Fixed
|
|
23
|
+
|
|
24
|
+
- Corrected Admin and Filesystem pagination and error handling.
|
|
25
|
+
- Validated Ontology inputs and clarified paginated response metadata.
|
|
26
|
+
- Corrected Functions attribution parsing and shared pagination behavior.
|
|
27
|
+
|
|
28
|
+
## [0.1.4] - 2026-10-06
|
|
29
|
+
|
|
30
|
+
### Added
|
|
31
|
+
|
|
32
|
+
- Added bounded Datasets pagination and related command coverage.
|
|
@@ -0,0 +1,202 @@
|
|
|
1
|
+
|
|
2
|
+
Apache License
|
|
3
|
+
Version 2.0, January 2004
|
|
4
|
+
http://www.apache.org/licenses/
|
|
5
|
+
|
|
6
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
7
|
+
|
|
8
|
+
1. Definitions.
|
|
9
|
+
|
|
10
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
11
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
12
|
+
|
|
13
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
14
|
+
the copyright owner that is granting the License.
|
|
15
|
+
|
|
16
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
17
|
+
other entities that control, are controlled by, or are under common
|
|
18
|
+
control with that entity. For the purposes of this definition,
|
|
19
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
20
|
+
direction or management of such entity, whether by contract or
|
|
21
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
22
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
23
|
+
|
|
24
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
25
|
+
exercising permissions granted by this License.
|
|
26
|
+
|
|
27
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
28
|
+
including but not limited to software source code, documentation
|
|
29
|
+
source, and configuration files.
|
|
30
|
+
|
|
31
|
+
"Object" form shall mean any form resulting from mechanical
|
|
32
|
+
transformation or translation of a Source form, including but
|
|
33
|
+
not limited to compiled object code, generated documentation,
|
|
34
|
+
and conversions to other media types.
|
|
35
|
+
|
|
36
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
37
|
+
Object form, made available under the License, as indicated by a
|
|
38
|
+
copyright notice that is included in or attached to the work
|
|
39
|
+
(an example is provided in the Appendix below).
|
|
40
|
+
|
|
41
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
42
|
+
form, that is based on (or derived from) the Work and for which the
|
|
43
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
44
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
45
|
+
of this License, Derivative Works shall not include works that remain
|
|
46
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
47
|
+
the Work and Derivative Works thereof.
|
|
48
|
+
|
|
49
|
+
"Contribution" shall mean any work of authorship, including
|
|
50
|
+
the original version of the Work and any modifications or additions
|
|
51
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
52
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
53
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
54
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
55
|
+
means any form of electronic, verbal, or written communication sent
|
|
56
|
+
to the Licensor or its representatives, including but not limited to
|
|
57
|
+
communication on electronic mailing lists, source code control systems,
|
|
58
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
59
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
60
|
+
excluding communication that is conspicuously marked or otherwise
|
|
61
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
62
|
+
|
|
63
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
64
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
65
|
+
subsequently incorporated within the Work.
|
|
66
|
+
|
|
67
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
68
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
69
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
70
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
71
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
72
|
+
Work and such Derivative Works in Source or Object form.
|
|
73
|
+
|
|
74
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
75
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
76
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
77
|
+
(except as stated in this section) patent license to make, have made,
|
|
78
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
79
|
+
where such license applies only to those patent claims licensable
|
|
80
|
+
by such Contributor that are necessarily infringed by their
|
|
81
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
82
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
83
|
+
institute patent litigation against any entity (including a
|
|
84
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
85
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
86
|
+
or contributory patent infringement, then any patent licenses
|
|
87
|
+
granted to You under this License for that Work shall terminate
|
|
88
|
+
as of the date such litigation is filed.
|
|
89
|
+
|
|
90
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
91
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
92
|
+
modifications, and in Source or Object form, provided that You
|
|
93
|
+
meet the following conditions:
|
|
94
|
+
|
|
95
|
+
(a) You must give any other recipients of the Work or
|
|
96
|
+
Derivative Works a copy of this License; and
|
|
97
|
+
|
|
98
|
+
(b) You must cause any modified files to carry prominent notices
|
|
99
|
+
stating that You changed the files; and
|
|
100
|
+
|
|
101
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
102
|
+
that You distribute, all copyright, patent, trademark, and
|
|
103
|
+
attribution notices from the Source form of the Work,
|
|
104
|
+
excluding those notices that do not pertain to any part of
|
|
105
|
+
the Derivative Works; and
|
|
106
|
+
|
|
107
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
108
|
+
distribution, then any Derivative Works that You distribute must
|
|
109
|
+
include a readable copy of the attribution notices contained
|
|
110
|
+
within such NOTICE file, excluding those notices that do not
|
|
111
|
+
pertain to any part of the Derivative Works, in at least one
|
|
112
|
+
of the following places: within a NOTICE text file distributed
|
|
113
|
+
as part of the Derivative Works; within the Source form or
|
|
114
|
+
documentation, if provided along with the Derivative Works; or,
|
|
115
|
+
within a display generated by the Derivative Works, if and
|
|
116
|
+
wherever such third-party notices normally appear. The contents
|
|
117
|
+
of the NOTICE file are for informational purposes only and
|
|
118
|
+
do not modify the License. You may add Your own attribution
|
|
119
|
+
notices within Derivative Works that You distribute, alongside
|
|
120
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
121
|
+
that such additional attribution notices cannot be construed
|
|
122
|
+
as modifying the License.
|
|
123
|
+
|
|
124
|
+
You may add Your own copyright statement to Your modifications and
|
|
125
|
+
may provide additional or different license terms and conditions
|
|
126
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
127
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
128
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
129
|
+
the conditions stated in this License.
|
|
130
|
+
|
|
131
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
132
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
133
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
134
|
+
this License, without any additional terms or conditions.
|
|
135
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
136
|
+
the terms of any separate license agreement you may have executed
|
|
137
|
+
with Licensor regarding such Contributions.
|
|
138
|
+
|
|
139
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
140
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
141
|
+
except as required for reasonable and customary use in describing the
|
|
142
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
143
|
+
|
|
144
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
145
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
146
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
147
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
148
|
+
implied, including, without limitation, any warranties or conditions
|
|
149
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
150
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
151
|
+
appropriateness of using or redistributing the Work and assume any
|
|
152
|
+
risks associated with Your exercise of permissions under this License.
|
|
153
|
+
|
|
154
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
155
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
156
|
+
unless required by applicable law (such as deliberate and grossly
|
|
157
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
158
|
+
liable to You for damages, including any direct, indirect, special,
|
|
159
|
+
incidental, or consequential damages of any character arising as a
|
|
160
|
+
result of this License or out of the use or inability to use the
|
|
161
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
162
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
163
|
+
other commercial damages or losses), even if such Contributor
|
|
164
|
+
has been advised of the possibility of such damages.
|
|
165
|
+
|
|
166
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
167
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
168
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
169
|
+
or other liability obligations and/or rights consistent with this
|
|
170
|
+
License. However, in accepting such obligations, You may act only
|
|
171
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
172
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
173
|
+
defend, and hold each Contributor harmless for any liability
|
|
174
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
175
|
+
of your accepting any such warranty or additional liability.
|
|
176
|
+
|
|
177
|
+
END OF TERMS AND CONDITIONS
|
|
178
|
+
|
|
179
|
+
APPENDIX: How to apply the Apache License to your work.
|
|
180
|
+
|
|
181
|
+
To apply the Apache License to your work, attach the following
|
|
182
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
183
|
+
replaced with your own identifying information. (Don't include
|
|
184
|
+
the brackets!) The text should be enclosed in the appropriate
|
|
185
|
+
comment syntax for the file format. We also recommend that a
|
|
186
|
+
file or class name and description of purpose be included on the
|
|
187
|
+
same "printed page" as the copyright notice for easier
|
|
188
|
+
identification within third-party archives.
|
|
189
|
+
|
|
190
|
+
Copyright [yyyy] [name of copyright owner]
|
|
191
|
+
|
|
192
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
193
|
+
you may not use this file except in compliance with the License.
|
|
194
|
+
You may obtain a copy of the License at
|
|
195
|
+
|
|
196
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
197
|
+
|
|
198
|
+
Unless required by applicable law or agreed to in writing, software
|
|
199
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
200
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
201
|
+
See the License for the specific language governing permissions and
|
|
202
|
+
limitations under the License.
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: pal_found_cli
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.6
|
|
4
4
|
Summary: Foundry CLI - 33 operations across 5 resource clients
|
|
5
|
-
License-Expression: MIT
|
|
5
|
+
License-Expression: MIT AND Apache-2.0
|
|
6
6
|
Project-URL: repository, https://github.com/t-jet/pal_found_cli_tool
|
|
7
7
|
Project-URL: homepage, https://github.com/t-jet/pal_found_cli_tool
|
|
8
8
|
Project-URL: documentation, https://github.com/t-jet/pal_found_cli#readme
|
|
@@ -14,9 +14,11 @@ Classifier: Topic :: Software Development :: Libraries
|
|
|
14
14
|
Requires-Python: >=3.11
|
|
15
15
|
Description-Content-Type: text/markdown
|
|
16
16
|
License-File: LICENSE
|
|
17
|
+
License-File: LICENSE.foundry-sdk
|
|
17
18
|
Requires-Dist: foundry-platform-sdk>=1.0.0
|
|
18
19
|
Requires-Dist: python-dotenv>=1.0.0
|
|
19
20
|
Requires-Dist: requests>=2.31.0
|
|
21
|
+
Requires-Dist: toon-format==1.2.0
|
|
20
22
|
Provides-Extra: dev
|
|
21
23
|
Requires-Dist: pytest>=8.0; extra == "dev"
|
|
22
24
|
Requires-Dist: pytest-asyncio>=0.24; extra == "dev"
|
|
@@ -80,6 +82,25 @@ file is searched per ADR-006 (explicit path override via
|
|
|
80
82
|
format, access guards, retry, pagination, and tracing; see `.env.example` for
|
|
81
83
|
the full list.
|
|
82
84
|
|
|
85
|
+
### Network proxies
|
|
86
|
+
|
|
87
|
+
Set `HTTPS_PROXY` for the HTTPS Foundry endpoint. `HTTP_PROXY` applies to HTTP
|
|
88
|
+
requests. Lowercase `https_proxy` and `http_proxy` take precedence when both
|
|
89
|
+
forms are set. `ALL_PROXY` (or `all_proxy`) supplies a fallback for either
|
|
90
|
+
scheme. Proxy URLs may use `http://` or `https://`; a bare host and port uses
|
|
91
|
+
`http://`. In CGI environments, Python ignores uppercase `HTTP_PROXY`.
|
|
92
|
+
The CLI passes these settings to the SDK transport for each invocation.
|
|
93
|
+
|
|
94
|
+
Use `NO_PROXY` or `no_proxy` to bypass the proxy for the configured Foundry
|
|
95
|
+
hostname. Lowercase takes precedence. The comma-separated list follows
|
|
96
|
+
Python's `urllib.request.proxy_bypass_environment` rules: `*` bypasses all
|
|
97
|
+
hosts; an exact host, a leading-dot domain, a host with port, or an exact IP
|
|
98
|
+
address can match. Domain matches respect label boundaries, so `example.com`
|
|
99
|
+
matches `api.example.com` but not `badexample.com`. CIDR ranges are not
|
|
100
|
+
supported. Bypass is decided for the configured Foundry hostname when the
|
|
101
|
+
client is created; requests redirected to a different hostname retain that
|
|
102
|
+
client's proxy choice. Keep proxy credentials out of command output and logs.
|
|
103
|
+
|
|
83
104
|
Then verify the setup:
|
|
84
105
|
|
|
85
106
|
```bash
|
|
@@ -52,6 +52,25 @@ file is searched per ADR-006 (explicit path override via
|
|
|
52
52
|
format, access guards, retry, pagination, and tracing; see `.env.example` for
|
|
53
53
|
the full list.
|
|
54
54
|
|
|
55
|
+
### Network proxies
|
|
56
|
+
|
|
57
|
+
Set `HTTPS_PROXY` for the HTTPS Foundry endpoint. `HTTP_PROXY` applies to HTTP
|
|
58
|
+
requests. Lowercase `https_proxy` and `http_proxy` take precedence when both
|
|
59
|
+
forms are set. `ALL_PROXY` (or `all_proxy`) supplies a fallback for either
|
|
60
|
+
scheme. Proxy URLs may use `http://` or `https://`; a bare host and port uses
|
|
61
|
+
`http://`. In CGI environments, Python ignores uppercase `HTTP_PROXY`.
|
|
62
|
+
The CLI passes these settings to the SDK transport for each invocation.
|
|
63
|
+
|
|
64
|
+
Use `NO_PROXY` or `no_proxy` to bypass the proxy for the configured Foundry
|
|
65
|
+
hostname. Lowercase takes precedence. The comma-separated list follows
|
|
66
|
+
Python's `urllib.request.proxy_bypass_environment` rules: `*` bypasses all
|
|
67
|
+
hosts; an exact host, a leading-dot domain, a host with port, or an exact IP
|
|
68
|
+
address can match. Domain matches respect label boundaries, so `example.com`
|
|
69
|
+
matches `api.example.com` but not `badexample.com`. CIDR ranges are not
|
|
70
|
+
supported. Bypass is decided for the configured Foundry hostname when the
|
|
71
|
+
client is created; requests redirected to a different hostname retain that
|
|
72
|
+
client's proxy choice. Keep proxy credentials out of command output and logs.
|
|
73
|
+
|
|
55
74
|
Then verify the setup:
|
|
56
75
|
|
|
57
76
|
```bash
|
|
@@ -10,6 +10,8 @@ source:
|
|
|
10
10
|
build:
|
|
11
11
|
number: 0
|
|
12
12
|
noarch: python
|
|
13
|
+
script_env:
|
|
14
|
+
- SETUPTOOLS_SCM_PRETEND_VERSION_FOR_PAL_FOUND_CLI={{ version }}
|
|
13
15
|
entry_points:
|
|
14
16
|
- pal-found-datasets = pal_found_cli.datasets.scripts.pal_found_datasets_cli:main
|
|
15
17
|
- pal-found-filesystem = pal_found_cli.filesystem.scripts.pal_found_filesystem_cli:console_main
|
|
@@ -33,7 +35,7 @@ build:
|
|
|
33
35
|
|
|
34
36
|
requirements:
|
|
35
37
|
host:
|
|
36
|
-
- python
|
|
38
|
+
- python {{ python | default("3.11") }}
|
|
37
39
|
- pip
|
|
38
40
|
- setuptools >=68
|
|
39
41
|
- setuptools-scm >=8
|
|
@@ -43,8 +45,23 @@ requirements:
|
|
|
43
45
|
- foundry-platform-sdk >=1.0
|
|
44
46
|
- python-dotenv >=1.0
|
|
45
47
|
- requests >=2.31
|
|
48
|
+
- toon-format ==1.2.0
|
|
49
|
+
|
|
50
|
+
test:
|
|
51
|
+
requires:
|
|
52
|
+
- python {{ python | default("3.11") }}
|
|
53
|
+
imports:
|
|
54
|
+
- pal_found_cli.common.output_formatter
|
|
55
|
+
- toon_format
|
|
56
|
+
commands:
|
|
57
|
+
- pal-found-filesystem --help
|
|
58
|
+
- >-
|
|
59
|
+
python -c "import toon_format; from pal_found_cli.common.output_formatter import OutputFormatter; value = [{'name': 'comma,value', 'enabled': True, 'empty': None}]; assert toon_format.loads(OutputFormatter('toon').format(value)) == value"
|
|
46
60
|
|
|
47
61
|
about:
|
|
48
62
|
home: https://github.com/t-jet/pal_found_cli_tool
|
|
49
|
-
license: MIT
|
|
63
|
+
license: MIT AND Apache-2.0
|
|
64
|
+
license_file:
|
|
65
|
+
- LICENSE
|
|
66
|
+
- LICENSE.foundry-sdk
|
|
50
67
|
summary: Command-line access to Palantir Foundry resource operations
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
{% set version = "1.2.0" %}
|
|
2
|
+
|
|
3
|
+
package:
|
|
4
|
+
name: toon-format
|
|
5
|
+
version: {{ version }}
|
|
6
|
+
|
|
7
|
+
source:
|
|
8
|
+
url: https://files.pythonhosted.org/packages/06/9e/88b94e00ae3589130bb2bde233c60b55776deb670cc3d077657d6a8b9a2e/toon_format-1.2.0.tar.gz
|
|
9
|
+
sha256: ed09c0cb8ba58f17372f876df1e43400d2d916aef67c641f152d8a28c5898669
|
|
10
|
+
|
|
11
|
+
build:
|
|
12
|
+
number: 0
|
|
13
|
+
noarch: python
|
|
14
|
+
script: {{ PYTHON }} -m pip install . --no-deps --no-build-isolation
|
|
15
|
+
|
|
16
|
+
requirements:
|
|
17
|
+
host:
|
|
18
|
+
- python >=3.10
|
|
19
|
+
- pip
|
|
20
|
+
- uv-build >=0.12.20,<0.13
|
|
21
|
+
run:
|
|
22
|
+
- python >=3.10
|
|
23
|
+
|
|
24
|
+
test:
|
|
25
|
+
imports:
|
|
26
|
+
- toon_format
|
|
27
|
+
commands:
|
|
28
|
+
- >-
|
|
29
|
+
python -c "import toon_format; value = [{'name': 'comma,value', 'enabled': True, 'empty': None}]; assert toon_format.loads(toon_format.dumps(value)) == value"
|
|
30
|
+
|
|
31
|
+
about:
|
|
32
|
+
home: https://github.com/toon-format/toon-python
|
|
33
|
+
license: MIT
|
|
34
|
+
license_file: LICENSE
|
|
35
|
+
summary: Official Python implementation of Token-Oriented Object Notation
|
|
@@ -8,9 +8,9 @@ dynamic = ["version"]
|
|
|
8
8
|
description = "Foundry CLI - 33 operations across 5 resource clients"
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
requires-python = ">=3.11"
|
|
11
|
-
license = "MIT"
|
|
12
|
-
license-files = ["LICENSE"]
|
|
13
|
-
# Classifiers must be consistent with the
|
|
11
|
+
license = "MIT AND Apache-2.0"
|
|
12
|
+
license-files = ["LICENSE", "LICENSE.foundry-sdk"]
|
|
13
|
+
# Classifiers must be consistent with the license expression above and
|
|
14
14
|
# the `requires-python` floor (3.11). Twine check enforces this consistency.
|
|
15
15
|
classifiers = [
|
|
16
16
|
"Programming Language :: Python :: 3",
|
|
@@ -23,6 +23,7 @@ dependencies = [
|
|
|
23
23
|
"foundry-platform-sdk>=1.0.0",
|
|
24
24
|
"python-dotenv>=1.0.0",
|
|
25
25
|
"requests>=2.31.0",
|
|
26
|
+
"toon-format==1.2.0",
|
|
26
27
|
]
|
|
27
28
|
|
|
28
29
|
[project.urls]
|
|
@@ -18,7 +18,7 @@ version_tuple: tuple[int | str, ...]
|
|
|
18
18
|
commit_id: str | None
|
|
19
19
|
__commit_id__: str | None
|
|
20
20
|
|
|
21
|
-
__version__ = version = '0.1.
|
|
22
|
-
__version_tuple__ = version_tuple = (0, 1,
|
|
21
|
+
__version__ = version = '0.1.6'
|
|
22
|
+
__version_tuple__ = version_tuple = (0, 1, 6)
|
|
23
23
|
|
|
24
|
-
__commit_id__ = commit_id = '
|
|
24
|
+
__commit_id__ = commit_id = 'gef3c6cc26'
|