python313Packages.functions-framework: 3.8.3 -> 3.9.2
Changelog: https://github.com/GoogleCloudPlatform/functions-framework-python/blob/v3.9.2/CHANGELOG.md
This commit is contained in:
@@ -8,25 +8,29 @@
|
||||
fetchFromGitHub,
|
||||
flask,
|
||||
gunicorn,
|
||||
httpx,
|
||||
pretend,
|
||||
pytest-asyncio,
|
||||
pytestCheckHook,
|
||||
requests,
|
||||
setuptools,
|
||||
starlette,
|
||||
uvicorn,
|
||||
uvicorn-worker,
|
||||
watchdog,
|
||||
werkzeug,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "functions-framework";
|
||||
version = "3.8.3";
|
||||
version = "3.9.2";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "GoogleCloudPlatform";
|
||||
repo = "functions-framework-python";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-kfoSGe08vCOXunzFH5FA7/NesOwAklfChKeoIfBXBlQ=";
|
||||
hash = "sha256-TvC+URJtsquBX/5F5Z2Nw/4sD3hsvF2c/jlv87lGjfM=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools ];
|
||||
@@ -37,25 +41,29 @@ buildPythonPackage rec {
|
||||
deprecation
|
||||
flask
|
||||
gunicorn
|
||||
starlette
|
||||
uvicorn
|
||||
uvicorn-worker
|
||||
watchdog
|
||||
werkzeug
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
docker
|
||||
httpx
|
||||
pretend
|
||||
pytest-asyncio
|
||||
pytestCheckHook
|
||||
requests
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "functions_framework" ];
|
||||
|
||||
disabledTests = [
|
||||
# Test requires a running Docker instance
|
||||
"test_cloud_run_http"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "functions_framework" ];
|
||||
|
||||
meta = {
|
||||
description = "FaaS (Function as a service) framework for writing portable Python functions";
|
||||
homepage = "https://github.com/GoogleCloudPlatform/functions-framework-python";
|
||||
|
||||
Reference in New Issue
Block a user