Merge pull request #219037 from fabaff/openai-bump

python310Packages.openai: 0.26.5 -> 0.27.0
This commit is contained in:
Fabian Affolter
2023-03-03 15:05:51 +01:00
committed by GitHub
2 changed files with 14 additions and 10 deletions
+10 -7
View File
@@ -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 ];
};
@@ -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 ];
};