guix_mirror_bot pushed a commit to branch python-team
in repository guix.

commit 609f2b664df0e71235cb3a1f878c61c53589308b
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Tue Nov 10 20:17:11 2026 +0000

    gnu: python-sqlalchemy: Update to 2.0.45.
    
    * gnu/packages/databases.scm (python-sqlalchemy): Update to 2.0.45,
    and merge with fields from python-sqlalchemy-2.
    (python-sqlalchemy-2): Deprecate variable in favor of python-sqlalchemy.
    
    * gnu/packages/astronomy.scm (tangos):
    * gnu/packages/bioinformatics.scm (taxtastic):
    * gnu/packages/databases.scm (python-advanced-alchemy, python-alembic,
    python-sqlmodel, python-sqlmodel-minimal):
    * gnu/packages/engineering.scm (python-platypush):
    * gnu/packages/geo.scm (python-obspy):
    * gnu/packages/messaging.scm (gajim, python-slidge):
    * gnu/packages/python-check.scm (python-polyfactory):
    * gnu/packages/python-science.scm (python-pandas-stubs):
    * gnu/packages/python-web.scm (python-fastapi,
    python-fastapi-pagination, python-flask-sqlalchemy, python-pecan):
    * gnu/packages/python-xyz.scm (python-apscheduler, python-ipython-sql):
    * gnu/packages/wireservice.scm (python-agate-sql):
    [inputs, native-inputs, propagated-inputs]: Replace python-sqlalchemy-2
    with python-sqlalchemy.
    
    Fixes: guix/guix#11726
    Relates-to: guix/guix#7277
    Signed-off-by: Sharlatan Hellseher <[email protected]>
---
 gnu/packages/astronomy.scm      |  2 +-
 gnu/packages/bioinformatics.scm |  2 +-
 gnu/packages/databases.scm      | 58 ++++++++++-------------------------------
 gnu/packages/engineering.scm    |  2 +-
 gnu/packages/geo.scm            |  2 +-
 gnu/packages/messaging.scm      |  4 +--
 gnu/packages/python-check.scm   |  2 +-
 gnu/packages/python-science.scm |  2 +-
 gnu/packages/python-web.scm     |  8 +++---
 gnu/packages/python-xyz.scm     |  4 +--
 gnu/packages/wireservice.scm    |  2 +-
 11 files changed, 29 insertions(+), 59 deletions(-)

diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index 5933f3b3177..4ece580be59 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -14890,7 +14890,7 @@ any arbitrary astrometric projection defined in the WCS 
standard.")
            python-repoze-lru
            python-scipy
            python-setuptools
-           python-sqlalchemy-2
+           python-sqlalchemy
            python-tblib
            python-tqdm
            python-translationstring
diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index 6e47de03726..b812a7eea4e 100644
--- a/gnu/packages/bioinformatics.scm
+++ b/gnu/packages/bioinformatics.scm
@@ -12187,7 +12187,7 @@ Cuffdiff or Ballgown programs.")
            python-psycopg
            python-psycopg2-binary
            python-pyyaml
-           python-sqlalchemy-2
+           python-sqlalchemy
            python-sqlparse))
     (home-page "https://github.com/fhcrc/taxtastic";)
     (synopsis "Tools for taxonomic naming and annotation")
diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm
index 9e9fc900be5..08568a04616 100644
--- a/gnu/packages/databases.scm
+++ b/gnu/packages/databases.scm
@@ -875,7 +875,7 @@ they exist.")
     (propagated-inputs
      (list python-alembic
            python-greenlet
-           python-sqlalchemy-2
+           python-sqlalchemy
            python-typing-extensions))
     (home-page "https://advanced-alchemy.litestar.dev/latest/";)
     (synopsis "Ready-to-go SQLAlchemy concoctions")
