Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Drop Python 3.8 support #14

Merged
merged 1 commit into from
Oct 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 17 additions & 19 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,26 +22,24 @@ jobs:
- "ubuntu-latest"
- "macos-latest"
- "windows-latest"
cpythons:
- - "3.8"
- "3.9"
- "3.10"
- "3.11"
- "3.12"
cpython-beta:
- "3.13"
pypys:
- - "3.8"
- "3.9"
- "3.10"
cache:
- key:
hash-files:
- "pyproject.toml"
- "requirements/*/*.txt"
paths:

# These values will be applied to all runners listed above.
include:
- cpythons:
- "3.9"
- "3.10"
- "3.11"
- "3.12"
cpython-beta: "3.13"
pypys:
- "3.9"
- "3.10"
cache-key-hash-files:
- "pyproject.toml"
- "requirements/*/*.txt"
cache-paths:
- ".mypy_cache/"

uses: "kurtmckee/github-workflows/.github/workflows/tox.yaml@73024397dba10c866931a1d26cc2a0e7d223472f" # v0.2
uses: "kurtmckee/github-workflows/.github/workflows/tox.yaml@420931a88d3f09ca8dbce4778d145ed610c231e0" # v0.4
with:
config: "${{ toJSON(matrix) }}"
14 changes: 7 additions & 7 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,11 @@ repos:
rev: "v3.17.0"
hooks:
- id: "pyupgrade"
name: "Enforce Python 3.8+ idioms"
args: ["--py38-plus"]
name: "Enforce Python 3.9+ idioms"
args: ["--py39-plus"]

- repo: "https://github.com/psf/black-pre-commit-mirror"
rev: "24.4.2"
rev: "24.8.0"
hooks:
- id: "black"

Expand All @@ -40,19 +40,19 @@ repos:
- id: "isort"

- repo: "https://github.com/pycqa/flake8"
rev: "7.1.0"
rev: "7.1.1"
hooks:
- id: "flake8"
additional_dependencies:
- "flake8-bugbear==24.4.26"
- "flake8-bugbear==24.8.19"

- repo: "https://github.com/editorconfig-checker/editorconfig-checker.python"
rev: "2.7.3"
rev: "3.0.3"
hooks:
- id: "editorconfig-checker"

- repo: "https://github.com/python-jsonschema/check-jsonschema"
rev: "0.29.1"
rev: "0.29.3"
hooks:
- id: "check-dependabot"
- id: "check-readthedocs"
Expand Down
4 changes: 4 additions & 0 deletions changelog.d/20241001_164144_kurtmckee_updates.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Python support
--------------

* Drop Python 3.8 support.
22 changes: 13 additions & 9 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"


# poetry
# ------

[tool.poetry]
name = "sqliteimport"
version = "0.2.0"
Expand All @@ -9,7 +17,7 @@ repository = "https://github.com/kurtmckee/sqliteimport"
homepage = "https://github.com/kurtmckee/sqliteimport"

[tool.poetry.dependencies]
python = ">=3.8"
python = ">=3.9"
click = {version = "^8", optional = true}

[tool.poetry.extras]
Expand All @@ -18,12 +26,8 @@ cli = ["click"]
[tool.poetry.scripts]
sqliteimport = "sqliteimport.cli:group"

