Skip to content

Commit 86bb987

Browse files
Merge pull request #72 from source-foundry/drop-py36
Drop Python 3.6 support
2 parents fad1442 + 67f6247 commit 86bb987

File tree

7 files changed

+11
-8
lines changed

7 files changed

+11
-8
lines changed

.github/workflows/publish-release.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
runs-on: ubuntu-latest
1313
strategy:
1414
matrix:
15-
python-version: [3.8]
15+
python-version: ["3.10"]
1616
steps:
1717
- uses: actions/checkout@v2
1818
- name: Set up Python ${{ matrix.python-version }}

.github/workflows/py-ci.yml

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

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

.github/workflows/py-coverage.yml

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

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

.github/workflows/py-lint.yml

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

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

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ font-line is a libre, open source command line tool for OpenType vertical metric
2626

2727
## Install
2828

29-
font-line is built with Python and is tested with Python 3.6+ interpreters. You can verify your installed Python version on the command line with the command:
29+
font-line is built with Python and supports Python 3.7+ interpreters. Check your installed Python version on the command line with the command:
3030

3131
```
3232
$ python3 --version
@@ -166,7 +166,7 @@ Unix/Linux/OS X users can write this report to a file with the `>` command line
166166
$ font-line report TheFont.ttf > font-report.txt
167167
```
168168

169-
You can modify the `font-report.txt` file path above to the file path string of your choice.
169+
Modify the `font-report.txt` file path above to the file path string of your choice.
170170

171171
#### Baseline to Baseline Distance Calculations
172172

setup.py

+4-1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
import sys
55
from setuptools import setup, find_packages
66

7+
REQUIRES_PYTHON = ">=3.7.0"
8+
79

810
# Use repository Markdown README.md for PyPI long description
911
try:
@@ -51,6 +53,7 @@ def version_read():
5153
author="Christopher Simpkins",
5254
author_email="[email protected]",
5355
platforms=["any"],
56+
python_requires=REQUIRES_PYTHON,
5457
packages=find_packages("lib"),
5558
package_dir={"": "lib"},
5659
install_requires=["commandlines", "standardstreams", "fontTools"],
@@ -66,10 +69,10 @@ def version_read():
6669
"Operating System :: OS Independent",
6770
"Programming Language :: Python",
6871
"Programming Language :: Python :: 3",
69-
"Programming Language :: Python :: 3.6",
7072
"Programming Language :: Python :: 3.7",
7173
"Programming Language :: Python :: 3.8",
7274
"Programming Language :: Python :: 3.9",
75+
"Programming Language :: Python :: 3.10",
7376
"Topic :: Software Development :: Libraries :: Python Modules",
7477
],
7578
)

tox.ini

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[tox]
2-
envlist = py37
2+
envlist = py310
33

44
[testenv]
55
commands =

0 commit comments

Comments
 (0)