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

Commit

Permalink
Drop support for python 3.6 (#539)
Browse files Browse the repository at this point in the history
* Bump version: 6.1.0 → 7.0.0rc

* Support for python 3.6 has been dropped

Signed-off-by: Sambhav Kothari <skothari44@bloomberg.net>
  • Loading branch information
sambhav authored May 17, 2021
1 parent 2a58918 commit f710d32
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 12 deletions.
2 changes: 1 addition & 1 deletion .bumpversion.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[bumpversion]
current_version = 6.1.0
current_version = 7.0.0rc
commit = True
parse = (?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)((?P<release>.*))?
serialize =
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
strategy:
matrix:
os: [macos-latest, ubuntu-latest, windows-latest]
python-version: [3.6, 3.7, 3.8, 3.9]
python-version: [3.7, 3.8, 3.9]

steps:
- uses: actions/checkout@v2
Expand Down
8 changes: 8 additions & 0 deletions docs/release_notes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,14 @@ Release Notes
`Semantic Versioning <http://semver.org/>`_ specification.


Current Development Version
---------------------------

Major Updates

* Support for Python 3.6 has been dropped (#539).


6.1.0 - May 17th, 2021
---------------------------

Expand Down
6 changes: 3 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from setuptools import setup

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


requirements = [
Expand All @@ -26,14 +26,14 @@
'Environment :: Console',
'Development Status :: 5 - Production/Stable',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3 :: Only',
'Operating System :: OS Independent',
'License :: OSI Approved :: MIT License',
],
python_requires='>=3.6',
python_requires='>=3.7',
keywords='pydocstyle, PEP 257, pep257, PEP 8, pep8, docstrings',
packages=('pydocstyle',),
package_dir={'': 'src'},
Expand Down
2 changes: 1 addition & 1 deletion src/pydocstyle/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
from typing import Any, Iterable, Tuple

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

#: Regular expression for stripping non-alphanumeric characters
Expand Down
8 changes: 2 additions & 6 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# install tox" and then run "tox" from this directory.

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

[testenv]
download = true
Expand Down Expand Up @@ -36,18 +36,14 @@ deps =
-rrequirements/docs.txt
commands = sphinx-build -b html . _build

[testenv:py36-docs]
[testenv:py37-docs]
changedir = {[testenv:docs]changedir}
deps = {[testenv:docs]deps}
commands = {[testenv:docs]commands}

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

[testenv:py36-install]
skip_install = {[testenv:install]skip_install}
commands = {[testenv:install]commands}

[testenv:py37-install]
skip_install = {[testenv:install]skip_install}
commands = {[testenv:install]commands}
Expand Down

0 comments on commit f710d32

Please sign in to comment.