Skip to content

Commit

Permalink
Update python-metakernel to version 0.30.2 / rev 19 via SR 1225639
Browse files Browse the repository at this point in the history
https://build.opensuse.org/request/show/1225639
by user bnavigator + dimstar_suse
- Skip two tests on python313: different output
  gh#Calysto/metakernel#279

- build for modern python on sle15

  * remove local bash kernel and point to calysto_bash
  * Clean up configurability handling and docs
  • Loading branch information
bnavigator authored and bmwiedemann committed Nov 21, 2024
1 parent 9d8036d commit 5d4b78c
Show file tree
Hide file tree
Showing 4 changed files with 32 additions and 5 deletions.
Binary file modified packages/p/python-metakernel/.files
Binary file not shown.
14 changes: 14 additions & 0 deletions packages/p/python-metakernel/.rev
Original file line number Diff line number Diff line change
Expand Up @@ -194,4 +194,18 @@
* Fix installation code blocks in readme #274 (@Phoenix616)</comment>
<requestid>1201269</requestid>
</revision>
<revision rev="19" vrev="2">
<srcmd5>3ac8232b4420517f4356b3eb5776ddb4</srcmd5>
<version>0.30.2</version>
<time>1732223169</time>
<user>dimstar_suse</user>
<comment>- Skip two tests on python313: different output
gh#Calysto/metakernel#279

- build for modern python on sle15

* remove local bash kernel and point to calysto_bash
* Clean up configurability handling and docs</comment>
<requestid>1225639</requestid>
</revision>
</revisionlist>
15 changes: 13 additions & 2 deletions packages/p/python-metakernel/python-metakernel.changes
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
-------------------------------------------------------------------
Thu Nov 21 18:31:47 UTC 2024 - Ben Greiner <[email protected]>

- Skip two tests on python313: different output
gh#Calysto/metakernel#279

-------------------------------------------------------------------
Thu Oct 31 10:22:23 UTC 2024 - Dirk Müller <[email protected]>

- build for modern python on sle15

-------------------------------------------------------------------
Sun Sep 15 16:15:23 UTC 2024 - Ben Greiner <[email protected]>

Expand Down Expand Up @@ -203,13 +214,13 @@ Wed Jun 12 20:03:20 UTC 2019 - Todd R <[email protected]>
- Update to 0.24.0
* finish transition to pytest
* Finish updates to stream_handler
* remove local bash kernel and point to calysto_bash
* remove local bash kernel and point to calysto_bash

-------------------------------------------------------------------
Wed May 29 20:10:40 UTC 2019 - Todd R <[email protected]>

- Update to 0.23.0
* Clean up configurability handling and docs
* Clean up configurability handling and docs
* fix handling of kernel class
* export the metakernel app
* Add settings handling
Expand Down
8 changes: 5 additions & 3 deletions packages/p/python-metakernel/python-metakernel.spec
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
#


%{?sle15_python_module_pythons}
Name: python-metakernel
Version: 0.30.2
Release: 0
Expand Down Expand Up @@ -59,7 +60,6 @@ distributed processing, downloads, and much more).
%prep
%setup -q -n metakernel-%{version}
touch ~/.bashrc
sed -i s'/--color=yes//' pyproject.toml
chmod -x metakernel/tests/test_process_metakernel.py
sed -i '1{/env python/d}' metakernel/tests/test_expect.py

Expand All @@ -71,12 +71,14 @@ sed -i '1{/env python/d}' metakernel/tests/test_expect.py
%python_expand %fdupes %{buildroot}%{$python_sitelib}

%check
%pytest metakernel/tests
# gh#Calysto/metakernel#279
python313_skip=(-k "not(test_get_help or (REPLWrapTestCase and test_python))")
%pytest metakernel/tests "${$python_skip[@]}"

%files %{python_files}
%doc README.rst
%license LICENSE.txt
%{python_sitelib}/metakernel
%{python_sitelib}/metakernel-%{version}*-info
%{python_sitelib}/metakernel-%{version}.dist-info

%changelog

0 comments on commit 5d4b78c

Please sign in to comment.