Skip to content

Commit

Permalink
Remove Python 2.7 from PyPi classifiers
Browse files Browse the repository at this point in the history
  • Loading branch information
wswld committed Jan 3, 2024
1 parent fd042f3 commit b7cfa04
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 11 deletions.
10 changes: 3 additions & 7 deletions ddt.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,10 @@
else:
_have_yaml = True

try:
# Python >=3
from collections.abc import Sequence
except ImportError:
# Python 2.7
from collections import Sequence
from collections.abc import Sequence


__version__ = '1.7.0'
__version__ = '1.7.1'

# These attributes will not conflict with any real python attribute
# They are added to the decorated test method and processed later
Expand Down
4 changes: 0 additions & 4 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,6 @@
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
Expand All @@ -29,6 +27,4 @@
'Programming Language :: Python :: 3.10',
'Topic :: Software Development :: Testing',
],
setup_requires=['enum34; python_version < "3"'],
install_requires=['enum34; python_version < "3"'],
)

0 comments on commit b7cfa04

Please sign in to comment.