all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#55908] [PATCH] gnu: Add python-spacy-loggers
@ 2022-06-11 13:46 Artyom V. Poptsov
  2022-07-03  5:10 ` Artyom V. Poptsov
  2024-02-02 22:39 ` bug#55908: " Sharlatan Hellseher
  0 siblings, 2 replies; 3+ messages in thread
From: Artyom V. Poptsov @ 2022-06-11 13:46 UTC (permalink / raw)
  To: 55908


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

Hello,

this patch adds 'spacy-loggers'[1] under the name
'python-spacy-loggers'.

- Artyom

References:
1. "Logging utilities for spaCy"
   <https://github.com/explosion/spacy-loggers>


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1.2: 0001-gnu-Add-python-spacy-loggers.patch --]
[-- Type: text/x-diff, Size: 1813 bytes --]

From 142fa4269b867a49628a2f3eae02e0033c281186 Mon Sep 17 00:00:00 2001
From: "Artyom V. Poptsov" <poptsov.artyom@gmail.com>
Date: Sat, 11 Jun 2022 16:43:36 +0300
Subject: [PATCH] gnu: Add python-spacy-loggers

* gnu/packages/python-xyz.scm (python-spacy-loggers): New variable.
---
 gnu/packages/python-xyz.scm | 31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 344a1d9089..00463970a6 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -29439,3 +29439,34 @@ Information about these scales can be
 @url{https://en.wikipedia.org/wiki/List_of_musical_scales_and_modes, found on
 Wikipedia}.")
     (license license:expat)))
+
+(define-public python-spacy-loggers
+  (package
+    (name "python-spacy-loggers")
+    (version "1.0.2")
+    (source (origin
+              (method url-fetch)
+              (uri (pypi-uri "spacy-loggers" version))
+              (sha256
+               (base32
+                "0vjk2cnfl94yxg48p81209wr42hf8a67rjijf4ypdrlrrzs48pg7"))))
+    (build-system python-build-system)
+    (inputs
+     (list python-wasabi))
+    (arguments
+     (list
+      ;; XXX: 'spacy-loggers' needs spaCy itself to run the tests.
+      #:tests? #f))
+    (home-page "https://github.com/explosion/spacy-loggers")
+    (synopsis "Logging utilities for @code{python-spacy}")
+    (description "Starting with @code{python-spacy} v3.2, alternate loggers
+are moved into a separate package so that they can be added and updated
+independently from the core spaCy library.
+
+spacy-loggers currently provides loggers for:
+@itemize
+@item Weights & Biases
+@item MLflow
+@end itemize
+")
+    (license license:expat)))
-- 
2.25.1


[-- Attachment #1.3: Type: text/plain, Size: 205 bytes --]

-- 
Artyom "avp" Poptsov <poptsov.artyom@gmail.com>
Home page: https://memory-heap.org/~avp/
CADR Hackerspace co-founder: https://cadrspace.ru/
GPG: D0C2 EAC1 3310 822D 98DE  B57C E9C5 A2D9 0898 A02F

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

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

* [bug#55908] [PATCH] gnu: Add python-spacy-loggers
  2022-06-11 13:46 [bug#55908] [PATCH] gnu: Add python-spacy-loggers Artyom V. Poptsov
@ 2022-07-03  5:10 ` Artyom V. Poptsov
  2024-02-02 22:39 ` bug#55908: " Sharlatan Hellseher
  1 sibling, 0 replies; 3+ messages in thread
From: Artyom V. Poptsov @ 2022-07-03  5:10 UTC (permalink / raw)
  To: 55908


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

Hello,

this is an updated version of the patch that is rebased on 'master' and
with some style fixes.

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1.2: 0001-gnu-Add-python-spacy-loggers.patch --]
[-- Type: text/x-diff, Size: 1790 bytes --]

From 5a732b5f6afeef9dc75848d6afa8334048601ff7 Mon Sep 17 00:00:00 2001
From: "Artyom V. Poptsov" <poptsov.artyom@gmail.com>
Date: Sat, 11 Jun 2022 16:43:36 +0300
Subject: [PATCH] gnu: Add python-spacy-loggers.

* gnu/packages/python-xyz.scm (python-spacy-loggers): New variable.
---
 gnu/packages/python-xyz.scm | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 1d43049776..a63392036e 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -30006,3 +30006,32 @@ (define-public python-langcodes
 and names, built from Unicode CLDR and the IANA subtag registry, if you
 install @code{python-language-data}.")
     (license license:expat)))
+
+(define-public python-spacy-loggers
+  (package
+    (name "python-spacy-loggers")
+    (version "1.0.2")
+    (source (origin
+              (method url-fetch)
+              (uri (pypi-uri "spacy-loggers" version))
+              (sha256
+               (base32
+                "0vjk2cnfl94yxg48p81209wr42hf8a67rjijf4ypdrlrrzs48pg7"))))
+    (build-system python-build-system)
+    (inputs (list python-wasabi))
+    (arguments
+     (list #:tests? #f)) ; It needs spaCy itself to run the tests.
+    (home-page "https://github.com/explosion/spacy-loggers")
+    (synopsis "Logging utilities for @code{python-spacy}")
+    (description
+     "Starting with @code{python-spacy} v3.2, alternate loggers
+are moved into a separate package so that they can be added and updated
+independently from the core spaCy library.
+
+spacy-loggers currently provides loggers for:
+@itemize
+@item Weights & Biases
+@item MLflow
+@end itemize
+")
+    (license license:expat)))
-- 
2.34.1


[-- Attachment #1.3: Type: text/plain, Size: 219 bytes --]


- Artyom

-- 
Artyom "avp" Poptsov <poptsov.artyom@gmail.com>
Home page: https://memory-heap.org/~avp/
CADR Hackerspace co-founder: https://cadrspace.ru/
GPG: D0C2 EAC1 3310 822D 98DE  B57C E9C5 A2D9 0898 A02F

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

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

* bug#55908: [PATCH] gnu: Add python-spacy-loggers
  2022-06-11 13:46 [bug#55908] [PATCH] gnu: Add python-spacy-loggers Artyom V. Poptsov
  2022-07-03  5:10 ` Artyom V. Poptsov
@ 2024-02-02 22:39 ` Sharlatan Hellseher
  1 sibling, 0 replies; 3+ messages in thread
From: Sharlatan Hellseher @ 2024-02-02 22:39 UTC (permalink / raw)
  To: 55908-done

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


Hi,

It was added in db8cf18517c0aa83a78102f3a9491f9b87f46024 already.

Closing as already available.

Thanks,
Oleg

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

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

end of thread, other threads:[~2024-02-02 22:40 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-11 13:46 [bug#55908] [PATCH] gnu: Add python-spacy-loggers Artyom V. Poptsov
2022-07-03  5:10 ` Artyom V. Poptsov
2024-02-02 22:39 ` bug#55908: " Sharlatan Hellseher

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.