python312Packages.anthropic: 0.19.1 -> 0.25.6
Diff: https://github.com/anthropics/anthropic-sdk-python/compare/refs/tags/v0.19.1...v0.25.6 Changelog: https://github.com/anthropics/anthropic-sdk-python/releases/tag/v0.25.6
This commit is contained in:
@@ -1,25 +1,26 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, hatchling
|
||||
, anyio
|
||||
, distro
|
||||
, buildPythonPackage
|
||||
, dirty-equals
|
||||
, httpx
|
||||
, distro
|
||||
, fetchFromGitHub
|
||||
, google-auth
|
||||
, sniffio
|
||||
, hatch-fancy-pypi-readme
|
||||
, hatchling
|
||||
, httpx
|
||||
, pydantic
|
||||
, pytest-asyncio
|
||||
, respx
|
||||
, tokenizers
|
||||
, typing-extensions
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
, respx
|
||||
, sniffio
|
||||
, tokenizers
|
||||
, typing-extensions
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "anthropic";
|
||||
version = "0.19.1";
|
||||
version = "0.25.6";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
@@ -28,11 +29,12 @@ buildPythonPackage rec {
|
||||
owner = "anthropics";
|
||||
repo = "anthropic-sdk-python";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-D9asbwZ9puOuIK6w7cWJ2HmC3JYjamUZPOxVKWq+Va4=";
|
||||
hash = "sha256-83TufOgu6W9UvoCEUgDiw6gXDAdwyIKEALVF0hjj6wk=";
|
||||
};
|
||||
|
||||
build-system = [
|
||||
hatchling
|
||||
hatch-fancy-pypi-readme
|
||||
];
|
||||
|
||||
dependencies = [
|
||||
@@ -56,13 +58,23 @@ buildPythonPackage rec {
|
||||
respx
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"anthropic"
|
||||
];
|
||||
|
||||
disabledTests = [
|
||||
# Test require network access
|
||||
"test_copy_build_request"
|
||||
];
|
||||
|
||||
disabledTestPaths = [
|
||||
# require network access
|
||||
# Test require network access
|
||||
"tests/api_resources"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"anthropic"
|
||||
pytestFlagsArray = [
|
||||
"-W"
|
||||
"ignore::DeprecationWarning"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
|
||||
Reference in New Issue
Block a user