unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Lars-Dominik Braun <ldb@leibniz-psychology.org>
To: Leo Famulari <leo@famulari.name>
Cc: 40742@debbugs.gnu.org
Subject: [bug#40742] [PATCH] Update python-tortoise-orm and deps (security fix)
Date: Fri, 24 Apr 2020 08:50:56 +0200	[thread overview]
Message-ID: <20200424065056.GA3265@zpidnp36> (raw)
In-Reply-To: <20200421163207.GA20354@jasmine.lan>


[-- Attachment #1.1: Type: text/plain, Size: 181 bytes --]

Hi,

> Can we skip patch 2? Or combine it with patch 4?
sorry for the delay. I squashed them and got upstream to upload tags to git.
Updated patchset attached to this email.

Lars


[-- Attachment #1.2: 0001-gnu-python-aiosqlite-Update-to-0.12.0.patch --]
[-- Type: text/x-diff, Size: 1179 bytes --]

From 0ecef561fc88e52682c67d5112b43ac3d5c495f1 Mon Sep 17 00:00:00 2001
From: Lars-Dominik Braun <ldb@leibniz-psychology.org>
Date: Tue, 21 Apr 2020 10:34:30 +0200
Subject: [PATCH 1/3] gnu: python-aiosqlite: Update to 0.12.0

* gnu/packages/databases.scm (python-aiosqlite): Update to 0.12.0
---
 gnu/packages/databases.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm
index 606594e005..bf5398d87b 100644
--- a/gnu/packages/databases.scm
+++ b/gnu/packages/databases.scm
@@ -2743,14 +2743,14 @@ translate the complete SQLite API into Python.")
 (define-public python-aiosqlite
   (package
     (name "python-aiosqlite")
-    (version "0.11.0")
+    (version "0.12.0")
     (source
      (origin
        (method url-fetch)
        (uri (pypi-uri "aiosqlite" version))
        (sha256
         (base32
-         "1f3zdldp9zgrw6qz5fsp3wa5zw73cjf139pj4vf24ryv895320jg"))))
+         "1w8248yz85xyzvvh4jaxnc59fqil45aka6h82kn1rcih4rjxbnn1"))))
     (build-system python-build-system)
     (native-inputs
      `(("python-aiounittest" ,python-aiounittest)))
-- 
2.20.1


[-- Attachment #1.3: 0002-gnu-python-pypika-Update-to-0.37.2.patch --]
[-- Type: text/x-diff, Size: 1508 bytes --]

From 1fb2c59a405cc9117753e86ae29be270a64f0cab Mon Sep 17 00:00:00 2001
From: Lars-Dominik Braun <ldb@leibniz-psychology.org>
Date: Tue, 21 Apr 2020 10:35:33 +0200
Subject: [PATCH 2/3] gnu: python-pypika: Update to 0.37.2

* gnu/packages/databases.scm (python-pypika): Update to 0.37.2
---
 gnu/packages/databases.scm | 16 +++++++++-------
 1 file changed, 9 insertions(+), 7 deletions(-)

diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm
index bf5398d87b..57a5128e9e 100644
--- a/gnu/packages/databases.scm
+++ b/gnu/packages/databases.scm
@@ -3074,14 +3074,16 @@ transforms idiomatic python function calls to well-formed SQL queries.")
 (define-public python-pypika
   (package
     (name "python-pypika")
-    (version "0.36.0")
+    (version "0.37.2")
     (source
-     (origin
-       (method url-fetch)
-       (uri (pypi-uri "PyPika" version))
-       (sha256
-        (base32
-         "0qzn5vygirg52dlizm6ayzdc5llq8p2krrx0kymr236lrz89wqp8"))))
+     (origin (method git-fetch)
+             (uri (git-reference
+                   (url "https://github.com/kayak/pypika.git")
+                   (commit (string-append "v" version))))
+             (file-name (git-file-name name version))
+             (sha256
+              (base32
+               "089z1c778q1fwhzsc88ws8j5gm2hgxknibabn4wpax8rz2bfs3ck"))))
     (build-system python-build-system)
     (native-inputs
      `(("python-parameterized" ,python-parameterized)))
-- 
2.20.1


[-- Attachment #1.4: 0003-gnu-python-tortoise-orm-Update-to-0.16.7.patch --]
[-- Type: text/x-diff, Size: 1838 bytes --]

From 0cb47c30c36c5e49c666da32d0c234b3120bb0fe Mon Sep 17 00:00:00 2001
From: Lars-Dominik Braun <ldb@leibniz-psychology.org>
Date: Tue, 21 Apr 2020 10:36:29 +0200
Subject: [PATCH 3/3] gnu: python-tortoise-orm: Update to 0.16.7

0.16.6, which we skipped, includes a security fix.

* gnu/packages/databases.scm (python-tortoise-orm)[source]: Update to 0.16.7
[propagated-inputs] Propagate ciso8601, which is required in setup.py
---
 gnu/packages/databases.scm | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm
index 57a5128e9e..23b8f14c54 100644
--- a/gnu/packages/databases.scm
+++ b/gnu/packages/databases.scm
@@ -2197,24 +2197,24 @@ can autogenerate peewee models using @code{pwiz}, a model generator.")
 (define-public python-tortoise-orm
   (package
     (name "python-tortoise-orm")
-    (version "0.16.3")
+    (version "0.16.7")
     (source
      (origin
        (method url-fetch)
        (uri (pypi-uri "tortoise-orm" version))
        (sha256
         (base32
-         "01hbvfyxs2qd1mjc96aipwsdxxhydw8ww686r4gsf87bl6f98dvz"))))
+         "0wr7p4v0b16ypm9fcpwpl99kf491m6w3jkd13xcsgq13fy73fbqc"))))
     (build-system python-build-system)
     ;; Disable tests for now. They pull in a lot of dependencies.
     (arguments `(#:tests? #f))
     (native-inputs
-     `(("python-ciso8601" ,python-ciso8601)
-       ("python-asynctest" ,python-asynctest)
+     `(("python-asynctest" ,python-asynctest)
        ("python-nose2" ,python-nose2)))
     (propagated-inputs
      `(("python-aiosqlite" ,python-aiosqlite)
        ("python-pypika" ,python-pypika)
+       ("python-ciso8601" ,python-ciso8601)
        ("python-typing-extensions"
         ,python-typing-extensions)))
     (home-page
-- 
2.20.1


[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 659 bytes --]

  reply	other threads:[~2020-04-24  6:52 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-04-21  8:58 [bug#40742] [PATCH] Update python-tortoise-orm and deps (security fix) Lars-Dominik Braun
2020-04-21 16:32 ` Leo Famulari
2020-04-24  6:50   ` Lars-Dominik Braun [this message]
2020-04-29 19:12     ` bug#40742: " Leo Famulari

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200424065056.GA3265@zpidnp36 \
    --to=ldb@leibniz-psychology.org \
    --cc=40742@debbugs.gnu.org \
    --cc=leo@famulari.name \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).