@@ -4596,39 +4596,6 @@ on localhost.")
     (license license:asl2.0)))
 
 (define-public python-sqlalchemy
-  (package
-    (name "python-sqlalchemy")
-    (version "1.4.54")
-    (source
-     (origin
-      (method url-fetch)
-      (uri (pypi-uri "SQLAlchemy" version))
-      (sha256
-       (base32 "06n36zs280iahxj34fvq1iwq3zjlmvsalfcanwhdqdcc13nznw24"))))
-    (build-system pyproject-build-system)
-    (native-inputs
-     (list python-cython ; for C extensions
-           python-pytest python-mock python-pytest-xdist ; for tests
-           python-setuptools python-wheel))
-    (propagated-inputs
-     (list python-greenlet))
-    (arguments
-     (list
-      #:test-flags
-      '(list ;; The memory usage tests are very expensive and run in sequence;
-             ;; skip them.
-             "-k" "not test_memusage.py")))
-    (home-page "https://www.sqlalchemy.org";)
-    (synopsis "Database abstraction library")
-    (description
-     "SQLAlchemy is the Python SQL toolkit and 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:x11)))
-
-(define-public python-sqlalchemy-2
   (package
     (name "python-sqlalchemy")
     (version "2.0.45")
@@ -4656,14 +4623,17 @@ simple and Pythonic domain language.")
      (list python-greenlet
            python-typing-extensions))
     (home-page "https://www.sqlalchemy.org";)
-    (synopsis "SQL toolkit and object relational mapper")
+    (synopsis "Database abstraction library")
     (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)))
+     "SQLAlchemy is the Python SQL toolkit and 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:x11)))
+
+;; Deprecated on <2026-11-10>.
+(define-public python-sqlalchemy-2 python-sqlalchemy)
 
 (define-public python-sqlalchemy-utils
   (package
@@ -4796,7 +4766,7 @@ this library provides functions to facilitate such 
comparisons.")
            python-tzdata))
     (propagated-inputs
      (list python-mako
-           python-sqlalchemy-2
+           python-sqlalchemy
            python-tomli
            python-typing-extensions))
     (home-page "https://github.com/sqlalchemy/alembic";)
@@ -5618,7 +5588,7 @@ is designed to have a low barrier to entry.")
               "-k" "not test_select_gen")))
     (propagated-inputs
      (list python-pydantic
-           python-sqlalchemy-2
+           python-sqlalchemy
            python-typing-extensions))
     (native-inputs
      (list python-dirty-equals
@@ -5644,7 +5614,7 @@ annotations, and powered by Pydantic and SQLAlchemy.")
     (native-inputs
      (list python-pdm-backend))
     (propagated-inputs
-     (list python-pydantic python-sqlalchemy-2 python-typing-extensions))))
+     (list python-pydantic python-sqlalchemy python-typing-extensions))))
 
 (define-public python-sqlparse
   (package
diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm
index fdaa3f50881..b97b7560d7d 100644
--- a/gnu/packages/engineering.scm
+++ b/gnu/packages/engineering.scm
@@ -2132,7 +2132,7 @@ bindings for Python, Java, OCaml and more.")
                              python-redis
                              python-requests
                              python-rsa
-                             python-sqlalchemy-2
+                             python-sqlalchemy
                              python-tornado
                              python-urllib3
                              python-watchdog
diff --git a/gnu/packages/geo.scm b/gnu/packages/geo.scm
index f0cc4e6f6f3..11221b6b166 100644
--- a/gnu/packages/geo.scm
+++ b/gnu/packages/geo.scm
@@ -1013,7 +1013,7 @@ lets developers use the functionality of Proj in their 
own software.")
            python-numpy
            python-requests
            python-scipy
-           python-sqlalchemy-2))
+           python-sqlalchemy))
     (home-page "https://www.obspy.org";)
     (synopsis "Python framework for seismological observatories")
     (description
diff --git a/gnu/packages/messaging.scm b/gnu/packages/messaging.scm
index 456301f9392..0128a3f5e1c 100644
--- a/gnu/packages/messaging.scm
+++ b/gnu/packages/messaging.scm
@@ -1382,7 +1382,7 @@ basic IRC protocol, CTCP, and DCC connections.")
                              python-pillow
                              python-qrcode
                              python-slixmpp
-                             python-sqlalchemy-2
+                             python-sqlalchemy
                              python-thumbhash
                              python-typing-extensions))
     (native-inputs
@@ -1559,7 +1559,7 @@ of xmpppy.")
            python-pyopenssl
            python-pysequoia
            python-qrcode
-           python-sqlalchemy-2
+           python-sqlalchemy
            python-truststore))
     (propagated-inputs
      (list dconf))
diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm
index f29294ca26e..01443456dc3 100644
--- a/gnu/packages/python-check.scm
+++ b/gnu/packages/python-check.scm
@@ -2210,7 +2210,7 @@ flake8 to check PEP-8 naming conventions.")
            python-msgspec
            python-pydantic
            python-pymongo
-           python-sqlalchemy-2))
+           python-sqlalchemy))
     (home-page "https://polyfactory.litestar.dev/latest/";)
     (synopsis "Mock data generation factories")
     (description
diff --git a/gnu/packages/python-science.scm b/gnu/packages/python-science.scm
index 3b49a8e2abb..009d3e26259 100644
--- a/gnu/packages/python-science.scm
+++ b/gnu/packages/python-science.scm
@@ -3327,7 +3327,7 @@ of Pandas
            python-pytest
            python-pytz
            python-scipy
-           python-sqlalchemy-2
+           python-sqlalchemy
            python-tables
            python-tabulate
            python-typing-extensions
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 22e89663f25..10d9d34f80a 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -4251,7 +4251,7 @@ origin than that of the web application.")
            python-pytest
            python-pytest-timeout
            python-pytest-xdist
-           python-sqlalchemy-2
+           python-sqlalchemy
            python-sqlmodel-minimal
            python-strawberry-graphql-minimal
            python-types-orjson
@@ -4428,7 +4428,7 @@ pattern.")
            python-psycopg
            ;; python-scylla-driver                  ;not packaged yet in Guix
            ;; python-sqlakeyset                     ;not packaged yet in Guix
-           python-sqlalchemy-2
+           python-sqlalchemy
            python-sqlmodel
            python-tortoise-orm))
     (home-page "https://uriyyo-fastapi-pagination.netlify.app/";)
@@ -5246,7 +5246,7 @@ storage.")
            python-pytest))
     (propagated-inputs
      (list python-flask
-           python-sqlalchemy-2))
+           python-sqlalchemy))
     (home-page "https://github.com/mitsuhiko/flask-sqlalchemy";)
     (synopsis "Module adding SQLAlchemy support to your Flask application")
     (description
@@ -13529,7 +13529,7 @@ forked version whose pypi name is 
@code{marshmallow_jsonapi_minfork}.")
            python-genshi
            python-jinja2
            python-pytest
-           python-sqlalchemy-2
+           python-sqlalchemy
            python-webtest
            python-setuptools))
     (propagated-inputs
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 62eead3c297..a56ddda2f0d 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -16398,7 +16398,7 @@ following CLI scripts:
      (list python-ipython
            python-ipython-genutils
            python-prettytable
-           python-sqlalchemy-2
+           python-sqlalchemy
            python-sqlparse))
     (home-page "https://github.com/catherinedevlin/ipython-sql";)
     (synopsis "RDBMS access via IPython")
@@ -29748,7 +29748,7 @@ access the system cron automatically and simply using a 
direct API.")
            python-pytz
            python-setuptools
            python-setuptools-scm
-           python-sqlalchemy-2
+           python-sqlalchemy
            python-tornado
            python-twisted))
     (propagated-inputs
diff --git a/gnu/packages/wireservice.scm b/gnu/packages/wireservice.scm
index 6cfaf7fc555..c7dddbb5c8c 100644
--- a/gnu/packages/wireservice.scm
+++ b/gnu/packages/wireservice.scm
@@ -143,7 +143,7 @@ previously known as journalism.")
            python-setuptools))
     (propagated-inputs
      (list python-agate
-           python-sqlalchemy-2))
+           python-sqlalchemy))
     (home-page "https://agate-sql.rtfd.org";)
     (synopsis "SQL read/write support to agate")
     (description

Reply via email to