Commit Graph
14542 Commits
Author SHA1 Message Date
Jonathan Ringer f7a112f6c4 Merge remote-tracking branch 'origin/master' into staging-next
Conflicts:
  pkgs/applications/graphics/emulsion/default.nix
  pkgs/development/tools/misc/texlab/default.nix
  pkgs/development/tools/rust/bindgen/default.nix
  pkgs/development/tools/rust/cargo-udeps/default.nix
  pkgs/misc/emulators/ruffle/default.nix
  pkgs/tools/misc/code-minimap/default.nix
2021-05-18 08:57:16 -07:00
Martin Weinelt 27cc2b105f home-assistant: enable tests for components with packaged dependencies 2021-05-18 17:07:32 +02:00
Martin Weinelt 344573771e home-assistant: pin pylast at 4.2.0
The following test failure occurs with 4.2.1, due to `network` not being
allowed to be None after https://github.com/pylast/pylast/commit/6fe9aa632b2147eaf7278230def9ea735eb73f4e.

_________________________ test_update_playing[pyloop] __________________________
[gw20] linux -- Python 3.8.9 /nix/store/hq6mrm0pc6xn6j8y6lm4qcgg9rwmqd8q-python3-3.8.9/bin/python3.8

hass = <homeassistant.core.HomeAssistant object at 0x7ffdcba15700>
lastfm_network = <MagicMock name='LastFMNetwork' id='140728019800752'>

    async def test_update_playing(hass, lastfm_network):
        """Test update when song playing."""

        lastfm_network.return_value.get_user.return_value = MockUser(
>           Track("artist", "title", None)
        )

hass       = <homeassistant.core.HomeAssistant object at 0x7ffdcba15700>
lastfm_network = <MagicMock name='LastFMNetwork' id='140728019800752'>

tests/components/lastfm/test_sensor.py:70:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/nix/store/f0ci60zk59rz5767l9lfy7q767zna6j5-python3.8-pylast-4.2.1/lib/python3.8/site-packages/pylast/__init__.py:2095: in __init__
    super().__init__(artist, title, network, "track", username, info)
        __class__  = <class 'pylast.Track'>
        artist     = 'artist'
        info       = None
        network    = None
        self       = pylast.Track('artist', 'title', None)
        title      = 'title'
        username   = None
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = pylast.Track('artist', 'title', None), artist = 'artist', title = 'title'
network = None, ws_prefix = 'track', username = None, info = {}

    def __init__(self, artist, title, network, ws_prefix, username=None, info=None):
        """
        Create an opus instance.
        # Parameters:
            * artist: An artist name or an Artist object.
            * title: The album or track title.
            * ws_prefix: 'album' or 'track'
        """

        if info is None:
            info = {}

        super().__init__(network=network, ws_prefix=ws_prefix)

        if isinstance(artist, Artist):
            self.artist = artist
        else:
            self.artist = Artist(artist, self.network)

        self.title = title
        self.username = (
>           username if username else network.username
        )  # Default to current user
E       AttributeError: 'NoneType' object has no attribute 'username'

__class__  = <class 'pylast._Opus'>
artist     = 'artist'
info       = {}
network    = None
self       = pylast.Track('artist', 'title', None)
title      = 'title'
username   = None
ws_prefix  = 'track'

