unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#48295] [PATCH 0/1] gnu: Add python-sqlalchemy-stubs
@ 2021-05-08 20:41 BonfaceKilz
  2021-05-08 20:41 ` [bug#48296] [PATCH 1/1] " BonfaceKilz
  2021-05-09 10:44 ` bug#48295: [PATCH 0/1] " Arun Isaac
  0 siblings, 2 replies; 9+ messages in thread
From: BonfaceKilz @ 2021-05-08 20:41 UTC (permalink / raw)
  To: 48295; +Cc: BonfaceKilz

Hi Guix! This package provides more precise static types and type inference
for SQLAlchemy framework.

BonfaceKilz (1):
  gnu: Add python-sqlalchemy-stubs.

 gnu/packages/databases.scm | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

-- 
2.31.1





^ permalink raw reply	[flat|nested] 9+ messages in thread

* [bug#48296] [PATCH 1/1] gnu: Add python-sqlalchemy-stubs.
  2021-05-08 20:41 [bug#48295] [PATCH 0/1] gnu: Add python-sqlalchemy-stubs BonfaceKilz
@ 2021-05-08 20:41 ` BonfaceKilz
  2021-05-09 10:48   ` Arun Isaac
  2021-05-09 10:44 ` bug#48295: [PATCH 0/1] " Arun Isaac
  1 sibling, 1 reply; 9+ messages in thread
From: BonfaceKilz @ 2021-05-08 20:41 UTC (permalink / raw)
  To: 48296; +Cc: BonfaceKilz

* gnu/packages/databases.scm (python-sqlalchemy-stubs): New variable.
---
 gnu/packages/databases.scm | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm
index 2777293200..54cf394d17 100644
--- a/gnu/packages/databases.scm
+++ b/gnu/packages/databases.scm
@@ -50,6 +50,7 @@
 ;;; Copyright © 2021 Greg Hogan <code@greghogan.com>
 ;;; Copyright © 2021 David Larsson <david.larsson@selfhosted.xyz>
 ;;; Copyright © 2021 Pjotr Prins <pjotr.guix@thebird.nl>
+;;; Copyright © 2021 Bonface Munyoki Kilyungi <me@bonfacemunyoki.com>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -114,6 +115,7 @@
   #:use-module (gnu packages popt)
   #:use-module (gnu packages protobuf)
   #:use-module (gnu packages python)
+  #:use-module (gnu packages python-check)
   #:use-module (gnu packages python-crypto)
   #:use-module (gnu packages python-science)
   #:use-module (gnu packages python-web)
@@ -2926,6 +2928,30 @@ simple and Pythonic domain language.")
 (define-public python2-sqlalchemy
   (package-with-python2 python-sqlalchemy))
 
+(define-public python-sqlalchemy-stubs
+  (package
+    (name "python-sqlalchemy-stubs")
+    (version "0.4")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "sqlalchemy-stubs" version))
+       (sha256
+        (base32
+         "1bppjmv7v7m0q8gwg791pgxbx4ay7mna0zq204pn9vw28kfxcrf6"))))
+    (build-system python-build-system)
+    (propagated-inputs
+     `(("python-mypy" ,python-mypy)
+       ("python-typing-extensions"
+        ,python-typing-extensions)))
+    (home-page
+     "https://github.com/dropbox/sqlalchemy-stubs")
+    (synopsis "SQLAlchemy stubs and mypy plugin")
+    (description "This package contains type stubs and a mypy plugin to
+provide more precise static types and type inference for SQLAlchemy
+framework.")
+    (license license:expat)))
+
 (define-public python-sqlalchemy-utils
   (package
     (name "python-sqlalchemy-utils")
-- 
2.31.1





^ permalink raw reply related	[flat|nested] 9+ messages in thread

* bug#48295: [PATCH 0/1] gnu: Add python-sqlalchemy-stubs
  2021-05-08 20:41 [bug#48295] [PATCH 0/1] gnu: Add python-sqlalchemy-stubs BonfaceKilz
  2021-05-08 20:41 ` [bug#48296] [PATCH 1/1] " BonfaceKilz
@ 2021-05-09 10:44 ` Arun Isaac
  1 sibling, 0 replies; 9+ messages in thread
From: Arun Isaac @ 2021-05-09 10:44 UTC (permalink / raw)
  To: BonfaceKilz, 48295-done

[-- Attachment #1: Type: text/plain, Size: 100 bytes --]


Hi Bonface,

It seems like you accidentally opened two bug reports. I'm closing this
one.

Thanks!

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

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [bug#48296] [PATCH 1/1] gnu: Add python-sqlalchemy-stubs.
  2021-05-08 20:41 ` [bug#48296] [PATCH 1/1] " BonfaceKilz
@ 2021-05-09 10:48   ` Arun Isaac
  2021-05-10  9:38     ` Bonface Munyoki K.
  0 siblings, 1 reply; 9+ messages in thread
From: Arun Isaac @ 2021-05-09 10:48 UTC (permalink / raw)
  To: BonfaceKilz, 48296

[-- Attachment #1: Type: text/plain, Size: 256 bytes --]


Hi Bonface,

> +    (license license:expat)))

Save minor cosmetic changes, this packages LGTM. But, there is some
confusion with the license. The LICENSE file is Apache 2.0, but setup.py
says "MIT License". Could you clarify this with upstream?

Thanks!

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

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [bug#48296] [PATCH 1/1] gnu: Add python-sqlalchemy-stubs.
  2021-05-09 10:48   ` Arun Isaac
@ 2021-05-10  9:38     ` Bonface Munyoki K.
  2021-05-12 10:46       ` bug#48296: " Arun Isaac
  0 siblings, 1 reply; 9+ messages in thread
From: Bonface Munyoki K. @ 2021-05-10  9:38 UTC (permalink / raw)
  To: Arun Isaac; +Cc: 48296

[-- Attachment #1: Type: text/plain, Size: 648 bytes --]

Hi Arun!

Arun Isaac <arunisaac@systemreboot.net> anaandika:

> Hi Bonface,
>
>> +    (license license:expat)))
>
> Save minor cosmetic changes, this packages LGTM. But, there is some
> confusion with the license. The LICENSE file is Apache 2.0, but setup.py
> says "MIT License". Could you clarify this with upstream?
>
Thanks for catching that. I've just created an
issue here: https://github.com/dropbox/sqlalchemy-stubs/issues/216


-- 
Bonface M. K. D4F09EB110177E03C28E2FE1F5BBAE1E0392253F
Free Software Activist
Humble GNU Emacs User | Bearer of scheme-y parens
Curator: <https://upbookclub.com> | Twitter: @BonfaceKilz

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

^ permalink raw reply	[flat|nested] 9+ messages in thread

* bug#48296: [PATCH 1/1] gnu: Add python-sqlalchemy-stubs.
  2021-05-10  9:38     ` Bonface Munyoki K.
@ 2021-05-12 10:46       ` Arun Isaac
  2021-05-12 13:47         ` [bug#48296] " Bonface Munyoki K.
  0 siblings, 1 reply; 9+ messages in thread
From: Arun Isaac @ 2021-05-12 10:46 UTC (permalink / raw)
  To: Bonface Munyoki K.; +Cc: 48296-done

[-- Attachment #1: Type: text/plain, Size: 260 bytes --]


> Thanks for catching that. I've just created an
> issue here: https://github.com/dropbox/sqlalchemy-stubs/issues/216

Thanks for reporting the bug. I changed the license in your package
description, made a few cosmetic changes and pushed to master.

Thanks!

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

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [bug#48296] [PATCH 1/1] gnu: Add python-sqlalchemy-stubs.
  2021-05-12 10:46       ` bug#48296: " Arun Isaac
@ 2021-05-12 13:47         ` Bonface Munyoki K.
  2021-05-15  7:48           ` Arun Isaac
  0 siblings, 1 reply; 9+ messages in thread
From: Bonface Munyoki K. @ 2021-05-12 13:47 UTC (permalink / raw)
  To: Arun Isaac; +Cc: 48296-done

[-- Attachment #1: Type: text/plain, Size: 617 bytes --]

Arun Isaac <arunisaac@systemreboot.net> anaandika:

>> Thanks for catching that. I've just created an
>> issue here: https://github.com/dropbox/sqlalchemy-stubs/issues/216
>
> Thanks for reporting the bug. I changed the license in your package
> description, made a few cosmetic changes and pushed to master.
>
> Thanks!
>
Thanks for taking the time to work on this. FWIW,
upstream updated the setup.py too.

-- 
Bonface M. K. D4F09EB110177E03C28E2FE1F5BBAE1E0392253F
Free Software Activist
Humble GNU Emacs User | Bearer of scheme-y parens
Curator: <https://upbookclub.com> | Twitter: @BonfaceKilz

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

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [bug#48296] [PATCH 1/1] gnu: Add python-sqlalchemy-stubs.
  2021-05-12 13:47         ` [bug#48296] " Bonface Munyoki K.
@ 2021-05-15  7:48           ` Arun Isaac
  2021-05-17  7:02             ` Bonface Munyoki K.
  0 siblings, 1 reply; 9+ messages in thread
From: Arun Isaac @ 2021-05-15  7:48 UTC (permalink / raw)
  To: Bonface Munyoki K.; +Cc: 48296-done

[-- Attachment #1: Type: text/plain, Size: 187 bytes --]


> Thanks for taking the time to work on this. FWIW,
> upstream updated the setup.py too.

That's great, thank you! Next time we update this package, we will have
the fixed setup.py too.

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

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [bug#48296] [PATCH 1/1] gnu: Add python-sqlalchemy-stubs.
  2021-05-15  7:48           ` Arun Isaac
@ 2021-05-17  7:02             ` Bonface Munyoki K.
  0 siblings, 0 replies; 9+ messages in thread
From: Bonface Munyoki K. @ 2021-05-17  7:02 UTC (permalink / raw)
  To: Arun Isaac; +Cc: 48296-done

[-- Attachment #1: Type: text/plain, Size: 478 bytes --]

Arun Isaac <arunisaac@systemreboot.net> anaandika:

>> Thanks for taking the time to work on this. FWIW,
>> upstream updated the setup.py too.
>
> That's great, thank you! Next time we update this package, we will have
> the fixed setup.py too.
>

Yup. This makes sense.

-- 
Bonface M. K. D4F09EB110177E03C28E2FE1F5BBAE1E0392253F
Free Software Activist
Humble GNU Emacs User | Bearer of scheme-y parens
Curator: <https://upbookclub.com> | Twitter: @BonfaceKilz

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

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2021-05-17  7:06 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-08 20:41 [bug#48295] [PATCH 0/1] gnu: Add python-sqlalchemy-stubs BonfaceKilz
2021-05-08 20:41 ` [bug#48296] [PATCH 1/1] " BonfaceKilz
2021-05-09 10:48   ` Arun Isaac
2021-05-10  9:38     ` Bonface Munyoki K.
2021-05-12 10:46       ` bug#48296: " Arun Isaac
2021-05-12 13:47         ` [bug#48296] " Bonface Munyoki K.
2021-05-15  7:48           ` Arun Isaac
2021-05-17  7:02             ` Bonface Munyoki K.
2021-05-09 10:44 ` bug#48295: [PATCH 0/1] " Arun Isaac

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).