GNU bug report logs -
#69455
[PATCH] gnu: Add python-sqlalchemy-2.
Previous Next
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 69455 in the body.
You can then email your comments to 69455 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
guix-patches <at> gnu.org
:
bug#69455
; Package
guix-patches
.
(Wed, 28 Feb 2024 14:56:04 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Tanguy Le Carrour <tanguy <at> bioneland.org>
:
New bug report received and forwarded. Copy sent to
guix-patches <at> gnu.org
.
(Wed, 28 Feb 2024 14:56:04 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
Hi Guix,
This patch adds SQLAlchemy version 2.
I disabled some (more) expensive tests. I also removed sanity check
on greenlet, for it is optional according to the documentation.
Regards.
* gnu/packages/databases.scm (python-sqlalchemy-2): New variable.
Change-Id: I6de8a9d9ab5938b6d7129f884fe31902df828889
---
gnu/packages/databases.scm | 46 ++++++++++++++++++++++++++++++++++++++
1 file changed, 46 insertions(+)
diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm
index c8824b09c9..7a4e13bb06 100644
--- a/gnu/packages/databases.scm
+++ b/gnu/packages/databases.scm
@@ -3594,6 +3594,52 @@ (define-public python-sqlalchemy
simple and Pythonic domain language.")
(license license:x11)))
+(define-public python-sqlalchemy-2
+ (package
+ (name "python-sqlalchemy")
+ (version "2.0.27")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "SQLAlchemy" version))
+ (sha256
+ (base32 "1y1l4lwhvgs7ivwhcp4vljjdsaha77x9859kz65virhzlxlyv9l6"))))
+ (build-system pyproject-build-system)
+ (native-inputs (list python-pytest python-setuptools python-wheel))
+ (propagated-inputs (list python-typing-extensions))
+ (arguments
+ (list
+ #:phases #~(modify-phases %standard-phases
+ (add-after 'unpack 'disable-tests
+ (lambda _
+ ;; Remove expensive tests.
+ (for-each delete-file
+ '("test/ext/mypy/test_mypy_plugin_py3k.py"
+ "test/typing/test_mypy.py"
+ "test/aaa_profiling/test_memusage.py"))
+ (substitute* "test/engine/test_pool.py"
+ ;; Disable a test that fails randomly.
+ (("def test_recycle_pool_no_race")
+ "def _test_recycle_pool_no_race")) #t))
+ ;; According to the pyproject.toml, greenlet is optional.
+ (add-after 'unpack 'remove-dependency-on-greenlet
+ (lambda _
+ (substitute* "setup.cfg"
+ (("greenlet != 0.4.17")
+ "#greenlet != 0.4.17"))
+ (substitute* "PKG-INFO"
+ (("Requires-Dist: greenlet")
+ "#Requires-Dist: greenlet")))))))
+ (home-page "https://www.sqlalchemy.org")
+ (synopsis "SQL toolkit and object relational mapper")
+ (description
+ "SQLAlchemy is the Python SQL toolkit and @acronym{ORM, Object Relational Mapper}
+that gives application developers the full power and flexibility of SQL. It provides
+a full suite of well known enterprise-level persistence patterns, designed for
+efficient and high-performing database access, adapted into a simple and Pythonic
+domain language.")
+ (license license:expat))) ;; MIT
+
(define-public python-sqlalchemy-stubs
(package
(name "python-sqlalchemy-stubs")
base-commit: 03a03ed64a62e23b9d3da8758dbf7754b186982f
--
2.41.0
Reply sent
to
"jgart" <jgart <at> dismail.de>
:
You have taken responsibility.
(Sat, 22 Jun 2024 20:08:01 GMT)
Full text and
rfc822 format available.
Notification sent
to
Tanguy Le Carrour <tanguy <at> bioneland.org>
:
bug acknowledged by developer.
(Sat, 22 Jun 2024 20:08:02 GMT)
Full text and
rfc822 format available.
Message #10 received at 69455-done <at> debbugs.gnu.org (full text, mbox):
Applied!
thanks,
jgart
Information forwarded
to
guix-patches <at> gnu.org
:
bug#69455
; Package
guix-patches
.
(Sun, 23 Jun 2024 12:02:01 GMT)
Full text and
rfc822 format available.
Message #13 received at 69455-done <at> debbugs.gnu.org (full text, mbox):
Hi jgart,
Quoting jgart (2024-06-22 22:06:53)
> Applied!
Thanks!!
--
Tanguy
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Mon, 22 Jul 2024 11:24:21 GMT)
Full text and
rfc822 format available.
This bug report was last modified 355 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.