/nix/store/f0ci60zk59rz5767l9lfy7q767zna6j5-python3.8-pylast-4.2.1/lib/python3.8/site-packages/pylast/__init__.py:1520: AttributeError
2021-05-18 17:07:30 +02:00
Martin Weinelt a1a1a6b1df home-assistant: pin pyopenuv at 1.0.13 2021-05-18 17:06:54 +02:00
Martin Weinelt f6b1fc2996 home-assistant: pin pyflunearyou at 1.0.7 2021-05-18 16:53:53 +02:00
Fabian Affolter 655b7e57f5 home-assistant: update component-packages 2021-05-18 14:32:42 +02:00
Stéphan Kochen 71ad0ab33d simple-http-server: fix darwin build 2021-05-18 13:51:26 +02:00
Stéphan Kochen 9284a2b99f prometheus-wireguard-exporter: fix darwin build 2021-05-18 13:11:45 +02:00
Stéphan Kochen 5b9bef75e1 prometheus-unbound-exporter: fix darwin build 2021-05-18 13:08:23 +02:00
Yannick Markus 86fd2a5474 bookstack: 21.04.3 -> 21.04.5 2021-05-18 10:43:36 +02:00
Stéphan Kochen 60fcee7e5b unpackerr: fix darwin build 2021-05-18 09:07:09 +02:00
Martin Weinelt 266cdceff7 home-assistant: update component packages with pygatt 2021-05-18 07:42:44 +02:00
Mario Rodas dcd149353d postgresqlPackages.pgvector: 0.1.2 -> 0.1.4 2021-05-18 04:20:00 +00:00
Sandro af2a7fef84 Merge pull request #122820 from NULLx76/unpackerr-init
unpackerr: init at 0.9.4
2021-05-18 03:15:57 +02:00
Sandro 166a930ae8 Merge pull request #123343 from dotlambda/zoneminder-ffmpeg
zoneminder: use ffmpeg instead of ffmpeg_3
2021-05-18 02:07:08 +02:00
Kerstin Humm 08423b97bd osrm-backend: 5.24.0 -> 5.25.0 2021-05-18 02:06:23 +02:00
Sandro 5e21eff612 Merge pull request #123037 from sikmir/reproxy
reproxy: init at 0.5.1
2021-05-18 01:51:14 +02:00
Robert Scott 673aea9f84 Merge pull request #123336 from kalekseev/fix/pipelinedb
postgresqlPackages.pipelinedb: fix darwin build
2021-05-17 22:54:54 +01:00
Konstantin Alekseev 73c7f50dc1 postgresqlPackages.timescaledb: fix darwin build 2021-05-17 13:58:13 -07:00
R. RyanTM 1dd189caea dnsdist: 1.5.1 -> 1.5.2 2021-05-17 13:45:02 -07:00
R. RyanTM 5546f01b5a groonga: 11.0.1 -> 11.0.2 2021-05-17 13:37:49 -07:00
R. RyanTM 91bad1d222 asterisk-module-sccp: 4.3.2-epsilon -> 4.3.4 2021-05-17 13:24:51 -07:00
Martin Weinelt fda6185f75 Merge pull request #123181 from fabaff/ha-philipsjs 2021-05-17 17:47:19 +02:00
Martin Weinelt 2aa7f70d8e Merge pull request #123176 from fabaff/ovoenergy 2021-05-17 17:43:52 +02:00
Martin Weinelt a058bbdec8 Merge pull request #123175 from fabaff/py-canary
python3Packages.py-canary: init 0.5.1
2021-05-17 17:42:58 +02:00
Martin Weinelt 97f0aed2a0 Merge pull request #123174 from fabaff/pydelijn 2021-05-17 17:41:15 +02:00
Martin Weinelt 5cd6410fef Merge pull request #123166 from fabaff/pyobihai 2021-05-17 17:38:08 +02:00
Martin Weinelt c5f1d219a4 Merge pull request #123151 from fabaff/prayer-times-calculator 2021-05-17 17:36:25 +02:00
Martin Weinelt e1e105e72e Merge pull request #123273 from fabaff/aioymaps 2021-05-17 17:35:17 +02:00
Pavol Rusnak b6b90622e8 Merge pull request #123374 from prusnak/blockbook-broken
blockbook: mark as broken
2021-05-17 17:27:34 +02:00
Pavol Rusnakand1000101 35dcb0fe16 blockbook: mark as broken
Co-authored-by: 1000101 <b1000101@pm.me>
2021-05-17 17:26:33 +02:00
Fabian Affolter f9f076aab0 home-assistant: enable yandex_transport tests 2021-05-17 16:58:51 +02:00
Fabian Affolter 8355d5cba4 home-assistant: update component-packages 2021-05-17 16:58:51 +02:00
Jonathan Ringer c227fb4b17 Merge remote-tracking branch 'origin/master' into staging-next
Conflicts:
	pkgs/development/tools/rust/cargo-cache/default.nix
	pkgs/development/tools/rust/cargo-embed/default.nix
	pkgs/development/tools/rust/cargo-flash/default.nix
	pkgs/servers/nosql/influxdb2/default.nix
