Skip to content

🔥 drop support for Python 3.7 #59

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
Oct 14, 2023
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
78 changes: 0 additions & 78 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,6 @@ jobs:
strategy:
matrix:
include:
- toxenv: "python3.7"
db: "mariadb:5.5"
legacy_db: 1
experimental: false
py: "3.7"

- toxenv: "python3.8"
db: "mariadb:5.5"
legacy_db: 1
Expand All @@ -63,12 +57,6 @@ jobs:
experimental: false
py: "3.11"

- toxenv: "python3.7"
db: "mariadb:10.0"
legacy_db: 1
experimental: false
py: "3.7"

- toxenv: "python3.8"
db: "mariadb:10.0"
legacy_db: 1
Expand All @@ -93,12 +81,6 @@ jobs:
experimental: false
py: "3.11"

- toxenv: "python3.7"
db: "mariadb:10.1"
legacy_db: 1
experimental: false
py: "3.7"

- toxenv: "python3.8"
db: "mariadb:10.1"
legacy_db: 1
Expand All @@ -123,12 +105,6 @@ jobs:
experimental: false
py: "3.11"

- toxenv: "python3.7"
db: "mariadb:10.2"
legacy_db: 0
experimental: false
py: "3.7"

- toxenv: "python3.8"
db: "mariadb:10.2"
legacy_db: 0
Expand All @@ -153,12 +129,6 @@ jobs:
experimental: false
py: "3.11"

- toxenv: "python3.7"
db: "mariadb:10.3"
legacy_db: 0
experimental: false
py: "3.7"

- toxenv: "python3.8"
db: "mariadb:10.3"
legacy_db: 0
Expand All @@ -183,12 +153,6 @@ jobs:
experimental: false
py: "3.11"

- toxenv: "python3.7"
db: "mariadb:10.4"
legacy_db: 0
experimental: false
py: "3.7"

- toxenv: "python3.8"
db: "mariadb:10.4"
legacy_db: 0
Expand All @@ -213,12 +177,6 @@ jobs:
experimental: false
py: "3.11"

- toxenv: "python3.7"
db: "mariadb:10.5"
legacy_db: 0
experimental: false
py: "3.7"

- toxenv: "python3.8"
db: "mariadb:10.5"
legacy_db: 0
Expand All @@ -243,12 +201,6 @@ jobs:
experimental: false
py: "3.11"

- toxenv: "python3.7"
db: "mariadb:10.6"
legacy_db: 0
experimental: false
py: "3.7"

- toxenv: "python3.8"
db: "mariadb:10.6"
legacy_db: 0
Expand All @@ -273,12 +225,6 @@ jobs:
experimental: false
py: "3.11"

- toxenv: "python3.7"
db: "mariadb:10.11"
legacy_db: 0
experimental: false
py: "3.7"

- toxenv: "python3.8"
db: "mariadb:10.11"
legacy_db: 0
Expand All @@ -303,12 +249,6 @@ jobs:
experimental: false
py: "3.11"

- toxenv: "python3.7"
db: "mysql:5.5"
legacy_db: 1
experimental: false
py: "3.7"

- toxenv: "python3.8"
db: "mysql:5.5"
legacy_db: 1
Expand All @@ -333,12 +273,6 @@ jobs:
experimental: false
py: "3.11"

- toxenv: "python3.7"
db: "mysql:5.6"
legacy_db: 1
experimental: false
py: "3.7"

- toxenv: "python3.8"
db: "mysql:5.6"
legacy_db: 1
Expand All @@ -363,12 +297,6 @@ jobs:
experimental: false
py: "3.11"

- toxenv: "python3.7"
db: "mysql:5.7"
legacy_db: 0
experimental: false
py: "3.7"

- toxenv: "python3.8"
db: "mysql:5.7"
legacy_db: 0
Expand All @@ -393,12 +321,6 @@ jobs:
experimental: false
py: "3.11"

- toxenv: "python3.7"
db: "mysql:8.0"
legacy_db: 0
experimental: false
py: "3.7"

- toxenv: "python3.8"
db: "mysql:8.0"
legacy_db: 0
Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# 2.1.0

* [CHORE] drop support for Python 3.7

# 2.0.3

* [FIX] import MySQLConnectionAbstract instead of concrete implementations
Expand Down
16 changes: 1 addition & 15 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.7, 3.8, 3.9, 3.10 and 3.11.
Currently, the tool supports Python versions 3.8, 3.9, 3.10 and 3.11.

## MySQL version support

Expand All @@ -32,20 +32,6 @@ In order to run the test suite run these commands using a Docker MySQL image.

**Requires a running Docker instance!**

- using Python 2.7

```bash
git clone https://github.com/techouse/mysql-to-sqlite3
cd mysql-to-sqlite3
virtualenv -p $(which python2) env
source env/bin/activate
pip install -e .
pip install -r requirements_dev.txt
tox
```

- using Python 3.5+

```bash
git clone https://github.com/techouse/mysql-to-sqlite3
cd mysql-to-sqlite3
Expand Down
2 changes: 1 addition & 1 deletion mysql_to_sqlite3/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
"""Utility to transfer data from MySQL to SQLite 3."""
__version__ = "2.0.3"
__version__ = "2.1.0"

from .transporter import MySQLtoSQLite
7 changes: 3 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.7"
requires-python = ">=3.8"
authors = [
{ name = "Klemen Tusar", email = "techouse@gmail.com" },
]
Expand All @@ -30,7 +30,6 @@ classifiers = [
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
Expand Down Expand Up @@ -69,7 +68,7 @@ mysql2sqlite = "mysql_to_sqlite3.cli:cli"

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

[tool.mypy]
python_version = "3.7"
python_version = "3.8"
exclude = [
"tests",
"build",
Expand Down
2 changes: 0 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
[tox]
isolated_build = true
envlist =
python3.7,
python3.8,
python3.9,
python3.10,
Expand All @@ -13,7 +12,6 @@ skip_missing_interpreters = true

[gh-actions]
python =
3.7: python3.7
3.8: python3.8
3.9: python3.9
3.10: python3.10
Expand Down