Accepting request 896344 from home:pgajdos:python

- version update to 3.5.0
  - Do not require ``mock`` for the test suite on Python 3; use unittest.mock
    instead.
  - 100% test coverage for each version of Python rather than combined, using
    ``coverage-python-version``.
  - Add the optional ``extra_node_attrs`` parameter to ``show_backrefs`` and
    ``show_backrefs``
  - Fix IPython/Jupyter inline graph support code that would kick in even if you
    explicitly passed a filename='foo.png' argument to
    ``show_refs``/``show_backrefs``.  See `issue 47
    <https://github.com/mgedmin/objgraph/issues/47>`_.
  - Add support for Python 3.8.
  - Drop support for Python 3.5.
- %check: use %pytest rpm macro

OBS-URL: https://build.opensuse.org/request/show/896344
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-objgraph?expand=0&rev=10
This commit is contained in:
Dirk Mueller 2021-05-31 20:22:21 +00:00 committed by Git OBS Bridge
parent 4e80833de2
commit 60b0a569bf
4 changed files with 24 additions and 6 deletions

View File

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

BIN
objgraph-3.5.0.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -1,3 +1,21 @@
-------------------------------------------------------------------
Mon May 31 11:01:37 UTC 2021 - pgajdos@suse.com
- version update to 3.5.0
- Do not require ``mock`` for the test suite on Python 3; use unittest.mock
instead.
- 100% test coverage for each version of Python rather than combined, using
``coverage-python-version``.
- Add the optional ``extra_node_attrs`` parameter to ``show_backrefs`` and
``show_backrefs``
- Fix IPython/Jupyter inline graph support code that would kick in even if you
explicitly passed a filename='foo.png' argument to
``show_refs``/``show_backrefs``. See `issue 47
<https://github.com/mgedmin/objgraph/issues/47>`_.
- Add support for Python 3.8.
- Drop support for Python 3.5.
- %check: use %pytest rpm macro
-------------------------------------------------------------------
Mon Jun 3 11:21:35 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package python-objgraph
#
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2021 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -19,7 +19,7 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define oldpython python
Name: python-objgraph
Version: 3.4.1
Version: 3.5.0
Release: 0
Summary: Python module to draw object reference graphs with graphviz
License: MIT
@ -57,7 +57,7 @@ xdot can be used for interactive use.
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%python_exec setup.py test
%pyunittest discover -v
%files %{python_files}
%doc README.rst CHANGES.rst HACKING.rst