Skip to content

Commit

Permalink
Merge pull request #279 from shadchin/drop_py2
Browse files Browse the repository at this point in the history
Remove Python 2 support
  • Loading branch information
bw2 authored Jul 23, 2023
2 parents 6acc381 + c1a08f4 commit 9f73219
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 9 deletions.
1 change: 0 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ python:
- 3.7
- 3.6
- 3.5
- 2.7
- pypy
- pypy3
jobs:
Expand Down
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ Features
- extensible (:code:`ConfigFileParser` can be subclassed to define a new
config file format)
- unittested by running the unittests that came with argparse but on
configargparse, and using tox to test with Python 2.7 and Python 3+
configargparse, and using tox to test with Python 3.5+

Example
~~~~~~~
Expand Down
4 changes: 1 addition & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,6 @@ def launch_http_server(directory):
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Natural Language :: English',
"Programming Language :: Python :: 2",
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
Expand All @@ -111,7 +109,7 @@ def launch_http_server(directory):
'Programming Language :: Python :: Implementation :: PyPy',
],
test_suite='tests',
python_requires='>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*',
python_requires='>=3.5',
install_requires=install_requires,
tests_require=tests_require,
extras_require = {
Expand Down
5 changes: 1 addition & 4 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,15 +1,12 @@
[tox]
envlist = py27, py35, py36, py37, py38, py39, py310, py311, pypy, pypy3
envlist = py35, py36, py37, py38, py39, py310, py311, pypy, pypy3

[testenv]
#setenv = PYTHONPATH = {toxinidir}:{toxinidir}/configmanager

commands = python setup.py test
# python -m unittest discover

[testenv:py27]
basepython=python2.7

[testenv:py35]
basepython=python3.5

Expand Down

0 comments on commit 9f73219

Please sign in to comment.