1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-22 13:41:26 +00:00
Commit graph

37 commits

Author SHA1 Message Date
Robert Schütz 1b498a2e14 home-assistant: don't treat frontend specially in parse-requirements.py
Since we now consider the package set as overridden by home-assistant,
home-assistant-frontend is part of it.
2021-06-16 10:36:20 +02:00
Martin Weinelt 0ba779b869
home-assistant: evaluate outdated dependencies based on our package set
Home Assistant overwrites a bunch of dependencies resulting in an
overridden python package set. Expose that via passthru as
`home-assistant.python.pkgs` and use that in parse-requirements.py,
so we take overridden versions into consideration.
2021-06-15 18:26:53 +02:00
Robert Schütz 0773125628 home-assistant: make parse-requirements.py print the percentage of supported components 2021-06-15 13:54:55 +02:00
Robert Schütz 9b51b47902 home-assistant: make parse-requirements.py not print missing dependencies
Their number is too high to be useful and the information is still
present in component-packages.nix.
2021-06-15 13:23:48 +02:00
Martin Weinelt b86e821a3a home-assistant: ignore aliases in parse-requirements.py
Fixes duplicate packages found when there is also an alias.
We already account for PEP518 normalization ourselves.

Traceback (most recent call last):
  File "./parse-requirements.py", line 226, in <module>
    main()
  File "./parse-requirements.py", line 174, in main
    attr_path = name_to_attr_path(name, packages)
  File "./parse-requirements.py", line 142, in name_to_attr_path
    assert len(attr_paths) <= 1, "{} matches more than one derivation: {}".format(
AssertionError: google-api-python-client matches more than one derivation: {'python3Packages.google_api_python_client', 'python3Packages.google-api-python-client'}
2021-06-11 11:44:34 +02:00
Martin Weinelt f129df86a1
home-assistant: find unstable versions in parse-requirements.py
Previously unstable versions would not have been found, because the
regular expression was looking for a numeric version after the attribute
name. When the version is however an unstable one, it would start with

> unstable-2021-04-23

and therefore not match the pattern.
2021-04-23 02:00:52 +02:00
Martin Weinelt dd2dd1f39a
home-assistant: list outdated libs in parse-requirements.py 2021-02-03 16:17:33 +01:00
Robert Schütz 87dc37562b home-assistant: don't mark home-assistant-frontend as missing 2021-01-23 22:16:41 +01:00
Fabian Affolter a068a3b47c home-assistant: set preference for whois module in parse-requirements.py 2021-01-05 18:54:05 +01:00
Fabian Affolter 61f383851e home-assistant: fix typo in parse-requirements.py 2021-01-05 18:51:58 +01:00
Martin Weinelt e06e699c84 home-assistant: fix list spacing in component packages 2020-08-29 17:37:55 -07:00
Martin Weinelt cc4fd57df9 home-assistant: find packages that use extra_require 2020-08-29 17:37:55 -07:00
Jörg Thalheim d9068791d9
home-assistant: also collect after_dependencies 2020-06-21 16:08:37 +01:00
Jörg Thalheim 940c4fc4c6
home-assistant: 0.108.7 -> 0.109.0 2020-04-29 16:01:32 +01:00
Jörg Thalheim 02becde898
home-assistant: 0.107.7 -> 0.108.2 2020-04-10 11:17:57 +01:00
Jörg Thalheim 93a0ec6b59
home-assistant: fix parse-requirements.py for newer home-assistant versions 2020-03-11 10:56:24 +00:00
Jörg Thalheim 9497ce5dd3
homeassistant/parse-requirements: run mypy check 2020-02-26 16:38:04 +00:00
Jörg Thalheim de1119f5fb
home-assistant/parse-requirements: write missing deps to component-packages.nix 2020-02-26 16:37:54 +00:00
Jörg Thalheim 0cf1e8ee05
homeassistant: reformat parse-requirements.py with black 2020-02-26 14:53:41 +00:00
Scriptkiddi 2293669674 home-assistant: Add error output for missing deps
Print missing dependencies to the console when running the parse
requirements script. This allows to spot missing packages that could be
added to nixpkgs
2019-12-18 22:24:26 +01:00
Peter Hoeg 892fff48fd home-assistant: 0.96.2 -> 0.99.2 2019-09-25 08:07:30 +08:00
Robert Schütz 3c4ec19cb6 home-assistant: make parse-requirements.py use manifest.json
The way dependencies and requirements are specified was changed upstream
in https://github.com/home-assistant/home-assistant/pull/22699.
2019-05-03 15:47:03 +02:00
Robert Schütz dc39d02e00 home-assistant: allow beta versions in parse-requirements.py 2019-03-04 17:17:33 +01:00
Robert Schütz 9a70a1842c home-assistant: 0.84.6 -> 0.85.0 2019-01-10 11:25:16 +01:00
Robert Schütz dbceff85b9 home-assistant: 0.81.5 -> 0.82.0 2018-11-12 11:21:41 +01:00
Robert Schütz 33be3c4630 home-assistant: 0.75.2 -> 0.76.1
Also simplify the way overrides are defined for better readability
and use the opportunity to introduce a packageOverrides option.
2018-08-21 19:26:54 +02:00
Robert Schütz 0dd8ab714f home-assistant: update description of parse-requirements.py 2018-05-26 16:37:37 +02:00
Robert Schütz a29518707d home-assistant: support requirements specified by URL 2018-05-25 19:41:55 +02:00
Robert Schütz 2be9833d6a home-assistant: sort packages alphabetically 2018-05-25 19:37:12 +02:00
Robert Schütz b1aa2b7890 home-assistant: include requirements of dependencies 2018-05-25 17:31:19 +02:00
Robert Schütz 3807a0d526 home-assistant: deal with multiple packages matching requirement 2018-05-22 15:08:46 +02:00
Robert Schütz 51d1aad9f3 home-assistant: treat "-" and "_" equally in parse-requirements.py 2018-04-09 16:45:28 +02:00
Robert Schütz f198ca19d9 home-assistant: support requirements that are commented out 2018-04-05 10:16:16 +02:00
Peter Hoeg 749d280c2c home-assistant: support requirements specified by url 2018-04-05 10:16:16 +02:00
Peter Hoeg ec4575f7c1 home-assistant: sort components when writing them out 2018-02-27 17:15:26 +08:00
Robert Schütz b1603e951e home-assistant: make parse-requirements.py detect more packages 2018-02-10 23:18:41 +01:00
Robert Schütz 78c2ca326e home-assistant: compute extraComponents from config 2018-02-02 09:48:50 +01:00