Skip to content

Commit

Permalink
chore(deps): bump poetry from 1.8.5 to 2.0.1
Browse files Browse the repository at this point in the history
Remove support for Python 3.8 to use Poetry 2.
Fix `pyproject.toml` properties.

Related to #134

Change-Id: Iecd1e2b4f10f827a873015b20bcb08f12d10f127
  • Loading branch information
DouglasBlackwood committed Jan 29, 2025
1 parent 8f63c83 commit c645375
Showing 5 changed files with 13 additions and 17 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -14,7 +14,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
python-version: ["3.9", "3.10", "3.11", "3.12"]
steps:
- uses: actions/checkout@v4.2.2
- uses: actions/setup-python@v5.4.0
1 change: 0 additions & 1 deletion .mergify.yml
Original file line number Diff line number Diff line change
@@ -5,7 +5,6 @@ queue_rules:
allow_inplace_checks: true
queue_conditions:
- and: &CheckRuns
- check-success=Test with Python 3.8
- check-success=Test with Python 3.9
- check-success=Test with Python 3.10
- check-success=Test with Python 3.11
21 changes: 9 additions & 12 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
[tool.poetry]
[project]
name = "sql-compare"
version = "0.1.3"
description = "Compare SQL schemas"
authors = ["Charly Laurent <charly.laurent@mergify.com>"]
maintainers = ["Mergify <engineering@mergify.com>"]
authors = [{ name = "Charly Laurent", email = "charly.laurent@mergify.com" }]
maintainers = [{ name = "Mergify", email = "engineering@mergify.com" }]
readme = "README.md"
license = "Apache-2.0"
repository = "https://github.com/Mergifyio/sql-compare"
license = { text = "Apache-2.0" }
keywords = ["sql", "database", "schema", "compare", "diff", "migration"]
classifiers = [
"Development Status :: 5 - Production/Stable",
@@ -17,7 +16,6 @@ classifiers = [
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
@@ -29,10 +27,12 @@ classifiers = [
"Topic :: Software Development :: Testing",
"Topic :: Software Development :: Testing :: Unit",
]
requires-python = ">=3.9"
dependencies = ["sqlparse>=0.5.0"]

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

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

[tool.poetry.urls]
"Bug Tracker" = "https://github.com/Mergifyio/sql-compare/issues"

[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
2 changes: 1 addition & 1 deletion requirements-poetry.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
poetry==1.8.5
poetry==2.0.1
4 changes: 2 additions & 2 deletions tools/poetry-install.sh
Original file line number Diff line number Diff line change
@@ -4,7 +4,7 @@
if [ "$CI" ]; then
export POETRY_VIRTUALENVS_OPTIONS_NO_PIP=true
export POETRY_VIRTUALENVS_OPTIONS_NO_SETUPTOOLS=true
poetry install --sync --no-cache
poetry sync --no-cache
else
poetry install --sync
poetry sync
fi

0 comments on commit c645375

Please sign in to comment.