Skip to content
This repository has been archived by the owner on Dec 8, 2022. It is now read-only.

Commit

Permalink
Drop Python 3.6 support (#368)
Browse files Browse the repository at this point in the history
  • Loading branch information
adamchainz authored Jan 10, 2022
1 parent b3594d4 commit a547b22
Show file tree
Hide file tree
Showing 8 changed files with 6 additions and 88 deletions.
1 change: 0 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ jobs:
strategy:
matrix:
python-version:
- 3.6
- 3.7
- 3.8
- 3.9
Expand Down
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ repos:
rev: v2.31.0
hooks:
- id: pyupgrade
args: [--py36-plus]
args: [--py37-plus]
- repo: https://github.com/psf/black
rev: 21.12b0
hooks:
Expand Down
2 changes: 2 additions & 0 deletions HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
History
=======

* Drop Python 3.6 support.

3.4.0 (2021-08-14)
------------------

Expand Down
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ Use **pip**:
python -m pip install mariadb-dyncol
Python 3.6 to 3.10 supported.
Python 3.7 to 3.10 supported.

----

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ requires = ["setuptools >= 40.6.0", "wheel"]
build-backend = "setuptools.build_meta"

[tool.black]
target-version = ['py36']
target-version = ['py37']

[tool.isort]
profile = "black"
Expand Down
5 changes: 0 additions & 5 deletions requirements/compile.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,6 @@
"--generate-hashes",
"--allow-unsafe",
] + sys.argv[1:]
subprocess.run(
["python3.6", *common_args, "-o", "py36.txt"],
check=True,
capture_output=True,
)
subprocess.run(
["python3.7", *common_args, "-o", "py37.txt"],
check=True,
Expand Down
77 changes: 0 additions & 77 deletions requirements/py36.txt

This file was deleted.

3 changes: 1 addition & 2 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ classifiers =
Operating System :: OS Independent
Programming Language :: Python :: 3 :: Only
Programming Language :: Python :: 3
Programming Language :: Python :: 3.6
Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Expand All @@ -32,7 +31,7 @@ package_dir=
=src
packages = find:
include_package_data = True
python_requires = >=3.6
python_requires = >=3.7
zip_safe = False
[options.packages.find]
Expand Down

0 comments on commit a547b22

Please sign in to comment.