Martin Weinelt
272430c823
treewide: migrate python packages to optional-dependencies
...
This follows the term used by PEP 621.
2 years ago
Martin Weinelt
beb649f5d1
home-assistant: 2022.4.3 -> 2022.4.4
...
https://github.com/home-assistant/core/releases/tag/2022.4.4
2 years ago
Martin Weinelt
7cf8a80c3a
home-assistant: 2022.4.2 -> 2022.4.3
...
https://github.com/home-assistant/core/releases/tag/2022.4.3
Fixes a small statistical mishap in the requirements parser.
2 years ago
Martin Weinelt
ce697cdfa8
home-assistant: allow requirements parser to deal with extras
2 years ago
Graham Bennett
dfca3ba25b
home-assistant: add fiblary3 dependency for fibaro
...
This is now packaged (python3Packages.fiblary3-fork).
2 years ago
Robert Schütz
2e8071c4e2
home-assistant: revamp manual package choosing
2 years ago
Robert Schütz
61265ec0b4
home-assistant: outsource component tests
...
A component's tests can now be run by building
home-assistant.tests.components.${component}
Co-authored-by: Martin Weinelt <hexa@darmstadt.ccc.de>
2 years ago
Martin Weinelt
feb634ba0c
home-assistant: handle disabled components
2 years ago
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.
3 years ago
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.
3 years ago
Robert Schütz
0773125628
home-assistant: make parse-requirements.py print the percentage of supported components
3 years ago
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.
3 years ago
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'}
3 years ago
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.
3 years ago
Martin Weinelt
dd2dd1f39a
home-assistant: list outdated libs in parse-requirements.py
3 years ago
Robert Schütz
87dc37562b
home-assistant: don't mark home-assistant-frontend as missing
3 years ago
Fabian Affolter
a068a3b47c
home-assistant: set preference for whois module in parse-requirements.py
3 years ago
Fabian Affolter
61f383851e
home-assistant: fix typo in parse-requirements.py
3 years ago
Jörg Thalheim
c2fca99f97
Revert "Merge branch 'master' into staging-next"
...
This reverts commit f19b7b03a0
, reversing
changes made to 572a864d02
.
Sorry. I pushed the wrong staging-next (the one that had my master
merged in). This was not intended.
3 years ago
Jörg Thalheim
ce025026ac
homeassistant: add package substitute for feedparser
3 years ago
Martin Weinelt
e06e699c84
home-assistant: fix list spacing in component packages
4 years ago
Martin Weinelt
cc4fd57df9
home-assistant: find packages that use extra_require
4 years ago
Jörg Thalheim
d9068791d9
home-assistant: also collect after_dependencies
4 years ago
Jörg Thalheim
940c4fc4c6
home-assistant: 0.108.7 -> 0.109.0
4 years ago
Jörg Thalheim
02becde898
home-assistant: 0.107.7 -> 0.108.2
4 years ago
Jörg Thalheim
93a0ec6b59
home-assistant: fix parse-requirements.py for newer home-assistant versions
4 years ago
Jörg Thalheim
9497ce5dd3
homeassistant/parse-requirements: run mypy check
4 years ago
Jörg Thalheim
de1119f5fb
home-assistant/parse-requirements: write missing deps to component-packages.nix
4 years ago
Jörg Thalheim
0cf1e8ee05
homeassistant: reformat parse-requirements.py with black
4 years ago
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
4 years ago
Peter Hoeg
892fff48fd
home-assistant: 0.96.2 -> 0.99.2
5 years ago
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 .
5 years ago
Robert Schütz
dc39d02e00
home-assistant: allow beta versions in parse-requirements.py
5 years ago
Robert Schütz
9a70a1842c
home-assistant: 0.84.6 -> 0.85.0
5 years ago
Robert Schütz
dbceff85b9
home-assistant: 0.81.5 -> 0.82.0
6 years ago
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.
6 years ago
Robert Schütz
0dd8ab714f
home-assistant: update description of parse-requirements.py
6 years ago
Robert Schütz
a29518707d
home-assistant: support requirements specified by URL
6 years ago
Robert Schütz
2be9833d6a
home-assistant: sort packages alphabetically
6 years ago
Robert Schütz
b1aa2b7890
home-assistant: include requirements of dependencies
6 years ago
Robert Schütz
3807a0d526
home-assistant: deal with multiple packages matching requirement
6 years ago
Robert Schütz
51d1aad9f3
home-assistant: treat "-" and "_" equally in parse-requirements.py
6 years ago
Robert Schütz
f198ca19d9
home-assistant: support requirements that are commented out
6 years ago
Peter Hoeg
749d280c2c
home-assistant: support requirements specified by url
6 years ago
Peter Hoeg
ec4575f7c1
home-assistant: sort components when writing them out
6 years ago
Robert Schütz
b1603e951e
home-assistant: make parse-requirements.py detect more packages
6 years ago
Robert Schütz
78c2ca326e
home-assistant: compute extraComponents from config
6 years ago