Commit f79a789a authored by Thomas Goirand's avatar Thomas Goirand

Removed Python 2 support.

parent bea056a1
python-keystoneclient (1:3.19.0-1) experimental; urgency=medium
* New upstream release.
* Removed Python 2 support.
-- Thomas Goirand <zigo@debian.org> Sat, 23 Mar 2019 08:43:47 +0100
......
......@@ -9,112 +9,49 @@ Build-Depends:
debhelper (>= 10),
dh-python,
openstack-pkg-tools,
python-all,
python-pbr (>= 2.0.0),
python-setuptools,
python3-all,
python3-pbr (>= 2.0.0),
python3-sphinx (>= 1.6.2) <!nodoc>,
python3-pbr,
python3-setuptools,
python3-sphinx <!nodoc>,
Build-Depends-Indep:
bandit,
memcached,
python-bandit,
python-coverage,
python-debtcollector,
python-fixtures,
python-hacking (>= 0.10.0),
python-keyring,
python-keystoneauth1 (>= 3.4.0),
python-lxml,
python-memcache,
python-mock,
python-mox3,
python-oauthlib,
python-oslo.config (>= 1:5.2.0),
python-oslo.i18n (>= 3.15.3),
python-oslo.serialization (>= 2.18.0),
python-oslo.utils (>= 3.33.0),
python-oslotest (>= 1:3.2.0),
python-pep8,
python-pysaml2,
python-requests (>= 2.14.2),
python-requests-mock (>= 1.2.0),
python-six,
python-stevedore (>= 1.20.0),
python-tempest (>= 1:17.1.0),
python-testresources (>= 2.0.0) <!nocheck>,
python-testscenarios <!nocheck>,
python-testtools (>= 2.2.0) <!nocheck>,
python3-bandit,
python3-coverage,
python3-debtcollector,
python3-fixtures,
python3-hacking (>= 0.10.0),
python3-hacking,
python3-keyring,
python3-keystoneauth1 (>= 3.4.0),
python3-keystoneauth1,
python3-lxml,
python3-memcache (>= 1.56),
python3-memcache,
python3-mock,
python3-mox3,
python3-oauthlib,
python3-openstackdocstheme (>= 1.18.1) <!nodoc>,
python3-oslo.config (>= 1:5.2.0),
python3-oslo.i18n (>= 3.15.3),
python3-oslo.serialization (>= 2.18.0),
python3-oslo.utils (>= 3.33.0),
python3-oslotest (>= 1:3.2.0),
python3-openstackdocstheme <!nodoc>,
python3-oslo.config,
python3-oslo.i18n,
python3-oslo.serialization,
python3-oslo.utils,
python3-oslotest,
python3-pep8,
python3-pysaml2,
python3-requests (>= 2.14.2),
python3-requests-mock (>= 1.2.0),
python3-requests,
python3-requests-mock,
python3-six,
python3-stevedore (>= 1.20.0),
python3-tempest (>= 1:17.1.0) <!nocheck>,
python3-testresources (>= 2.0.0) <!nocheck>,
python3-stestr,
python3-stevedore,
python3-tempest <!nocheck>,
python3-testresources <!nocheck>,
python3-testscenarios <!nocheck>,
python3-testtools (>= 2.2.0) <!nocheck>,
python3-testtools <!nocheck>,
subunit <!nocheck>,
tempest (>= 1:17.1.0),
testrepository <!nocheck>,
tempest,
Standards-Version: 4.1.3
Homepage: https://github.com/openstack/python-keystoneclient
Vcs-Git: https://salsa.debian.org/openstack-team/clients/python-keystoneclient.git
Vcs-Browser: https://salsa.debian.org/openstack-team/clients/python-keystoneclient
Package: python-keystoneclient
Architecture: all
Depends:
python-debtcollector,
python-keyring,
python-keystoneauth1 (>= 3.4.0),
python-lxml,
python-oslo.config (>= 1:5.2.0),
python-oslo.i18n (>= 3.15.3),
python-oslo.serialization (>= 2.18.0),
python-oslo.utils (>= 3.33.0),
python-pbr (>= 2.0.0),
python-requests (>= 2.14.2),
python-six,
python-stevedore (>= 1.20.0),
${misc:Depends},
${python:Depends},
Description: client library for the OpenStack Keystone API - Python 2.x
This is the identity service used by OpenStack for authentication (authN)
and high-level authorization (authZ). It currently supports token-based
authN with user/service authZ, and is scalable to support OAuth, SAML,
and OpenID in future versions. Out of the box, Keystone uses SQLite for
its identity store database, with the option to connect to external LDAP.
.
This is a client for the OpenStack Keystone API. There's a Python API
(the "keystoneclient" module), and a command-line script ("keystone").
.
Installing this package gets you a shell command, that you can use to
interact with Keystone's API. Note that the "keystone" command line is
currently deprecated in favor of the "openstack" one available within
the "python-openstackclient" package.
.
This package contains the Python 2.x module.
Package: python-keystoneclient-doc
Build-Profiles: <!nodoc>
Section: doc
......@@ -144,16 +81,16 @@ Architecture: all
Depends:
python3-debtcollector,
python3-keyring,
python3-keystoneauth1 (>= 3.4.0),
python3-keystoneauth1,
python3-lxml,
python3-oslo.config (>= 1:5.2.0),
python3-oslo.i18n (>= 3.15.3),
python3-oslo.serialization (>= 2.18.0),
python3-oslo.utils (>= 3.33.0),
python3-pbr (>= 2.0.0),
python3-requests (>= 2.14.2),
python3-oslo.config,
python3-oslo.i18n,
python3-oslo.serialization,
python3-oslo.utils,
python3-pbr,
python3-requests,
python3-six,
python3-stevedore (>= 1.20.0),
python3-stevedore,
${misc:Depends},
${python3:Depends},
Description: client library for the OpenStack Keystone API - Python 3.x
......
......@@ -9,38 +9,31 @@ include /usr/share/openstack-pkg-tools/pkgos.make
export RES_OPTIONS=attempts:0
%:
dh $@ --buildsystem=python_distutils --with python2,python3,sphinxdoc
dh $@ --buildsystem=python_distutils --with python3,sphinxdoc
override_dh_auto_install:
pkgos-dh_auto_install
override_dh_auto_clean:
rm -rf .testrepository
override_dh_python3:
dh_python3 --shebang=/usr/bin/python3
override_dh_auto_build:
echo "Do nothing..."
override_dh_auto_install:
pkgos-dh_auto_install --no-py2
override_dh_auto_test:
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
set -e ; for i in 2.7 $(PYTHON3S) ; do \
PYMAJOR=`echo $$i | cut -d'.' -f1` ; \
echo "===> Testing with python$$i (python$$PYMAJOR)" ; \
rm -rf .testrepository ; \
testr-python$$PYMAJOR init ; \
TEMP_REZ=`mktemp -t` ; \
PYTHONPATH=$(CURDIR) PYTHON=python$$i testr-python$$PYMAJOR run --subunit 'keystoneclient\.tests\.(?!.*memcache_set_expired.*|.*test_encrypt_cache_data.*|.*test_sign_cache_data.*)' | tee $$TEMP_REZ | subunit2pyunit ; \
cat $$TEMP_REZ | subunit-filter -s --no-passthrough | subunit-stats ; \
rm -f $$TEMP_REZ ; \
testr-python$$PYMAJOR slowest ; \
done
pkgos-dh_auto_test --no-py2
# 'keystoneclient\.tests\.(?!.*memcache_set_expired.*|.*test_encrypt_cache_data.*|.*test_sign_cache_data.*)'
endif
override_dh_clean:
dh_clean
override_dh_auto_clean:
rm -rf .testrepository
override_dh_sphinxdoc:
ifeq (,$(findstring nodocs, $(DEB_BUILD_OPTIONS)))
ifeq (,$(findstring nodoc, $(DEB_BUILD_OPTIONS)))
PYTHONPATH=. python3 -m sphinx -b html doc/source $(CURDIR)/debian/python-keystoneclient-doc/usr/share/doc/python-keystoneclient-doc/html
dh_sphinxdoc -O--buildsystem=python_distutils
endif
override_dh_python3:
dh_python3 --shebang=/usr/bin/python3
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment