From 8e66ca6813016d9fc6f57d5f1e50530fc39f78ae Mon Sep 17 00:00:00 2001 From: InvalidInterrupt Date: Tue, 16 Aug 2016 19:39:31 -0700 Subject: CertificateBuilder accepts aware datetimes for not_valid_after and not_valid_before (#2920) * CertificateBuilder accepts aware datetimes for not_valid_after and not_valid_before These functions now accept aware datetimes and convert them to UTC * Added pytz to test requirements * Correct pep8 error and improve Changelog wording * Improve tests and clarify changelog message * Trim Changelog line length * Allow RevokedCertificateBuilder and CertificateRevocationListBuilder to accept aware datetimes * Fix accidental changelog entry --- setup.py | 1 + 1 file changed, 1 insertion(+) (limited to 'setup.py') diff --git a/setup.py b/setup.py index 3bacae7b..b5c05dfb 100644 --- a/setup.py +++ b/setup.py @@ -62,6 +62,7 @@ test_requirements = [ "pretend", "iso8601", "pyasn1_modules", + "pytz", ] if sys.version_info[:2] > (2, 6): test_requirements.append("hypothesis>=1.11.4") -- cgit v1.2.3