[PATCH 0/2]: python-numexpr and python-sniffio: Update version, enable tests

  • Open
  • quality assurance status badge
Details
2 participants
  • Ludovic Courtès
  • Sharlatan Hellseher
Owner
unassigned
Submitted by
Sharlatan Hellseher
Severity
normal
S
S
Sharlatan Hellseher wrote on 17 Nov 2022 11:15
(address . guix-patches@gnu.org)(name . Sharlatan Hellseher)(address . sharlatanus@gmail.com)
20221117101508.14804-1-sharlatanus@gmail.com
Sharlatan Hellseher (2):
gnu: python-numexpr: Update to 2.8.4
gnu: python-sniffio: Update to 1.3.0

gnu/packages/python-xyz.scm | 25 ++++++++++---------------
1 file changed, 10 insertions(+), 15 deletions(-)


base-commit: c9f927b7042d0cedadf7c29e83efaaa86a76b9e3
--
2.38.0
S
S
Sharlatan Hellseher wrote on 17 Nov 2022 11:17
[PATCH 2/2] gnu: python-sniffio: Update to 1.3.0
(address . 59335@debbugs.gnu.org)(name . Sharlatan Hellseher)(address . sharlatanus@gmail.com)
20221117101742.15094-2-sharlatanus@gmail.com
* gnu/packages/python-xyz.scm (python-sniffio): Update to 1.3.0.
[build-system]: Use pyproject-build-system to simplify package.
---
gnu/packages/python-xyz.scm | 12 +++---------
1 file changed, 3 insertions(+), 9 deletions(-)

Toggle diff (30 lines)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 8de175dd1a..d3fd727042 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -12342,20 +12342,14 @@ (define-public python-tables
(define-public python-sniffio
(package
(name "python-sniffio")
- (version "1.2.0")
+ (version "1.3.0")
(source
(origin
(method url-fetch)
(uri (pypi-uri "sniffio" version))
(sha256
- (base32 "1pnkvi6wvn4qd37y69n1ls6n8l63gfmn3pvb1jb50gqxxkn6wrn4"))))
- (build-system python-build-system)
- (arguments
- `(#:phases
- (modify-phases %standard-phases
- (replace 'check
- (lambda _
- (invoke "pytest" "-vv"))))))
+ (base32 "00cibg2madxg6j912qwpwkgggn1km8mg5dsrj8wga56kwp2ha0z6"))))
+ (build-system pyproject-build-system)
(native-inputs
(list python-curio python-pytest python-pytest-cov))
(home-page "https://github.com/python-trio/sniffio")
--
2.38.0
S
S
Sharlatan Hellseher wrote on 17 Nov 2022 11:17
[PATCH 1/2] gnu: python-numexpr: Update to 2.8.4
(address . 59335@debbugs.gnu.org)(name . Sharlatan Hellseher)(address . sharlatanus@gmail.com)
20221117101742.15094-1-sharlatanus@gmail.com
* gnu/packages/python-xyz.scm (python-numexpr): Update to 2.8.4.
[source]: Use git checkout with tests.
[arguments]: Enable tests.
---
gnu/packages/python-xyz.scm | 13 +++++++------
1 file changed, 7 insertions(+), 6 deletions(-)

Toggle diff (30 lines)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 1758450c2f..8de175dd1a 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -6535,16 +6535,17 @@ (define-public python-numpydoc
(define-public python-numexpr
(package
(name "python-numexpr")
- (version "2.7.3")
+ (version "2.8.4")
(source
(origin
- (method url-fetch)
- (uri (pypi-uri "numexpr" version))
+ (method git-fetch) ; no tests data in PyPi package
+ (uri (git-reference
+ (url "https://github.com/pydata/numexpr")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
(sha256
- (base32
- "09d8yfsx33ddwfkpn8805w2mxnn4cvf47yc66g4azldpz4lnaqa3"))))
+ (base32 "0cyasc7m9sidgg7ajjqd4ab3pswwzcnrrv6jxfaw7cn6hmg7mpj7"))))
(build-system python-build-system)
- (arguments `(#:tests? #f)) ; no tests included
(propagated-inputs
(list python-numpy))
(home-page "https://github.com/pydata/numexpr")
--
2.38.0
L
L
Ludovic Courtès wrote on 1 Dec 2022 22:47
Re: bug#59335: [PATCH 0/2]: python-numexpr and python-sniffio: Update version, enable tests
(name . Sharlatan Hellseher)(address . sharlatanus@gmail.com)(address . 59335@debbugs.gnu.org)
871qpiyex5.fsf@gnu.org
Hi,

Sharlatan Hellseher <sharlatanus@gmail.com> skribis:

Toggle quote (4 lines)
> Sharlatan Hellseher (2):
> gnu: python-numexpr: Update to 2.8.4
> gnu: python-sniffio: Update to 1.3.0

According to https://qa.guix.gnu.org/issue/59335, this breaks a single
package, python-sanic.

Could you take a look? Perhaps it’s just a matter of upgrading it
first.

Thanks,
Ludo’.
S
S
Sharlatan Hellseher wrote on 5 Dec 2022 23:05
(name . Ludovic Courtès)(address . ludo@gnu.org)(address . 59335@debbugs.gnu.org)
CAO+9K5rfUiQveDCe7P_F8RaTgXTxraGJgWDbikAXdQir1=orSA@mail.gmail.com
Hi,
As far as I can see Guix provides LTS version of Sanic which comes as
the last release of the year
The corrent version is pre LTS
I'll check it when the LTS is avaiallbe (expecting end of Desember
with v22.12.1)
Regards,
Oleg
On Thu, 1 Dec 2022 at 21:47, Ludovic Courtès <ludo@gnu.org> wrote:
Toggle quote (17 lines)
>
> Hi,
>
> Sharlatan Hellseher <sharlatanus@gmail.com> skribis:
>
> > Sharlatan Hellseher (2):
> > gnu: python-numexpr: Update to 2.8.4
> > gnu: python-sniffio: Update to 1.3.0
>
> According to <https://qa.guix.gnu.org/issue/59335>, this breaks a single
> package, python-sanic.
>
> Could you take a look? Perhaps it’s just a matter of upgrading it
> first.
>
> Thanks,
> Ludo’.
--
… ??? ????? - ???????????? ?????????????? ?????? ??????? ????????
????? ????? ????? ? ??? ??????, ??????????? ????? ???????, ??
?????????? ?? ? ????????? ??????? ????? ? ?????????????????.
?