Skip to content

⬆️ update Python version support to include 3.13 and drop 3.8 support #135

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

Merged
merged 2 commits into from
Mar 13, 2025
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
106 changes: 53 additions & 53 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,6 @@ jobs:
strategy:
matrix:
include:
- toxenv: "python3.8"
db: "mariadb:5.5"
legacy_db: 1
experimental: false
py: "3.8"

- toxenv: "python3.9"
db: "mariadb:5.5"
legacy_db: 1
Expand All @@ -66,11 +60,11 @@ jobs:
experimental: false
py: "3.12"

- toxenv: "python3.8"
db: "mariadb:10.0"
- toxenv: "python3.13"
db: "mariadb:5.5"
legacy_db: 1
experimental: false
py: "3.8"
py: "3.13"

- toxenv: "python3.9"
db: "mariadb:10.0"
Expand All @@ -96,11 +90,11 @@ jobs:
experimental: false
py: "3.12"

- toxenv: "python3.8"
db: "mariadb:10.1"
- toxenv: "python3.13"
db: "mariadb:10.0"
legacy_db: 1
experimental: false
py: "3.8"
py: "3.13"

- toxenv: "python3.9"
db: "mariadb:10.1"
Expand All @@ -126,11 +120,11 @@ jobs:
experimental: false
py: "3.12"

- toxenv: "python3.8"
db: "mariadb:10.2"
legacy_db: 0
- toxenv: "python3.13"
db: "mariadb:10.1"
legacy_db: 1
experimental: false
py: "3.8"
py: "3.13"

- toxenv: "python3.9"
db: "mariadb:10.2"
Expand All @@ -156,11 +150,11 @@ jobs:
experimental: false
py: "3.12"

- toxenv: "python3.8"
db: "mariadb:10.3"
- toxenv: "python3.13"
db: "mariadb:10.2"
legacy_db: 0
experimental: false
py: "3.8"
py: "3.13"

- toxenv: "python3.9"
db: "mariadb:10.3"
Expand All @@ -186,11 +180,11 @@ jobs:
experimental: false
py: "3.12"

- toxenv: "python3.8"
db: "mariadb:10.4"
- toxenv: "python3.13"
db: "mariadb:10.3"
legacy_db: 0
experimental: false
py: "3.8"
py: "3.13"

- toxenv: "python3.9"
db: "mariadb:10.4"
Expand All @@ -216,11 +210,11 @@ jobs:
experimental: false
py: "3.12"

- toxenv: "python3.8"
db: "mariadb:10.5"
- toxenv: "python3.13"
db: "mariadb:10.4"
legacy_db: 0
experimental: false
py: "3.8"
py: "3.13"

- toxenv: "python3.9"
db: "mariadb:10.5"
Expand All @@ -246,11 +240,11 @@ jobs:
experimental: false
py: "3.12"

- toxenv: "python3.8"
db: "mariadb:10.6"
- toxenv: "python3.13"
db: "mariadb:10.5"
legacy_db: 0
experimental: false
py: "3.8"
py: "3.13"

- toxenv: "python3.9"
db: "mariadb:10.6"
Expand All @@ -276,11 +270,11 @@ jobs:
experimental: false
py: "3.12"

- toxenv: "python3.8"
db: "mariadb:10.11"
- toxenv: "python3.13"
db: "mariadb:10.6"
legacy_db: 0
experimental: false
py: "3.8"
py: "3.13"

- toxenv: "python3.9"
db: "mariadb:10.11"
Expand All @@ -306,11 +300,11 @@ jobs:
experimental: false
py: "3.12"

- toxenv: "python3.8"
db: "mariadb:11.4"
- toxenv: "python3.13"
db: "mariadb:10.11"
legacy_db: 0
experimental: false
py: "3.8"
py: "3.13"

- toxenv: "python3.9"
db: "mariadb:11.4"
Expand All @@ -336,11 +330,11 @@ jobs:
experimental: false
py: "3.12"

- toxenv: "python3.8"
db: "mysql:5.5"
legacy_db: 1
- toxenv: "python3.13"
db: "mariadb:11.4"
legacy_db: 0
experimental: false
py: "3.8"
py: "3.13"

