Skip to content

Commit

Permalink
Remove support for Pythons before 3.7.
Browse files Browse the repository at this point in the history
I decided to remove support for Python versions before 3.7.  This change
does not change any code.  I simply removed the metadata and testing
around older Python versions.
  • Loading branch information
dave-shawley committed Aug 11, 2021
1 parent cc577bf commit 371317a
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 44 deletions.
24 changes: 0 additions & 24 deletions .circleci/config.yml
Expand Up @@ -16,26 +16,6 @@ jobs:
paths:
- cc-test-reporter

python-2-test:
working_directory: ~/ietfparse
docker:
- image: circleci/python:2
steps:
- checkout
- attach_workspace:
at: ~/ietfparse/tmp
- run: |
mkdir build
sudo pip install '.[test]' coveralls
coverage run -m unittest discover
coverage xml
./tmp/cc-test-reporter format-coverage -t coverage.py -o tmp/python2-coverage.json
coveralls
- persist_to_workspace:
root: tmp
paths:
- python2-coverage.json

python-3-test:
working_directory: ~/ietfparse
docker:
Expand Down Expand Up @@ -86,15 +66,11 @@ workflows:
build-workflow:
jobs:
- build
- python-2-test:
requires:
- build
- python-3-test:
requires:
- build
- upload-coverage:
requires:
- python-2-test
- python-3-test
- distribute-tag:
context: org-global
Expand Down
2 changes: 1 addition & 1 deletion LICENSE
@@ -1,4 +1,4 @@
Copyright (c) 2014-2020, Dave Shawley
Copyright (c) 2014-2021, Dave Shawley
All rights reserved.

Redistribution and use in source and binary forms, with or without
Expand Down
4 changes: 4 additions & 0 deletions docs/changelog.rst
Expand Up @@ -3,6 +3,10 @@ Changelog

.. py:currentmodule:: ietfparse
`Next release`_
---------------
- Removing support for Python versions before 3.7

`1.6.1`_ (26-Jan-2020)
----------------------
- Fixed project URL metadata.
Expand Down
25 changes: 11 additions & 14 deletions setup.cfg
Expand Up @@ -18,12 +18,10 @@ classifiers =
License :: OSI Approved :: BSD 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.4
Programming Language :: Python :: 3.5
Programming Language :: Python :: 3.6
Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Development Status :: 5 - Production/Stable
Environment :: Web Environment
Topic :: Internet :: WWW/HTTP
Expand All @@ -37,17 +35,15 @@ packages = find:

[options.extras_require]
dev =
coverage==5.0.3
flake8==3.7.9
mock>1.0,<2; python_version<"3"
mypy==0.761
sphinx==2.3.1
coverage==5.5
flake8==3.9.2
mypy==0.910
sphinx==4.1.1
sphinxcontrib-httpdomain==1.7.0
tox==3.14.2
yapf==0.29.0
tox==3.24.1
yapf==0.31.0
test =
coverage==5.0.3
mock>1.0,<2; python_version<"3"
coverage==5.5

[options.packages.find]
exclude =
Expand All @@ -66,6 +62,7 @@ show_missing = 1

[coverage:run]
branch = 1
source = ietfparse

[flake8]
exclude = build,dist,doc,env
Expand Down
9 changes: 4 additions & 5 deletions tox.ini
@@ -1,5 +1,5 @@
[tox]
envlist = py27,py35,py36,py37,py38,lint,coverage
envlist = py37,py38,py39,lint,coverage
toxworkdir = {toxinidir}/build/tox

[testenv]
Expand All @@ -8,10 +8,9 @@ extras = test

[testenv:lint]
deps =
flake8==3.7.9
mypy==0.720; python_version<"3"
mypy==0.761; python_version>"3"
yapf==0.29.0
flake8==3.9.2
mypy==0.910
yapf==0.31.0
commands =
flake8 --output-file=build/pep8.txt
mypy --strict --package ietfparse
Expand Down

0 comments on commit 371317a

Please sign in to comment.