Skip to content
This repository was archived by the owner on Nov 3, 2023. It is now read-only.

Commit f710d32

Browse files
authored
Drop support for python 3.6 (#539)
* Bump version: 6.1.0 → 7.0.0rc * Support for python 3.6 has been dropped Signed-off-by: Sambhav Kothari <[email protected]>
1 parent 2a58918 commit f710d32

File tree

6 files changed

+16
-12
lines changed

6 files changed

+16
-12
lines changed

.bumpversion.cfg

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[bumpversion]
2-
current_version = 6.1.0
2+
current_version = 7.0.0rc
33
commit = True
44
parse = (?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)((?P<release>.*))?
55
serialize =

.github/workflows/test.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
strategy:
99
matrix:
1010
os: [macos-latest, ubuntu-latest, windows-latest]
11-
python-version: [3.6, 3.7, 3.8, 3.9]
11+
python-version: [3.7, 3.8, 3.9]
1212

1313
steps:
1414
- uses: actions/checkout@v2

docs/release_notes.rst

+8
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,14 @@ Release Notes
55
`Semantic Versioning <http://semver.org/>`_ specification.
66

77

8+
Current Development Version
9+
---------------------------
10+
11+
Major Updates
12+
13+
* Support for Python 3.6 has been dropped (#539).
14+
15+
816
6.1.0 - May 17th, 2021
917
---------------------------
1018

setup.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
from setuptools import setup
22

33
# Do not update the version manually - it is managed by `bumpversion`.
4-
version = '6.1.0'
4+
version = '7.0.0rc'
55

66

77
requirements = [
@@ -26,14 +26,14 @@
2626
'Environment :: Console',
2727
'Development Status :: 5 - Production/Stable',
2828
'Programming Language :: Python :: 3',
29-
'Programming Language :: Python :: 3.6',
3029
'Programming Language :: Python :: 3.7',
3130
'Programming Language :: Python :: 3.8',
31+
'Programming Language :: Python :: 3.9',
3232
'Programming Language :: Python :: 3 :: Only',
3333
'Operating System :: OS Independent',
3434
'License :: OSI Approved :: MIT License',
3535
],
36-
python_requires='>=3.6',
36+
python_requires='>=3.7',
3737
keywords='pydocstyle, PEP 257, pep257, PEP 8, pep8, docstrings',
3838
packages=('pydocstyle',),
3939
package_dir={'': 'src'},

src/pydocstyle/utils.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
from typing import Any, Iterable, Tuple
77

88
# Do not update the version manually - it is managed by `bumpversion`.
9-
__version__ = '6.1.0'
9+
__version__ = '7.0.0rc'
1010
log = logging.getLogger(__name__)
1111

1212
#: Regular expression for stripping non-alphanumeric characters

tox.ini

+2-6
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# install tox" and then run "tox" from this directory.
55

66
[tox]
7-
envlist = {py36,py37,py38,py39}-{tests,install},docs,install,py36-docs
7+
envlist = {py37,py38,py39}-{tests,install},docs,install,py37-docs
88

99
[testenv]
1010
download = true
@@ -36,18 +36,14 @@ deps =
3636
-rrequirements/docs.txt
3737
commands = sphinx-build -b html . _build
3838

39-
[testenv:py36-docs]
39+
[testenv:py37-docs]
4040
changedir = {[testenv:docs]changedir}
4141
deps = {[testenv:docs]deps}
4242
commands = {[testenv:docs]commands}
4343

4444
# There's no way to generate sub-sections in tox.
4545
# The following sections are all references to the `py37-install`.
4646

47-
[testenv:py36-install]
48-
skip_install = {[testenv:install]skip_install}
49-
commands = {[testenv:install]commands}
50-
5147
[testenv:py37-install]
5248
skip_install = {[testenv:install]skip_install}
5349
commands = {[testenv:install]commands}

0 commit comments

Comments
 (0)