Skip to content

Commit bd78752

Browse files
committed
Bump minimum Python version to 3.9 and update dependencies
1 parent ddc0697 commit bd78752

File tree

5 files changed

+14
-14
lines changed

5 files changed

+14
-14
lines changed

.github/workflows/github-ci.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
runs-on: ubuntu-latest
2323
strategy:
2424
matrix:
25-
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12", "3.13"]
25+
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
2626
steps:
2727
- name: Checkout source
2828
uses: actions/checkout@v4
@@ -38,10 +38,10 @@ jobs:
3838
run: |
3939
pytest --cov=linkify_it --cov-branch --cov-report=xml --cov-report=term-missing -v
4040
- name: Upload to Codecov
41-
if: matrix.python-version == 3.7 && github.repository == 'tsutsu3/linkify-it-py'
41+
if: matrix.python-version == 3.9 && github.repository == 'tsutsu3/linkify-it-py'
4242
uses: codecov/codecov-action@v5
4343
with:
44-
name: linkify-py-pytests-py3.7
44+
name: linkify-py-pytests-py3.9
4545
flags: pytests
4646
fail_ci_if_error: true
4747
token: ${{ secrets.CODECOV_TOKEN }}
@@ -105,7 +105,7 @@ jobs:
105105
pip install build
106106
python -m build
107107
- name: Publish
108-
uses: pypa/gh-action-pypi-publish@v1.12.2
108+
uses: pypa/gh-action-pypi-publish@release/v1
109109
with:
110110
user: __token__
111111
password: ${{ secrets.PYPI_KEY }}

.github/workflows/pypi-test.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@ jobs:
1414
steps:
1515
- name: Checkout source
1616
uses: actions/checkout@v4
17-
- name: Set up Python 3.7
17+
- name: Set up Python 3.9
1818
uses: actions/setup-python@v5
1919
with:
20-
python-version: 3.7
20+
python-version: 3.9
2121
- name: Replace version
2222
run:
2323
sed -rie "s/__version__ = \"(.*)\"/__version__ = \"\1.${{ inputs.TESTPYPI_VESION }}\""/g linkify_it/__init__.py
@@ -26,7 +26,7 @@ jobs:
2626
pip install build
2727
python -m build
2828
- name: Publish package distributions to TestPyPI
29-
uses: pypa/gh-action-pypi-publish@v1.12.2
29+
uses: pypa/gh-action-pypi-publish@release/v1
3030
with:
3131
repository-url: https://test.pypi.org/legacy/
3232
user: __token__

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,12 @@ repos:
1515
- id: trailing-whitespace
1616

1717
- repo: https://github.com/PyCQA/isort
18-
rev: 5.13.2
18+
rev: 6.0.1
1919
hooks:
2020
- id: isort
2121

2222
- repo: https://github.com/psf/black
23-
rev: 23.3.0
23+
rev: 25.1.0
2424
hooks:
2525
- id: black
2626

pyproject.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,18 +8,18 @@ authors = [{ name = "tsutsu3" }]
88
description = "Links recognition library with FULL unicode support."
99
urls = { Homepage = "https://github.com/tsutsu3/linkify-it-py" }
1010
readme = "README.md"
11-
requires-python = ">=3.7"
11+
requires-python = ">=3.9"
1212
keywords = ["linkify", "linkifier", "autolink", "autolinker"]
1313
dependencies = ["uc-micro-py"]
1414
license = { text = "MIT" }
1515
classifiers = [
1616
"Development Status :: 5 - Production/Stable",
1717
"Programming Language :: Python :: 3",
18-
"Programming Language :: Python :: 3.7",
19-
"Programming Language :: Python :: 3.8",
2018
"Programming Language :: Python :: 3.9",
2119
"Programming Language :: Python :: 3.10",
2220
"Programming Language :: Python :: 3.11",
21+
"Programming Language :: Python :: 3.12",
22+
"Programming Language :: Python :: 3.13",
2323
"License :: OSI Approved :: MIT License",
2424
"Operating System :: OS Independent",
2525
"Intended Audience :: Developers",

tox.ini

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
[tox]
2-
envlist = {py37, py38, py39, py310, py311}
2+
envlist = {py39, py310, py311, py312, py313}
33

44
[testenv]
55
deps =
66
pytest
77
uc-micro-py
88
usedevelop = true
99

10-
[testenv:py{37,38, 39, 310, 311}]
10+
[testenv:py{39, 310, 311, 312, 313}]
1111
extras = testing
1212
commands = pytest {posargs}

0 commit comments

Comments
 (0)