Unverified Commit 785bafc3 authored by Fabian Affolter's avatar Fabian Affolter Committed by GitHub
Browse files

Merge pull request #219037 from fabaff/openai-bump

python310Packages.openai: 0.26.5 -> 0.27.0
parents e7d00dfb 1e69e5c4
Loading
Loading
Loading
Loading
+10 −7
Original line number Diff line number Diff line
@@ -8,18 +8,16 @@ with python3.pkgs;

buildPythonPackage rec {
  pname = "shell-genie";
  version = "unstable-2023-01-27";
  version = "0.2.6";
  format = "pyproject";

  src = fetchFromGitHub {
    owner = "dylanjcastillo";
    repo = pname;
    rev = "d6da42a4426e6058a0b5ae07837d8c003cd1239e";
    hash = "sha256-MGhQaTcl3KjAJXorOmMRec07LxH02T81rNbV2mYEpRA=";
  src = fetchPypi {
    pname = "shell_genie";
    inherit version;
    hash = "sha256-MgQFHsBXrihfWBB/cz45ITf8oJG2gSenf1wzdbrAbjw=";
  };

  nativeBuildInputs = [
    poetry
    poetry-core
  ];

@@ -35,9 +33,14 @@ buildPythonPackage rec {
  # No tests available
  doCheck = false;

  pythonImportsCheck = [
    "shell_genie"
  ];

  meta = with lib; {
    description = "Describe your shell commands in natural language";
    homepage = "https://github.com/dylanjcastillo/shell-genie";
    # https://github.com/dylanjcastillo/shell-genie/issues/3
    license = licenses.unfree;
    maintainers = with maintainers; [ onny ];
  };
+4 −3
Original line number Diff line number Diff line
@@ -23,7 +23,7 @@

buildPythonPackage rec {
  pname = "openai";
  version = "0.26.5";
  version = "0.27.0";
  format = "setuptools";

  disabled = pythonOlder "3.7.1";
@@ -31,8 +31,8 @@ buildPythonPackage rec {
  src = fetchFromGitHub {
    owner = "openai";
    repo = "openai-python";
    rev = "v${version}";
    hash = "sha256-eKU+WRFf7f1yH63vcoQ9dVeqhJXBqMJGpk/9AoEgR0M=";
    rev = "refs/tags/v${version}";
    hash = "sha256-pXttGvnApYuwkWU7kCDNjw0rjHD5AyUvujfvpDVjgxM=";
  };

  propagatedBuildInputs = [
@@ -91,6 +91,7 @@ buildPythonPackage rec {
  meta = with lib; {
    description = "Python client library for the OpenAI API";
    homepage = "https://github.com/openai/openai-python";
    changelog = "https://github.com/openai/openai-python/releases/tag/v${version}";
    license = licenses.mit;
    maintainers = with maintainers; [ malo ];
  };