Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-sphinxcontrib-actdiag for
openSUSE:Factory checked in at 2022-01-10 23:54:04
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-sphinxcontrib-actdiag (Old)
and /work/SRC/openSUSE:Factory/.python-sphinxcontrib-actdiag.new.1892
(New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-sphinxcontrib-actdiag"
Mon Jan 10 23:54:04 2022 rev:6 rq:945422 version:3.0.0
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-sphinxcontrib-actdiag/python-sphinxcontrib-actdiag.changes
2021-10-13 18:10:04.699650015 +0200
+++
/work/SRC/openSUSE:Factory/.python-sphinxcontrib-actdiag.new.1892/python-sphinxcontrib-actdiag.changes
2022-01-10 23:54:40.784860948 +0100
@@ -1,0 +2,7 @@
+Mon Jan 10 22:24:24 UTC 2022 - Dirk M??ller <[email protected]>
+
+- update to 3.0.0:
+ * support python 3.9+
+ * remove support of python 3.5/3.6
+
+-------------------------------------------------------------------
Old:
----
2.0.0.tar.gz
New:
----
3.0.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-sphinxcontrib-actdiag.spec ++++++
--- /var/tmp/diff_new_pack.kRCNfp/_old 2022-01-10 23:54:41.144861264 +0100
+++ /var/tmp/diff_new_pack.kRCNfp/_new 2022-01-10 23:54:41.148861267 +0100
@@ -1,7 +1,7 @@
#
# spec file for package python-sphinxcontrib-actdiag
#
-# Copyright (c) 2021 SUSE LLC
+# Copyright (c) 2022 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -20,7 +20,7 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
# Test files missing gh#blockdiag/sphinxcontrib-actdiag#1
Name: python-sphinxcontrib-actdiag
-Version: 2.0.0
+Version: 3.0.0
Release: 0
Summary: Sphinx actdiag extension
License: BSD-2-Clause
++++++ 2.0.0.tar.gz -> 3.0.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/sphinxcontrib-actdiag-2.0.0/.github/workflows/release.yml
new/sphinxcontrib-actdiag-3.0.0/.github/workflows/release.yml
--- old/sphinxcontrib-actdiag-2.0.0/.github/workflows/release.yml
1970-01-01 01:00:00.000000000 +0100
+++ new/sphinxcontrib-actdiag-3.0.0/.github/workflows/release.yml
2021-12-05 15:37:35.000000000 +0100
@@ -0,0 +1,26 @@
+name: Release a new package
+
+on:
+ push:
+ tags:
+ - '*'
+
+jobs:
+ release:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v2
+ - name: Set up Python
+ uses: actions/setup-python@v2
+ with:
+ python-version: '3.x'
+ - name: Install dependencies
+ run: pip install docutils setuptools wheel
+ - name: Build package
+ run: python setup.py sdist bdist_wheel
+ - name: Upload package to PyPI
+ uses: pypa/gh-action-pypi-publish@master
+ if: startsWith(github.ref, 'refs/tags/')
+ with:
+ user: __token__
+ password: ${{ secrets.PYPI_API_TOKEN }}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/sphinxcontrib-actdiag-2.0.0/.github/workflows/test.yml
new/sphinxcontrib-actdiag-3.0.0/.github/workflows/test.yml
--- old/sphinxcontrib-actdiag-2.0.0/.github/workflows/test.yml 1970-01-01
01:00:00.000000000 +0100
+++ new/sphinxcontrib-actdiag-3.0.0/.github/workflows/test.yml 2021-12-05
15:37:35.000000000 +0100
@@ -0,0 +1,37 @@
+name: CI
+
+on: [push, pull_request]
+
+jobs:
+ ubuntu:
+ runs-on: ubuntu-latest
+ strategy:
+ fail-fast: false
+ matrix:
+ name: [py37, py38, py39, blockdiag_dev]
+ include:
+ - name: py37
+ python: 3.7
+ toxenv: py37
+ - name: py38
+ python: 3.8
+ toxenv: py38
+ - name: py39
+ python: 3.9
+ toxenv: py39
+ - name: blockdiag_dev
+ python: 3.9
+ toxenv: blockdiag_dev
+
+ steps:
+ - uses: actions/checkout@v2
+ - name: Set up Python ${{ matrix.python }}
+ uses: actions/setup-python@v2
+ with:
+ python-version: ${{ matrix.python }}
+ - name: Check Python version
+ run: python --version
+ - name: Install dependencies
+ run: pip install -U tox
+ - name: Run Tox
+ run: tox -e ${{ matrix.toxenv }} -- -vv
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/sphinxcontrib-actdiag-2.0.0/.travis.yml
new/sphinxcontrib-actdiag-3.0.0/.travis.yml
--- old/sphinxcontrib-actdiag-2.0.0/.travis.yml 2019-12-08 17:38:43.000000000
+0100
+++ new/sphinxcontrib-actdiag-3.0.0/.travis.yml 1970-01-01 01:00:00.000000000
+0100
@@ -1,18 +0,0 @@
-language: python
-dist: xenial
-cache: pip
-matrix:
- include:
- - python: 3.5
- env: TOXENV=py35
- - python: 3.6
- env: TOXENV=py36
- - python: 3.7
- env: TOXENV=py37
- - python: 3.8
- env: TOXENV=py38
- - env: TOXENV=sphinx2.0
- - env: TOXENV=blockdiag_dev
- - env: TOXENV=coverage
-install: pip install -U docutils tox
-script: tox
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/sphinxcontrib-actdiag-2.0.0/circle.yml
new/sphinxcontrib-actdiag-3.0.0/circle.yml
--- old/sphinxcontrib-actdiag-2.0.0/circle.yml 2019-12-08 17:38:43.000000000
+0100
+++ new/sphinxcontrib-actdiag-3.0.0/circle.yml 1970-01-01 01:00:00.000000000
+0100
@@ -1,8 +0,0 @@
-dependencies:
- override:
- - pip install docutils tox
- cache_directories:
- - "~/.cache/pip"
-test:
- override:
- - tox -e blockdiag_dev
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/sphinxcontrib-actdiag-2.0.0/setup.py
new/sphinxcontrib-actdiag-3.0.0/setup.py
--- old/sphinxcontrib-actdiag-2.0.0/setup.py 2019-12-08 17:38:43.000000000
+0100
+++ new/sphinxcontrib-actdiag-3.0.0/setup.py 2021-12-05 15:37:35.000000000
+0100
@@ -6,7 +6,7 @@
setup(
name='sphinxcontrib-actdiag',
- version='2.0.0',
+ version='3.0.0',
url='https://github.com/blockdiag/sphinxcontrib-actdiag',
license='BSD',
author='Takeshi KOMIYA',
@@ -25,10 +25,9 @@
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3 :: Only',
- 'Programming Language :: Python :: 3.5',
- 'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
+ 'Programming Language :: Python :: 3.9',
'Topic :: Documentation',
'Topic :: Documentation :: Sphinx',
'Topic :: Utilities',
@@ -36,6 +35,7 @@
platforms='any',
packages=find_packages(exclude=['tests', 'tests.*']),
include_package_data=True,
+ python_requires=">=3.7",
install_requires=requires,
namespace_packages=['sphinxcontrib'],
)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/sphinxcontrib-actdiag-2.0.0/sphinxcontrib/actdiag.py
new/sphinxcontrib-actdiag-3.0.0/sphinxcontrib/actdiag.py
--- old/sphinxcontrib-actdiag-2.0.0/sphinxcontrib/actdiag.py 2019-12-08
17:38:43.000000000 +0100
+++ new/sphinxcontrib-actdiag-3.0.0/sphinxcontrib/actdiag.py 2021-12-05
15:37:35.000000000 +0100
@@ -120,13 +120,10 @@
image = node.to_drawer('SVG', self.builder, filename=None, nodoctype=True)
image.draw()
- if 'align' in node['options']:
- align = node['options']['align']
- self.body.append('<div align="%s" class="align-%s">' % (align, align))
- self.context.append('</div>\n')
- else:
- self.body.append('<div>')
- self.context.append('</div>\n')
+ # align
+ align = node['options'].get('align', 'default')
+ self.body.append('<div class="align-%s">' % align)
+ self.context.append('</div>\n')
# reftarget
for node_id in node['ids']:
@@ -164,13 +161,9 @@
image.save()
# align
- if 'align' in node['options']:
- align = node['options']['align']
- self.body.append('<div align="%s" class="align-%s">' % (align, align))
- self.context.append('</div>\n')
- else:
- self.body.append('<div>')
- self.context.append('</div>')
+ align = node['options'].get('align', 'default')
+ self.body.append('<div class="align-%s">' % align)
+ self.context.append('</div>\n')
# link to original image
relpath = node.get_relpath('PNG', self.builder)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/sphinxcontrib-actdiag-2.0.0/tests/test_html.py
new/sphinxcontrib-actdiag-3.0.0/tests/test_html.py
--- old/sphinxcontrib-actdiag-2.0.0/tests/test_html.py 2019-12-08
17:38:43.000000000 +0100
+++ new/sphinxcontrib-actdiag-3.0.0/tests/test_html.py 2021-12-05
15:37:35.000000000 +0100
@@ -25,7 +25,8 @@
"""
app.builder.build_all()
source = (app.outdir / 'index.html').read_text(encoding='utf-8')
- self.assertRegexpMatches(source, r'<div><img .*? src="_images/.*?.png"
.*?/></div>')
+ self.assertRegexpMatches(source, (r'<div class="align-default">'
+ r'<img .*? src="_images/.*?.png"
.*?/></div>'))
@with_app(srcdir='tests/docs/subdir', buildername='html',
write_docstring=True)
def test_build_png_image_in_subdir(self, app, status, warning):
@@ -36,7 +37,8 @@
"""
app.builder.build_all()
source = (app.outdir / 'subdir' /
'index.html').read_text(encoding='utf-8')
- self.assertRegexpMatches(source, r'<div><img .*?
src="\.\./_images/.*?.png" .*?/></div>')
+ self.assertRegexpMatches(source, (r'<div class="align-default">'
+ r'<img .*?
src="\.\./_images/.*?.png" .*?/></div>'))
@with_png_app
def test_width_option_on_png(self, app, status, warning):
@@ -48,7 +50,8 @@
"""
app.builder.build_all()
source = (app.outdir / 'index.html').read_text(encoding='utf-8')
- self.assertRegexpMatches(source, (r'<div><a class="reference internal
image-reference" href="(.*?.png)">'
+ self.assertRegexpMatches(source, (r'<div class="align-default">'
+ r'<a class="reference internal
image-reference" href="(.*?.png)">'
r'<img height="140.0" src="\1"
width="128.0" /></a></div>'))
@with_png_app
@@ -61,7 +64,8 @@
"""
app.builder.build_all()
source = (app.outdir / 'index.html').read_text(encoding='utf-8')
- self.assertRegexpMatches(source, (r'<div><a class="reference internal
image-reference" href="(.*?.png)">'
+ self.assertRegexpMatches(source, (r'<div class="align-default">'
+ r'<a class="reference internal
image-reference" href="(.*?.png)">'
r'<img height="140.0" src="\1"
width="128.0" /></a></div>'))
@with_png_app
@@ -75,7 +79,8 @@
"""
app.builder.build_all()
source = (app.outdir / 'index.html').read_text(encoding='utf-8')
- self.assertRegexpMatches(source, (r'<div><a class="reference internal
image-reference" href="(.*?.png)">'
+ self.assertRegexpMatches(source, (r'<div class="align-default">'
+ r'<a class="reference internal
image-reference" href="(.*?.png)">'
r'<img height="200.0" src="\1"
width="100.0" /></a></div>'))
@with_png_app
@@ -88,7 +93,8 @@
"""
app.builder.build_all()
source = (app.outdir / 'index.html').read_text(encoding='utf-8')
- self.assertRegexpMatches(source, (r'<div><a class="reference internal
image-reference" href="(.*?.png)">'
+ self.assertRegexpMatches(source, (r'<div class="align-default">'
+ r'<a class="reference internal
image-reference" href="(.*?.png)">'
r'<img height="70.0" src="\1"
width="64.0" /></a></div>'))
@with_png_app
@@ -102,7 +108,8 @@
"""
app.builder.build_all()
source = (app.outdir / 'index.html').read_text(encoding='utf-8')
- self.assertRegexpMatches(source, (r'<div><a class="reference internal
image-reference" href="(.*?.png)">'
+ self.assertRegexpMatches(source, (r'<div class="align-default">'
+ r'<a class="reference internal
image-reference" href="(.*?.png)">'
r'<img height="7.65625" src="\1"
width="7.0" /></a></div>'))
@with_png_app
@@ -115,7 +122,7 @@
"""
app.builder.build_all()
source = (app.outdir / 'index.html').read_text(encoding='utf-8')
- self.assertRegexpMatches(source, r'<div align="center"
class="align-center"><img .*? /></div>')
+ self.assertRegexpMatches(source, r'<div class="align-center"><img .*?
/></div>')
@with_png_app
def test_align_option_and_width_option_on_png(self, app, status, warning):
@@ -128,7 +135,7 @@
"""
app.builder.build_all()
source = (app.outdir / 'index.html').read_text(encoding='utf-8')
- self.assertRegexpMatches(source, (r'<div align="center"
class="align-center">'
+ self.assertRegexpMatches(source, (r'<div class="align-center">'
r'<a class="reference internal
image-reference" href="(.*?.png)">'
r'<img height="140.0" src="\1"
width="128.0" /></a></div>'))
@@ -142,7 +149,7 @@
"""
app.builder.build_all()
source = (app.outdir / 'index.html').read_text(encoding='utf-8')
- self.assertRegexpMatches(source, r'<div><img .*? id="target" src=".*?"
.*? /></div>')
+ self.assertRegexpMatches(source, r'<div class="align-default"><img .*?
id="target" src=".*?" .*? /></div>')
@with_png_app
def test_name_option_and_width_option_on_png(self, app, status, warning):
@@ -155,7 +162,8 @@
"""
app.builder.build_all()
source = (app.outdir / 'index.html').read_text(encoding='utf-8')
- self.assertRegexpMatches(source, (r'<div><a class="reference internal
image-reference" href="(.*?.png)">'
+ self.assertRegexpMatches(source, (r'<div class="align-default">'
+ r'<a class="reference internal
image-reference" href="(.*?.png)">'
r'<img height="140.0" id="target"
src="\1" width="128.0" /></a></div>'))
@with_png_app
@@ -169,7 +177,8 @@
"""
app.builder.build_all()
source = (app.outdir / 'index.html').read_text(encoding='utf-8')
- self.assertRegexpMatches(source, (r'<div><a class="reference internal
image-reference" href="(.*?.png)">'
+ self.assertRegexpMatches(source, (r'<div class="align-default">'
+ r'<a class="reference internal
image-reference" href="(.*?.png)">'
r'<map name="(map_\d+)">'
r'<area shape="rect"
coords="32.0,60.0,96.0,80.0" '
r'href="http://blockdiag.com/"></map>'
@@ -190,7 +199,7 @@
"""
app.builder.build_all()
source = (app.outdir / 'index.html').read_text(encoding='utf-8')
- self.assertRegexpMatches(source, (r'<div><map name="(map_\d+)">'
+ self.assertRegexpMatches(source, (r'<div class="align-default"><map
name="(map_\d+)">'
r'<area shape="rect"
coords="64.0,120.0,192.0,160.0" href="#target"></map>'
r'<img .*? src=".*?.png"
usemap="#\1" .*?/></div>'))
@@ -209,7 +218,7 @@
"""
app.builder.build_all()
source = (app.outdir / 'index.html').read_text(encoding='utf-8')
- self.assertRegexpMatches(source, (r'<div><map name="(map_\d+)">'
+ self.assertRegexpMatches(source, (r'<div class="align-default"><map
name="(map_\d+)">'
r'<area shape="rect"
coords="64.0,120.0,192.0,160.0" href="#hello-world">'
r'</map><img .*? src=".*?.png"
usemap="#\1" .*?/></div>'))
@@ -223,7 +232,7 @@
"""
app.builder.build_all()
source = (app.outdir / 'index.html').read_text(encoding='utf-8')
- self.assertRegexpMatches(source, r'<div><img .*? src=".*?.png"
.*?/></div>')
+ self.assertRegexpMatches(source, r'<div class="align-default"><img .*?
src=".*?.png" .*?/></div>')
self.assertIn('undefined label: unknown_target', warning.getvalue())
@with_svg_app
@@ -235,7 +244,7 @@
"""
app.builder.build_all()
source = (app.outdir / 'index.html').read_text(encoding='utf-8')
- self.assertRegexpMatches(source, r'<div><svg .*?>')
+ self.assertRegexpMatches(source, r'<div class="align-default"><svg
.*?>')
@with_svg_app
def test_width_option_on_svg(self, app, status, warning):
@@ -247,7 +256,8 @@
"""
app.builder.build_all()
source = (app.outdir / 'index.html').read_text(encoding='utf-8')
- self.assertRegexpMatches(source, r'<div><svg height="140.0" viewBox="0
0 256 280" width="128.0" .*?>')
+ self.assertRegexpMatches(source, (r'<div class="align-default">'
+ r'<svg height="140.0" viewBox="0 0
256 280" width="128.0" .*?>'))
@with_svg_app
def test_height_option_on_svg(self, app, status, warning):
@@ -259,7 +269,8 @@
"""
app.builder.build_all()
source = (app.outdir / 'index.html').read_text(encoding='utf-8')
- self.assertRegexpMatches(source, r'<div><svg height="140.0" viewBox="0
0 256 280" width="128.0" .*?>')
+ self.assertRegexpMatches(source, (r'<div class="align-default">'
+ r'<svg height="140.0" viewBox="0 0
256 280" width="128.0" .*?>'))
@with_svg_app
def test_width_option_and_height_option_on_svg(self, app, status, warning):
@@ -272,7 +283,8 @@
"""
app.builder.build_all()
source = (app.outdir / 'index.html').read_text(encoding='utf-8')
- self.assertRegexpMatches(source, r'<div><svg height="200.0" viewBox="0
0 256 280" width="100.0" .*?>')
+ self.assertRegexpMatches(source, (r'<div class="align-default">'
+ r'<svg height="200.0" viewBox="0 0
256 280" width="100.0" .*?>'))
@with_svg_app
def test_scale_option_on_svg(self, app, status, warning):
@@ -284,7 +296,8 @@
"""
app.builder.build_all()
source = (app.outdir / 'index.html').read_text(encoding='utf-8')
- self.assertRegexpMatches(source, r'<div><svg height="70.0" viewBox="0
0 256 280" width="64.0" .*?>')
+ self.assertRegexpMatches(source, (r'<div class="align-default">'
+ r'<svg height="70.0" viewBox="0 0
256 280" width="64.0" .*?>'))
@with_svg_app
def test_width_option_and_scale_option_on_svg(self, app, status, warning):
@@ -297,7 +310,8 @@
"""
app.builder.build_all()
source = (app.outdir / 'index.html').read_text(encoding='utf-8')
- self.assertRegexpMatches(source, r'<div><svg height="7.65625"
viewBox="0 0 256 280" width="7.0" .*?>')
+ self.assertRegexpMatches(source, (r'<div class="align-default">'
+ r'<svg height="7.65625" viewBox="0 0
256 280" width="7.0" .*?>'))
@with_svg_app
def test_align_option_on_svg(self, app, status, warning):
@@ -309,7 +323,7 @@
"""
app.builder.build_all()
source = (app.outdir / 'index.html').read_text(encoding='utf-8')
- self.assertRegexpMatches(source, r'<div align="center"
class="align-center"><svg .*?>')
+ self.assertRegexpMatches(source, r'<div class="align-center"><svg
.*?>')
@with_svg_app
def test_name_option_on_svg(self, app, status, warning):
@@ -321,7 +335,7 @@
"""
app.builder.build_all()
source = (app.outdir / 'index.html').read_text(encoding='utf-8')
- self.assertRegexpMatches(source, r'<div><span id="target"></span><svg
.*?>')
+ self.assertRegexpMatches(source, r'<div class="align-default"><span
id="target"></span><svg .*?>')
@with_svg_app
def test_reftarget_in_href_on_svg1(self, app, status, warning):
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/sphinxcontrib-actdiag-2.0.0/tox.ini
new/sphinxcontrib-actdiag-3.0.0/tox.ini
--- old/sphinxcontrib-actdiag-2.0.0/tox.ini 2019-12-08 17:38:43.000000000
+0100
+++ new/sphinxcontrib-actdiag-3.0.0/tox.ini 2021-12-05 15:37:35.000000000
+0100
@@ -5,7 +5,7 @@
## building sphinx docs in separate virtual environments. Give it a try!
[tox]
-envlist=py{35,36,37,38},sphinx2.0,blockdiag_dev
+envlist=py{37,38,39},blockdiag_dev
[testenv]
usedevelop = True
@@ -15,17 +15,14 @@
flake8
reportlab
sphinx-testing >= 0.5.2
+# for funcparserlib-1.0.0a0
+pip_pre=true
passenv=
TRAVIS*
commands=
nosetests
flake8 setup.py sphinxcontrib/ tests/
-[testenv:sphinx2.0]
-deps=
- {[testenv]deps}
- sphinx <= 2.1
-
[testenv:blockdiag_dev]
deps=
{[testenv]deps}