[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"


# Coverage
# coverage
# --------

[tool.coverage.run]
Expand All @@ -46,7 +50,7 @@ skip_covered = true
fail_under = 29


# Mypy
# mypy
# ----

[tool.mypy]
Expand All @@ -55,7 +59,7 @@ strict = true
sqlite_cache = true


# Scriv
# scriv
# -----

[tool.scriv]
Expand All @@ -79,7 +83,7 @@ main_branches = ["main", "releases"]
new_fragment_template = "file: fragment-template.rst.txt"


# Pytest
# pytest
# ------

[tool.pytest.ini_options]
Expand Down
517 changes: 0 additions & 517 deletions requirements/docs/poetry.lock

This file was deleted.

2 changes: 1 addition & 1 deletion requirements/docs/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
package-mode = false

[tool.poetry.dependencies]
python = ">=3.8"
python = ">=3.9"
sphinx = "*"
50 changes: 25 additions & 25 deletions requirements/docs/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,25 +1,25 @@
alabaster==0.7.13 ; python_version >= "3.8"
babel==2.15.0 ; python_version >= "3.8"
certifi==2024.7.4 ; python_version >= "3.8"
charset-normalizer==3.3.2 ; python_version >= "3.8"
colorama==0.4.6 ; python_version >= "3.8" and sys_platform == "win32"
docutils==0.20.1 ; python_version >= "3.8"
idna==3.7 ; python_version >= "3.8"
imagesize==1.4.1 ; python_version >= "3.8"
importlib-metadata==8.2.0 ; python_version < "3.10" and python_version >= "3.8"
jinja2==3.1.4 ; python_version >= "3.8"
markupsafe==2.1.5 ; python_version >= "3.8"
packaging==24.1 ; python_version >= "3.8"
pygments==2.18.0 ; python_version >= "3.8"
pytz==2024.1 ; python_version < "3.9" and python_version >= "3.8"
requests==2.32.3 ; python_version >= "3.8"
snowballstemmer==2.2.0 ; python_version >= "3.8"
sphinx==7.1.2 ; python_version >= "3.8"
sphinxcontrib-applehelp==1.0.4 ; python_version >= "3.8"
sphinxcontrib-devhelp==1.0.2 ; python_version >= "3.8"
sphinxcontrib-htmlhelp==2.0.1 ; python_version >= "3.8"
sphinxcontrib-jsmath==1.0.1 ; python_version >= "3.8"
sphinxcontrib-qthelp==1.0.3 ; python_version >= "3.8"
sphinxcontrib-serializinghtml==1.1.5 ; python_version >= "3.8"
urllib3==2.2.2 ; python_version >= "3.8"
zipp==3.19.2 ; python_version < "3.10" and python_version >= "3.8"
alabaster==0.7.16 ; python_version >= "3.9"
babel==2.16.0 ; python_version >= "3.9"
certifi==2024.8.30 ; python_version >= "3.9"
charset-normalizer==3.3.2 ; python_version >= "3.9"
colorama==0.4.6 ; python_version >= "3.9" and sys_platform == "win32"
docutils==0.21.2 ; python_version >= "3.9"
idna==3.10 ; python_version >= "3.9"
imagesize==1.4.1 ; python_version >= "3.9"
importlib-metadata==8.5.0 ; python_version < "3.10" and python_version >= "3.9"
jinja2==3.1.4 ; python_version >= "3.9"
markupsafe==2.1.5 ; python_version >= "3.9"
packaging==24.1 ; python_version >= "3.9"
pygments==2.18.0 ; python_version >= "3.9"
requests==2.32.3 ; python_version >= "3.9"
snowballstemmer==2.2.0 ; python_version >= "3.9"
sphinx==7.4.7 ; python_version >= "3.9"
sphinxcontrib-applehelp==2.0.0 ; python_version >= "3.9"
sphinxcontrib-devhelp==2.0.0 ; python_version >= "3.9"
sphinxcontrib-htmlhelp==2.1.0 ; python_version >= "3.9"
sphinxcontrib-jsmath==1.0.1 ; python_version >= "3.9"
sphinxcontrib-qthelp==2.0.0 ; python_version >= "3.9"
sphinxcontrib-serializinghtml==2.0.0 ; python_version >= "3.9"
tomli==2.0.1 ; python_version < "3.11" and python_version >= "3.9"
urllib3==2.2.3 ; python_version >= "3.9"
zipp==3.20.2 ; python_version < "3.10" and python_version >= "3.9"
86 changes: 0 additions & 86 deletions requirements/mypy/poetry.lock

This file was deleted.

2 changes: 1 addition & 1 deletion requirements/mypy/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
package-mode = false

[tool.poetry.dependencies]
python = ">=3.8"
python = ">=3.9"
mypy = "*"
8 changes: 4 additions & 4 deletions requirements/mypy/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
mypy-extensions==1.0.0 ; python_version >= "3.8"
mypy==1.11.0 ; python_version >= "3.8"
tomli==2.0.1 ; python_version < "3.11" and python_version >= "3.8"
typing-extensions==4.12.2 ; python_version >= "3.8"
mypy-extensions==1.0.0 ; python_version >= "3.9"
mypy==1.11.2 ; python_version >= "3.9"
tomli==2.0.1 ; python_version < "3.11" and python_version >= "3.9"
typing-extensions==4.12.2 ; python_version >= "3.9"
Loading