Skip to content

⬆️ update Python support to include version 3.13 and remove 3.8 #94

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 1 commit 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
104 changes: 52 additions & 52 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 @@ -456,11 +450,11 @@ jobs:
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,6 +479,12 @@ 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:
Expand Down
2 changes: 1 addition & 1 deletion 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
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2024 Klemen Tusar
Copyright (c) 2025 Klemen Tusar

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
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 = "mysql-to-sqlite3"
description = "A simple Python tool to transfer data from MySQL to SQLite 3"
readme = "README.md"
license = { text = "MIT" }
requires-python = ">=3.8"
requires-python = ">=3.9"
authors = [
{ name = "Klemen Tusar", email = "[email protected]" },
]
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 @@ -78,7 +78,7 @@ mysql2sqlite = "mysql_to_sqlite3.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