Remove six

There were only two small users. No need to keep the library around for
those.

Change-Id: Iad5d845b46852ce74962a134c8d250142f29c8e3
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
This commit is contained in:
Stephen Finucane 2021-10-21 10:07:36 +01:00
parent 42053b1f92
commit fcf44fcfb5
3 changed files with 3 additions and 4 deletions

@ -20,7 +20,6 @@ from docutils.parsers import rst
from docutils.parsers.rst.directives.tables import Table from docutils.parsers.rst.directives.tables import Table
from docutils.statemachine import ViewList from docutils.statemachine import ViewList
import pbr.version import pbr.version
import six
from sphinx.util import logging from sphinx.util import logging
from sphinx.util.osutil import copyfile from sphinx.util.osutil import copyfile
import yaml import yaml
@ -392,7 +391,7 @@ class RestParametersDirective(Table):
groups = [] groups = []
trow = nodes.row() trow = nodes.row()
entry = nodes.entry() entry = nodes.entry()
para = nodes.paragraph(text=six.u(table_data)) para = nodes.paragraph(text=str(table_data))
entry += para entry += para
trow += entry trow += entry
rows.append(trow) rows.append(trow)

@ -10,10 +10,11 @@
# License for the specific language governing permissions and limitations # License for the specific language governing permissions and limitations
# under the License. # under the License.
from http.client import responses
from docutils import nodes from docutils import nodes
from docutils.parsers.rst.directives.tables import Table from docutils.parsers.rst.directives.tables import Table
from docutils.statemachine import ViewList from docutils.statemachine import ViewList
from six.moves.http_client import responses
from sphinx.util import logging from sphinx.util import logging
import yaml import yaml

@ -4,6 +4,5 @@
pbr!=2.1.0,>=2.0.0 # Apache-2.0 pbr!=2.1.0,>=2.0.0 # Apache-2.0
PyYAML>=3.12 # MIT PyYAML>=3.12 # MIT
six>=1.10.0 # MIT
sphinx>=4.0.0 # BSD sphinx>=4.0.0 # BSD
openstackdocstheme>=2.2.1 # Apache-2.0 openstackdocstheme>=2.2.1 # Apache-2.0