Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

Merge pull request #267482 from natsukium/python-fedora

python311Packages.python-fedora: rename from python_fedora

authored by OTABI Tomoya and committed by GitHub ae03901e 4ce484e2

+20 -8
+18 -7
pkgs/development/python-modules/python_fedora/default.nix pkgs/development/python-modules/python-fedora/default.nix
··· 1 { lib 2 , beautifulsoup4 3 , buildPythonPackage 4 - , bunch 5 , fetchPypi 6 , kitchen 7 , lockfile 8 , munch 9 , openidc-client 10 - , paver 11 , pythonOlder 12 , requests 13 , six 14 , urllib3 15 }: ··· 17 buildPythonPackage rec { 18 pname = "python-fedora"; 19 version = "1.1.1"; 20 - format = "setuptools"; 21 22 disabled = pythonOlder "3.7"; 23 ··· 26 hash = "sha256-VrnYQaObQDDjiOkMe3fazUefHOXi/5sYw5VNl9Vwmhk="; 27 }; 28 29 propagatedBuildInputs = [ 30 beautifulsoup4 31 - bunch 32 kitchen 33 lockfile 34 munch 35 openidc-client 36 - paver 37 requests 38 six 39 urllib3 40 ]; 41 42 - doCheck = false; 43 44 pythonImportsCheck = [ 45 "fedora" ··· 48 meta = with lib; { 49 description = "Module to interact with the infrastructure of the Fedora Project"; 50 homepage = "https://github.com/fedora-infra/python-fedora"; 51 - changelog = "https://github.com/fedora-infra/python-fedora/releases/tag/1.1.1"; 52 license = licenses.lgpl21Plus; 53 maintainers = with maintainers; [ ]; 54 };
··· 1 { lib 2 , beautifulsoup4 3 , buildPythonPackage 4 , fetchPypi 5 , kitchen 6 , lockfile 7 , munch 8 + , nose 9 , openidc-client 10 + , pytestCheckHook 11 , pythonOlder 12 , requests 13 + , setuptools 14 , six 15 , urllib3 16 }: ··· 18 buildPythonPackage rec { 19 pname = "python-fedora"; 20 version = "1.1.1"; 21 + pyproject = true; 22 23 disabled = pythonOlder "3.7"; 24 ··· 27 hash = "sha256-VrnYQaObQDDjiOkMe3fazUefHOXi/5sYw5VNl9Vwmhk="; 28 }; 29 30 + nativeBuildInputs = [ 31 + setuptools 32 + ]; 33 + 34 propagatedBuildInputs = [ 35 beautifulsoup4 36 kitchen 37 lockfile 38 munch 39 openidc-client 40 requests 41 six 42 urllib3 43 ]; 44 45 + nativeCheckInputs = [ 46 + pytestCheckHook 47 + nose 48 + ]; 49 + 50 + disabledTestPaths = [ 51 + # requires network access 52 + "tests/functional/test_openidbaseclient.py" 53 + ]; 54 55 pythonImportsCheck = [ 56 "fedora" ··· 59 meta = with lib; { 60 description = "Module to interact with the infrastructure of the Fedora Project"; 61 homepage = "https://github.com/fedora-infra/python-fedora"; 62 + changelog = "https://github.com/fedora-infra/python-fedora/releases/tag/${version}"; 63 license = licenses.lgpl21Plus; 64 maintainers = with maintainers; [ ]; 65 };
+1
pkgs/top-level/python-aliases.nix
··· 350 python-forecastio = throw "python-forecastio has been removed, as the Dark Sky service was shut down."; # added 2023-04-05 351 python-igraph = igraph; # added 2021-11-11 352 python_docs_theme = python-docs-theme; # added 2023-11-04 353 python_keyczar = throw "python_keyczar has been removed because it's been archived upstream and deprecated"; # added 2023-05-16 354 python-lz4 = lz4; # added 2018-06-01 355 python_magic = python-magic; # added 2022-05-07
··· 350 python-forecastio = throw "python-forecastio has been removed, as the Dark Sky service was shut down."; # added 2023-04-05 351 python-igraph = igraph; # added 2021-11-11 352 python_docs_theme = python-docs-theme; # added 2023-11-04 353 + python_fedora = python-fedora; # added 2023-11-15 354 python_keyczar = throw "python_keyczar has been removed because it's been archived upstream and deprecated"; # added 2023-05-16 355 python-lz4 = lz4; # added 2018-06-01 356 python_magic = python-magic; # added 2022-05-07
+1 -1
pkgs/top-level/python-packages.nix
··· 11451 11452 python-ev3dev2 = callPackage ../development/python-modules/python-ev3dev2 { }; 11453 11454 - python_fedora = callPackage ../development/python-modules/python_fedora { }; 11455 11456 python-fontconfig = callPackage ../development/python-modules/python-fontconfig { }; 11457
··· 11451 11452 python-ev3dev2 = callPackage ../development/python-modules/python-ev3dev2 { }; 11453 11454 + python-fedora = callPackage ../development/python-modules/python-fedora { }; 11455 11456 python-fontconfig = callPackage ../development/python-modules/python-fontconfig { }; 11457