2021-05-17 07:01:38 -07:00
Maximilian Bosch 0dae433cdc matrix-synapse: 1.33.2 -> 1.34.0
ChangeLog: https://github.com/matrix-org/synapse/releases/tag/v1.34.0
2021-05-17 13:44:48 +02:00
Robert Schütz 3d92fac40e zoneminder: use ffmpeg instead of ffmpeg_3 2021-05-17 11:47:43 +02:00
Konstantin Alekseev 3b86c99835 postgresqlPackages.pipelinedb: fix darwin build 2021-05-17 12:17:30 +03:00
Konstantin Alekseev 0061117c6f postgresqlPackages.postgis: fix darwin build 2021-05-17 11:26:15 +03:00
Stéphan Kochen f37710e94e influxdb2: fix darwin build 2021-05-16 23:53:00 -07:00
Claudio Bley 329ec3d17c influxdb2: 2.0.2 -> 2.0.6
* update libflux to version 0.115.0
* chronograf-ui has been renamed to influxdb-ui
2021-05-16 23:53:00 -07:00
github-actions[bot] 3ff6965554 Merge master into staging-next 2021-05-17 06:22:23 +00:00
Fabian Affolter 468fda7daa home-assistant: enable islamic_prayer_times tests 2021-05-17 08:22:13 +02:00
Fabian Affolter c96787585e home-assistant: update component-packages 2021-05-17 08:22:12 +02:00
Nikolay Korotkiy 536b5f8165 reproxy: init at 0.5.1 2021-05-17 06:38:51 +03:00
Ben Siraphob c5a669d3f7 treewide: remove unzip where not needed 2021-05-16 19:29:28 -07:00
Martin Weinelt 6a5c85e926 Merge pull request #123056 from mweinelt/home-assistant 2021-05-17 03:44:38 +02:00
Martin Weinelt 22437644f9 home-assistant: disable failing test in mobile app component
____________________ test_webhook_handle_get_config[pyloop] ____________________
[gw18] linux -- Python 3.8.9 /nix/store/q6gfck5czr67090pwm53xrdyhpg6bx67-python3-3.8.9/bin/python3.8

hass = <homeassistant.core.HomeAssistant object at 0x7ffe4e71f370>
create_registrations = ({'cloudhook_url': None, 'remote_ui_url': None, 'secret': 'ed8ac650f2b5865733d2cea4ad1b6b02bcfbdcc3e527524bc1c457d5c6f...emote_ui_url': None, 'secret': None, 'webhook_id': '558fde83113d48024a427ccf004e2d2bdf7c56646c6a5a953566c272d51f1bfc'})
webhook_client = <aiohttp.test_utils.TestClient object at 0x7ffe4e640ca0>

    async def test_webhook_handle_get_config(hass, create_registrations, webhook_client):
        """Test that we can get config properly."""
        resp = await webhook_client.post(
            "/api/webhook/{}".format(create_registrations[1]["webhook_id"]),
            json={"type": "get_config"},
        )

        assert resp.status == 200

        json = await resp.json()
        if "components" in json:
            json["components"] = set(json["components"])
        if "allowlist_external_dirs" in json:
            json["allowlist_external_dirs"] = set(json["allowlist_external_dirs"])

        hass_config = hass.config.as_dict()

        expected_dict = {
            "latitude": hass_config["latitude"],
            "longitude": hass_config["longitude"],
            "elevation": hass_config["elevation"],
            "unit_system": hass_config["unit_system"],
            "location_name": hass_config["location_name"],
            "time_zone": hass_config["time_zone"],
            "components": hass_config["components"],
            "version": hass_config["version"],
            "theme_color": "#03A9F4",  # Default frontend theme color
        }

>       assert expected_dict == json
E       AssertionError: assert {'components'...st home', ...} == {'components'...st home', ...}
E         Omitting 8 identical items, use -vv to show
E         Differing items:
E         {'theme_color': '#03A9F4'} != {'theme_color': 'blue'}
E         Use -v to get the full diff

tests/components/mobile_app/test_webhook.py:231: AssertionError
2021-05-17 03:44:03 +02:00
Jonathan Ringer d8e62d8e41 Merge remote-tracking branch 'origin/master' into staging-next
Fix cargo-flash build
2021-05-16 18:27:14 -07:00
Peter Hoeg 3ed9ed81ab gerbera: 1.8.0 -> 1.8.1 2021-05-17 09:10:16 +08:00
Sandro 700942d2a5 Merge pull request #121119 from SuperSandro2000/remove-gnidorah
treewide: remove gnidorah
2021-05-17 02:42:24 +02:00