Skip to content

Commit

Permalink
Revert "deprecate python 2.7 (#616)" (#618)
Browse files Browse the repository at this point in the history
This reverts commit 0e9a6c2.
  • Loading branch information
reaperhulk committed Aug 14, 2020
1 parent 0e9a6c2 commit 12a62db
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 16 deletions.
3 changes: 0 additions & 3 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,6 @@ Changelog
1.5.0 (UNRELEASED)
------------------

* Deprecated support for Python 2.7. Support for this version will be removed
in the next release.

1.4.0 (2020-05-25)
------------------

Expand Down
13 changes: 0 additions & 13 deletions src/nacl/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,6 @@

from __future__ import absolute_import, division, print_function

import sys
import warnings

__all__ = [
"__title__",
"__summary__",
Expand All @@ -41,13 +38,3 @@

__license__ = "Apache License 2.0"
__copyright__ = "Copyright 2013-2018 {0}".format(__author__)


if sys.version_info[0] == 2:
warnings.warn(
"Python 2 is no longer supported by the Python core team. Support for "
"it is now deprecated in PyNaCl, and will be removed in the "
"next release.",
UserWarning,
stacklevel=2,
)

0 comments on commit 12a62db

Please sign in to comment.