Loading pkgs/development/python-modules/sqlalchemy-utc/default.nix +2 −0 Original line number Diff line number Diff line Loading @@ -22,6 +22,8 @@ buildPythonPackage (finalAttrs: { patches = [ # https://github.com/spoqa/sqlalchemy-utc/pull/20 ./sqlalchemy2-compat.patch # https://github.com/spoqa/sqlalchemy-utc/pull/21\ ./python314-compat.patch ]; build-system = [ Loading pkgs/development/python-modules/sqlalchemy-utc/python314-compat.patch 0 → 100644 +13 −0 Original line number Diff line number Diff line diff --git a/setup.py b/setup.py index 2da8f43..1927e60 100644 --- a/setup.py +++ b/setup.py @@ -34,7 +34,7 @@ def get_version(): continue target, = node.targets if isinstance(target, ast.Name) and target.id == '__version__': - return node.value.s + return node.value.value install_requires = ['setuptools', 'SQLAlchemy >= 0.9.0'] Loading
pkgs/development/python-modules/sqlalchemy-utc/default.nix +2 −0 Original line number Diff line number Diff line Loading @@ -22,6 +22,8 @@ buildPythonPackage (finalAttrs: { patches = [ # https://github.com/spoqa/sqlalchemy-utc/pull/20 ./sqlalchemy2-compat.patch # https://github.com/spoqa/sqlalchemy-utc/pull/21\ ./python314-compat.patch ]; build-system = [ Loading
pkgs/development/python-modules/sqlalchemy-utc/python314-compat.patch 0 → 100644 +13 −0 Original line number Diff line number Diff line diff --git a/setup.py b/setup.py index 2da8f43..1927e60 100644 --- a/setup.py +++ b/setup.py @@ -34,7 +34,7 @@ def get_version(): continue target, = node.targets if isinstance(target, ast.Name) and target.id == '__version__': - return node.value.s + return node.value.value install_requires = ['setuptools', 'SQLAlchemy >= 0.9.0']