Skip to content

Commit ff68add

Browse files
committed
remove dependency to pytz and dateutil
1 parent bcb87fc commit ff68add

File tree

4 files changed

+1
-57
lines changed

4 files changed

+1
-57
lines changed

poetry.lock

Lines changed: 1 addition & 48 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,6 @@ defusedxml = "*"
4242
importlib-metadata = {version = ">=1.7.0", python = "<3.8"}
4343
importlib-resources = {python = "<3.9", version = "*"}
4444
paste = {optional = true, version = "*"}
45-
python-dateutil = "*"
46-
pytz = "*"
4745
"repoze.who" = {optional = true, version = "*"}
4846
requests = "^2"
4947
xmlschema = "^2"
@@ -65,8 +63,6 @@ flake8-bugbear = "^22.8.23"
6563
flake8-logging-format = "^0.7.5"
6664
ipdb = "^0.13.9"
6765
mypy = "^1.0.0"
68-
types-python-dateutil = "^2.8.19.6"
69-
types-pytz = "^2022.7.1.0"
7066
types-setuptools = "^67.2.0.1"
7167
types-six = "^1.16.21.4"
7268
types-requests = "^2.28.11.12"

src/saml2/cert.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,6 @@
1010
from cryptography.hazmat.primitives import hashes, serialization
1111
from cryptography.hazmat.primitives.asymmetric import rsa
1212
from cryptography.x509.oid import NameOID
13-
import dateutil.parser
14-
import pytz
1513

1614
import saml2.cryptography.pki
1715

src/saml2/sigver.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,6 @@
1616
from time import mktime
1717
from uuid import uuid4 as gen_random_key
1818

19-
import dateutil
20-
2119

2220
# importlib.resources was introduced in python 3.7
2321
# files API from importlib.resources introduced in python 3.9
@@ -29,7 +27,6 @@
2927
from urllib import parse
3028

3129
from cryptography import x509
32-
import pytz
3330

3431
from saml2 import ExtensionElement
3532
from saml2 import SamlBase

0 commit comments

Comments
 (0)