14
0
forked from pool/python-dill

6 Commits

Author SHA256 Message Date
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
2 changed files with 2 additions and 31 deletions

View File

@@ -1,18 +1,3 @@
-------------------------------------------------------------------
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> Mon May 5 02:47:52 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>

View File

@@ -16,11 +16,6 @@
# #
%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.4.0 Version: 0.4.0
@@ -38,14 +33,9 @@ BuildRequires: %{python_module wheel}
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
BuildRequires: unzip BuildRequires: unzip
Recommends: python-objgraph >= 1.7.2
%if %{with libalternatives}
BuildRequires: alts
Requires: alts
%else
Requires(post): update-alternatives Requires(post): update-alternatives
Requires(postun): update-alternatives Requires(postun): update-alternatives
%endif Recommends: python-objgraph >= 1.7.2
BuildArch: noarch BuildArch: noarch
%python_subpackages %python_subpackages
@@ -75,7 +65,6 @@ find dill -name '*.py' -exec sed -i '1{\@^#!%{_bindir}/env python@d}' {} \;
%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
@@ -84,14 +73,11 @@ export PYTHONPATH=%{_builddir}/dill-%{version}
%python_exec dill/tests/__main__.py %python_exec dill/tests/__main__.py
%post %post
%python_install_alternative undill get_gprof get_objgraph %{python_install_alternative undill get_objgraph get_gprof}
%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