Skip to content

Commit 945cb33

Browse files
authored
Merge branch 'master' into socket
2 parents 006ef25 + 642da5d commit 945cb33

File tree

8 files changed

+68
-69
lines changed

8 files changed

+68
-69
lines changed

.github/workflows/publish.yml

+1-6
Original file line numberDiff line numberDiff line change
@@ -60,15 +60,10 @@ jobs:
6060
run: |
6161
set -e
6262
python3 -m build --sdist --wheel --outdir dist/ .
63-
- name: Publish distribution package to Test PyPI
64-
id: publish_test
65-
uses: pypa/gh-action-pypi-publish@release/v1
66-
with:
67-
repository-url: https://test.pypi.org/legacy/
6863
- name: Publish distribution package to PyPI
6964
id: publish
7065
if: startsWith(github.ref, 'refs/tags')
71-
uses: pypa/gh-action-pypi-publish@release/v1
66+
uses: pypa/gh-action-pypi-publish@76f52bc884231f62b9a034ebfe128415bbaabdfc # v1.12.4
7267
- name: Install pyproject-parser
7368
id: install_pyproject_parser
7469
run: |

.github/workflows/test.yml

+53-53
Original file line numberDiff line numberDiff line change
@@ -36,12 +36,6 @@ jobs:
3636
strategy:
3737
matrix:
3838
include:
39-
- toxenv: "python3.8"
40-
db: "mariadb:5.5"
41-
legacy_db: 1
42-
experimental: false
43-
py: "3.8"
44-
4539
- toxenv: "python3.9"
4640
db: "mariadb:5.5"
4741
legacy_db: 1
@@ -66,11 +60,11 @@ jobs:
6660
experimental: false
6761
py: "3.12"
6862

69-
- toxenv: "python3.8"
70-
db: "mariadb:10.0"
63+
- toxenv: "python3.13"
64+
db: "mariadb:5.5"
7165
legacy_db: 1
7266
experimental: false
73-
py: "3.8"
67+
py: "3.13"
7468

7569
- toxenv: "python3.9"
7670
db: "mariadb:10.0"
@@ -96,11 +90,11 @@ jobs:
9690
experimental: false
9791
py: "3.12"
9892

99-
- toxenv: "python3.8"
100-
db: "mariadb:10.1"
93+
- toxenv: "python3.13"
94+
db: "mariadb:10.0"
10195
legacy_db: 1
10296
experimental: false
103-
py: "3.8"
97+
py: "3.13"
10498

10599
- toxenv: "python3.9"
106100
db: "mariadb:10.1"
@@ -126,11 +120,11 @@ jobs:
126120
experimental: false
127121
py: "3.12"
128122

129-
- toxenv: "python3.8"
130-
db: "mariadb:10.2"
131-
legacy_db: 0
123+
- toxenv: "python3.13"
124+
db: "mariadb:10.1"
125+
legacy_db: 1
132126
experimental: false
133-
py: "3.8"
127+
py: "3.13"
134128

135129
- toxenv: "python3.9"
136130
db: "mariadb:10.2"
@@ -156,11 +150,11 @@ jobs:
156150
experimental: false
157151
py: "3.12"
158152

159-
- toxenv: "python3.8"
160-
db: "mariadb:10.3"
153+
- toxenv: "python3.13"
154+
db: "mariadb:10.2"
161155
legacy_db: 0
162156
experimental: false
163-
py: "3.8"
157+
py: "3.13"
164158

165159
- toxenv: "python3.9"
166160
db: "mariadb:10.3"
@@ -186,11 +180,11 @@ jobs:
186180
experimental: false
187181
py: "3.12"
188182

189-
- toxenv: "python3.8"
190-
db: "mariadb:10.4"
183+
- toxenv: "python3.13"
184+
db: "mariadb:10.3"
191185
legacy_db: 0
192186
experimental: false
193-
py: "3.8"
187+
py: "3.13"
194188

195189
- toxenv: "python3.9"
196190
db: "mariadb:10.4"
@@ -216,11 +210,11 @@ jobs:
216210
experimental: false
217211
py: "3.12"
218212

