From: Vagrant Cascadian <vagrant@debian.org>
To: Troy Figiel <troy@troyfigiel.com>, 69514@debbugs.gnu.org
Subject: [bug#69514] [PATCH] gnu: python-pandera: Update to 0.18.0.
Date: Fri, 08 Mar 2024 22:44:42 -0800 [thread overview]
Message-ID: <87h6hfj44l.fsf@contorta> (raw)
In-Reply-To: <87wmqkpcuq.fsf@troyfigiel.com>
[-- Attachment #1: Type: text/plain, Size: 2711 bytes --]
On 2024-03-02, Troy Figiel wrote:
> diff --git a/gnu/packages/python-science.scm b/gnu/packages/python-science.scm
> index b6a116f16b..93b5c5c91d 100644
> --- a/gnu/packages/python-science.scm
> +++ b/gnu/packages/python-science.scm
...
> @@ -836,14 +836,7 @@ (define-public python-pandera
> (commit (string-append "v" version))))
> (file-name (git-file-name name version))
> (sha256
> - (base32 "1mnqk583z90k1n0z3lfa4rd0ng40v7hqfk7phz5gjmxlzfjbxa1x"))
> - (modules '((guix build utils)))
> - ;; These tests require PySpark and Modin. We need to remove the entire
> - ;; directory, since the conftest.py in these directories contain
> - ;; imports. (See: https://github.com/pytest-dev/pytest/issues/7452)
> - (snippet '(begin
> - (delete-file-recursively "tests/pyspark")
> - (delete-file-recursively "tests/modin")))))
> + (base32 "14b5aij5zjkwvsimg0v00qvp59mhhq7ljim4qghcn432vkg9gh47"))))
> (build-system pyproject-build-system)
> (arguments
> (list
> @@ -854,7 +847,16 @@ (define-public python-pandera
> ;; positives. These tests currently fail.
> "not test_python_std_list_dict_generics"
> " and not test_python_std_list_dict_empty_and_none"
> - " and not test_pandas_modules_importable"))))
> + " and not test_pandas_modules_importable"))
> + #:phases #~(modify-phases %standard-phases
> + (add-before 'check 'fix-tests
> + (lambda _
> + ;; These tests require PySpark and Modin. We need to
> + ;; remove the entire directory, since the conftest.py
> + ;; in these directories contain imports. (See:
> + ;; https://github.com/pytest-dev/pytest/issues/7452)
> + (for-each delete-file-recursively
> + '("tests/pyspark" "tests/modin")))))))
> ;; Pandera comes with a lot of extras. We test as many as possible, but do
> ;; not include all of them in the propagated-inputs. Currently, we have to
> ;; skip the pyspark and io tests due to missing packages python-pyspark
Any compelling reason why the test removal should be moved from a
snippet to a phase? The documentation admits to this being an elusive
distinction, not really clearing things up much:
https://guix.gnu.org/en/manual/devel/en/guix.html#Snippets-versus-Phases
Other than that, this looks like a trivial version bump. :)
Builds fine, no dependents...
live well,
vagrant
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 227 bytes --]
next prev parent reply other threads:[~2024-03-09 6:47 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-03-02 20:46 [bug#69514] [PATCH] gnu: python-pandera: Update to 0.18.0 Troy Figiel
2024-03-09 6:44 ` Vagrant Cascadian [this message]
2024-03-09 8:50 ` Troy Figiel
2024-06-24 20:03 ` jgart via Guix-patches via
2024-06-24 21:58 ` Troy Figiel
2024-06-24 22:09 ` Troy Figiel
2024-06-24 23:11 ` bug#69514: " jgart via Guix-patches via
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87h6hfj44l.fsf@contorta \
--to=vagrant@debian.org \
--cc=69514@debbugs.gnu.org \
--cc=troy@troyfigiel.com \
/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 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.