From 7a8bb5f6ee7850a9226b3d31a57c724ba0fa3b9e Mon Sep 17 00:00:00 2001 From: Peter Mathis Date: Wed, 11 Sep 2024 16:04:06 +0200 Subject: [PATCH] update constraints to Plone 6.1 and python 3.10/12 --- .github/workflows/meta.yml | 3 +++ .meta.toml | 6 ++++++ tox.ini | 8 ++++---- 3 files changed, 13 insertions(+), 4 deletions(-) diff --git a/.github/workflows/meta.yml b/.github/workflows/meta.yml index c9848bc..6058d80 100644 --- a/.github/workflows/meta.yml +++ b/.github/workflows/meta.yml @@ -28,6 +28,9 @@ jobs: uses: plone/meta/.github/workflows/qa.yml@main test: uses: plone/meta/.github/workflows/test.yml@main + with: + + py-versions: '["3.10", "3.12"]' coverage: uses: plone/meta/.github/workflows/coverage.yml@main dependencies: diff --git a/.meta.toml b/.meta.toml index af30709..5fbb773 100644 --- a/.meta.toml +++ b/.meta.toml @@ -7,3 +7,9 @@ commit-id = "5d22fbf8" [pyproject] dependencies_ignores = "['plone.formwidget.contenttree']" + +[tox] +constraints_file = "https://dist.plone.org/release/6.1-dev/constraints.txt" + +[github] +py_versions = "[\"3.10\", \"3.12\"]" diff --git a/tox.ini b/tox.ini index 7acd7aa..7a50f19 100644 --- a/tox.ini +++ b/tox.ini @@ -108,7 +108,7 @@ set_env = ## deps = zope.testrunner - -c https://dist.plone.org/release/6.0-dev/constraints.txt + -c https://dist.plone.org/release/6.1-dev/constraints.txt ## # Specify additional deps in .meta.toml: @@ -151,7 +151,7 @@ set_env = deps = coverage zope.testrunner - -c https://dist.plone.org/release/6.0-dev/constraints.txt + -c https://dist.plone.org/release/6.1-dev/constraints.txt commands = coverage run --branch --source plone.app.relationfield {envbindir}/zope-testrunner --quiet --all --test-path={toxinidir} -s plone.app.relationfield {posargs} @@ -169,7 +169,7 @@ deps = twine build towncrier - -c https://dist.plone.org/release/6.0-dev/constraints.txt + -c https://dist.plone.org/release/6.1-dev/constraints.txt commands = # fake version to not have to install the package @@ -200,7 +200,7 @@ allowlist_externals = deps = pipdeptree pipforester - -c https://dist.plone.org/release/6.0-dev/constraints.txt + -c https://dist.plone.org/release/6.1-dev/constraints.txt commands = # Generate the full dependency tree