diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ac9de9c6..16713365 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -42,7 +42,7 @@ jobs: run: | git config --global user.name github-actions git config --global user.email github-actions@github.com - - run: pipx install copier + - run: pipx install copier==9.2.0 - run: make consistency - run: git diff - run: git status --porcelain diff --git a/.gitlab/workflows/ci.yml b/.gitlab/workflows/ci.yml index f307b7e8..21d0090d 100644 --- a/.gitlab/workflows/ci.yml +++ b/.gitlab/workflows/ci.yml @@ -30,7 +30,7 @@ consistency: script: - git config --global user.name gitlab-ci - git config --global user.email gitlab-ci@gitlab.com - - pipx install copier + - pipx install copier==9.2.0 - make consistency - git diff - git status --porcelain diff --git a/.renovaterc.json b/.renovaterc.json index cdf15c36..a02562e7 100644 --- a/.renovaterc.json +++ b/.renovaterc.json @@ -5,8 +5,16 @@ "customType": "regex", "datasourceTemplate": "pypi", "fileMatch": [ - "^\\.devcontainer\\/Dockerfile$", - "^template\\/\\.devcontainer/Dockerfile\\.jinja$" + "^README\\.md$", + "^\\.devcontainer/Dockerfile$", + "^\\.github/workflows/.+\\.yml$", + "^\\.gitlab/workflows/.+\\.yml$", + "^docs/.+\\.md$", + "^includes/sample\\.jinja$", + "^template/.*\\.github.*/workflows/.+\\.yml(\\.jinja)?$", + "^template/.*\\.gitlab.*/workflows/.+\\.yml(\\.jinja)?$", + "^template/\\.devcontainer/Dockerfile\\.jinja$", + "^template/docs/.+\\.md(\\.jinja)?$" ], "matchStrings": [ "pipx install (?.*?)==(?.*?)[;\n]" diff --git a/README.md b/README.md index 3a3cf56e..c201787b 100644 --- a/README.md +++ b/README.md @@ -56,11 +56,11 @@ Certain system-level Python applications are needed and it is recommended to use ```bash # Copier: Template rendering for projects. -pipx install copier +pipx install copier==9.2.0 # PDM: A modern Python package and dependency manager supporting the latest PEP standards. -pipx install pdm +pipx install pdm==2.13.2 # Pre-commit: Automates Git hooks for code quality checks. -pipx install pre-commit +pipx install pre-commit==3.7.0 ``` ## 🚀 Quickstart diff --git a/docs/dev/dev-env.md b/docs/dev/dev-env.md index 69089d66..e9863359 100644 --- a/docs/dev/dev-env.md +++ b/docs/dev/dev-env.md @@ -12,9 +12,9 @@ Using `pipx` for management is recommended and you can find pipx's installation ```bash # PDM: A modern Python package and dependency manager supporting the latest PEP standards. -pipx install pdm +pipx install pdm==2.13.2 # Pre-commit: Automates Git hooks for code quality checks. -pipx install pre-commit +pipx install pre-commit==3.7.0 ``` ## Setup diff --git a/docs/dev/proj.md b/docs/dev/proj.md index 89e0f0b7..61c78745 100644 --- a/docs/dev/proj.md +++ b/docs/dev/proj.md @@ -10,7 +10,7 @@ Using `pipx` for management is recommended and you can find pipx's installation ```bash # Copier: Template rendering for projects. -pipx install copier +pipx install copier==9.2.0 ``` ## Project Initialization diff --git a/includes/sample.jinja b/includes/sample.jinja index 7ffa8b6e..a91deea6 100644 --- a/includes/sample.jinja +++ b/includes/sample.jinja @@ -37,11 +37,11 @@ Certain system-level Python applications are needed and it is recommended to use ```bash # Copier: Template rendering for projects. -pipx install copier +pipx install copier==9.2.0 # PDM: A modern Python package and dependency manager supporting the latest PEP standards. -pipx install pdm +pipx install pdm==2.13.2 # Pre-commit: Automates Git hooks for code quality checks. -pipx install pre-commit +pipx install pre-commit==3.7.0 ``` ## 🚀 Quickstart diff --git a/template/.renovaterc.json.jinja b/template/.renovaterc.json.jinja index bf4a0671..aab36057 100644 --- a/template/.renovaterc.json.jinja +++ b/template/.renovaterc.json.jinja @@ -6,9 +6,17 @@ "customType": "regex", "datasourceTemplate": "pypi", "fileMatch": [ - "^\\.devcontainer\\/Dockerfile$" + "^README\\.md$", + "^\\.devcontainer/Dockerfile$", + "^\\.github/workflows/.+\\.yml$", + "^\\.gitlab/workflows/.+\\.yml$", + "^docs/.+\\.md$" [%- if project_name == "Serious Scaffold Python" %], - "^template\\/\\.devcontainer/Dockerfile\\.jinja$" + "^includes/sample\\.jinja$", + "^template/.*\\.github.*/workflows/.+\\.yml(\\.jinja)?$", + "^template/.*\\.gitlab.*/workflows/.+\\.yml(\\.jinja)?$", + "^template/\\.devcontainer/Dockerfile\\.jinja$", + "^template/docs/.+\\.md(\\.jinja)?$" [%- endif %] ], "matchStrings": [ diff --git a/template/[% if repo_host_type == 'github.com' %].github[% endif %]/workflows/ci.yml.jinja b/template/[% if repo_host_type == 'github.com' %].github[% endif %]/workflows/ci.yml.jinja index 354f0755..6425702b 100644 --- a/template/[% if repo_host_type == 'github.com' %].github[% endif %]/workflows/ci.yml.jinja +++ b/template/[% if repo_host_type == 'github.com' %].github[% endif %]/workflows/ci.yml.jinja @@ -54,7 +54,7 @@ jobs: run: | git config --global user.name github-actions git config --global user.email github-actions@github.com - - run: pipx install copier + - run: pipx install copier==9.2.0 - run: make consistency - run: git diff - run: git status --porcelain diff --git a/template/[% if repo_host_type == 'gitlab.com' or repo_host_type == 'gitlab-self-managed' %].gitlab[% endif %]/workflows/ci.yml.jinja b/template/[% if repo_host_type == 'gitlab.com' or repo_host_type == 'gitlab-self-managed' %].gitlab[% endif %]/workflows/ci.yml.jinja index fea23399..7c8bc5e4 100644 --- a/template/[% if repo_host_type == 'gitlab.com' or repo_host_type == 'gitlab-self-managed' %].gitlab[% endif %]/workflows/ci.yml.jinja +++ b/template/[% if repo_host_type == 'gitlab.com' or repo_host_type == 'gitlab-self-managed' %].gitlab[% endif %]/workflows/ci.yml.jinja @@ -42,7 +42,7 @@ consistency: script: - git config --global user.name gitlab-ci - git config --global user.email gitlab-ci@gitlab.com - - pipx install copier + - pipx install copier==9.2.0 - make consistency - git diff - git status --porcelain diff --git a/template/docs/dev/dev-env.md b/template/docs/dev/dev-env.md index 69089d66..e9863359 100644 --- a/template/docs/dev/dev-env.md +++ b/template/docs/dev/dev-env.md @@ -12,9 +12,9 @@ Using `pipx` for management is recommended and you can find pipx's installation ```bash # PDM: A modern Python package and dependency manager supporting the latest PEP standards. -pipx install pdm +pipx install pdm==2.13.2 # Pre-commit: Automates Git hooks for code quality checks. -pipx install pre-commit +pipx install pre-commit==3.7.0 ``` ## Setup diff --git a/template/docs/dev/proj.md.jinja b/template/docs/dev/proj.md.jinja index 988d95cd..93ceced9 100644 --- a/template/docs/dev/proj.md.jinja +++ b/template/docs/dev/proj.md.jinja @@ -10,7 +10,7 @@ Using `pipx` for management is recommended and you can find pipx's installation ```bash # Copier: Template rendering for projects. -pipx install copier +pipx install copier==9.2.0 ``` ## Project Initialization