From 26a396e390fbcf202c40b0cf0b0e37d8028a04ef Mon Sep 17 00:00:00 2001 From: Gabriel Dugny Date: Sat, 7 Feb 2026 12:35:02 +0100 Subject: [PATCH 1/2] chore: Support Poetry 2.3 --- .mise.toml | 5 ++++- README.md | 2 +- tox.ini | 32 +++++++++++++++++++------------- 3 files changed, 24 insertions(+), 15 deletions(-) diff --git a/.mise.toml b/.mise.toml index f8c70b1..2568a4a 100644 --- a/.mise.toml +++ b/.mise.toml @@ -1,3 +1,6 @@ [tools] -pdm = "2.25" +pdm = "2.26" python = ["3.12", "3.13", "3.14", "3.11", "3.10", "3.9"] + +[env] +'_'.python.venv = { path = ".venv", create = true } diff --git a/README.md b/README.md index 5dda99e..aa80f6b 100644 --- a/README.md +++ b/README.md @@ -26,7 +26,7 @@ PDM and Poetry plugin to sync your pre-commit versions with your lockfile and au - Python 3.9+ to 3.14+ - PDM 2.7.4 to 2.26+ - Python 3.12.7+ requires PDM 2.20.1+ -- Poetry 1.6 to 2.2+ +- Poetry 1.6 to 2.3+ - uv (lock version 1) > ℹ️ While we only test these versions, it should work with more recent versions. diff --git a/tox.ini b/tox.ini index 1dba1d6..edb0267 100644 --- a/tox.ini +++ b/tox.ini @@ -8,13 +8,13 @@ env_list = py{313, 312}-pdm{226, 225, 224, 223, 222, 221, 220, HEAD} py{311, 310, 39}-pdm{226, 225, 224, 223, 222, 221, 220, 219, 218, 217, 216, 215, 214, 213, 212, 211, 210, 29, 28, 27, HEAD} py{313, 312, 311, 310, 39}-poetry{22, 21, 20, 18, 17, 16, HEAD} - py{314}-poetry{22, 18, HEAD} + py{314}-poetry{23, 22, 18, HEAD} [testenv] set_env = py{312,313}-pdm{220,221,222,223,226, 225, 224, 226,HEAD}: COVERAGE_FILE = .coverage.{envname} - py{314}-pdm{224,HEAD}: COVERAGE_FILE = .coverage.{envname} - py{39,310,311,312,313,314}-poetry{22, 21, 20, 18, 17, 16, HEAD}: COVERAGE_FILE = .coverage.{envname} + py{314}-pdm{224,225,226,HEAD}: COVERAGE_FILE = .coverage.{envname} + py{39,310,311,312,313,314}-poetry{23,22, 21, 20, 18, 17, 16, HEAD}: COVERAGE_FILE = .coverage.{envname} py{39,310,311}-pdm{27,28,29,210,211,212,213,214,215,216,217,218,219,220,221,222,223,226, 225, 224,HEAD}: COVERAGE_FILE = .coverage.{envname} commands = pytest --cov --cov-append --cov-report=term-missing {posargs:-vv} --cov-config=pyproject.toml @@ -26,7 +26,7 @@ depends = report: py{314, 313, 312, 311, 310, 39}-pdm{226, 225, 224, 223, 222, 221, 220, 219, 218, 217, 216, 215, 214, 213, 212, 211, 210, 29, 28, 27, HEAD} report: py{314, 313, 312, 311, 310, 39}-poetry{22, 21, 20, 18, 17, 16, HEAD} py{314, 313, 312, 311, 310, 39}-pdm{226, 225, 224, 223, 222, 221, 220, 219, 218, 217, 216, 215, 214, 213, 212, 211, 210, 29, 28, 27, HEAD}: clean - py{314, 313, 312, 311, 310, 39}-poetry{22, 21, 20, 18, 17, 16, HEAD}: clean + py{314, 313, 312, 311, 310, 39}-poetry{23, 22, 21, 20, 18, 17, 16, HEAD}: clean [testenv:clean] skip_install = true @@ -65,18 +65,23 @@ deps = pdm218: pdm<2.19,>=2.18 pdm219: pdm<2.20,>=2.19 pdm220: pdm<2.21,>=2.20 + pdm221: hishel<1.0 pdm221: pdm<2.22,>=2.21 + pdm222: hishel<1.0 pdm222: pdm<2.23,>=2.22 + pdm223: hishel<1.0 pdm223: pdm<2.24,>=2.23 + pdm224: hishel<1.0 pdm224: pdm<2.25,>=2.24 + pdm225: hishel<1.0 pdm225: pdm<2.26,>=2.25 pdm226: pdm<2.27,>=2.26 pdm27: pdm<2.8,>=2.7 pdm28: pdm<2.9,>=2.8 pdm29: pdm<2.10,>=2.9 - pdmHEAD: pdm@ git+https://github.com/pdm-project/pdm.git + pdmHEAD: pdm @ git+https://github.com/pdm-project/pdm.git -[testenv:py{314,313,312, 311, 310, 39}-poetry{16, 17, 18, 20, 21, 22, HEAD}] +[testenv:py{314,313,312, 311, 310, 39}-poetry{16, 17, 18, 20, 21, 22, 23,HEAD}] package = editable deps = -r requirements-tox.txt @@ -86,14 +91,15 @@ deps = poetry20: poetry<2.1,>=2 poetry21: poetry<2.2,>=2.1 poetry22: poetry<2.3,>=2.2 - poetryHEAD: poetry@ git+https://github.com/python-poetry/poetry.git + poetry23: poetry<2.4,>=2.3 + poetryHEAD: poetry @ git+https://github.com/python-poetry/poetry.git [gh] python = - 3.9= py39-pdm{27,28,29,210,211,212,213,214,215,216,217,218,219,220,221,222,223,225,224,HEAD},py39-poetry{22, 21, 20, 18, 17, 16, HEAD}, report, clean - 3.10= py310-pdm{27,28,29,210,211,212,213,214,215,216,217,218,219,220,221,222,223,225,224,HEAD}, py310-poetry{22, 21, 20, 18, 17, 16, HEAD}, report, clean - 3.11= py311-pdm{27,28,29,210,211,212,213,214,215,216,217,218,219,220,221,222,223,225,224,HEAD}, py311-poetry{22, 21, 20, 18, 17, 16, HEAD}, report, clean - 3.12= py312-pdm{220,221,222,223,225,224,226,HEAD}, py312-poetry{22, 21, 20, 18, 17, 16, HEAD}, report, clean - 3.13= py313-pdm{220,221,222,223,225,224,226,HEAD}, py313-poetry{22, 21, 20, 18, 17, 16, HEAD}, report, clean - 3.14= py314-pdm{226,HEAD}, py314-poetry{22, 21, 20, 18, 17, 16, HEAD}, report, clean + 3.9= py39-pdm{27,28,29,210,211,212,213,214,215,216,217,218,219,220,221,222,223,225,224,HEAD},py39-poetry{23, 22, 21, 20, 18, 17, 16, HEAD}, report, clean + 3.10= py310-pdm{27,28,29,210,211,212,213,214,215,216,217,218,219,220,221,222,223,225,224,HEAD}, py310-poetry{23, 22, 21, 20, 18, 17, 16, HEAD}, report, clean + 3.11= py311-pdm{27,28,29,210,211,212,213,214,215,216,217,218,219,220,221,222,223,225,224,HEAD}, py311-poetry{23, 22, 21, 20, 18, 17, 16, HEAD}, report, clean + 3.12= py312-pdm{220,221,222,223,225,224,226,HEAD}, py312-poetry{23, 22, 21, 20, 18, 17, 16, HEAD}, report, clean + 3.13= py313-pdm{220,221,222,223,225,224,226,HEAD}, py313-poetry{23, 22, 21, 20, 18, 17, 16, HEAD}, report, clean + 3.14= py314-pdm{226,HEAD}, py314-poetry{23, 22, 21, 20, 18, 17, 16, HEAD}, report, clean fail_on_no_env = True From f978c5c4ef523c56a3045ce5dd85cfcd775b9a66 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Sat, 7 Feb 2026 11:36:10 +0000 Subject: [PATCH 2/2] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- tox.ini | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tox.ini b/tox.ini index edb0267..f5cd65c 100644 --- a/tox.ini +++ b/tox.ini @@ -79,7 +79,7 @@ deps = pdm27: pdm<2.8,>=2.7 pdm28: pdm<2.9,>=2.8 pdm29: pdm<2.10,>=2.9 - pdmHEAD: pdm @ git+https://github.com/pdm-project/pdm.git + pdmHEAD: pdm@ git+https://github.com/pdm-project/pdm.git [testenv:py{314,313,312, 311, 310, 39}-poetry{16, 17, 18, 20, 21, 22, 23,HEAD}] package = editable @@ -92,7 +92,7 @@ deps = poetry21: poetry<2.2,>=2.1 poetry22: poetry<2.3,>=2.2 poetry23: poetry<2.4,>=2.3 - poetryHEAD: poetry @ git+https://github.com/python-poetry/poetry.git + poetryHEAD: poetry@ git+https://github.com/python-poetry/poetry.git [gh] python =