* [bug#51149] [PATCH 1/2] gnu: python-faker: Update to 9.3.1.
@ 2021-10-12 6:48 jgart via Guix-patches via
2021-10-12 6:48 ` [bug#51150] [PATCH 2/2] gnu: Remove python2-faker jgart via Guix-patches via
2021-10-18 9:48 ` bug#51149: [PATCH 1/2] gnu: python-faker: Update to 9.3.1 Guillaume Le Vaillant
0 siblings, 2 replies; 5+ messages in thread
From: jgart via Guix-patches via @ 2021-10-12 6:48 UTC (permalink / raw)
To: 51149; +Cc: jgart
* gnu/packages/python-xyz.scm (python-faker): Update to 9.3.1.
[properties]: Remove python2-faker.
---
gnu/packages/python-xyz.scm | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 577bea8144..61ac147ec7 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -15671,13 +15671,13 @@ parsing UK postcodes.")
(define-public python-faker
(package
(name "python-faker")
- (version "4.0.2")
+ (version "9.3.1")
(source (origin
(method url-fetch)
(uri (pypi-uri "Faker" version))
(sha256
(base32
- "13qq485ydxmdnqn3xbfv1xfyqbf9qfnfw33v1vw5l6jyy9p8cgrd"))))
+ "0lpfdc4ndvk7chgqrfd2b1my4n54pccq9b645vp9cp5s5ypyknfd"))))
(build-system python-build-system)
(arguments
'(#:phases
@@ -15699,8 +15699,6 @@ parsing UK postcodes.")
(description
"Faker is a Python package that generates fake data such as names,
addresses, and phone numbers.")
- (license license:expat)
- (properties `((python2-variant . ,(delay python2-faker))))))
;; Faker 4.0 dropped Python 2 support, so we stick with this older version here.
(define-public python2-faker
@@ -15722,6 +15720,7 @@ addresses, and phone numbers.")
`(("python2-ipaddress" ,python2-ipaddress)
("python2-six" ,python2-six)
,@(package-propagated-inputs base))))))
+ (license license:expat)))
(define-public python-pyaml
(package
--
2.33.0
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [bug#51150] [PATCH 2/2] gnu: Remove python2-faker.
2021-10-12 6:48 [bug#51149] [PATCH 1/2] gnu: python-faker: Update to 9.3.1 jgart via Guix-patches via
@ 2021-10-12 6:48 ` jgart via Guix-patches via
2021-10-18 9:52 ` Guillaume Le Vaillant
2021-10-18 9:48 ` bug#51149: [PATCH 1/2] gnu: python-faker: Update to 9.3.1 Guillaume Le Vaillant
1 sibling, 1 reply; 5+ messages in thread
From: jgart via Guix-patches via @ 2021-10-12 6:48 UTC (permalink / raw)
To: 51150; +Cc: jgart
* gnu/packages/python-xyz.scm (python2-faker): Remove variable.
---
gnu/packages/python-xyz.scm | 21 ---------------------
1 file changed, 21 deletions(-)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 61ac147ec7..a1ecfb0e03 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -15699,27 +15699,6 @@ parsing UK postcodes.")
(description
"Faker is a Python package that generates fake data such as names,
addresses, and phone numbers.")
-
-;; Faker 4.0 dropped Python 2 support, so we stick with this older version here.
-(define-public python2-faker
- (let ((base (package-with-python2 (strip-python2-variant
- python-faker))))
- (package
- (inherit base)
- (version "3.0.1")
- (source (origin
- (method url-fetch)
- (uri (pypi-uri "Faker" version))
- (sha256
- (base32
- "11cr0qvspkdh6198rqy56qildk7bnp6llj8kyy1dan5sp5n4dxy7"))))
- (native-inputs
- `(("python-mock" ,python2-mock)
- ,@(package-native-inputs base)))
- (propagated-inputs
- `(("python2-ipaddress" ,python2-ipaddress)
- ("python2-six" ,python2-six)
- ,@(package-propagated-inputs base))))))
(license license:expat)))
(define-public python-pyaml
--
2.33.0
^ permalink raw reply related [flat|nested] 5+ messages in thread
* bug#51149: [PATCH 1/2] gnu: python-faker: Update to 9.3.1.
2021-10-12 6:48 [bug#51149] [PATCH 1/2] gnu: python-faker: Update to 9.3.1 jgart via Guix-patches via
2021-10-12 6:48 ` [bug#51150] [PATCH 2/2] gnu: Remove python2-faker jgart via Guix-patches via
@ 2021-10-18 9:48 ` Guillaume Le Vaillant
1 sibling, 0 replies; 5+ messages in thread
From: Guillaume Le Vaillant @ 2021-10-18 9:48 UTC (permalink / raw)
To: jgart; +Cc: 51149-done
[-- Attachment #1: Type: text/plain, Size: 114 bytes --]
python-faker as been updated to 9.3.1 in commit
74a97b087b7d5b799bffd8b1fca826e5eabbe963 (issue #51222).
Closing.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 247 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* [bug#51150] [PATCH 2/2] gnu: Remove python2-faker.
2021-10-12 6:48 ` [bug#51150] [PATCH 2/2] gnu: Remove python2-faker jgart via Guix-patches via
@ 2021-10-18 9:52 ` Guillaume Le Vaillant
2021-10-19 21:57 ` jgart via Guix-patches via
0 siblings, 1 reply; 5+ messages in thread
From: Guillaume Le Vaillant @ 2021-10-18 9:52 UTC (permalink / raw)
To: jgart; +Cc: 51150
[-- Attachment #1: Type: text/plain, Size: 217 bytes --]
Currently python2-faker can't be removed because python2-factory-boy
depends on it. However it looks like nothing depends on
python2-factory-boy, so if nobody wants to keep it, you could add
a patch to remove it too.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 247 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* [bug#51150] [PATCH 2/2] gnu: Remove python2-faker.
2021-10-18 9:52 ` Guillaume Le Vaillant
@ 2021-10-19 21:57 ` jgart via Guix-patches via
0 siblings, 0 replies; 5+ messages in thread
From: jgart via Guix-patches via @ 2021-10-19 21:57 UTC (permalink / raw)
To: Guillaume Le Vaillant; +Cc: 51150
On Mon, 18 Oct 2021 09:52:24 +0000 Guillaume Le Vaillant <glv@posteo.net> wrote:
> Currently python2-faker can't be removed because python2-factory-boy
> depends on it. However it looks like nothing depends on
> python2-factory-boy, so if nobody wants to keep it, you could add
> a patch to remove it too.
Ok, no worries.
Thanks for letting me know.
Glad the upgrade got merged.
all best,
jgart
3B1D 7F19 E36B B60C 0F5B 2CA9 A52A A2B4 77B6 DD35
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2021-10-19 21:58 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-10-12 6:48 [bug#51149] [PATCH 1/2] gnu: python-faker: Update to 9.3.1 jgart via Guix-patches via
2021-10-12 6:48 ` [bug#51150] [PATCH 2/2] gnu: Remove python2-faker jgart via Guix-patches via
2021-10-18 9:52 ` Guillaume Le Vaillant
2021-10-19 21:57 ` jgart via Guix-patches via
2021-10-18 9:48 ` bug#51149: [PATCH 1/2] gnu: python-faker: Update to 9.3.1 Guillaume Le Vaillant
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.