Compare commits
13 Commits
Author | SHA256 | Date | |
---|---|---|---|
68d4d4163b | |||
dfb3eaefd6 | |||
bd50e04cfd | |||
2811221bd1 | |||
1def7e16f6 | |||
bb81dddba5 | |||
8f29691a37 | |||
46ded2fcd5 | |||
ea33b3ce98 | |||
2efa63fd55 | |||
76a761d8f3 | |||
2f789bf2aa | |||
424eedb6ba |
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:aa9ae98485cb2cea6e5376cd432841c6b7af3dfa8dc828b25a85e5c268b3065d
|
|
||||||
size 176315
|
|
BIN
dill-0.4.0.tar.gz
(Stored with Git LFS)
Normal file
BIN
dill-0.4.0.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
@@ -1,3 +1,65 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Aug 19 14:30:27 UTC 2025 - Markéta Machová <mmachova@suse.com>
|
||||||
|
|
||||||
|
- Still use update-alternatives on SLE-15
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Jul 10 15:29:34 UTC 2025 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
- do not depend on alts for sle15
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Jul 8 13:59:14 UTC 2025 - Markéta Machová <mmachova@suse.com>
|
||||||
|
|
||||||
|
- Convert to libalternatives
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon May 5 02:47:52 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
|
||||||
|
|
||||||
|
- Update to 0.4.0:
|
||||||
|
* add initial support for python 3.14
|
||||||
|
* fix typo in requirements.txt
|
||||||
|
* updated copyright for 2025
|
||||||
|
- Switch to pyproject macros.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Oct 22 13:27:09 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
- update to 0.3.9:
|
||||||
|
* further skip BufferedRandomType if does not exist
|
||||||
|
* remove stray import of dbm in objects
|
||||||
|
* Add `UnpicklingError` import for `dill.load_session()` to fix
|
||||||
|
#648
|
||||||
|
* fix fencepost error when getting source inside decorator in
|
||||||
|
interpreter (fixes #603)
|
||||||
|
* type check for Integral, bool by value
|
||||||
|
* diff USE_NUMPY imports numpy.ma
|
||||||
|
* adjust testing to account for frame.f_locals as a proxy in
|
||||||
|
3.13
|
||||||
|
* better handle import strings of numpy scalars
|
||||||
|
* handle a ThreadHandleType
|
||||||
|
* more extensive testing for dill.source
|
||||||
|
* add formal support for python 3.13
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Aug 29 14:56:31 UTC 2024 - Frantisek Simorda <frantisek.simorda@suse.com>
|
||||||
|
|
||||||
|
- update to 0.3.8:
|
||||||
|
* test for qualname in get_typedef_type
|
||||||
|
* drop formal support for python 3.7
|
||||||
|
* define html_theme as rtd workaround
|
||||||
|
* update install doc in tests by
|
||||||
|
* formal support for 3.12, initial support for 3.13
|
||||||
|
* add build to rtfd config by
|
||||||
|
* add guard for math.log in Logger record size calculation by
|
||||||
|
* updated copyright for 2024 by
|
||||||
|
* Bump jinja2 from 3.1.1 to 3.1.3 in /docs by
|
||||||
|
* Import submodule properly when there is an attribute of the module with the same name
|
||||||
|
* update sphinx to 6.2.1
|
||||||
|
* Bump readthedocs-sphinx-search from 0.3.1 to 0.3.2 in /docs by
|
||||||
|
* skip BufferedRandomType on pyodide
|
||||||
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sat Nov 25 13:01:37 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
Sat Nov 25 13:01:37 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-dill
|
# spec file for package python-dill
|
||||||
#
|
#
|
||||||
# Copyright (c) 2023 SUSE LLC
|
# Copyright (c) 2025 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -16,25 +16,36 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
|
%if 0%{?suse_version} > 1500
|
||||||
|
%bcond_without libalternatives
|
||||||
|
%else
|
||||||
|
%bcond_with libalternatives
|
||||||
|
%endif
|
||||||
%{?sle15_python_module_pythons}
|
%{?sle15_python_module_pythons}
|
||||||
Name: python-dill
|
Name: python-dill
|
||||||
Version: 0.3.7
|
Version: 0.4.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Module to serialize all of Python
|
Summary: Module to serialize all of Python
|
||||||
License: BSD-3-Clause
|
License: BSD-3-Clause
|
||||||
Group: Development/Languages/Python
|
|
||||||
URL: https://github.com/uqfoundation/dill
|
URL: https://github.com/uqfoundation/dill
|
||||||
Source: https://github.com/uqfoundation/dill/archive/dill-%{version}.tar.gz#/dill-%{version}.tar.gz
|
Source: https://github.com/uqfoundation/dill/archive/refs/tags/%{version}.tar.gz#/dill-%{version}.tar.gz
|
||||||
BuildRequires: %{python_module dbm}
|
BuildRequires: %{python_module dbm}
|
||||||
BuildRequires: %{python_module devel >= 3.7}
|
BuildRequires: %{python_module devel >= 3.7}
|
||||||
BuildRequires: %{python_module objgraph >= 1.7.2}
|
BuildRequires: %{python_module objgraph >= 1.7.2}
|
||||||
|
BuildRequires: %{python_module pip}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
|
BuildRequires: %{python_module wheel}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
BuildRequires: unzip
|
BuildRequires: unzip
|
||||||
Requires(post): update-alternatives
|
|
||||||
Requires(postun):update-alternatives
|
|
||||||
Recommends: python-objgraph >= 1.7.2
|
Recommends: python-objgraph >= 1.7.2
|
||||||
|
%if %{with libalternatives}
|
||||||
|
BuildRequires: alts
|
||||||
|
Requires: alts
|
||||||
|
%else
|
||||||
|
Requires(post): update-alternatives
|
||||||
|
Requires(postun): update-alternatives
|
||||||
|
%endif
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
|
||||||
@@ -50,33 +61,37 @@ objects, `dill` provides the ability to save the state of an interpreter
|
|||||||
session in a single command.
|
session in a single command.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -p1 -n dill-dill-%{version}
|
%autosetup -p1 -n dill-%{version}
|
||||||
find dill -name '*.py' -exec sed -i '1{\@^#!%{_bindir}/env python@d}' {} \;
|
find dill -name '*.py' -exec sed -i '1{\@^#!%{_bindir}/env python@d}' {} \;
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%python_build
|
%pyproject_wheel
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%python_install
|
%pyproject_install
|
||||||
%python_expand rm -r %{buildroot}%{$python_sitelib}/dill/tests
|
%python_expand rm -r %{buildroot}%{$python_sitelib}/dill/tests
|
||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
%python_clone -a %{buildroot}%{_bindir}/undill
|
%python_clone -a %{buildroot}%{_bindir}/undill
|
||||||
%python_clone -a %{buildroot}%{_bindir}/get_gprof
|
%python_clone -a %{buildroot}%{_bindir}/get_gprof
|
||||||
%python_clone -a %{buildroot}%{_bindir}/get_objgraph
|
%python_clone -a %{buildroot}%{_bindir}/get_objgraph
|
||||||
|
%python_group_libalternatives undill get_gprof get_objgraph
|
||||||
|
|
||||||
%check
|
%check
|
||||||
export PYTHONDONTWRITEBYTECODE=1
|
export PYTHONDONTWRITEBYTECODE=1
|
||||||
export PYTHONPATH=%{_builddir}/dill-dill-%{version}
|
export PYTHONPATH=%{_builddir}/dill-%{version}
|
||||||
# Creative; copied from tox.ini
|
# Creative; copied from tox.ini
|
||||||
%python_exec dill/tests/__main__.py
|
%python_exec dill/tests/__main__.py
|
||||||
|
|
||||||
%post
|
%post
|
||||||
%{python_install_alternative undill get_objgraph get_gprof}
|
%python_install_alternative undill get_gprof get_objgraph
|
||||||
|
|
||||||
%postun
|
%postun
|
||||||
%python_uninstall_alternative undill
|
%python_uninstall_alternative undill
|
||||||
|
|
||||||
|
%pre
|
||||||
|
%python_libalternatives_reset_alternative undill
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%doc README.md
|
%doc README.md
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
@@ -84,6 +99,6 @@ export PYTHONPATH=%{_builddir}/dill-dill-%{version}
|
|||||||
%python_alternative %{_bindir}/get_gprof
|
%python_alternative %{_bindir}/get_gprof
|
||||||
%python_alternative %{_bindir}/get_objgraph
|
%python_alternative %{_bindir}/get_objgraph
|
||||||
%{python_sitelib}/dill
|
%{python_sitelib}/dill
|
||||||
%{python_sitelib}/dill-%{version}*-info
|
%{python_sitelib}/dill-%{version}.dist-info
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Reference in New Issue
Block a user