python312Packages.reflex: 0.7.2 -> 0.7.4a0 (#392676)
This commit is contained in:
@@ -2,7 +2,6 @@
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
poetry-core,
|
||||
alembic,
|
||||
attrs,
|
||||
build,
|
||||
@@ -11,26 +10,26 @@
|
||||
distro,
|
||||
fastapi,
|
||||
gunicorn,
|
||||
hatchling,
|
||||
httpx,
|
||||
jinja2,
|
||||
lazy-loader,
|
||||
numpy,
|
||||
packaging,
|
||||
pandas,
|
||||
pillow,
|
||||
platformdirs,
|
||||
playwright,
|
||||
plotly,
|
||||
psutil,
|
||||
pydantic,
|
||||
pytest-asyncio,
|
||||
pytest-mock,
|
||||
playwright,
|
||||
pytestCheckHook,
|
||||
python-engineio,
|
||||
python-multipart,
|
||||
python-socketio,
|
||||
pythonOlder,
|
||||
redis,
|
||||
reflex-chakra,
|
||||
reflex-hosting-cli,
|
||||
rich,
|
||||
sqlmodel,
|
||||
@@ -38,25 +37,25 @@
|
||||
tomlkit,
|
||||
twine,
|
||||
typer,
|
||||
typing-extensions,
|
||||
unzip,
|
||||
uvicorn,
|
||||
watchdog,
|
||||
watchfiles,
|
||||
versionCheckHook,
|
||||
wheel,
|
||||
wrapt,
|
||||
writableTmpDirAsHomeHook,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "reflex";
|
||||
version = "0.7.2";
|
||||
version = "0.7.4a0";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.10";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "reflex-dev";
|
||||
repo = "reflex";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-XhYgZx4zc2utWIzT6lvGNyGn6MyTxhsiaFa3/h4XQjM=";
|
||||
hash = "sha256-KFNcdPoZc+Zps8OV3aLIkk9rlbfy6rx0I9JrYFt2b5E=";
|
||||
};
|
||||
|
||||
pythonRelaxDeps = [
|
||||
@@ -69,7 +68,7 @@ buildPythonPackage rec {
|
||||
"build"
|
||||
];
|
||||
|
||||
build-system = [ poetry-core ];
|
||||
build-system = [ hatchling ];
|
||||
|
||||
dependencies = [
|
||||
alembic
|
||||
@@ -82,6 +81,7 @@ buildPythonPackage rec {
|
||||
httpx
|
||||
jinja2
|
||||
lazy-loader
|
||||
packaging
|
||||
platformdirs
|
||||
psutil
|
||||
pydantic
|
||||
@@ -89,7 +89,6 @@ buildPythonPackage rec {
|
||||
python-multipart
|
||||
python-socketio
|
||||
redis
|
||||
reflex-chakra
|
||||
reflex-hosting-cli
|
||||
rich
|
||||
sqlmodel
|
||||
@@ -97,9 +96,9 @@ buildPythonPackage rec {
|
||||
tomlkit
|
||||
twine # used in custom_components/custom_components.py
|
||||
typer
|
||||
typing-extensions
|
||||
uvicorn
|
||||
watchdog
|
||||
watchfiles
|
||||
wheel
|
||||
wrapt
|
||||
];
|
||||
|
||||
@@ -114,11 +113,10 @@ buildPythonPackage rec {
|
||||
pandas
|
||||
pillow
|
||||
unzip
|
||||
writableTmpDirAsHomeHook
|
||||
versionCheckHook
|
||||
];
|
||||
|
||||
preCheck = ''
|
||||
export HOME="$(mktemp -d)"
|
||||
'';
|
||||
versionCheckProgramArg = "--version";
|
||||
|
||||
disabledTests = [
|
||||
# Tests touch network
|
||||
@@ -128,13 +126,13 @@ buildPythonPackage rec {
|
||||
"test_node_version"
|
||||
# /proc is too funky in nix sandbox
|
||||
"test_get_cpu_info"
|
||||
# broken
|
||||
"test_potentially_dirty_substates" # AssertionError: Extra items in the left set
|
||||
# flaky
|
||||
"test_preprocess" # KeyError: 'reflex___state____state'
|
||||
"test_send" # AssertionError: Expected 'post' to have been called once. Called 0 times.
|
||||
# tries to pin the string of a traceback, doesn't account for ansi colors
|
||||
"test_state_with_invalid_yield"
|
||||
# tries to run bun or npm
|
||||
"test_output_system_info"
|
||||
];
|
||||
|
||||
disabledTestPaths = [
|
||||
@@ -144,12 +142,12 @@ buildPythonPackage rec {
|
||||
|
||||
pythonImportsCheck = [ "reflex" ];
|
||||
|
||||
meta = with lib; {
|
||||
meta = {
|
||||
description = "Web apps in pure Python";
|
||||
homepage = "https://github.com/reflex-dev/reflex";
|
||||
changelog = "https://github.com/reflex-dev/reflex/releases/tag/${src.tag}";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ pbsds ];
|
||||
license = lib.licenses.asl20;
|
||||
maintainers = with lib.maintainers; [ pbsds ];
|
||||
mainProgram = "reflex";
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user