Skip to content

Commit

Permalink
python312Packages.sqlmodel: 0.0.21 -> 0.0.22 (#338645)
Browse files Browse the repository at this point in the history
  • Loading branch information
fabaff authored Sep 1, 2024
2 parents 6d973e4 + 6123913 commit 8b7da67
Show file tree
Hide file tree
Showing 4 changed files with 60 additions and 7 deletions.
41 changes: 41 additions & 0 deletions pkgs/development/python-modules/reflex-chakra/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
poetry-core,
pythonOlder,
}:

buildPythonPackage rec {
pname = "reflex-chakra";
version = "0.5.10";
pyproject = true;

disabled = pythonOlder "3.8";

src = fetchFromGitHub {
owner = "reflex-dev";
repo = "reflex-chakra";
rev = "refs/tags/v${version}";
hash = "sha256-EEU2BdkAJ3jPGMUCfXprUIGTXRbOK+uFtoWmjrBsclY=";
};

pythonRemoveDeps = [
# Circular dependency
"reflex"
];

build-system = [ poetry-core ];

# pythonImportsCheck = [ "reflex_chakra" ];

doCheck = false;

meta = with lib; {
description = "Chakra Implementation in Reflex";
homepage = "https://github.com/reflex-dev/reflex-chakra";
changelog = "https://github.com/reflex-dev/reflex-chakra/releases/tag/v${version}";
license = licenses.asl20;
maintainers = with maintainers; [ fab ];
};
}
20 changes: 15 additions & 5 deletions pkgs/development/python-modules/reflex/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,9 @@
python-engineio,
python-multipart,
python-socketio,
pythonOlder,
redis,
reflex-chakra,
reflex-hosting-cli,
rich,
sqlmodel,
Expand All @@ -44,17 +46,23 @@

buildPythonPackage rec {
pname = "reflex";
version = "0.5.9";
version = "0.5.10";
pyproject = true;

disabled = pythonOlder "3.8";

src = fetchFromGitHub {
owner = "reflex-dev";
repo = "reflex";
rev = "v${version}";
hash = "sha256-QeEggHPilCLjUQ76AYDkqdf1iWLwCyAYTnf17RdhDq0=";
rev = "refs/tags/v${version}";
hash = "sha256-8nwVB5FthDbhQRO663vRTqT8KPtStbdSgEoZ75EnhmE=";
};

pythonRelaxDeps = [ "fastapi" ];
pythonRelaxDeps = [
"fastapi"
"gunicorn"
];

pythonRemoveDeps = [
"setuptools"
"build"
Expand All @@ -80,6 +88,7 @@ buildPythonPackage rec {
python-multipart
python-socketio
redis
reflex-chakra
reflex-hosting-cli
rich
sqlmodel
Expand All @@ -106,7 +115,7 @@ buildPythonPackage rec {
];

disabledTests = [
# touches network
# Tests touche network
"test_find_and_check_urls"
"test_event_actions"
"test_upload_file"
Expand All @@ -118,6 +127,7 @@ buildPythonPackage rec {
"test_preprocess" # KeyError: 'reflex___state____state'
"test_send" # AssertionError: Expected 'post' to have been called once. Called 0 times.
];

disabledTestPaths = [
"benchmarks/"
"integration/"
Expand Down
4 changes: 2 additions & 2 deletions pkgs/development/python-modules/sqlmodel/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

buildPythonPackage rec {
pname = "sqlmodel";
version = "0.0.21";
version = "0.0.22";
pyproject = true;

disabled = pythonOlder "3.7";
Expand All @@ -26,7 +26,7 @@ buildPythonPackage rec {
owner = "tiangolo";
repo = "sqlmodel";
rev = "refs/tags/${version}";
hash = "sha256-8Lw3UHHDs/jn65JHGh3bQOQJeNiSnjdc10yRQrwIC/8=";
hash = "sha256-y6lY6DlfdCF5dliRkiU6r+ny/a9ssDtqRmF+/rcKFkg=";
};

patches = [
Expand Down
2 changes: 2 additions & 0 deletions pkgs/top-level/python-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -13662,6 +13662,8 @@ self: super: with self; {

reflex = callPackage ../development/python-modules/reflex { };

reflex-chakra = callPackage ../development/python-modules/reflex-chakra { };

reflex-hosting-cli = callPackage ../development/python-modules/reflex-hosting-cli { };

reflink = callPackage ../development/python-modules/reflink { };
Expand Down

0 comments on commit 8b7da67

Please sign in to comment.