15
0

Accepting request 942029 from devel:languages:python

- Update to 1.0:
  * Added
    + Python 3.10 support
    + Added type annotations to various Pympler modules which are checked via
      Mypy
  * Removed
    + Python 2.7 and 3.5 support
  * Fixed
    + Fix summarizing objects at higher verbosity levels -- By Colin Watson
    + Fix tree widget import for Python 3.5 and higher -- By Felix Jung (#77)
    + Fix compatibility issues with numpy 1.19 and later -- By Jean
      Brouwers (#121)
    + Fix object filtering by size in muppy -- By Kris Jurka
    + Fix documentation typos -- By Tim Gates
- Use pytest to run the test suite.

OBS-URL: https://build.opensuse.org/request/show/942029
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Pympler?expand=0&rev=4
This commit is contained in:
2021-12-23 16:53:28 +00:00
committed by Git OBS Bridge
4 changed files with 25 additions and 6 deletions

View File

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

3
Pympler-1.0.tar.gz Normal file
View File

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

View File

@@ -1,3 +1,22 @@
-------------------------------------------------------------------
Wed Dec 22 00:18:12 UTC 2021 - Steve Kowalik <steven.kowalik@suse.com>
- Update to 1.0:
* Added
+ Python 3.10 support
+ Added type annotations to various Pympler modules which are checked via
Mypy
* Removed
+ Python 2.7 and 3.5 support
* Fixed
+ Fix summarizing objects at higher verbosity levels -- By Colin Watson
+ Fix tree widget import for Python 3.5 and higher -- By Felix Jung (#77)
+ Fix compatibility issues with numpy 1.19 and later -- By Jean
Brouwers (#121)
+ Fix object filtering by size in muppy -- By Kris Jurka
+ Fix documentation typos -- By Tim Gates
- Use pytest to run the test suite.
-------------------------------------------------------------------
Sat Feb 27 06:35:24 UTC 2021 - John Vandenberg <jayvdb@gmail.com>

View File

@@ -18,14 +18,14 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-Pympler
Version: 0.9
Version: 1.0
Release: 0
Summary: A tool to analyze the memory behavior of Python objects
License: Apache-2.0
Group: Development/Languages/Python
URL: https://github.com/pympler/pympler
Source: https://files.pythonhosted.org/packages/source/P/Pympler/Pympler-%{version}.tar.gz
Patch0: pympler-flaky-tests.patch
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
@@ -53,7 +53,7 @@ can easily be identified.
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} $python setup.py test
%pytest -k 'not (test_otracker_diff or test_repr_function or test_stracker or test_snapshot_members or test_charts)'
%files %{python_files}
%license LICENSE