Unverified Commit 8b7da67b authored by Fabian Affolter's avatar Fabian Affolter Committed by GitHub
Browse files

python312Packages.sqlmodel: 0.0.21 -> 0.0.22 (#338645)

parents 6d973e42 61239130
Loading
Loading
Loading
Loading
+41 −0
Original line number Diff line number Diff line
{
  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 ];
  };
}
+15 −5
Original line number Diff line number Diff line
@@ -27,7 +27,9 @@
  python-engineio,
  python-multipart,
  python-socketio,
  pythonOlder,
  redis,
  reflex-chakra,
  reflex-hosting-cli,
  rich,
  sqlmodel,
@@ -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"
@@ -80,6 +88,7 @@ buildPythonPackage rec {
    python-multipart
    python-socketio
    redis
    reflex-chakra
    reflex-hosting-cli
    rich
    sqlmodel
@@ -106,7 +115,7 @@ buildPythonPackage rec {
  ];

  disabledTests = [
    # touches network
    # Tests touche network
    "test_find_and_check_urls"
    "test_event_actions"
    "test_upload_file"
@@ -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/"
+2 −2
Original line number Diff line number Diff line
@@ -17,7 +17,7 @@

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

  disabled = pythonOlder "3.7";
@@ -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 = [
+2 −0
Original line number Diff line number Diff line
@@ -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 { };