Accepting request 1137122 from devel:languages:python

- update to 0.20.0:
  * Fix #245, never introduce new nodes during discard.
  * Fix #268, do not rely on well implemented __ne__ for keys in
    pmaps, instead do explicit inversion of equality
    comparison when checking for inequality.
  * Officially support Python 3.12.
  * Officially drop support for Python 3.7.
  * Fix #273, build more types of wheels.
  * Fix #282, add generic types to types
  * Fix #281, defaultdict can now be frozen. NB! This is a
    backwards incompatible fix since defaultdict was not
    previously frozen.

   to 0.17.0. Thanks @cool-RR for this!
  * Fix #166, Propagate 'ignore_extra' param in hierarchy. Thanks
  * Fix #154, not possible to insert empty pmap as leaf node with
  * Python 3.4 is no longer officially supported since it is EOL
  * Fix #157, major improvements to type hints. Thanks @je-l for
  * Fix #121, regression in PClass.set()

OBS-URL: https://build.opensuse.org/request/show/1137122
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pyrsistent?expand=0&rev=14
This commit is contained in:
Dominique Leuenberger 2024-01-06 16:29:15 +00:00 committed by Git OBS Bridge
commit 03a2c6272d
4 changed files with 32 additions and 16 deletions

BIN
pyrsistent-0.19.3.tar.gz (Stored with Git LFS)

Binary file not shown.

3
pyrsistent-0.20.0.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:4c48f78f62ab596c679086084d0dd13254ae4f3d6c72a83ffdf5ebdef8f265a4
size 103642

View File

@ -1,3 +1,19 @@
-------------------------------------------------------------------
Fri Jan 5 17:29:47 UTC 2024 - Dirk Müller <dmueller@suse.com>
- update to 0.20.0:
* Fix #245, never introduce new nodes during discard.
* Fix #268, do not rely on well implemented __ne__ for keys in
pmaps, instead do explicit inversion of equality
comparison when checking for inequality.
* Officially support Python 3.12.
* Officially drop support for Python 3.7.
* Fix #273, build more types of wheels.
* Fix #282, add generic types to types
* Fix #281, defaultdict can now be frozen. NB! This is a
backwards incompatible fix since defaultdict was not
previously frozen.
-------------------------------------------------------------------
Fri Apr 21 12:31:16 UTC 2023 - Dirk Müller <dmueller@suse.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package python-pyrsistent
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -16,11 +16,9 @@
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%global skip_python2 1
%{?sle15_python_module_pythons}
Name: python-pyrsistent
Version: 0.19.3
Version: 0.20.0
Release: 0
Summary: Persistent, Functional, Immutable data structures
License: MIT
@ -29,8 +27,10 @@ URL: http://github.com/tobgu/pyrsistent/
Source: https://files.pythonhosted.org/packages/source/p/pyrsistent/pyrsistent-%{version}.tar.gz
BuildRequires: %{python_module devel}
BuildRequires: %{python_module hypothesis}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
%python_subpackages
@ -50,10 +50,10 @@ is left untouched.
%build
export CFLAGS="%{optflags}"
%python_build
%pyproject_wheel
%install
%python_install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitearch}
%check
@ -66,6 +66,6 @@ export CFLAGS="%{optflags}"
%{python_sitearch}/_pyrsistent*
%{python_sitearch}/pvectorc*
%{python_sitearch}/pyrsistent
%{python_sitearch}/pyrsistent-%{version}*-info
%{python_sitearch}/pyrsistent-%{version}.dist-info
%changelog