From 666ccb1be0a6ace0249de611086b252a57eae9e7 Mon Sep 17 00:00:00 2001 From: pulpbot Date: Sun, 19 Jul 2026 12:28:07 +0000 Subject: [PATCH] Update cookiecutter --- .ci/run_container.sh | 4 ++++ pyproject.toml | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.ci/run_container.sh b/.ci/run_container.sh index b3a1c7e..ed8deb3 100755 --- a/.ci/run_container.sh +++ b/.ci/run_container.sh @@ -69,6 +69,9 @@ else fi export PULP_CONTENT_ORIGIN +PULP_DJANGO_SECRET="$(python3 -c "import secrets; print(secrets.token_urlsafe(50))")" +export PULP_DJANGO_SECRET + "${CONTAINER_RUNTIME}" \ run ${RM:+--rm} \ --env S6_KEEP_ENV=1 \ @@ -79,6 +82,7 @@ export PULP_CONTENT_ORIGIN ${PULP_DOMAIN_ENABLED:+--env PULP_DOMAIN_ENABLED} \ ${PULP_ENABLED_PLUGINS:+--env PULP_ENABLED_PLUGINS} \ --env PULP_CONTENT_ORIGIN \ + --env PULP_DJANGO_SECRET \ --detach \ --name "pulp-ephemeral" \ --volume "${PULP_CLI_TEST_TMPDIR}/settings:/etc/pulp${SELINUX:+:Z}" \ diff --git a/pyproject.toml b/pyproject.toml index 375496d..254d1f7 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -234,7 +234,7 @@ lint = [ ] test = [ "pygments>=2.19.2", - "pytest>=9.0.0,<9.2", + "pytest>=7.0.0,<9.2", "pytest-xdist>=3.8.0,<3.9", "python-gnupg>=0.5.0,<0.6", "secretstorage>=3.5.0",