- toxenv: "python3.9"
db: "mysql:5.5"
Expand All @@ -366,11 +360,11 @@ jobs:
experimental: false
py: "3.12"

- toxenv: "python3.8"
db: "mysql:5.6"
- toxenv: "python3.13"
db: "mysql:5.5"
legacy_db: 1
experimental: false
py: "3.8"
py: "3.13"

- toxenv: "python3.9"
db: "mysql:5.6"
Expand All @@ -396,11 +390,11 @@ jobs:
experimental: false
py: "3.12"

- toxenv: "python3.8"
db: "mysql:5.7"
legacy_db: 0
- toxenv: "python3.13"
db: "mysql:5.6"
legacy_db: 1
experimental: false
py: "3.8"
py: "3.13"

- toxenv: "python3.9"
db: "mysql:5.7"
Expand All @@ -426,11 +420,11 @@ jobs:
experimental: false
py: "3.12"

- toxenv: "python3.8"
db: "mysql:8.0"
- toxenv: "python3.13"
db: "mysql:5.7"
legacy_db: 0
experimental: false
py: "3.8"
py: "3.13"

- toxenv: "python3.9"
db: "mysql:8.0"
Expand All @@ -455,12 +449,11 @@ jobs:
legacy_db: 0
experimental: false
py: "3.12"

- toxenv: "python3.8"
db: "mysql:8.4"
- toxenv: "python3.13"
db: "mysql:8.0"
legacy_db: 0
experimental: true
py: "3.8"
experimental: false
py: "3.13"

- toxenv: "python3.9"
db: "mysql:8.4"
Expand All @@ -485,8 +478,15 @@ jobs:
legacy_db: 0
experimental: true
py: "3.12"

- toxenv: "python3.13"
db: "mysql:8.4"
legacy_db: 0
experimental: true
py: "3.13"
continue-on-error: ${{ matrix.experimental }}
services:

mysql:
image: ${{ matrix.db }}
ports:
Expand Down
4 changes: 2 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ interactions related to the project.

Ensuring backward compatibility is an imperative requirement.

Currently, the tool supports Python versions 3.8, 3.9, 3.10, 3.11, and 3.12.
Currently, the tool supports Python versions 3.9, 3.10, 3.11, 3.12, and 3.13.

## MySQL version support

Expand Down Expand Up @@ -61,7 +61,7 @@ git commit -m "A brief summary of the commit
>
> A paragraph describing what changed and its impact."
```

## Coding standards

It is essential to prioritize code readability and conciseness. To achieve this, we recommend
Expand Down
8 changes: 4 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ name = "sqlite3-to-mysql"
description = "A simple Python tool to transfer data from SQLite 3 to MySQL"
readme = "README.md"
license = { text = "MIT" }
requires-python = ">=3.8"
requires-python = ">=3.9"
authors = [
{ name = "Klemen Tusar", email = "techouse@gmail.com" },
]
Expand All @@ -29,11 +29,11 @@ classifiers = [
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: Implementation :: CPython",
"Topic :: Database",
]
Expand Down Expand Up @@ -79,7 +79,7 @@ sqlite3mysql = "sqlite3_to_mysql.cli:cli"

[tool.black]
line-length = 120
target-version = ["py38", "py39", "py310", "py311", "py312"]
target-version = ["py39", "py310", "py311", "py312", "py313"]
include = '\.pyi?$'
exclude = '''
(
Expand Down Expand Up @@ -122,7 +122,7 @@ markers = [

[tool.mypy]
mypy_path = "src"
python_version = "3.8"
python_version = "3.9"
exclude = [
"tests",
"docs",
Expand Down
4 changes: 2 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,23 +1,23 @@
[tox]
isolated_build = true
envlist =
python3.8,
python3.9,
python3.10,
python3.11,
python3.12,
python3.13,
black,
flake8,
linters,
skip_missing_interpreters = true

[gh-actions]
python =
3.8: python3.8
3.9: python3.9
3.10: python3.10
3.11: python3.11
3.12: python3.12
3.13: python3.13

[testenv]
passenv =
Expand Down