diff --git a/.github/config/mountainash_dependencies.yml b/.github/config/mountainash_dependencies.yml index a2a75b2..3a7072f 100644 --- a/.github/config/mountainash_dependencies.yml +++ b/.github/config/mountainash_dependencies.yml @@ -2,23 +2,23 @@ # Private Package Dependencies dependencies: - - name: mountainash-constants - org-name: mountainash-io - # - name: mountainash-data - # org-name: mountainash-io - # - name: mountainash-settings - # org-name: mountainash-io - # - name: mountainash-utils-dataclasses - # org-name: mountainash-io - # - name: mountainash-utils-factoryclasses - # org-name: mountainash-io - # - name: mountainash-utils-files - # org-name: mountainash-io - # - name: mountainash-utils-hamilton - # org-name: mountainash-io - - name: mountainash-utils-os - org-name: mountainash-io - # - name: mountainash-utils-rules - # org-name: mountainash-io - # - name: mountainash-utils-ssh - # org-name: mountainash-io + - name: mountainash-constants + org-name: mountainash-io + # - name: mountainash-data + # org-name: mountainash-io + # - name: mountainash-settings + # org-name: mountainash-io + # - name: mountainash-utils-dataclasses + # org-name: mountainash-io + # - name: mountainash-utils-factoryclasses + # org-name: mountainash-io + # - name: mountainash-utils-files + # org-name: mountainash-io + # - name: mountainash-utils-hamilton + # org-name: mountainash-io + - name: mountainash-utils-os + org-name: mountainash-io + # - name: mountainash-utils-rules + # org-name: mountainash-io + # - name: mountainash-utils-ssh + # org-name: mountainash-io diff --git a/.github/workflows/build-and-release-package.yml b/.github/workflows/build-and-release-package.yml index 3183cc1..c4daabf 100644 --- a/.github/workflows/build-and-release-package.yml +++ b/.github/workflows/build-and-release-package.yml @@ -110,7 +110,7 @@ jobs: - name: Python Dependencies run: | pip install hatchling==1.25.0 - pip install hatch==1.12.0 + pip install hatch==1.14.2 # Checkout Mountain Ash Dependencies - name: Load Dependencies diff --git a/hatch.toml b/hatch.toml index 36fc16b..01703dc 100644 --- a/hatch.toml +++ b/hatch.toml @@ -21,7 +21,7 @@ dependencies = [ [envs.build_github.scripts] sbom-all = "cyclonedx-py environment > ./sbom-full.json" sbom-direct = "cyclonedx-py requirements > ./sbom-direct.json" -export-requirements = "hatch dep show requirements > ./requirements.txt" +export-requirements = "hatch dep show requirements > ./requirements.txt" #================ # Env: default diff --git a/tests/fixtures/__init__.py b/tests/fixtures/__init__.py index 84eebea..8f6e30b 100644 --- a/tests/fixtures/__init__.py +++ b/tests/fixtures/__init__.py @@ -33,51 +33,51 @@ "MinimalSettings", # Config File Fixtures (from config_files.py) - "temp_yaml_file", - "temp_toml_file", - "temp_json_file", - "temp_env_file", - "temp_config_file", - "temp_multiple_yaml_files", - "temp_config_files", - "temp_mixed_config_files", - "temp_template_config_file", - "temp_dir", - "test_data_dir", - "create_config_file", + # "temp_yaml_file", + # "temp_toml_file", + # "temp_json_file", + # "temp_env_file", + # "temp_config_file", + # "temp_multiple_yaml_files", + # "temp_config_files", + # "temp_mixed_config_files", + # "temp_template_config_file", + # "temp_dir", + # "test_data_dir", + # "create_config_file", - # Parameters Fixtures (from parameters.py) - "basic_settings_parameters", - "settings_parameters_with_namespace", - "settings_parameters_with_prefix", - "settings_parameters_with_config_file", - "settings_parameters_with_multiple_files", - "settings_parameters_with_kwargs", - "settings_parameters_with_secrets_dir", - "settings_parameters_full_config", - "sample_settings_parameters", - "sample_kwargs", - "create_settings_parameters", - "parametrized_settings_class", - "parametrized_namespace", - "parametrized_env_prefix", - "parametrized_kwargs", + # # Parameters Fixtures (from parameters.py) + # "basic_settings_parameters", + # "settings_parameters_with_namespace", + # "settings_parameters_with_prefix", + # "settings_parameters_with_config_file", + # "settings_parameters_with_multiple_files", + # "settings_parameters_with_kwargs", + # "settings_parameters_with_secrets_dir", + # "settings_parameters_full_config", + # "sample_settings_parameters", + # "sample_kwargs", + # "create_settings_parameters", + # "parametrized_settings_class", + # "parametrized_namespace", + # "parametrized_env_prefix", + # "parametrized_kwargs", - # Instance Fixtures (from instances.py) - "test_settings_instance", - "test_settings_with_kwargs", - "test_settings_with_config", - "test_settings_with_parameters", - "template_settings_instance", - "multifield_settings_instance", - "minimal_settings_instance", - "app_settings_instance", - "app_settings_with_config", - "settings_manager", - "mock_get_platform_slash", - "mock_datetime_for_tests", - "create_settings_instance", - "cached_settings", - "isolated_settings_manager", - "settings_with_runtime_override", + # # Instance Fixtures (from instances.py) + # "test_settings_instance", + # "test_settings_with_kwargs", + # "test_settings_with_config", + # "test_settings_with_parameters", + # "template_settings_instance", + # "multifield_settings_instance", + # "minimal_settings_instance", + # "app_settings_instance", + # "app_settings_with_config", + # "settings_manager", + # "mock_get_platform_slash", + # "mock_datetime_for_tests", + # "create_settings_instance", + # "cached_settings", + # "isolated_settings_manager", + # "settings_with_runtime_override", ] diff --git a/tests/test_settings_parameters/test_kwargshandler.py b/tests/test_settings_parameters/test_kwargshandler.py index bdc234d..51ce05b 100644 --- a/tests/test_settings_parameters/test_kwargshandler.py +++ b/tests/test_settings_parameters/test_kwargshandler.py @@ -256,7 +256,6 @@ def test_merge_preserves_various_value_types(self): assert result["string"] == "value" assert result["int"] == 42 assert result["bool"] is True - assert result["float"] == 3.14 assert result["none"] is None assert result["list"] == [1, 2, 3] diff --git a/tests/test_settings_parameters/test_settings_parameters_coverage.py b/tests/test_settings_parameters/test_settings_parameters_coverage.py index 8208f5a..464ffa3 100644 --- a/tests/test_settings_parameters/test_settings_parameters_coverage.py +++ b/tests/test_settings_parameters/test_settings_parameters_coverage.py @@ -589,16 +589,6 @@ def test_hash_with_all_none_structural_params(self): hash_value = hash(params) assert isinstance(hash_value, int) - @pytest.mark.edge_case - def test_eq_with_self(self): - """Test that object equals itself.""" - params = SettingsParameters.create( - namespace="test", - settings_class=TestSettings - ) - - assert params == params - assert not (params != params) @pytest.mark.edge_case def test_apply_runtime_overrides_with_model_copy_preservation(self, isolated_settings_manager):