python3Packages.shiny: 1.4.0 -> 1.5.0
Diff: https://github.com/posit-dev/py-shiny/compare/v1.4.0...v1.5.0 Changelog: https://github.com/posit-dev/py-shiny/blob/v1.5.0/CHANGELOG.md
This commit is contained in:
@@ -8,7 +8,6 @@
|
||||
setuptools-scm,
|
||||
|
||||
# dependencies
|
||||
appdirs,
|
||||
asgiref,
|
||||
click,
|
||||
htmltools,
|
||||
@@ -19,9 +18,11 @@
|
||||
narwhals,
|
||||
orjson,
|
||||
packaging,
|
||||
platformdirs,
|
||||
prompt-toolkit,
|
||||
python-multipart,
|
||||
questionary,
|
||||
shinychat,
|
||||
starlette,
|
||||
typing-extensions,
|
||||
uvicorn,
|
||||
@@ -47,14 +48,14 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "shiny";
|
||||
version = "1.4.0";
|
||||
version = "1.5.0";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "posit-dev";
|
||||
repo = "py-shiny";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-SsMZ+aiGFtP6roTiuBZWnHqPso3ZiWLgBToaTLiC2ko=";
|
||||
hash = "sha256-zRKfSY0rE+jzwYUcrRTIFW3OVmavhMDbAQEpry46zCI=";
|
||||
};
|
||||
|
||||
build-system = [
|
||||
@@ -63,7 +64,6 @@ buildPythonPackage rec {
|
||||
];
|
||||
|
||||
dependencies = [
|
||||
appdirs
|
||||
asgiref
|
||||
click
|
||||
htmltools
|
||||
@@ -73,10 +73,12 @@ buildPythonPackage rec {
|
||||
narwhals
|
||||
orjson
|
||||
packaging
|
||||
platformdirs
|
||||
prompt-toolkit
|
||||
python-multipart
|
||||
questionary
|
||||
setuptools
|
||||
shinychat
|
||||
starlette
|
||||
typing-extensions
|
||||
uvicorn
|
||||
@@ -110,6 +112,14 @@ buildPythonPackage rec {
|
||||
]
|
||||
++ lib.flatten (lib.attrValues optional-dependencies);
|
||||
|
||||
pytestFlags = [
|
||||
# ERROR: 'fixture' is not a valid asyncio_default_fixture_loop_scope.
|
||||
# Valid scopes are: function, class, module, package, session.
|
||||
# https://github.com/pytest-dev/pytest-asyncio/issues/924
|
||||
"-o asyncio_mode=auto"
|
||||
"-o asyncio_default_fixture_loop_scope=function"
|
||||
];
|
||||
|
||||
env.SSL_CERT_FILE = "${cacert}/etc/ssl/certs/ca-bundle.crt";
|
||||
|
||||
disabledTests = [
|
||||
|
||||
Reference in New Issue
Block a user