219-
- toxenv: "python3.8"
220-
db: "mariadb:10.5"
213+
- toxenv: "python3.13"
214+
db: "mariadb:10.4"
221215
legacy_db: 0
222216
experimental: false
223-
py: "3.8"
217+
py: "3.13"
224218

225219
- toxenv: "python3.9"
226220
db: "mariadb:10.5"
@@ -246,11 +240,11 @@ jobs:
246240
experimental: false
247241
py: "3.12"
248242

249-
- toxenv: "python3.8"
250-
db: "mariadb:10.6"
243+
- toxenv: "python3.13"
244+
db: "mariadb:10.5"
251245
legacy_db: 0
252246
experimental: false
253-
py: "3.8"
247+
py: "3.13"
254248

255249
- toxenv: "python3.9"
256250
db: "mariadb:10.6"
@@ -276,11 +270,11 @@ jobs:
276270
experimental: false
277271
py: "3.12"
278272

279-
- toxenv: "python3.8"
280-
db: "mariadb:10.11"
273+
- toxenv: "python3.13"
274+
db: "mariadb:10.6"
281275
legacy_db: 0
282276
experimental: false
283-
py: "3.8"
277+
py: "3.13"
284278

285279
- toxenv: "python3.9"
286280
db: "mariadb:10.11"
@@ -306,11 +300,11 @@ jobs:
306300
experimental: false
307301
py: "3.12"
308302

309-
- toxenv: "python3.8"
310-
db: "mariadb:11.4"
303+
- toxenv: "python3.13"
304+
db: "mariadb:10.11"
311305
legacy_db: 0
312306
experimental: false
313-
py: "3.8"
307+
py: "3.13"
314308

315309
- toxenv: "python3.9"
316310
db: "mariadb:11.4"
@@ -336,11 +330,11 @@ jobs:
336330
experimental: false
337331
py: "3.12"
338332

339-
- toxenv: "python3.8"
340-
db: "mysql:5.5"
341-
legacy_db: 1
333+
- toxenv: "python3.13"
334+
db: "mariadb:11.4"
335+
legacy_db: 0
342336
experimental: false
343-
py: "3.8"
337+
py: "3.13"
344338

345339
- toxenv: "python3.9"
346340
db: "mysql:5.5"
@@ -366,11 +360,11 @@ jobs:
366360
experimental: false
367361
py: "3.12"
368362

369-
- toxenv: "python3.8"
370-
db: "mysql:5.6"
363+
- toxenv: "python3.13"
364+
db: "mysql:5.5"
371365
legacy_db: 1
372366
experimental: false
373-
py: "3.8"
367+
py: "3.13"
374368

375369
- toxenv: "python3.9"
376370
db: "mysql:5.6"
@@ -396,11 +390,11 @@ jobs:
396390
experimental: false
397391
py: "3.12"
398392

399-
- toxenv: "python3.8"
400-
db: "mysql:5.7"
401-
legacy_db: 0
393+
- toxenv: "python3.13"
394+
db: "mysql:5.6"
395+
legacy_db: 1
402396
experimental: false
403-
py: "3.8"
397+
py: "3.13"
404398

405399
- toxenv: "python3.9"
406400
db: "mysql:5.7"
@@ -426,11 +420,11 @@ jobs:
426420
experimental: false
427421
py: "3.12"
428422

429-
- toxenv: "python3.8"
430-
db: "mysql:8.0"
423+
- toxenv: "python3.13"
424+
db: "mysql:5.7"
431425
legacy_db: 0
432426
experimental: false
433-
py: "3.8"
427+
py: "3.13"
434428

435429
- toxenv: "python3.9"
436430
db: "mysql:8.0"
@@ -455,12 +449,11 @@ jobs:
455449
legacy_db: 0
456450
experimental: false
457451
py: "3.12"
458-
459-
- toxenv: "python3.8"
460-
db: "mysql:8.4"
452+
- toxenv: "python3.13"
453+
db: "mysql:8.0"
461454
legacy_db: 0
462-
experimental: true
463-
py: "3.8"
455+
experimental: false
456+
py: "3.13"
464457

