Fix dependencies
modules/homeassistant-package.scm
29 | 29 | ||
30 | 30 | ;;; Dependencies for empty configuration | |
31 | 31 | ||
32 | - | (define-public python-aiohttp-for-homeassistant | |
33 | - | (package | |
34 | - | (inherit python-aiohttp) | |
35 | - | (version "3.8.5") | |
36 | - | (source | |
37 | - | (origin | |
38 | - | (method url-fetch) | |
39 | - | (uri (pypi-uri "aiohttp" version)) | |
40 | - | (sha256 | |
41 | - | (base32 "1g6hqz8w18sc37npdl6wl8gfa0knmycarisajkqxniy15k2jwmdr")))))) | |
42 | - | ||
43 | 32 | (define-public python-astral-for-homeassistant | |
44 | 33 | (package | |
45 | 34 | (inherit python-astral) | |
… | |||
531 | 520 | (description "Convert voluptuous schemas to dictionaries.") | |
532 | 521 | (license license:asl2.0))) | |
533 | 522 | ||
534 | - | (define-public python-yarl-for-homeassistant | |
535 | - | (package | |
536 | - | (inherit python-yarl) | |
537 | - | (version "1.9.2") | |
538 | - | (source | |
539 | - | (origin | |
540 | - | (method url-fetch) | |
541 | - | (uri (pypi-uri "yarl" version)) | |
542 | - | (sha256 | |
543 | - | (base32 "0w9mh8851i7chig0vab5djcxyz5p2y9zxay207c0cz2qkx5rvaq4")))))) | |
544 | - | ||
545 | 523 | ;;; Dependencies from homeassistant/package_constraints.txt | |
546 | 524 | ||
547 | 525 | (define-public python-aiohttp-cors | |
… | |||
557 | 535 | (build-system pyproject-build-system) | |
558 | 536 | (arguments (list #:tests? #f)) | |
559 | 537 | (native-inputs (list python-setuptools python-wheel)) | |
560 | - | (propagated-inputs (list python-aiohttp-for-homeassistant)) | |
538 | + | (propagated-inputs (list python-aiohttp)) | |
561 | 539 | (home-page "https://github.com/aio-libs/aiohttp-cors") | |
562 | 540 | (synopsis "CORS support for aiohttp") | |
563 | 541 | (description "CORS support for aiohttp.") | |
… | |||
612 | 590 | (sha256 | |
613 | 591 | (base32 "1fa0lm90sibdzwi0hk5b47k68fhjpvh68vgg287ffsxl7sq34ki2")))) | |
614 | 592 | (build-system pyproject-build-system) | |
615 | - | (native-inputs (list python-poetry-core)))) | |
593 | + | (arguments (list #:tests? #f)) | |
594 | + | (native-inputs (list python-poetry-core python-setuptools)))) | |
616 | 595 | ||
617 | 596 | (define-public python-aiodiscover | |
618 | 597 | (package | |
… | |||
694 | 673 | #:phases #~(modify-phases %standard-phases | |
695 | 674 | (delete 'sanity-check)))) | |
696 | 675 | (native-inputs (list python-setuptools python-wheel)) | |
697 | - | (propagated-inputs (list python-aiohttp-for-homeassistant | |
676 | + | (propagated-inputs (list python-aiohttp | |
698 | 677 | python-async-timeout | |
699 | 678 | python-defusedxml | |
700 | 679 | python-didl-lite | |
… | |||
793 | 772 | (license license:asl2.0))) | |
794 | 773 | ||
795 | 774 | (define-public python-pycognito | |
796 | - | ((options->transformation '((without-tests . "python-jose"))) | |
797 | - | (package | |
798 | - | (name "python-pycognito") | |
799 | - | (version "2022.12.0") | |
800 | - | (source | |
801 | - | (origin | |
802 | - | (method url-fetch) | |
803 | - | (uri (pypi-uri "pycognito" version)) | |
804 | - | (sha256 | |
805 | - | (base32 "0byr2daq3xggddafgliv5k8psbx1swrkd476wwp98qiq1x10gk29")))) | |
806 | - | (build-system pyproject-build-system) | |
807 | - | (arguments (list #:tests? #f)) | |
808 | - | (native-inputs (list python-setuptools python-wheel)) | |
809 | - | (propagated-inputs (list python-boto3 | |
810 | - | python-envs | |
811 | - | python-jose | |
812 | - | python-requests-for-homeassistant)) | |
813 | - | (home-page "https://github.com/pvizeli/pycognito") | |
814 | - | (synopsis | |
815 | - | "Python class to integrate Boto3's Cognito client so it is easy to login users. With SRP support.") | |
816 | - | (description | |
817 | - | "Python class to integrate Boto3's Cognito client so it is easy to login users. | |
818 | - | With SRP support.") | |
819 | - | (license license:asl2.0)))) | |
775 | + | (package | |
776 | + | (name "python-pycognito") | |
777 | + | (version "2022.12.0") | |
778 | + | (source | |
779 | + | (origin | |
780 | + | (method url-fetch) | |
781 | + | (uri (pypi-uri "pycognito" version)) | |
782 | + | (sha256 | |
783 | + | (base32 "0byr2daq3xggddafgliv5k8psbx1swrkd476wwp98qiq1x10gk29")))) | |
784 | + | (build-system pyproject-build-system) | |
785 | + | (arguments (list #:tests? #f)) | |
786 | + | (native-inputs (list python-setuptools python-wheel)) | |
787 | + | (propagated-inputs (list python-boto3 | |
788 | + | python-envs | |
789 | + | python-jose | |
790 | + | python-requests-for-homeassistant)) | |
791 | + | (home-page "https://github.com/pvizeli/pycognito") | |
792 | + | (synopsis | |
793 | + | "Python class to integrate Boto3's Cognito client so it is easy to | |
794 | + | login users. With SRP support.") | |
795 | + | (description | |
796 | + | "Python class to integrate Boto3's Cognito client so it is easy to | |
797 | + | login users. With SRP support.") | |
798 | + | (license license:asl2.0))) | |
820 | 799 | ||
821 | 800 | (define-public python-snitun | |
822 | 801 | (package | |
… | |||
830 | 809 | (base32 "0kyqzghh273fy81jrxqgzl0qj8wnn11iz7ay5396hg67ap6blcnb")))) | |
831 | 810 | (build-system pyproject-build-system) | |
832 | 811 | (arguments (list #:tests? #f)) | |
833 | - | (propagated-inputs (list python-aiohttp-for-homeassistant | |
812 | + | (propagated-inputs (list python-aiohttp | |
834 | 813 | python-async-timeout | |
835 | 814 | python-attrs-for-homeassistant | |
836 | 815 | python-cryptography)) | |
… | |||
858 | 837 | (arguments (list #:tests? #f)) | |
859 | 838 | (native-inputs (list python-wheel)) | |
860 | 839 | (propagated-inputs (list python-acme | |
861 | - | python-aiohttp-for-homeassistant | |
840 | + | python-aiohttp | |
862 | 841 | python-atomicwrites-homeassistant | |
863 | 842 | python-attrs-for-homeassistant | |
864 | 843 | python-ciso8601-for-homeassistant | |
… | |||
1014 | 993 | (native-inputs (list python-poetry-core python-setuptools)) | |
1015 | 994 | (propagated-inputs (list python-async-timeout python-ifaddr-for-homeassistant)))) | |
1016 | 995 | ||
1017 | - | (define-public python-sqlalchemy-for-homeassistant | |
1018 | - | (package | |
1019 | - | (inherit python-sqlalchemy-2) | |
1020 | - | (version "2.0.15") | |
1021 | - | (source | |
1022 | - | (origin | |
1023 | - | (method url-fetch) | |
1024 | - | (uri (pypi-uri "SQLAlchemy" version)) | |
1025 | - | (sha256 | |
1026 | - | (base32 "1g4vpv2fijdg69vhsz8zx7v0zpxdb9njm7hd1vhhm1zgb630m51f")))) | |
1027 | - | (native-inputs (modify-inputs (package-native-inputs python-sqlalchemy-2) | |
1028 | - | (append python-wheel))))) | |
996 | + | ;; (define-public python-sqlalchemy-for-homeassistant | |
997 | + | ;; (package | |
998 | + | ;; (inherit python-sqlalchemy-2) | |
999 | + | ;; (version "2.0.15") | |
1000 | + | ;; (source | |
1001 | + | ;; (origin | |
1002 | + | ;; (method url-fetch) | |
1003 | + | ;; (uri (pypi-uri "SQLAlchemy" version)) | |
1004 | + | ;; (sha256 | |
1005 | + | ;; (base32 "1g4vpv2fijdg69vhsz8zx7v0zpxdb9njm7hd1vhhm1zgb630m51f")))) | |
1006 | + | ;; (native-inputs (modify-inputs (package-native-inputs python-sqlalchemy-2) | |
1007 | + | ;; (append python-wheel))))) | |
1029 | 1008 | ||
1030 | 1009 | ;;; Dependencies for default configuration | |
1031 | 1010 | ||
… | |||
1042 | 1021 | (build-system pyproject-build-system) | |
1043 | 1022 | (arguments (list #:tests? #f)) | |
1044 | 1023 | (native-inputs (list python-setuptools python-wheel)) | |
1045 | - | (propagated-inputs (list python-aiohttp-for-homeassistant | |
1024 | + | (propagated-inputs (list python-aiohttp | |
1046 | 1025 | python-async-timeout | |
1047 | 1026 | python-xmltodict python-pytz)) | |
1048 | 1027 | (home-page "https://github.com/Danielhiversen/pyMetno/") | |
… | |||
1101 | 1080 | (arguments (list #:tests? #f)) | |
1102 | 1081 | (native-inputs (list python-poetry-core python-setuptools)) | |
1103 | 1082 | (propagated-inputs (list python-aiodns | |
1104 | - | python-aiohttp-for-homeassistant | |
1083 | + | python-aiohttp | |
1105 | 1084 | python-awesomeversion | |
1106 | 1085 | python-backoff | |
1107 | 1086 | python-cachetools | |
1108 | 1087 | python-mashumaro | |
1109 | 1088 | python-orjson | |
1110 | 1089 | python-pycountry | |
1111 | - | python-yarl-for-homeassistant | |
1090 | + | python-yarl | |
1112 | 1091 | python-pydantic)) | |
1113 | 1092 | (home-page "https://github.com/frenck/python-radios") | |
1114 | 1093 | (synopsis "Asynchronous Python client for the Radio Browser API") | |
… | |||
1153 | 1132 | (add-after 'unpack 'relax-dependencies | |
1154 | 1133 | (lambda _ | |
1155 | 1134 | (substitute* "pyproject.toml" | |
1135 | + | (("aiohttp==3.8.5") | |
1136 | + | "aiohttp>=3.8.5,<4") | |
1156 | 1137 | (("bcrypt==4.0.1") | |
1157 | 1138 | "bcrypt>3") | |
1158 | 1139 | (("cryptography==41.0.1") | |
… | |||
1164 | 1145 | (("async-timeout==4.0.2") | |
1165 | 1146 | "async-timeout>=4.0.2") | |
1166 | 1147 | (("httpx==0.24.1") | |
1167 | - | "httpx>=0.24.1"))))))) | |
1168 | - | (propagated-inputs (list python-aiohttp-for-homeassistant ; aiohttp==3.8.5 | |
1148 | + | "httpx>=0.24.1") | |
1149 | + | (("yarl==1.9.2") | |
1150 | + | "yarl>=1.9.2,<2"))))))) | |
1151 | + | (propagated-inputs (list python-aiohttp ; aiohttp==3.8.5 (relaxed) | |
1169 | 1152 | python-astral-for-homeassistant ; astral==2.2 | |
1170 | 1153 | python-async-timeout ; async-timeout==4.0.2 (relaxed) | |
1171 | 1154 | python-attrs-for-homeassistant ; attrs==22.2.0 | |
… | |||
1191 | 1174 | python-ulid-transform ; ulid-transform==0.7.2 | |
1192 | 1175 | python-voluptuous-for-homeassistant ; voluptuous==0.13.1 | |
1193 | 1176 | python-voluptuous-serialize ; voluptuous-serialize==2.6.0 | |
1194 | - | python-yarl-for-homeassistant ; yarl==1.9.2 | |
1177 | + | python-yarl ; yarl==1.9.2 (relaxed) | |
1195 | 1178 | ||
1196 | 1179 | python-aiohttp-cors ; aiohttp-cors==0.7.0 | |
1197 | 1180 | python-aiodiscover ; aiodiscover==1.4.16 | |
1198 | - | python-sqlalchemy-for-homeassistant ; SQLAlchemy==2.0.15 | |
1181 | + | python-sqlalchemy-2 ; SQLAlchemy==2.0.15 | |
1199 | 1182 | python-home-assistant-intents ; home-assistant-intents==2023.6.28 | |
1200 | 1183 | python-async-upnp-client ; async-upnp-client==0.33.2 | |
1201 | 1184 | python-fnv-hash-fast ; fnv-hash-fast==0.3.1 |