Hello community,
here is the log from the commit of package python-sphinxcontrib-websupport for
openSUSE:Factory checked in at 2020-04-19 21:46:20
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-sphinxcontrib-websupport (Old)
and /work/SRC/openSUSE:Factory/.python-sphinxcontrib-websupport.new.2738
(New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-sphinxcontrib-websupport"
Sun Apr 19 21:46:20 2020 rev:9 rq:789011 version:1.2.1
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-sphinxcontrib-websupport/python-sphinxcontrib-websupport.changes
2019-06-18 14:46:21.781724578 +0200
+++
/work/SRC/openSUSE:Factory/.python-sphinxcontrib-websupport.new.2738/python-sphinxcontrib-websupport.changes
2020-04-19 21:46:33.983731248 +0200
@@ -1,0 +2,12 @@
+Fri Mar 27 09:00:20 UTC 2020 - [email protected]
+
+- version update to 1.2.1
+ * #41: templates/searchresults.html is missing in the source tarball
+
+-------------------------------------------------------------------
+Mon Mar 2 09:13:59 UTC 2020 - Dirk Mueller <[email protected]>
+
+- update to 1.2.0:
+ * Drop python2.7 and 3.4 support
+
+-------------------------------------------------------------------
Old:
----
sphinxcontrib-websupport-1.1.2.tar.gz
New:
----
sphinxcontrib-websupport-1.2.1.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-sphinxcontrib-websupport.spec ++++++
--- /var/tmp/diff_new_pack.UUAcgt/_old 2020-04-19 21:46:39.943743206 +0200
+++ /var/tmp/diff_new_pack.UUAcgt/_new 2020-04-19 21:46:39.947743215 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-sphinxcontrib-websupport
#
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -25,8 +25,9 @@
%define psuffix %{nil}
%bcond_with test
%endif
+%global skip_python2 1
Name: python-sphinxcontrib-websupport%{psuffix}
-Version: 1.1.2
+Version: 1.2.1
Release: 0
Summary: Sphinx API for Web Apps
License: BSD-2-Clause
++++++ sphinxcontrib-websupport-1.1.2.tar.gz ->
sphinxcontrib-websupport-1.2.1.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/sphinxcontrib-websupport-1.1.2/CHANGES
new/sphinxcontrib-websupport-1.2.1/CHANGES
--- old/sphinxcontrib-websupport-1.1.2/CHANGES 2019-05-19 11:22:23.000000000
+0200
+++ new/sphinxcontrib-websupport-1.2.1/CHANGES 2020-03-21 09:19:35.000000000
+0100
@@ -1,4 +1,14 @@
-Release 1.1.2 (unreleased)
+Release 1.2.1 (unreleased)
+==========================
+
+* #41: templates/searchresults.html is missing in the source tarball
+
+Release 1.2.0 (2020-02-07)
+==========================
+
+* Drop python2.7 and 3.4 support
+
+Release 1.1.2 (2019-05-19)
==========================
* #6380: sphinxcontrib-websupport doesn't work with Sphinx 2.0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/sphinxcontrib-websupport-1.1.2/MANIFEST.in
new/sphinxcontrib-websupport-1.2.1/MANIFEST.in
--- old/sphinxcontrib-websupport-1.1.2/MANIFEST.in 2019-05-18
08:07:18.000000000 +0200
+++ new/sphinxcontrib-websupport-1.2.1/MANIFEST.in 2020-03-21
09:18:20.000000000 +0100
@@ -6,3 +6,4 @@
recursive-include tests *
recursive-include sphinxcontrib/websupport/files *
+include sphinxcontrib/websupport/templates/*.html
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/sphinxcontrib-websupport-1.1.2/PKG-INFO
new/sphinxcontrib-websupport-1.2.1/PKG-INFO
--- old/sphinxcontrib-websupport-1.1.2/PKG-INFO 2019-05-19 11:23:21.000000000
+0200
+++ new/sphinxcontrib-websupport-1.2.1/PKG-INFO 2020-03-21 09:20:54.133654400
+0100
@@ -1,6 +1,6 @@
Metadata-Version: 2.1
Name: sphinxcontrib-websupport
-Version: 1.1.2
+Version: 1.2.1
Summary: Sphinx API for Web Apps
Home-page: http://sphinx-doc.org/
Author: Georg Brandl
@@ -20,18 +20,17 @@
Classifier: License :: OSI Approved :: BSD License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
-Classifier: Programming Language :: Python :: 2
-Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
-Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
+Classifier: Programming Language :: Python :: 3.8
Classifier: Framework :: Sphinx
Classifier: Framework :: Sphinx :: Extension
Classifier: Topic :: Documentation
Classifier: Topic :: Documentation :: Sphinx
Classifier: Topic :: Text Processing
Classifier: Topic :: Utilities
-Requires-Python: >=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*
+Requires-Python: >=3.5
Provides-Extra: test
+Provides-Extra: lint
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/sphinxcontrib-websupport-1.1.2/setup.py
new/sphinxcontrib-websupport-1.2.1/setup.py
--- old/sphinxcontrib-websupport-1.1.2/setup.py 2019-05-19 11:22:23.000000000
+0200
+++ new/sphinxcontrib-websupport-1.2.1/setup.py 2020-01-12 17:52:46.000000000
+0100
@@ -11,7 +11,12 @@
# Environment Marker works for wheel 0.24 or later
'test': [
'pytest',
- 'mock', # it would be better for 'test:python_version in 2.7'
+ 'sqlalchemy',
+ 'whoosh',
+ 'Sphinx',
+ ],
+ 'lint': [
+ 'flake8',
],
}
@@ -48,13 +53,11 @@
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python',
- 'Programming Language :: Python :: 2',
- 'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
- 'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
+ 'Programming Language :: Python :: 3.8',
'Framework :: Sphinx',
'Framework :: Sphinx :: Extension',
'Topic :: Documentation',
@@ -63,7 +66,7 @@
'Topic :: Utilities',
],
platforms='any',
- python_requires=">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*",
+ python_requires=">=3.5",
packages=find_packages(exclude=['tests']),
include_package_data=True,
extras_require=extras_require,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/sphinxcontrib-websupport-1.1.2/sphinxcontrib/websupport/__init__.py
new/sphinxcontrib-websupport-1.2.1/sphinxcontrib/websupport/__init__.py
--- old/sphinxcontrib-websupport-1.1.2/sphinxcontrib/websupport/__init__.py
2019-05-18 08:07:18.000000000 +0200
+++ new/sphinxcontrib-websupport-1.2.1/sphinxcontrib/websupport/__init__.py
2020-02-07 13:32:26.000000000 +0100
@@ -13,8 +13,7 @@
__import__('pkg_resources').declare_namespace(__name__)
+package_dir = path.abspath(path.dirname(__file__))
+
from sphinxcontrib.websupport.core import WebSupport # NOQA
from sphinxcontrib.websupport.version import __version__, __version_info__ #
NOQA
-
-
-package_dir = package_dir = path.abspath(path.dirname(__file__))
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/sphinxcontrib-websupport-1.1.2/sphinxcontrib/websupport/builder.py
new/sphinxcontrib-websupport-1.2.1/sphinxcontrib/websupport/builder.py
--- old/sphinxcontrib-websupport-1.1.2/sphinxcontrib/websupport/builder.py
2019-05-18 13:17:46.000000000 +0200
+++ new/sphinxcontrib-websupport-1.2.1/sphinxcontrib/websupport/builder.py
2020-01-12 17:29:32.000000000 +0100
@@ -72,19 +72,19 @@
return is_commentable
def set_webinfo(self, staticdir, virtual_staticdir, search, storage):
- # type: (unicode, unicode, Any, unicode) -> None
+ # type: (str, str, Any, str) -> None
self.staticdir = staticdir
self.virtual_staticdir = virtual_staticdir
self.search = search
self.storage = storage
def prepare_writing(self, docnames):
- # type: (Iterable[unicode]) -> None
+ # type: (Iterable[str]) -> None
PickleHTMLBuilder.prepare_writing(self, docnames)
self.globalcontext['no_search_suffix'] = True
def write_doc(self, docname, doctree):
- # type: (unicode, nodes.Node) -> None
+ # type: (str, nodes.Node) -> None
destination = StringOutput(encoding='utf-8')
doctree.settings = self.docsettings
@@ -102,7 +102,7 @@
self.handle_page(docname, ctx, event_arg=doctree)
def write_doc_serialized(self, docname, doctree):
- # type: (unicode, nodes.Node) -> None
+ # type: (str, nodes.Node) -> None
self.imgpath = '/' + posixpath.join(self.virtual_staticdir,
self.imagedir)
self.post_process_images(doctree)
title = self.env.longtitles.get(docname)
@@ -110,12 +110,12 @@
self.index_page(docname, doctree, title)
def load_indexer(self, docnames):
- # type: (Iterable[unicode]) -> None
+ # type: (Iterable[str]) -> None
self.indexer = self.search # type: ignore
self.indexer.init_indexing(changed=docnames) # type: ignore
def _render_page(self, pagename, addctx, templatename, event_arg=None):
- # type: (unicode, Dict, unicode, unicode) -> Tuple[Dict, Dict]
+ # type: (str, Dict, str, str) -> Tuple[Dict, Dict]
# This is mostly copied from StandaloneHTMLBuilder. However, instead
# of rendering the template and saving the html, create a context
# dict and pickle it.
@@ -124,7 +124,7 @@
def pathto(otheruri, resource=False,
baseuri=self.get_target_uri(pagename)):
- # type: (unicode, bool, unicode) -> unicode
+ # type: (str, bool, str) -> str
if resource and '://' in otheruri:
return otheruri
elif not resource:
@@ -162,7 +162,7 @@
def handle_page(self, pagename, addctx, templatename='page.html',
outfilename=None, event_arg=None):
- # type: (unicode, Dict, unicode, unicode, unicode) -> None
+ # type: (str, Dict, str, str, str) -> None
ctx, doc_ctx = self._render_page(pagename, addctx,
templatename, event_arg)
@@ -216,7 +216,7 @@
def setup(app):
- # type: (Sphinx) -> Dict[unicode, Any]
+ # type: (Sphinx) -> Dict[str, Any]
if sphinx_version >= (2, 0):
app.add_builder(WebSupportBuilder)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/sphinxcontrib-websupport-1.1.2/sphinxcontrib/websupport/core.py
new/sphinxcontrib-websupport-1.2.1/sphinxcontrib/websupport/core.py
--- old/sphinxcontrib-websupport-1.1.2/sphinxcontrib/websupport/core.py
2019-05-18 08:07:18.000000000 +0200
+++ new/sphinxcontrib-websupport-1.2.1/sphinxcontrib/websupport/core.py
2020-02-07 13:32:26.000000000 +0100
@@ -10,10 +10,10 @@
"""
import sys
+import pickle
import posixpath
from os import path
-from six.moves import cPickle as pickle
from jinja2 import Environment, FileSystemLoader
from docutils.core import publish_parts
@@ -22,6 +22,7 @@
from sphinx.util.osutil import ensuredir
from sphinx.util.pycompat import htmlescape
from sphinxcontrib.websupport import errors
+from sphinxcontrib.websupport import package_dir
from sphinxcontrib.websupport.search import BaseSearch, SEARCH_ADAPTERS
from sphinxcontrib.websupport.storage import StorageBackend
@@ -102,10 +103,7 @@
self.storage = SQLAlchemyStorage(storage)
def _init_templating(self):
- import sphinx
- template_path = path.join(sphinx.package_dir,
- 'themes', 'basic')
- loader = FileSystemLoader(template_path)
+ loader = FileSystemLoader(path.join(package_dir, 'templates'))
self.template_env = Environment(loader=loader)
def _init_search(self, search):
@@ -404,7 +402,7 @@
that remains the same throughout the lifetime of the
:class:`~sphinxcontrib.websupport.WebSupport` object.
"""
- self.base_comment_opts = {} # type: Dict[unicode, unicode]
+ self.base_comment_opts = {} # type: Dict[str, str]
if self.docroot != '':
comment_urls = [
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/sphinxcontrib-websupport-1.1.2/sphinxcontrib/websupport/search/__init__.py
new/sphinxcontrib-websupport-1.2.1/sphinxcontrib/websupport/search/__init__.py
---
old/sphinxcontrib-websupport-1.1.2/sphinxcontrib/websupport/search/__init__.py
2019-05-18 08:07:18.000000000 +0200
+++
new/sphinxcontrib-websupport-1.2.1/sphinxcontrib/websupport/search/__init__.py
2020-01-12 17:37:27.000000000 +0100
@@ -11,8 +11,6 @@
import re
-from six import text_type
-
class BaseSearch(object):
def __init__(self, path):
@@ -112,10 +110,7 @@
text[context_start:context_end],
context_end < len(text) and '...' or ''])
- try:
- return text_type(context, errors='ignore')
- except TypeError:
- return context
+ return context
def context_for_searchtool(self):
"""Required by the HTML builder."""
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/sphinxcontrib-websupport-1.1.2/sphinxcontrib/websupport/search/whooshsearch.py
new/sphinxcontrib-websupport-1.2.1/sphinxcontrib/websupport/search/whooshsearch.py
---
old/sphinxcontrib-websupport-1.1.2/sphinxcontrib/websupport/search/whooshsearch.py
2019-05-18 08:07:18.000000000 +0200
+++
new/sphinxcontrib-websupport-1.2.1/sphinxcontrib/websupport/search/whooshsearch.py
2020-01-12 17:37:27.000000000 +0100
@@ -14,8 +14,6 @@
from whoosh.qparser import QueryParser
from whoosh.analysis import StemmingAnalyzer
-from six import text_type
-
from sphinx.util.osutil import ensuredir
from sphinxcontrib.websupport.search import BaseSearch
@@ -45,7 +43,7 @@
self.index_writer.commit()
def add_document(self, pagename, filename, title, text):
- self.index_writer.add_document(path=text_type(pagename),
+ self.index_writer.add_document(path=pagename,
title=title,
text=text)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/sphinxcontrib-websupport-1.1.2/sphinxcontrib/websupport/search/xapiansearch.py
new/sphinxcontrib-websupport-1.2.1/sphinxcontrib/websupport/search/xapiansearch.py
---
old/sphinxcontrib-websupport-1.1.2/sphinxcontrib/websupport/search/xapiansearch.py
2019-05-18 08:07:18.000000000 +0200
+++
new/sphinxcontrib-websupport-1.2.1/sphinxcontrib/websupport/search/xapiansearch.py
2020-01-12 17:37:27.000000000 +0100
@@ -11,8 +11,6 @@
import xapian
-from six import string_types
-
from sphinx.util.osutil import ensuredir
from sphinxcontrib.websupport.search import BaseSearch
@@ -76,7 +74,7 @@
for m in matches:
data = m.document.get_data()
- if not isinstance(data, string_types):
+ if not isinstance(data, str):
data = data.decode("utf-8")
context = self.extract_context(data)
results.append((m.document.get_value(self.DOC_PATH),
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/sphinxcontrib-websupport-1.1.2/sphinxcontrib/websupport/templates/searchresults.html
new/sphinxcontrib-websupport-1.2.1/sphinxcontrib/websupport/templates/searchresults.html
---
old/sphinxcontrib-websupport-1.1.2/sphinxcontrib/websupport/templates/searchresults.html
1970-01-01 01:00:00.000000000 +0100
+++
new/sphinxcontrib-websupport-1.2.1/sphinxcontrib/websupport/templates/searchresults.html
2020-02-07 13:32:26.000000000 +0100
@@ -0,0 +1,36 @@
+{#
+ searchresults.html
+ ~~~~~~~~~~~~~~~~~~
+
+ Template for the body of the search results page.
+
+ :copyright: Copyright 2007-2020 by the Sphinx team, see AUTHORS.
+ :license: BSD, see LICENSE for details.
+#}
+<h1 id="search-documentation">{{ _('Search') }}</h1>
+<p>
+ From here you can search these documents. Enter your search
+ words into the box below and click "search".
+</p>
+<form action="" method="get">
+ <input type="text" name="q" value="" />
+ <input type="submit" value="{{ _('search') }}" />
+ <span id="search-progress" style="padding-left: 10px"></span>
+</form>
+{%- if search_performed %}
+ <h2>{{ _('Search Results') }}</h2>
+ {%- if not search_results %}
+ <p>{{ _('Your search did not match any documents. Please make sure that all
words are spelled correctly and that you\'ve selected enough categories.')
}}</p>
+ {%- endif %}
+{%- endif %}
+<div id="search-results">
+ {%- if search_results %}
+ <ul class="search">
+ {% for href, caption, context in search_results %}
+ <li><a href="{{ docroot }}{{ href }}/?highlight={{ q }}">{{ caption }}</a>
+ <div class="context">{{ context|e }}</div>
+ </li>
+ {% endfor %}
+ </ul>
+ {%- endif %}
+</div>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/sphinxcontrib-websupport-1.1.2/sphinxcontrib/websupport/version.py
new/sphinxcontrib-websupport-1.2.1/sphinxcontrib/websupport/version.py
--- old/sphinxcontrib-websupport-1.1.2/sphinxcontrib/websupport/version.py
2019-05-19 11:22:58.000000000 +0200
+++ new/sphinxcontrib-websupport-1.2.1/sphinxcontrib/websupport/version.py
2020-03-21 09:20:32.000000000 +0100
@@ -7,5 +7,5 @@
:license: BSD, see LICENSE for details.
"""
-__version__ = '1.1.2'
+__version__ = '1.2.1'
__version_info__ = tuple(map(int, __version__.split('.')))
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/sphinxcontrib-websupport-1.1.2/sphinxcontrib_websupport.egg-info/PKG-INFO
new/sphinxcontrib-websupport-1.2.1/sphinxcontrib_websupport.egg-info/PKG-INFO
---
old/sphinxcontrib-websupport-1.1.2/sphinxcontrib_websupport.egg-info/PKG-INFO
2019-05-19 11:23:21.000000000 +0200
+++
new/sphinxcontrib-websupport-1.2.1/sphinxcontrib_websupport.egg-info/PKG-INFO
2020-03-21 09:20:53.000000000 +0100
@@ -1,6 +1,6 @@
Metadata-Version: 2.1
Name: sphinxcontrib-websupport
-Version: 1.1.2
+Version: 1.2.1
Summary: Sphinx API for Web Apps
Home-page: http://sphinx-doc.org/
Author: Georg Brandl
@@ -20,18 +20,17 @@
Classifier: License :: OSI Approved :: BSD License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
-Classifier: Programming Language :: Python :: 2
-Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
-Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
+Classifier: Programming Language :: Python :: 3.8
Classifier: Framework :: Sphinx
Classifier: Framework :: Sphinx :: Extension
Classifier: Topic :: Documentation
Classifier: Topic :: Documentation :: Sphinx
Classifier: Topic :: Text Processing
Classifier: Topic :: Utilities
-Requires-Python: >=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*
+Requires-Python: >=3.5
Provides-Extra: test
+Provides-Extra: lint
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/sphinxcontrib-websupport-1.1.2/sphinxcontrib_websupport.egg-info/SOURCES.txt
new/sphinxcontrib-websupport-1.2.1/sphinxcontrib_websupport.egg-info/SOURCES.txt
---
old/sphinxcontrib-websupport-1.1.2/sphinxcontrib_websupport.egg-info/SOURCES.txt
2019-05-19 11:23:21.000000000 +0200
+++
new/sphinxcontrib-websupport-1.2.1/sphinxcontrib_websupport.egg-info/SOURCES.txt
2020-03-21 09:20:53.000000000 +0100
@@ -30,6 +30,7 @@
sphinxcontrib/websupport/storage/differ.py
sphinxcontrib/websupport/storage/sqlalchemy_db.py
sphinxcontrib/websupport/storage/sqlalchemystorage.py
+sphinxcontrib/websupport/templates/searchresults.html
sphinxcontrib_websupport.egg-info/PKG-INFO
sphinxcontrib_websupport.egg-info/SOURCES.txt
sphinxcontrib_websupport.egg-info/dependency_links.txt
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/sphinxcontrib-websupport-1.1.2/sphinxcontrib_websupport.egg-info/requires.txt
new/sphinxcontrib-websupport-1.2.1/sphinxcontrib_websupport.egg-info/requires.txt
---
old/sphinxcontrib-websupport-1.1.2/sphinxcontrib_websupport.egg-info/requires.txt
2019-05-19 11:23:21.000000000 +0200
+++
new/sphinxcontrib-websupport-1.2.1/sphinxcontrib_websupport.egg-info/requires.txt
2020-03-21 09:20:53.000000000 +0100
@@ -1,4 +1,9 @@
+[lint]
+flake8
+
[test]
pytest
-mock
+sqlalchemy
+whoosh
+Sphinx
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/sphinxcontrib-websupport-1.1.2/tox.ini
new/sphinxcontrib-websupport-1.2.1/tox.ini
--- old/sphinxcontrib-websupport-1.1.2/tox.ini 2019-05-19 10:48:45.000000000
+0200
+++ new/sphinxcontrib-websupport-1.2.1/tox.ini 2020-01-12 18:07:55.000000000
+0100
@@ -1,14 +1,11 @@
[tox]
-envlist=flake8,py27,py34,py35,py36,py37
+minversion = 2.4.0
+envlist=flake8,py35,py36,py37,py38,py39
[testenv]
-deps=
- six
- pytest
- sqlalchemy
- whoosh
- mock
- Sphinx
+usedevelop = True
+extras =
+ test
setenv =
SPHINX_TEST_TEMPDIR = {envdir}/testbuild
PYTHONDONTWRITEBYTECODE = true
@@ -16,25 +13,9 @@
commands=
{envpython} -m pytest tests/ {posargs}
-[testenv:sphinx20]
-deps=
- six
- pytest
- sqlalchemy
- whoosh
- mock
- Sphinx>=2.0.0b1
-
[testenv:flake8]
-deps=
- flake8
+extras =
+ test
+ lint
commands=
flake8
-
-[testenv:py27]
-deps=
- {[testenv]deps}
-
-[testenv:py35]
-# download setuptools and pip on creating virtualenv (for Travis CI)
-download = True