Skip to content

Commit c2d95e9

Browse files
committed
Drop support for end-of-life Python 2.7 and 3.5
1 parent cec450c commit c2d95e9

File tree

4 files changed

+7
-5
lines changed

4 files changed

+7
-5
lines changed

.github/workflows/black.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,5 @@ jobs:
99
- uses: actions/[email protected]
1010
- uses: actions/[email protected]
1111
- uses: psf/[email protected]
12+
env:
13+
INPUT_BLACK_ARGS: --target-version py36

.github/workflows/run-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
name: Run the test suite
1313
strategy:
1414
matrix:
15-
python-version: [2.7, 3.5, 3.9] # no explicit need for 3.6, 3.7, 3.8
15+
python-version: [3.6, 3.9] # no explicit need for 3.7, 3.8
1616
runs-on: [macos-latest, ubuntu-latest]
1717
runs-on: ${{ matrix.runs-on }}
1818
steps:

.pre-commit-config.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,5 @@ repos:
33
rev: 20.8b1
44
hooks:
55
- id: black
6-
language_version: python3
6+
language_version: python3
7+
args: ['--target-version', 'py36']

setup.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,19 +24,18 @@
2424
"Intended Audience :: Science/Research",
2525
"License :: OSI Approved :: MIT License",
2626
"Operating System :: OS Independent",
27+
"Programming Language :: Python :: 3 :: Only",
2728
"Programming Language :: Python :: 3.9",
2829
"Programming Language :: Python :: 3.8",
2930
"Programming Language :: Python :: 3.7",
3031
"Programming Language :: Python :: 3.6",
31-
"Programming Language :: Python :: 3.5",
3232
"Programming Language :: Python :: 3",
33-
"Programming Language :: Python :: 2.7",
34-
"Programming Language :: Python :: 2",
3533
"Topic :: Multimedia :: Graphics :: Editors :: Vector-Based",
3634
"Topic :: Scientific/Engineering :: Visualization",
3735
"Topic :: Text Processing :: Markup",
3836
],
3937
package_dir={"": "src"},
38+
python_requires=">=3.6",
4039
install_requires=["lxml"],
4140
download_url="https://github.com/btel/svg_utils/archive/v{}.tar.gz".format(
4241
version_str

0 commit comments

Comments
 (0)