Commit Graph

897380 Commits

Author SHA1 Message Date
Yohann Boniface
418656875d liboqs: 0.14.0 -> 0.15.0 (#461990) 2025-11-16 21:51:21 +00:00
Robert Schütz
0f06078c6f home-assistant: skip another flaky test
Multiple people have seen failures like this:

    _________________ test_platform_multiple_triggers[sync_action] _________________
    [gw6] linux -- Python 3.13.9 /nix/store/7gl4khq26h625mpqzkiiqsify3hclar1-python3-3.13.9/bin/python3.13

    hass = <HomeAssistant RUNNING>
    action_method = <bound method TriggerActionFunctionTypeHelper.sync_action of <tests.helpers.test_trigger.TriggerActionFunctionTypeHelper object at 0x7fffa6c58550>>

        @pytest.mark.parametrize("action_method", ["cb_action", "sync_action", "async_action"])
        async def test_platform_multiple_triggers(
            hass: HomeAssistant, action_method: str
        ) -> None:
            """Test a trigger platform with multiple trigger."""

            class MockTrigger(Trigger):
                """Mock trigger."""

                @classmethod
                async def async_validate_config(
                    cls, hass: HomeAssistant, config: ConfigType
                ) -> ConfigType:
                    """Validate config."""
                    return config

            class MockTrigger1(MockTrigger):
                """Mock trigger 1."""

                async def async_attach_runner(
                    self, run_action: TriggerActionRunner
                ) -> CALLBACK_TYPE:
                    """Attach a trigger."""
                    run_action({"extra": "test_trigger_1"}, "trigger 1 desc")

            class MockTrigger2(MockTrigger):
                """Mock trigger 2."""

                async def async_attach_runner(
                    self, run_action: TriggerActionRunner
                ) -> CALLBACK_TYPE:
                    """Attach a trigger."""
                    run_action({"extra": "test_trigger_2"}, "trigger 2 desc")

            async def async_get_triggers(hass: HomeAssistant) -> dict[str, type[Trigger]]:
                return {
                    "_": MockTrigger1,
                    "trig_2": MockTrigger2,
                }

            mock_integration(hass, MockModule("test"))
            mock_platform(hass, "test.trigger", Mock(async_get_triggers=async_get_triggers))

            config_1 = [{"platform": "test"}]
            config_2 = [{"platform": "test.trig_2", "options": {"x": 1}}]
            config_3 = [{"platform": "test.unknown_trig"}]
            assert await async_validate_trigger_config(hass, config_1) == config_1
            assert await async_validate_trigger_config(hass, config_2) == config_2
            with pytest.raises(
                vol.Invalid, match="Invalid trigger 'test.unknown_trig' specified"
            ):
                await async_validate_trigger_config(hass, config_3)

            log_cb = MagicMock()

            action_helper = TriggerActionFunctionTypeHelper()
            action_method = getattr(action_helper, action_method)

            await async_initialize_triggers(hass, config_1, action_method, "test", "", log_cb)
    >       assert len(action_helper.action_calls) == 1
    E       assert 0 == 1
    E        +  where 0 = len([])
    E        +    where [] = <tests.helpers.test_trigger.TriggerActionFunctionTypeHelper object at 0x7fffa6c58550>.action_calls

    MockTrigger = <class 'tests.helpers.test_trigger.test_platform_multiple_triggers.<locals>.MockTrigger'>
    MockTrigger1 = <class 'tests.helpers.test_trigger.test_platform_multiple_triggers.<locals>.MockTrigger1'>
    MockTrigger2 = <class 'tests.helpers.test_trigger.test_platform_multiple_triggers.<locals>.MockTrigger2'>
    action_helper = <tests.helpers.test_trigger.TriggerActionFunctionTypeHelper object at 0x7fffa6c58550>
    action_method = <bound method TriggerActionFunctionTypeHelper.sync_action of <tests.helpers.test_trigger.TriggerActionFunctionTypeHelper object at 0x7fffa6c58550>>
    async_get_triggers = <function test_platform_multiple_triggers.<locals>.async_get_triggers at 0x7fff807a32e0>
    config_1   = [{'platform': 'test'}]
    config_2   = [{'options': {'x': 1}, 'platform': 'test.trig_2'}]
    config_3   = [{'platform': 'test.unknown_trig'}]
    hass       = <HomeAssistant RUNNING>
    log_cb     = <MagicMock id='140735954672608'>

    tests/helpers/test_trigger.py:530: AssertionError
2025-11-16 13:45:42 -08:00
Martin Weinelt
b4fef49d1d go2rtc: 1.9.11 -> 1.9.12 (#462351) 2025-11-16 21:43:01 +00:00
nixpkgs-ci[bot]
8f0665eb58 librashader: 0.9.1 -> 0.9.2 (#461891) 2025-11-16 21:41:24 +00:00
dotlambda
29de6e5014 python3Packages.nose2: modernize (#462366) 2025-11-16 21:32:25 +00:00
nixpkgs-ci[bot]
fcb4c6c292 spire: 1.13.2 -> 1.13.3 (#461998) 2025-11-16 21:31:25 +00:00
Arnout Engelen
5333c11b01 x2t: update to 9.1.0 (#462253) 2025-11-16 21:30:31 +00:00
Arnout Engelen
40ef8f9271 nixos/onlyoffice: add simple test (#462114) 2025-11-16 21:29:47 +00:00
R. Ryantm
b95c70f525 xenia-canary: 0-unstable-2025-11-10 -> 0-unstable-2025-11-13 2025-11-16 21:22:10 +00:00
Michele Guerini Rocco
aab616ef8f mkvtoolnix: 95.0 -> 96.0 (#461774) 2025-11-16 21:17:50 +00:00
Silvan Mosberger
1fa094a492 gst_all_1: convert to scope (#455935) 2025-11-16 21:07:07 +00:00
Bryan Honof
ff16356817 gst_all_1: convert to scope
These packages make sense, at least to me, to live inside of a scope. That way
we can also extend the scope with other gst plugins without too much hassel.
2025-11-16 22:01:08 +01:00
R. Ryantm
da2608919c terraform-providers.nutanix_nutanix: 2.3.3 -> 2.3.4 2025-11-16 20:59:58 +00:00
Jo
d632d88f7d gnome49Extensions: Add to all-packages.nix (#462360) 2025-11-16 20:47:23 +00:00
Fabian Affolter
837a29ec03 python313Packages.fastapi-mail: 1.5.0 -> 1.5.8 (#457491) 2025-11-16 20:44:41 +00:00
Fabian Affolter
b8c355a24d python313Packages.fastapi-mail: 1.5.0 -> 1.5.8
Changelog: https://github.com/sabuhish/fastapi-mail/releases/tag/1.5.8
2025-11-16 21:33:17 +01:00
Robert Schütz
2855dc7604 python3Packages.nose2: modernize 2025-11-16 12:32:56 -08:00
Fabian Affolter
52e7c77a1b python313Packages.pyais: 2.13.2 -> 2.13.3 (#462345) 2025-11-16 20:26:46 +00:00
Fabian Affolter
53194779fa python313Packages.ppdeep: 20250625 -> 20251115 (#462343) 2025-11-16 20:25:59 +00:00
dotlambda
8eb5026a64 python3Packages.django-postgres-extra: reduce test dependencies (#462138) 2025-11-16 20:25:43 +00:00
Fabian Affolter
71c76d4249 python313Packages.nicegui-highcharts: 3.0.0 -> 3.1.0 (#462169) 2025-11-16 20:25:14 +00:00
Fabian Affolter
bed6737ea2 python313Packages.griffe: 1.14.0 -> 1.15.0, python313Packages.pytest-gitconfig: init at 0.8.0 (#462168) 2025-11-16 20:24:41 +00:00
Fabian Affolter
85f78a203f python313Packages.iamdata: 0.1.202511141 -> 0.1.202511161 (#462167) 2025-11-16 20:24:23 +00:00
Fabian Affolter
86f3481ecb python313Packages.pygitguardian: 1.26.0 -> 1.27.0 (#462166) 2025-11-16 20:23:53 +00:00
Ryan Hendrickson
208b4602ba hidviz: bump cmake minimum version 2025-11-16 15:23:11 -05:00
Ryan Hendrickson
4d29ae7f2d hidviz: drive-by improvements 2025-11-16 15:23:11 -05:00
R. Ryantm
720d267ece lms: 3.71.0 -> 3.72.0 2025-11-16 20:21:08 +00:00
Anders Kaseorg
967465fdfd gnome49Extensions: Add to all-packages.nix
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
2025-11-16 12:18:03 -08:00
Fabian Affolter
9a3711f30a python313Packages.subarulink: 0.7.16 -> 0.7.17 (#461723) 2025-11-16 20:17:33 +00:00
Nikolay Korotkiy
40c8101871 stac-validator: 3.10.1 -> 3.10.2 (#462334) 2025-11-16 20:17:17 +00:00
dotlambda
af552ca3a8 python3Packages.asdf-astropy: reduce test dependencies (#462335) 2025-11-16 20:12:15 +00:00
Fabian Affolter
f6e67a8402 python3Packages.google-cloud-dns: 0.35.1 -> 0.36.0 (#462262) 2025-11-16 20:07:24 +00:00
Fabian Affolter
6e95923640 python313Packages.airtouch5py: modernize 2025-11-16 21:06:52 +01:00
Robert Schütz
e8aa20f063 python3Packages.pyoprf: make meta.homepage point to subdir 2025-11-16 12:00:52 -08:00
Fabian Affolter
931071fb9a python313Packages.google-cloud-dns: remove disabled 2025-11-16 20:58:41 +01:00
Robert Schütz
7b1276525f python3Packages.pyoprf: fix loading liboprf-noiseXK 2025-11-16 11:58:18 -08:00
R. Ryantm
36be533fda go2rtc: 1.9.11 -> 1.9.12 2025-11-16 19:57:19 +00:00
R. Ryantm
ab0f56722e goawk: 1.30.0 -> 1.30.1 2025-11-16 19:57:12 +00:00
Fabian Affolter
aeca09184a python3Packages.pydal: 20251018.1 -> 20251115.1 (#462126) 2025-11-16 19:55:01 +00:00
Fabian Affolter
71975849ae python3Packages.garminconnect: 0.2.33 -> 0.2.34 (#462170) 2025-11-16 19:54:36 +00:00
nixpkgs-ci[bot]
f5bb9a7733 kubectl-tree: 0.4.3 -> 0.4.6 (#462110) 2025-11-16 19:52:51 +00:00
Fabian Affolter
0818614134 python313Packages.pyais: 2.13.2 -> 2.13.3
Diff: https://github.com/M0r13n/pyais/compare/v2.13.2...v2.13.3

Changelog: https://github.com/M0r13n/pyais/blob/v2.13.3/CHANGELOG.txt
2025-11-16 20:48:37 +01:00
Fabian Affolter
f7718a9c24 python313Packages.ppdeep: 20250625 -> 20251115 2025-11-16 20:46:45 +01:00
Fabian Affolter
ad52d81867 python3Packages.azure-mgmt-netapp: 13.7.0 -> 14.0.0 (#462148) 2025-11-16 19:44:49 +00:00
Fabian Affolter
70f487241a python313Packages.garminconnect: remove disabled 2025-11-16 20:43:51 +01:00
dotlambda
c5d103fcdf python3Packages.flask-sqlalchemy-lite: 0.1.0 -> 0.2.0 (#462112) 2025-11-16 19:40:00 +00:00
Robert Schütz
5073d5c342 python3Packages.asdf-astropy: reduce test dependencies 2025-11-16 11:29:14 -08:00
h7x4
256e2076ea tsidp: 0.0.4 -> 0.0.6, tsidp: add nix-update-script (#457010) 2025-11-16 19:24:43 +00:00
Fernando Rodrigues
541de1f95d starship: 1.24.0 -> 1.24.1 (#462227) 2025-11-16 19:23:17 +00:00
R. Ryantm
721abb6e2d stac-validator: 3.10.1 -> 3.10.2 2025-11-16 19:20:40 +00:00