Takashi Kajinami d53dd3e075 Fix unit tests with urllib3 2.x
urllib3 was recently bumped to 2.x[1] in global upper constraints.
Adopt the unit tests to fix a few new errors.

The key points are
 - It now strictly requires byte response
 - It ignores CN to verify SSL certificates and we should add SAN

Also leave the script to generate test certificates and keys so that
we can adjust these in the future more easily.

[1] https://review.opendev.org/c/openstack/requirements/+/972462

Change-Id: I4ed7182ad38593554b0ac7cbdb63af85d984371d
Signed-off-by: Takashi Kajinami <kajinamit@oss.nttdata.com>
(cherry picked from commit e02b6b449ca0a93197608d3adfabf4e3e646a762)
2026-03-10 05:48:14 +00:00
2026-03-10 05:48:14 +00:00
2018-06-05 14:38:51 +00:00
2019-04-19 19:39:30 +00:00
2022-02-25 13:31:42 -08:00
2024-11-25 00:39:59 +09:00
2012-03-26 22:48:48 -07:00
2021-07-07 20:46:00 +08:00
2025-06-09 18:06:39 +09:00
2020-04-04 16:47:34 +02:00
2025-07-01 01:15:36 +09:00
2023-04-18 22:24:37 +02:00

========================
Team and repository tags
========================

.. image:: https://governance.openstack.org/tc/badges/python-glanceclient.svg
    :target: https://governance.openstack.org/tc/reference/tags/index.html
    :alt: The following tags have been asserted for Python bindings to the
          OpenStack Images API:
          "project:official",
          "stable:follows-policy",
          "vulnerability:managed".
          Follow the link for an explanation of these tags.
.. NOTE(rosmaita): the alt text above will have to be updated when
   additional tags are asserted for python-glanceclient.  (The SVG in the
   governance repo is updated automatically.)

.. Change things from this point on

===========================================
Python bindings to the OpenStack Images API
===========================================

.. image:: https://img.shields.io/pypi/v/python-glanceclient.svg
    :target: https://pypi.org/project/python-glanceclient/
    :alt: Latest Version

This is a client library for Glance built on the OpenStack Images API. It provides a Python API (the ``glanceclient`` module) and a command-line tool (``glance``). This library fully supports the v1 Images API, while support for the v2 API is in progress.

Development takes place via the usual OpenStack processes as outlined in the `developer guide <https://docs.openstack.org/infra/manual/developers.html>`_.  The master repository is in `Git <https://opendev.org/openstack/python-glanceclient>`_.

See release notes and more at `<https://docs.openstack.org/python-glanceclient/latest/>`_.

* License: Apache License, Version 2.0
* `PyPi`_ - package installation
* `Online Documentation`_
* `Launchpad project`_ - release management
* `Blueprints`_ - feature specifications
* `Bugs`_ - issue tracking
* `Source`_
* `Specs`_
* `How to Contribute`_

.. _PyPi: https://pypi.org/project/python-glanceclient
.. _Online Documentation: https://docs.openstack.org/python-glanceclient/latest/
.. _Launchpad project: https://launchpad.net/python-glanceclient
.. _Blueprints: https://blueprints.launchpad.net/python-glanceclient
.. _Bugs: https://bugs.launchpad.net/python-glanceclient
.. _Source: https://opendev.org/openstack/python-glanceclient
.. _How to Contribute: https://docs.openstack.org/infra/manual/developers.html
.. _Specs: https://specs.openstack.org/openstack/glance-specs/
.. _Release notes: https://docs.openstack.org/releasenotes/python-glanceclient
S
Description
No description provided
Readme 1.7 MiB
Languages
Python 99.4%
Shell 0.6%