From e89fca41509e68497b7812019f57251ea1eb8836 Mon Sep 17 00:00:00 2001 From: gchqdev227 <62302861+gchqdev227@users.noreply.github.com> Date: Wed, 15 Apr 2026 12:41:33 +0100 Subject: [PATCH 1/5] Bumped pre-commit hook versions --- .pre-commit-config.yaml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 773064b..937b5dd 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -17,7 +17,7 @@ repos: - id: autopep8 exclude: docs/source/conf.py - repo: https://github.com/pycqa/isort - rev: 7.0.0 + rev: 8.0.1 hooks: - id: isort - repo: https://github.com/jumanjihouse/pre-commit-hooks @@ -28,12 +28,12 @@ repos: - id: forbid-binary exclude: docs/source/_static/.*.png - repo: https://github.com/Lucas-C/pre-commit-hooks - rev: v1.5.5 + rev: v1.5.6 hooks: - id: forbid-crlf - id: forbid-tabs - repo: https://github.com/streetsidesoftware/cspell-cli - rev: v9.4.0 + rev: v10.0.0 hooks: - id: cspell exclude: \.gitignore|.*\.properties @@ -55,12 +55,12 @@ repos: - id: pyroma args: ["-d", "--min=10", "."] - repo: https://github.com/pre-commit/mirrors-mypy - rev: v1.19.1 + rev: v1.20.1 hooks: - id: mypy additional_dependencies: ["types-docutils", "types-python-dateutil", "types-requests"] - repo: "https://github.com/python-jsonschema/check-jsonschema" - rev: "0.36.0" + rev: "0.37.1" hooks: - id: check-github-workflows - repo: https://github.com/johannsdg/pre-commit-license-headers From cd587ff72e75c98dd11fce3e33c812ff9d902eb1 Mon Sep 17 00:00:00 2001 From: gchqdev227 <62302861+gchqdev227@users.noreply.github.com> Date: Wed, 15 Apr 2026 12:45:09 +0100 Subject: [PATCH 2/5] Bumped pinned dependencies for tests --- requirements-tests.txt | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/requirements-tests.txt b/requirements-tests.txt index 7cbbac5..1784c2d 100644 --- a/requirements-tests.txt +++ b/requirements-tests.txt @@ -1,21 +1,21 @@ -boto3==1.42.53 -botocore==1.42.53 -certifi==2026.1.4 +boto3==1.42.89 +botocore==1.42.89 +certifi==2026.2.25 cffi==2.0.0 -charset-normalizer==3.4.4 -cryptography==46.0.5 +charset-normalizer==3.4.7 +cryptography==46.0.7 idna==3.11 Jinja2==3.1.6 jmespath==1.1.0 MarkupSafe==3.0.3 -moto==5.1.21 +moto==5.1.22 pycparser==3.0 python-dateutil==2.9.0.post0 PyYAML==6.0.3 -requests==2.32.5 +requests==2.33.1 responses==0.26.0 s3transfer==0.16.0 six==1.17.0 urllib3==2.6.3 -Werkzeug==3.1.6 -xmltodict==1.0.3 +Werkzeug==3.1.8 +xmltodict==1.0.4 From f70a4058c3913f41f538632883a1b04cae7b719f Mon Sep 17 00:00:00 2001 From: gchqdev227 <62302861+gchqdev227@users.noreply.github.com> Date: Wed, 15 Apr 2026 12:46:55 +0100 Subject: [PATCH 3/5] Bumped pinned dependencies for docs --- docs/requirements.txt | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/docs/requirements.txt b/docs/requirements.txt index d3fa0a0..4667747 100644 --- a/docs/requirements.txt +++ b/docs/requirements.txt @@ -2,22 +2,22 @@ accessible-pygments==0.0.5 alabaster==1.0.0 babel==2.18.0 beautifulsoup4==4.14.3 -certifi==2026.1.4 -charset-normalizer==3.4.4 +certifi==2026.2.25 +charset-normalizer==3.4.7 docutils==0.22.4 furo==2025.12.19 idna==3.11 -imagesize==1.4.1 +imagesize==2.0.0 Jinja2==3.1.6 MarkupSafe==3.0.3 -packaging==26.0 -Pygments==2.19.2 -requests==2.32.5 +packaging==26.1 +Pygments==2.20.0 +requests==2.33.1 roman-numerals==4.1.0 snowballstemmer==3.0.1 soupsieve==2.8.3 Sphinx==9.1.0 -sphinx-autodoc-typehints==3.6.3 +sphinx-autodoc-typehints==3.10.1 sphinx-basic-ng==1.0.0b2 sphinxcontrib-applehelp==2.0.0 sphinxcontrib-devhelp==2.0.0 From 5dc6129c37a1215bf50524c1db875f3716d6f44b Mon Sep 17 00:00:00 2001 From: gchqdev227 <62302861+gchqdev227@users.noreply.github.com> Date: Thu, 16 Apr 2026 09:31:33 +0100 Subject: [PATCH 4/5] Reverted cspell hook version due to GH action base image version of node not being supported --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 937b5dd..7cc1df7 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -33,7 +33,7 @@ repos: - id: forbid-crlf - id: forbid-tabs - repo: https://github.com/streetsidesoftware/cspell-cli - rev: v10.0.0 + rev: v9.8.0 hooks: - id: cspell exclude: \.gitignore|.*\.properties From 03aede33677bab5618b3cc6bf5a6359ed33c84a1 Mon Sep 17 00:00:00 2001 From: gchqdev227 <62302861+gchqdev227@users.noreply.github.com> Date: Thu, 16 Apr 2026 09:44:25 +0100 Subject: [PATCH 5/5] Fixed broken link anchor to Concourse CI documentation --- concoursetools/metadata.py | 4 ++-- docs/source/changelog/0.8.0.rst | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/concoursetools/metadata.py b/concoursetools/metadata.py index dd4f855..0c2693c 100644 --- a/concoursetools/metadata.py +++ b/concoursetools/metadata.py @@ -10,7 +10,7 @@ Build metadata is deliberately not passed to :meth:`~concoursetools.resource.ConcourseResource.fetch_new_versions`, as none of this metadata is passed to the check environment by Concourse, to avoid antipatterns. -See the Concourse :concourse:`resource types metadata ` documentation +See the Concourse :concourse:`resource types metadata ` documentation for more information. """ from __future__ import annotations @@ -172,7 +172,7 @@ def format_string(self, string: str, additional_values: dict[str, str] | None = Format a string with metadata using standard bash ``$`` notation. Only a handful of "safe" values will be interpolated, not arbitrary attributes on the instance. - These are the :concourse:`original environment variables `, + These are the :concourse:`original environment variables `, including :attr:`BUILD_CREATED_BY` if it exists. object missing environment variable (such as in the case of a one-off build) will be empty. A ``$BUILD_URL`` variable is also added for ease. diff --git a/docs/source/changelog/0.8.0.rst b/docs/source/changelog/0.8.0.rst index e7fc7ce..b426682 100644 --- a/docs/source/changelog/0.8.0.rst +++ b/docs/source/changelog/0.8.0.rst @@ -55,7 +55,7 @@ Build Metadata string formatting Both :meth:`~concoursetools.resource.ConcourseResource.download_version` and :meth:`~concoursetools.resource.ConcourseResource.publish_new_version` methods are passed an instance of :class:`~concoursetools.metadata.BuildMetadata` to interface with the -:concourse:`resource metadata `. This allows developers to easily interface with +:concourse:`resource metadata `. This allows developers to easily interface with this metadata from within the resource code. However, many resources want to make this metadata available to the end user in their pipelines, by allowing them to