diff options
Diffstat (limited to 'gnu/packages/databases.scm')
-rw-r--r-- | gnu/packages/databases.scm | 79 |
1 files changed, 39 insertions, 40 deletions
diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm index 862d8bfd62..387755b8ec 100644 --- a/gnu/packages/databases.scm +++ b/gnu/packages/databases.scm @@ -173,6 +173,7 @@ #:use-module (guix build-system go) #:use-module (guix build-system meson) #:use-module (guix build-system perl) + #:use-module (guix build-system pyproject) #:use-module (guix build-system python) #:use-module (guix build-system qt) #:use-module (guix build-system ruby) @@ -486,14 +487,14 @@ mapping from string keys to string values.") (define-public memcached (package (name "memcached") - (version "1.6.16") + (version "1.6.17") (source (origin (method url-fetch) (uri (string-append "https://memcached.org/files/memcached-" version ".tar.gz")) (sha256 - (base32 "1nilmfhy8hc7zzlihnx3hmiqf7siyrpgz2g5s3r3l36xy4xsjl9h")))) + (base32 "090jpprdjhbr1v9ph15s077bj8ryrsnz1ydg54aw53rxc5ry6m90")))) (build-system gnu-build-system) (inputs (list libevent cyrus-sasl)) @@ -576,13 +577,13 @@ the API, and provides features such as: (define-public python-pylibmc (package (name "python-pylibmc") - (version "1.6.1") + (version "1.6.3") (source (origin (method url-fetch) (uri (pypi-uri "pylibmc" version)) (sha256 - (base32 "1sg7d9j0v6g3xg3finf4l1hb72c13vcyyi6rqrc9shbx903d93ca")))) + (base32 "1q06696lxpqn155sydg3z6dksimks6n35q72zdjsvarpal8ldypf")))) (build-system python-build-system) (arguments '(#:phases @@ -592,7 +593,7 @@ the API, and provides features such as: (lambda _ (invoke "memcached" "-d")))))) (native-inputs - (list memcached python-nose)) + (list memcached python-pytest)) (inputs (list libmemcached zlib cyrus-sasl)) (home-page "http://sendapatch.se/projects/pylibmc/") @@ -2843,7 +2844,7 @@ semantics.") (define-public libpqxx (package (name "libpqxx") - (version "7.7.3") + (version "7.7.4") (source (origin (method git-fetch) (uri (git-reference @@ -2852,7 +2853,7 @@ semantics.") (file-name (git-file-name name version)) (sha256 (base32 - "1mrhsih5bhiin0l3c4vp22l9p7c5035m0vvqpx18c0407fkzc7hp")))) + "1qwpfba8g55jjv0xnsk4hhf2cmhk7mdirxx115cvnjjw97ppy0z0")))) (build-system gnu-build-system) (native-inputs (list gcc-11 python-wrapper)) (inputs (list postgresql)) @@ -2985,13 +2986,13 @@ with Python's asyncio framework.") (define-public python-asyncmy (package (name "python-asyncmy") - (version "0.2.3") + (version "0.2.5") (source (origin (method url-fetch) (uri (pypi-uri "asyncmy" version)) (sha256 - (base32 "19p81jd4w7m7v2x1jdrwibp67wzqx1a7rdw5n4qqmch3iffp97vn")))) + (base32 "0i18zxy6xvzv6dk791xifn2sw2q4zvqwpzrzy8qx51d3mp8z6gng")))) (build-system python-build-system) (native-inputs (list python-cython)) (home-page "https://github.com/long2ice/asyncmy") @@ -3137,13 +3138,13 @@ or languages. It uses only Python's built-in data types.") (define-public python-pyodbc (package (name "python-pyodbc") - (version "4.0.32") + (version "4.0.35") (source (origin (method url-fetch) (uri (pypi-uri "pyodbc" version)) (sha256 - (base32 "0sqs0x2l5mk3yv0wwz3ya8yh5f4babihyhc8hjbf2m86b71z1rcv")) + (base32 "1j7577acd2f16zifw49ajg0aw7vm0pdg6jxrr1dlaa5rx14azfcj")) (modules '((guix build utils))) (snippet ;; Delete precompiled binaries. The corresponding source is included. @@ -3451,14 +3452,13 @@ framework.") (define-public python-sqlalchemy-utils (package (name "python-sqlalchemy-utils") - (version "0.38.2") + (version "0.38.3") (source (origin (method url-fetch) (uri (pypi-uri "SQLAlchemy-Utils" version)) (sha256 - (base32 - "1d6fq81489kqzxmk3l6f39sinw206lzs392frmpr5lsjzg9xc0cy")))) + (base32 "0k8z0mjhvdv302kn0nhci8b2dgw4cn2akprsf37ma1540ykgp6lz")))) (build-system python-build-system) (arguments '(#:tests? #f)) ; FIXME: Many tests require a running database server. @@ -3590,7 +3590,7 @@ PickleShare.") (define-public python-apsw (package (name "python-apsw") - (version "3.39.2.1") + (version "3.40.0.0") ;; The compressed release has fetching functionality disabled. (source (origin @@ -3600,24 +3600,23 @@ PickleShare.") version "/apsw-" version ".zip")) (sha256 (base32 - "06x3qgg71xz8l3kz8gz04wkfp5f6zfrg476a4mm1c5hikqyw6ykj")) - ;; Cherry-picked from upstream, remove when bumping to 3.39.3. - (patches - (search-patches "python-apsw-3.39.2.1-test-fix.patch")))) - (build-system python-build-system) - (native-inputs (list unzip)) - (inputs (list sqlite-next)) ;SQLite 3.39 required. + "02sgja00azvd08wi2wm105apmhp2644s7aw9b1zdg3dkcwjnsiad")))) + (build-system pyproject-build-system) + (native-inputs + (list python-cython unzip)) + (inputs (list sqlite-next)) ;SQLite 3.40 required. (arguments - (list #:phases - #~(modify-phases %standard-phases - (replace 'build - (lambda _ - (invoke "python" "setup.py" "build" "--enable-all-extensions" - "--enable=load_extension"))) - (add-after 'build 'build-test-helper - (lambda _ - (invoke "gcc" "-fPIC" "-shared" "-o" "./testextension.sqlext" - "-I." "-Isqlite3" "src/testextension.c")))))) + (list + #:phases + #~(modify-phases %standard-phases + (add-before 'build 'build-extensions + (lambda _ + (invoke "python" "setup.py" "build" "--enable-all-extensions" + "--enable=load_extension"))) + (add-after 'build 'build-test-helper + (lambda _ + (invoke "gcc" "-fPIC" "-shared" "-o" "./testextension.sqlext" + "-I." "-Isqlite3" "src/testextension.c")))))) (home-page "https://github.com/rogerbinns/apsw/") (synopsis "Another Python SQLite Wrapper") (description @@ -3686,13 +3685,13 @@ managers for automatically closing connections.") (define-public python-psycopg2 (package (name "python-psycopg2") - (version "2.9.3") + (version "2.9.5") (source (origin (method url-fetch) (uri (pypi-uri "psycopg2" version)) (sha256 - (base32 "1099as8ind9kpz30rmqzc3nir668fmpkxwayrj2sjka3ycdiv14f")))) + (base32 "0ni4kq6p7hbkm2qsky998q36q5gq5if4nwd8hwhjx5rsd0p6s955")))) (build-system python-build-system) (arguments ;; Tests would require a postgresql database "psycopg2_test" @@ -4008,7 +4007,7 @@ reasonable substitute.") (define-public python-rq (package (name "python-rq") - (version "1.11") + (version "1.11.1") (source (origin (method git-fetch) @@ -4017,7 +4016,7 @@ reasonable substitute.") (commit (string-append "v" version)))) (file-name (git-file-name name version)) (sha256 - (base32 "1dj3m8dh9vf1qiq1drjhfw5xbr975v1kpzn4fwja83cfd7jrpzvy")))) + (base32 "0dnjm2s036l4j4ypq0h903vh132dp2wiwjrn8jicz1nw829dqpzf")))) (build-system python-build-system) (arguments '(#:phases (modify-phases %standard-phases @@ -4105,13 +4104,13 @@ is designed to have a low barrier to entry.") (define-public python-sqlparse (package (name "python-sqlparse") - (version "0.4.2") + (version "0.4.3") (source (origin (method url-fetch) (uri (pypi-uri "sqlparse" version)) (sha256 (base32 - "1bkx52c2jh28c528b69qfk2ijfzw1laxx6lim7jr8fi6fh67600c")))) + "0s3jyllg0ka0n7pgqfng1hzvh39li853dr40qcp4s4dv8r481jk9")))) (build-system python-build-system) (arguments `(#:phases @@ -4187,7 +4186,7 @@ the SQL language using a syntax that reflects the resulting query.") (define-public apache-arrow (package (name "apache-arrow") - (version "10.0.0") + (version "10.0.1") (source (origin (method git-fetch) @@ -4197,7 +4196,7 @@ the SQL language using a syntax that reflects the resulting query.") (file-name (git-file-name name version)) (sha256 (base32 - "1mx2siffbggz26c8j2xma7cwa65khj8nswy04ajczgwvj32rg1ah")))) + "0skw6x888i804pg35xaxqwkkb36z9hj966zs3ckhkbp4mcll9q9v")))) (build-system cmake-build-system) (arguments `(#:tests? #f |