Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-dill for openSUSE:Factory checked in at 2022-11-21 15:29:58 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-dill (Old) and /work/SRC/openSUSE:Factory/.python-dill.new.1597 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-dill" Mon Nov 21 15:29:58 2022 rev:10 rq:1037023 version:0.3.6 Changes: -------- --- /work/SRC/openSUSE:Factory/python-dill/python-dill.changes 2021-12-25 20:16:34.081245814 +0100 +++ /work/SRC/openSUSE:Factory/.python-dill.new.1597/python-dill.changes 2022-11-21 15:30:08.980817075 +0100 @@ -1,0 +2,78 @@ +Mon Nov 21 06:58:20 UTC 2022 - Daniel Garcia <daniel.gar...@suse.com> + +- Update the source from github and use the correct folder for setup and tests + +------------------------------------------------------------------- +Thu Nov 17 13:02:13 UTC 2022 - Daniel Garcia <daniel.gar...@suse.com> + +- Remove python_module macro definition +- Use sources from github, current release doesn't have tests +- Use autosetup instead of setup +- Update how to run tests +- More specific python_sitelib in %files +- Update to 0.3.6: + * fix: #480 create_code for 3.11.0a7 and 3.11.0b1 + * fix: #413, fix: #453, drop 2.7 support + * adjust save_code and _create_code for co_lnotab in PEP626 (#495) + * Lookup qualname instead of name in Python 3 (#486) + * Support PyCapsule (#477) + * Fix `dill._dill` submodule being saved as `GLOBAL "dill._shims" "_dill"` + (#490) + * Create a soft_def shim to combine move_to and Getattr (#473) + * Incidental implementation specific types (#472) + * Fix bug in pickling MappingProxyType in PyPy 3.7+ (#506) + * Bring back old method pickling function (#511) + * protect against sys.modules contents change + * correct failures and succeeds dicts + * correct failures for registered + * unregister SymtableEntryType + * Add detailed trace mode showing saved object size and visual depth level + (#471) + * Kickstart support drop for Python < 3.7 (#499) + * fix #521: support develop mode + * Rewrite _create_code() with Structural Pattern Matching (limited to tuples) + (#496) + * fix #522: unify README and module doc + * add some no-indent bullets + * Fix load_session() and restrict loading a session in a different module + (#507) + * update load_module dump_module docs + * fix dump_module() bugs and rename parameter 'main' to 'module' (#526) + * A temporary quick fix for dataclass serialization (#500) (#503) + * fix: #528, test_registered syncs objects w typemap + * print on fail for test_registered + * CLibraryLoader on unix in 3.11 + * add logger module to sphinx + * Move session-related code to new session module (#530) + * fix: #517 special handling of typing module + * test special case typing.Any + * more clearly note cpython bug + * Temporary quick fix for getsource() on IPython interpreter (fixes #346) + (#531) + * Fix pickling errors thrown when saving some Stdlib modules (#529) + * Fix `pickles()` flagging `__builtins__` as unpickleable due to the `all()` + function (#538) + * Use proper SPDX identifier for License (#539) + * Disable logging propagation, use current stderr as output (#541) + * move numpy special register to save + * fix pickling of CLibraryLoaderType + * Optimize the numpy hook (#542) + * patch to dump_module as in #535 + * ensure tempfiles are deleted by default + +------------------------------------------------------------------- +Mon Oct 3 15:54:56 UTC 2022 - Dirk Müller <dmuel...@suse.com> + +- update to 0.3.5.1: + * requires python 3.7 + * skip tests with broken stftime + * resolve symlinks when determining if module is builtin + * support python 3.10 + * adjust for python 3.11 + * Support recursive and empty closure cells + * use CAN_NULL for 3.11a7 and above + * better check for travis in tests + * parse init file for dist meta + * drop rtfd build to 3.8 + +------------------------------------------------------------------- Old: ---- dill-0.3.4.zip New: ---- dill-0.3.6.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-dill.spec ++++++ --- /var/tmp/diff_new_pack.xTTxzS/_old 2022-11-21 15:30:16.192853688 +0100 +++ /var/tmp/diff_new_pack.xTTxzS/_new 2022-11-21 15:30:16.196853709 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-dill # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,15 +16,14 @@ # -%{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-dill -Version: 0.3.4 +Version: 0.3.6 Release: 0 Summary: Module to serialize all of Python License: BSD-3-Clause Group: Development/Languages/Python URL: https://github.com/uqfoundation/dill -Source: https://files.pythonhosted.org/packages/source/d/dill/dill-%{version}.zip +Source: https://github.com/uqfoundation/dill/archive/dill-%{version}.tar.gz#/dill-%{version}.tar.gz BuildRequires: %{python_module objgraph >= 1.7.2} BuildRequires: %{python_module setuptools} BuildRequires: fdupes @@ -53,7 +52,7 @@ session in a single command. %prep -%setup -q -n dill-%{version} +%autosetup -p1 -n dill-dill-%{version} find dill -name '*.py' -exec sed -i '1{\@^#!%{_bindir}/env python@d}' {} \; %build @@ -69,14 +68,9 @@ %check export PYTHONDONTWRITEBYTECODE=1 -failed=0 -%{python_expand # Creative; copied from .travis.yml -export PYTHONPATH=%{buildroot}%{$python_sitelib} -for test in tests/test_*.py; do - $python $test || failed=1 -done -} -exit $failed +export PYTHONPATH=%{_builddir}/dill-dill-%{version} +# Creative; copied from tox.ini +%python_exec dill/tests/__main__.py %post %{python_install_alternative undill get_objgraph} @@ -85,10 +79,11 @@ %python_uninstall_alternative undill %files %{python_files} -%doc README README.md +%doc README.md %license LICENSE %python_alternative %{_bindir}/undill %python_alternative %{_bindir}/get_objgraph -%{python_sitelib}/* +%{python_sitelib}/dill +%{python_sitelib}/dill-%{version}*-info %changelog