Skip to content

Commit 1c6ca97

Browse files
committed
Dropped support for Python 3.7
1 parent 6df3e16 commit 1c6ca97

File tree

9 files changed

+14
-15
lines changed

9 files changed

+14
-15
lines changed

.github/workflows/tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
strategy:
1616
fail-fast: false
1717
matrix:
18-
python-version: [3.6, 3.7, 3.8, 3.9, "3.10", "3.11", "pypy-3.6"]
18+
python-version: [3.7, 3.8, 3.9, "3.10", "3.11", "pypy-3.6"]
1919

2020
env:
2121
PYTHON: ${{ matrix.python-version }}

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ repos:
2323
rev: v2.26.0
2424
hooks:
2525
- id: pyupgrade
26-
entry: pyupgrade --py3-plus --py36-plus --keep-runtime-typing
26+
entry: pyupgrade --py3-plus --py36-plus --py37-plus --keep-runtime-typing
2727
language_version: python3.9
2828
- repo: https://github.com/myint/autoflake
2929
rev: 'v1.4'

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ monadic parser combinator library for LL(infinity) grammars in the spirit of
1111
<https://github.com/jneen/parsimmon>`_. But don't worry, it has really good
1212
documentation and it doesn't say things like that!
1313

14-
Parsy requires Python 3.6 or greater.
14+
Parsy requires Python 3.7 or greater.
1515

1616
For a good example of the kind of clear, declarative code you can create using
1717
parsy, see the `SQL SELECT statement example

conftest.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +0,0 @@
1-
import sys
2-
3-
collect_ignore = []
4-
5-
if sys.version_info < (3, 7):
6-
# Python 3.6 and below don't have `dataclasses`
7-
collect_ignore = ["examples/sql_select.py"]

docs/history.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,13 @@ History and release notes
44

55
.. currentmodule:: parsy
66

7+
2.1 - unreleased
8+
----------------
9+
10+
* Dropped support for Python 3.7
11+
* Added docstrings and basic type hints to all primitives and main methods
12+
13+
714
2.0 - 2022-09-08
815
----------------
916

docs/installation.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ parsy can be installed with pip::
77
pip install parsy
88

99

10-
Python 3.6 or greater is required.
10+
Python 3.7 or greater is required.

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[tool.black]
22
line-length = 119
33
# required-version = '22.1.0' # see https://github.com/psf/black/issues/2493
4-
target-version = ['py36']
4+
target-version = ['py310']
55

66
[tool.isort]
77
line_length = 119

setup.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
maintainer_email="[email protected]",
2525
url="https://github.com/python-parsy/parsy",
2626
license="MIT",
27-
python_requires=">=3.6",
27+
python_requires=">=3.7",
2828
classifiers=[
2929
"Development Status :: 5 - Production/Stable",
3030
"Intended Audience :: Developers",
@@ -33,7 +33,6 @@
3333
"Topic :: Text Processing",
3434
"License :: OSI Approved :: MIT License",
3535
"Programming Language :: Python :: 3",
36-
"Programming Language :: Python :: 3.6",
3736
"Programming Language :: Python :: 3.7",
3837
"Programming Language :: Python :: 3.8",
3938
"Programming Language :: Python :: 3.9",

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[tox]
2-
envlist = py36,py37,py38,py39,py310,py311,pypy36,check-manifest,isort-check,flake8-check
2+
envlist = py37,py38,py39,py310,py311,pypy37,check-manifest,isort-check,flake8-check
33

44
[testenv]
55
deps = -r tests/requirements-tests.txt

0 commit comments

Comments
 (0)