Merge pull request #127182 from mweinelt/python39-things

This commit is contained in:
Martin Weinelt 2021-06-17 14:37:29 +02:00 committed by GitHub
commit fbd8a57b52
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 4 additions and 19 deletions

View file

@ -16,7 +16,6 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "aioguardian"; pname = "aioguardian";
version = "1.0.7"; version = "1.0.7";
disabled = pythonAtLeast "3.9";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "bachya"; owner = "bachya";

View file

@ -13,7 +13,6 @@ buildPythonPackage rec {
pname = "aiohomekit"; pname = "aiohomekit";
version = "0.2.67"; version = "0.2.67";
format = "pyproject"; format = "pyproject";
disabled = pythonAtLeast "3.9";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "Jc2k"; owner = "Jc2k";

View file

@ -14,7 +14,6 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "pytile"; pname = "pytile";
version = "5.2.1"; version = "5.2.1";
disabled = pythonAtLeast "3.9";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "bachya"; owner = "bachya";

View file

@ -8,12 +8,12 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "typing-inspect"; pname = "typing-inspect";
version = "0.6.0"; version = "0.7.1";
src = fetchPypi { src = fetchPypi {
inherit version; inherit version;
pname = "typing_inspect"; pname = "typing_inspect";
sha256 = "1dzs9a1pr23dhbvmnvms2jv7l7jk26023g5ysf0zvnq8b791s6wg"; sha256 = "1al2lyi3r189r5xgw90shbxvd88ic4si9w7n3d9lczxiv6bl0z84";
}; };
propagatedBuildInputs = [ propagatedBuildInputs = [
@ -26,6 +26,5 @@ buildPythonPackage rec {
homepage = "https://github.com/ilevkivskyi/typing_inspect"; homepage = "https://github.com/ilevkivskyi/typing_inspect";
license = licenses.mit; license = licenses.mit;
maintainers = with maintainers; [ albakham ]; maintainers = with maintainers; [ albakham ];
broken = isPy39; # see https://github.com/ilevkivskyi/typing_inspect/issues/65
}; };
} }

View file

@ -134,19 +134,6 @@ let
}); });
}) })
# Remove after https://github.com/NixOS/nixpkgs/pull/121854 has passed staging-next
(self: super: {
sqlalchemy = super.sqlalchemy.overridePythonAttrs (oldAttrs: rec {
version = "1.4.13";
src = oldAttrs.src.override {
inherit version;
sha256 = "0npsg38d11skv04zvsi90j93f6jdgm8666ds2ri7shr1pz1732hx";
};
patches = [];
propagatedBuildInputs = [ python3.pkgs.greenlet ];
});
})
# home-assistant-frontend does not exist in python3.pkgs # home-assistant-frontend does not exist in python3.pkgs
(self: super: { (self: super: {
home-assistant-frontend = self.callPackage ./frontend.nix { }; home-assistant-frontend = self.callPackage ./frontend.nix { };
@ -783,6 +770,8 @@ in with py.pkgs; buildPythonApplication rec {
# onboarding tests rpi_power component, for which we are lacking rpi_bad_power library # onboarding tests rpi_power component, for which we are lacking rpi_bad_power library
"test_onboarding_core_sets_up_rpi_power" "test_onboarding_core_sets_up_rpi_power"
"test_onboarding_core_no_rpi_power" "test_onboarding_core_no_rpi_power"
# hue/test_sensor_base.py: Race condition when counting events
"test_hue_events"
]; ];
preCheck = '' preCheck = ''