Merge pull request #209900 from dotlambda/python311-fixes

authored by

Martin Weinelt and committed by
GitHub
c3115ee2 e3c70611

+20 -17
+3 -10
pkgs/development/python-modules/anyio/default.nix
··· 21 21 22 22 buildPythonPackage rec { 23 23 pname = "anyio"; 24 - version = "3.5.0"; 24 + version = "3.6.2"; 25 25 format = "pyproject"; 26 26 disabled = pythonOlder "3.7"; 27 27 ··· 29 29 owner = "agronholm"; 30 30 repo = pname; 31 31 rev = version; 32 - sha256 = "sha256-AZ9M/NBCBlMIUpRJgKbJRL/oReZDUh2Jhwtoxoo0tMs="; 32 + hash = "sha256-bootaulvx9zmobQGDirsMz5uxuLeCD9ggAvYkPaKnWo="; 33 33 }; 34 - 35 - patches = [ 36 - (fetchpatch { 37 - # Pytest 7.0 compatibility 38 - url = "https://github.com/agronholm/anyio/commit/fed7cc4f95e196f68251bcb9253da3b143ea8e7e.patch"; 39 - sha256 = "sha256-VmZmiQEmWJ4aPz0Wx+GTMZo7jXRDScnRYf2Hu2hiRVw="; 40 - }) 41 - ]; 42 34 43 35 preBuild = '' 44 36 export SETUPTOOLS_SCM_PRETEND_VERSION=${version} ··· 95 87 pythonImportsCheck = [ "anyio" ]; 96 88 97 89 meta = with lib; { 90 + changelog = "https://github.com/agronholm/anyio/blob/${src.rev}/docs/versionhistory.rst"; 98 91 description = "High level compatibility layer for multiple asynchronous event loop implementations on Python"; 99 92 homepage = "https://github.com/agronholm/anyio"; 100 93 license = licenses.mit;
+5
pkgs/development/python-modules/http-parser/default.nix
··· 19 19 }; 20 20 21 21 nativeBuildInputs = [ 22 + cython 22 23 setuptools 23 24 ]; 24 25 26 + preBuild = '' 27 + # re-run cython 28 + make -B 29 + ''; 25 30 26 31 pythonImportsCheck = [ 27 32 "http_parser"
+1 -1
pkgs/development/python-modules/pydantic/default.nix
··· 54 54 cython 55 55 ] ++ lib.optionals withDocs [ 56 56 # dependencies for building documentation 57 + autoflake 57 58 ansi2html 58 59 markdown-include 59 60 mdx-truly-sane-lists ··· 67 68 ]; 68 69 69 70 propagatedBuildInputs = [ 70 - autoflake 71 71 devtools 72 72 email-validator 73 73 pyupgrade
+8 -5
pkgs/development/tools/analysis/autoflake/default.nix pkgs/development/python-modules/autoflake/default.nix
··· 1 1 { lib 2 - , python3 2 + , buildPythonPackage 3 + , fetchPypi 4 + , pyflakes 5 + , pytestCheckHook 3 6 }: 4 7 5 - python3.pkgs.buildPythonApplication rec { 8 + buildPythonPackage rec { 6 9 pname = "autoflake"; 7 10 version = "1.4"; 8 11 9 - src = python3.pkgs.fetchPypi { 12 + src = fetchPypi { 10 13 inherit pname version; 11 14 hash = "sha256-YaNTASz/arlMoGKCPR+y9pLErNpRx2/4Oo13kV+6Ueo="; 12 15 }; 13 16 14 - propagatedBuildInputs = with python3.pkgs; [ 17 + propagatedBuildInputs = [ 15 18 pyflakes 16 19 ]; 17 20 18 - checkInputs = with python3.pkgs; [ 21 + checkInputs = [ 19 22 pytestCheckHook 20 23 ]; 21 24
+1 -1
pkgs/top-level/all-packages.nix
··· 2644 2644 2645 2645 authenticator = callPackage ../applications/misc/authenticator { }; 2646 2646 2647 - autoflake = callPackage ../development/tools/analysis/autoflake { }; 2647 + autoflake = with python3.pkgs; toPythonApplication autoflake; 2648 2648 2649 2649 autospotting = callPackage ../applications/misc/autospotting { }; 2650 2650
+2
pkgs/top-level/python-packages.nix
··· 780 780 781 781 autofaiss = callPackage ../development/python-modules/autofaiss { }; 782 782 783 + autoflake = callPackage ../development/python-modules/autoflake { }; 784 + 783 785 autograd = callPackage ../development/python-modules/autograd { }; 784 786 785 787 autoit-ripper = callPackage ../development/python-modules/autoit-ripper { };