Skip to content

Commit c645375

Browse files
chore(deps): bump poetry from 1.8.5 to 2.0.1
Remove support for Python 3.8 to use Poetry 2. Fix `pyproject.toml` properties. Related to #134 Change-Id: Iecd1e2b4f10f827a873015b20bcb08f12d10f127
1 parent 8f63c83 commit c645375

File tree

5 files changed

+13
-17
lines changed

5 files changed

+13
-17
lines changed

.github/workflows/ci.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
runs-on: ubuntu-latest
1515
strategy:
1616
matrix:
17-
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
17+
python-version: ["3.9", "3.10", "3.11", "3.12"]
1818
steps:
1919
- uses: actions/checkout@v4.2.2
2020
- uses: actions/setup-python@v5.4.0

.mergify.yml

-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ queue_rules:
55
allow_inplace_checks: true
66
queue_conditions:
77
- and: &CheckRuns
8-
- check-success=Test with Python 3.8
98
- check-success=Test with Python 3.9
109
- check-success=Test with Python 3.10
1110
- check-success=Test with Python 3.11

pyproject.toml

+9-12
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
1-
[tool.poetry]
1+
[project]
22
name = "sql-compare"
33
version = "0.1.3"
44
description = "Compare SQL schemas"
5-
authors = ["Charly Laurent <charly.laurent@mergify.com>"]
6-
maintainers = ["Mergify <engineering@mergify.com>"]
5+
authors = [{ name = "Charly Laurent", email = "charly.laurent@mergify.com" }]
6+
maintainers = [{ name = "Mergify", email = "engineering@mergify.com" }]
77
readme = "README.md"
8-
license = "Apache-2.0"
9-
repository = "https://github.com/Mergifyio/sql-compare"
8+
license = { text = "Apache-2.0" }
109
keywords = ["sql", "database", "schema", "compare", "diff", "migration"]
1110
classifiers = [
1211
"Development Status :: 5 - Production/Stable",
@@ -17,7 +16,6 @@ classifiers = [
1716
"Programming Language :: Python",
1817
"Programming Language :: Python :: 3",
1918
"Programming Language :: Python :: 3 :: Only",
20-
"Programming Language :: Python :: 3.8",
2119
"Programming Language :: Python :: 3.9",
2220
"Programming Language :: Python :: 3.10",
2321
"Programming Language :: Python :: 3.11",
@@ -29,10 +27,12 @@ classifiers = [
2927
"Topic :: Software Development :: Testing",
3028
"Topic :: Software Development :: Testing :: Unit",
3129
]
30+
requires-python = ">=3.9"
31+
dependencies = ["sqlparse>=0.5.0"]
3232

33-
[tool.poetry.dependencies]
34-
python = "^3.8"
35-
sqlparse = ">=0.5.0"
33+
[project.urls]
34+
repository = "https://github.com/Mergifyio/sql-compare"
35+
"Bug Tracker" = "https://github.com/Mergifyio/sql-compare/issues"
3636

3737
[tool.poetry.group.dev.dependencies]
3838
ruff = ">=0.4.8,<0.10.0"
@@ -42,9 +42,6 @@ poethepoet = ">=0.26.1,<0.31.0"
4242
deptry = ">=0.16.1,<0.21.0"
4343
semgrep = "^1.75.0"
4444

45-
[tool.poetry.urls]
46-
"Bug Tracker" = "https://github.com/Mergifyio/sql-compare/issues"
47-
4845
[build-system]
4946
requires = ["poetry-core"]
5047
build-backend = "poetry.core.masonry.api"

requirements-poetry.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
poetry==1.8.5
1+
poetry==2.0.1

tools/poetry-install.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
if [ "$CI" ]; then
55
export POETRY_VIRTUALENVS_OPTIONS_NO_PIP=true
66
export POETRY_VIRTUALENVS_OPTIONS_NO_SETUPTOOLS=true
7-
poetry install --sync --no-cache
7+
poetry sync --no-cache
88
else
9-
poetry install --sync
9+
poetry sync
1010
fi

0 commit comments

Comments
 (0)