Supporting Python 3.4 (which is imminent) means we will stop supporting 2.6 .
This commit is contained in:
3
setup.py
3
setup.py
@@ -53,7 +53,7 @@ if sys.version_info < (2, 7):
|
|||||||
|
|
||||||
setup(
|
setup(
|
||||||
name='pysaml2',
|
name='pysaml2',
|
||||||
version='2.5.0',
|
version='3.0.0',
|
||||||
description='Python implementation of SAML Version 2',
|
description='Python implementation of SAML Version 2',
|
||||||
# long_description = read("README"),
|
# long_description = read("README"),
|
||||||
author='Roland Hedberg',
|
author='Roland Hedberg',
|
||||||
@@ -72,7 +72,6 @@ setup(
|
|||||||
"Development Status :: 4 - Beta",
|
"Development Status :: 4 - Beta",
|
||||||
"License :: OSI Approved :: Apache Software License",
|
"License :: OSI Approved :: Apache Software License",
|
||||||
"Topic :: Software Development :: Libraries :: Python Modules",
|
"Topic :: Software Development :: Libraries :: Python Modules",
|
||||||
"Programming Language :: Python :: 2.6",
|
|
||||||
"Programming Language :: Python :: 2.7"],
|
"Programming Language :: Python :: 2.7"],
|
||||||
|
|
||||||
scripts=["tools/parse_xsd2.py", "tools/make_metadata.py",
|
scripts=["tools/parse_xsd2.py", "tools/make_metadata.py",
|
||||||
|
|||||||
@@ -158,7 +158,8 @@ def test_idp_policy_filter():
|
|||||||
"norEduPersonNIN": "19800101134"}
|
"norEduPersonNIN": "19800101134"}
|
||||||
|
|
||||||
policy = idp.config.getattr("policy", "idp")
|
policy = idp.config.getattr("policy", "idp")
|
||||||
ava = policy.filter(ava, "urn:mace:example.com:saml:roland:sp", idp.metadata)
|
ava = policy.filter(ava, "urn:mace:example.com:saml:roland:sp",
|
||||||
|
idp.metadata)
|
||||||
|
|
||||||
print(ava)
|
print(ava)
|
||||||
assert list(ava.keys()) == ["eduPersonTargetedID"] # because no entity category
|
assert list(ava.keys()) == ["eduPersonTargetedID"] # because no entity category
|
||||||
|
|||||||
Reference in New Issue
Block a user