Skip to content

Commit

Permalink
Remove deprecation warning in old python versions
Browse files Browse the repository at this point in the history
... because now this is not installable in these versions.
  • Loading branch information
kajinamit authored and arp102 committed Jul 26, 2024
1 parent cb11131 commit feec443
Showing 1 changed file with 0 additions and 21 deletions.
21 changes: 0 additions & 21 deletions kmip/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@

import os
import re
import sys
import warnings

from kmip.core import enums
from kmip.pie import client
Expand Down Expand Up @@ -46,22 +44,3 @@
'objects',
'services'
]


if sys.version_info[:2] == (2, 7):
warnings.warn(
(
"PyKMIP will drop support for Python 2.7 in a future release. "
"Please upgrade to a newer version of Python (3.5+ preferred)."
),
PendingDeprecationWarning
)

if sys.version_info[:2] == (3, 4):
warnings.warn(
(
"PyKMIP will drop support for Python 3.4 in a future release. "
"Please upgrade to a newer version of Python (3.5+ preferred)."
),
PendingDeprecationWarning
)

0 comments on commit feec443

Please sign in to comment.