465458
- toxenv: "python3.9"
466459
db: "mysql:8.4"
@@ -485,8 +478,15 @@ jobs:
485478
legacy_db: 0
486479
experimental: true
487480
py: "3.12"
481+
482+
- toxenv: "python3.13"
483+
db: "mysql:8.4"
484+
legacy_db: 0
485+
experimental: true
486+
py: "3.13"
488487
continue-on-error: ${{ matrix.experimental }}
489488
services:
489+
490490
mysql:
491491
image: ${{ matrix.db }}
492492
ports:

CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# 2.4.0
2+
3+
* [CHORE] drop support for Python 3.8
4+
15
# 2.3.2
26

37
* [FIX] fix --mysql-insert-method

CONTRIBUTING.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ interactions related to the project.
1313

1414
Ensuring backward compatibility is an imperative requirement.
1515

16-
Currently, the tool supports Python versions 3.8, 3.9, 3.10, 3.11, and 3.12.
16+
Currently, the tool supports Python versions 3.9, 3.10, 3.11, 3.12, and 3.13.
1717

1818
## MySQL version support
1919

@@ -61,7 +61,7 @@ git commit -m "A brief summary of the commit
6161
>
6262
> A paragraph describing what changed and its impact."
6363
```
64-
64+
6565
## Coding standards
6666

6767
It is essential to prioritize code readability and conciseness. To achieve this, we recommend

docs/requirements.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
Sphinx==8.1.3
1+
Sphinx==8.2.3

pyproject.toml

+4-4
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ name = "sqlite3-to-mysql"
77
description = "A simple Python tool to transfer data from SQLite 3 to MySQL"
88
readme = "README.md"
99
license = { text = "MIT" }
10-
requires-python = ">=3.8"
10+
requires-python = ">=3.9"
1111
authors = [
1212
{ name = "Klemen Tusar", email = "techouse@gmail.com" },
1313
]
@@ -29,11 +29,11 @@ classifiers = [
2929
"Operating System :: OS Independent",
3030
"Programming Language :: Python",
3131
"Programming Language :: Python :: 3",
32-
"Programming Language :: Python :: 3.8",
3332
"Programming Language :: Python :: 3.9",
3433
"Programming Language :: Python :: 3.10",
3534
"Programming Language :: Python :: 3.11",
3635
"Programming Language :: Python :: 3.12",
36+
"Programming Language :: Python :: 3.13",
3737
"Programming Language :: Python :: Implementation :: CPython",
3838
"Topic :: Database",
3939
]
@@ -79,7 +79,7 @@ sqlite3mysql = "sqlite3_to_mysql.cli:cli"
7979

8080
[tool.black]
8181
line-length = 120
82-
target-version = ["py38", "py39", "py310", "py311", "py312"]
82+
target-version = ["py39", "py310", "py311", "py312", "py313"]
8383
include = '\.pyi?$'
8484
exclude = '''
8585
(
@@ -122,7 +122,7 @@ markers = [
122122

123123
[tool.mypy]
124124
mypy_path = "src"
125-
python_version = "3.8"
125+
python_version = "3.9"
126126
exclude = [
127127
"tests",
128128
"docs",

src/sqlite3_to_mysql/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
"""Utility to transfer data from SQLite 3 to MySQL."""
22

3-
__version__ = "2.3.2"
3+
__version__ = "2.4.0"
44

55
from .transporter import SQLite3toMySQL

tox.ini

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,23 @@
11
[tox]
22
isolated_build = true
33
envlist =
4-
python3.8,
54
python3.9,
65
python3.10,
76
python3.11,
87
python3.12,
8+
python3.13,
99
black,
1010
flake8,
1111
linters,
1212
skip_missing_interpreters = true
1313

1414
[gh-actions]
1515
python =
16-
3.8: python3.8
1716
3.9: python3.9
1817
3.10: python3.10
1918
3.11: python3.11
2019
3.12: python3.12
20+
3.13: python3.13
2121

2222
[testenv]
2323
passenv =

0 commit comments

Comments
 (0)