14
0
forked from pool/python-dill

13 Commits

Author SHA256 Message Date
bbd69ac147 Accepting request 1300406 from devel:languages:python
- Still use update-alternatives on SLE-15

OBS-URL: https://build.opensuse.org/request/show/1300406
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-dill?expand=0&rev=19
2025-08-20 11:26:20 +00:00
94837981d5 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-dill?expand=0&rev=41 2025-08-20 07:00:54 +00:00
1e2f3a6041 - Still use update-alternatives on SLE-15
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-dill?expand=0&rev=40
2025-08-19 14:33:41 +00:00
7a0df4c146 Accepting request 1294200 from devel:languages:python
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1294200
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-dill?expand=0&rev=18
2025-07-18 13:59:13 +00:00
e8729f7165 - do not depend on alts for sle15
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-dill?expand=0&rev=38
2025-07-10 15:29:46 +00:00
6f8ecd4a21 Accepting request 1291294 from devel:languages:python
- Convert to libalternatives

OBS-URL: https://build.opensuse.org/request/show/1291294
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-dill?expand=0&rev=17
2025-07-09 15:27:28 +00:00
2a974eaa7c - Convert to libalternatives
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-dill?expand=0&rev=36
2025-07-08 14:05:06 +00:00
3f8d246434 Accepting request 1274274 from devel:languages:python
- 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.

OBS-URL: https://build.opensuse.org/request/show/1274274
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-dill?expand=0&rev=16
2025-05-05 20:27:16 +00:00
a63b74f242 - 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.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-dill?expand=0&rev=34
2025-05-05 02:48:18 +00:00
8074b7c41c Accepting request 1217040 from devel:languages:python
- 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

  * 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

OBS-URL: https://build.opensuse.org/request/show/1217040
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-dill?expand=0&rev=15
2024-10-23 19:09:46 +00:00
e965ced3ab - 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
  * 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

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-dill?expand=0&rev=32
2024-10-22 13:27:33 +00:00
002517bfee Accepting request 1197807 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1197807
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-dill?expand=0&rev=14
2024-09-01 17:21:33 +00:00
787f1963d1 - 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

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-dill?expand=0&rev=30
2024-08-30 10:54:25 +00:00
4 changed files with 92 additions and 15 deletions

View File

@@ -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

Binary file not shown.

View File

@@ -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>

View File

@@ -1,7 +1,7 @@
#
# 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
# 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}
Name: python-dill
Version: 0.3.7
Version: 0.4.0
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://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 devel >= 3.7}
BuildRequires: %{python_module objgraph >= 1.7.2}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildRequires: unzip
Recommends: python-objgraph >= 1.7.2
%if %{with libalternatives}
BuildRequires: alts
Requires: alts
%else
Requires(post): update-alternatives
Requires(postun): update-alternatives
Recommends: python-objgraph >= 1.7.2
%endif
BuildArch: noarch
%python_subpackages
@@ -50,33 +61,37 @@ objects, `dill` provides the ability to save the state of an interpreter
session in a single command.
%prep
%autosetup -p1 -n dill-dill-%{version}
%autosetup -p1 -n dill-%{version}
find dill -name '*.py' -exec sed -i '1{\@^#!%{_bindir}/env python@d}' {} \;
%build
%python_build
%pyproject_wheel
%install
%python_install
%pyproject_install
%python_expand rm -r %{buildroot}%{$python_sitelib}/dill/tests
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%python_clone -a %{buildroot}%{_bindir}/undill
%python_clone -a %{buildroot}%{_bindir}/get_gprof
%python_clone -a %{buildroot}%{_bindir}/get_objgraph
%python_group_libalternatives undill get_gprof get_objgraph
%check
export PYTHONDONTWRITEBYTECODE=1
export PYTHONPATH=%{_builddir}/dill-dill-%{version}
export PYTHONPATH=%{_builddir}/dill-%{version}
# Creative; copied from tox.ini
%python_exec dill/tests/__main__.py
%post
%{python_install_alternative undill get_objgraph get_gprof}
%python_install_alternative undill get_gprof get_objgraph
%postun
%python_uninstall_alternative undill
%pre
%python_libalternatives_reset_alternative undill
%files %{python_files}
%doc README.md
%license LICENSE
@@ -84,6 +99,6 @@ export PYTHONPATH=%{_builddir}/dill-dill-%{version}
%python_alternative %{_bindir}/get_gprof
%python_alternative %{_bindir}/get_objgraph
%{python_sitelib}/dill
%{python_sitelib}/dill-%{version}*-info
%{python_sitelib}/dill-%{version}.dist-info
%changelog