Supporting Python 3.4 (which is imminent) means we will stop supporting 2.6 .

This commit is contained in:
Roland Hedberg
2015-06-16 19:04:20 +01:00
parent afca69c20b
commit c495b580f4
2 changed files with 3 additions and 3 deletions

View File

@@ -53,7 +53,7 @@ if sys.version_info < (2, 7):
setup(
name='pysaml2',
version='2.5.0',
version='3.0.0',
description='Python implementation of SAML Version 2',
# long_description = read("README"),
author='Roland Hedberg',
@@ -72,7 +72,6 @@ setup(
"Development Status :: 4 - Beta",
"License :: OSI Approved :: Apache Software License",
"Topic :: Software Development :: Libraries :: Python Modules",
"Programming Language :: Python :: 2.6",
"Programming Language :: Python :: 2.7"],
scripts=["tools/parse_xsd2.py", "tools/make_metadata.py",

View File

@@ -158,7 +158,8 @@ def test_idp_policy_filter():
"norEduPersonNIN": "19800101134"}
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)
assert list(ava.keys()) == ["eduPersonTargetedID"] # because no entity category