13 Commits

Author SHA256 Message Date
68d4d4163b 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
dfb3eaefd6 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
bd50e04cfd - 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
2811221bd1 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
1def7e16f6 - 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
bb81dddba5 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
8f29691a37 - 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
46ded2fcd5 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
ea33b3ce98 - 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
2efa63fd55 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
76a761d8f3 - 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
2f789bf2aa 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
424eedb6ba Accepting request 1197775 from home:frantisek.simorda:branches:openSUSE:Factory
- 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/request/show/1197775
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
2 changed files with 31 additions and 2 deletions

View File

@@ -1,3 +1,18 @@
-------------------------------------------------------------------
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>

View File

@@ -16,6 +16,11 @@
#
%if 0%{?suse_version} > 1500
%bcond_without libalternatives
%else
%bcond_with libalternatives
%endif
%{?sle15_python_module_pythons}
Name: python-dill
Version: 0.4.0
@@ -33,9 +38,14 @@ 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
@@ -65,6 +75,7 @@ find dill -name '*.py' -exec sed -i '1{\@^#!%{_bindir}/env python@d}' {} \;
%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
@@ -73,11 +84,14 @@ export PYTHONPATH=%{_builddir}/dill-%{version}
%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