1802 Commits

Author SHA1 Message Date
Mend Renovate
9f2b68302b build(deps): update dependency types-pyyaml to v6.0.12.20250326 2025-03-26 09:03:01 +01:00
Mend Renovate
f41054cf43 build(deps): update dependency markdown-exec to v1.10.3 2025-03-25 05:23:44 +01:00
Mend Renovate
e5cdaec821 build(deps): update dependency poetry-dynamic-versioning to v1.8.1 2025-03-24 19:01:44 +01:00
github-actions[bot]
991bebe062
build(flake): update lock (#2051)
* build(flake): update lock

Flake lock file updates:

• Updated input 'nixpkgs':
    'https://api.flakehub.com/f/pinned/NixOS/nixpkgs/0.2411.715614%2Brev-cdd2ef009676ac92b715ff26630164bb88fec4e0/019590d8-bf83-7849-9c87-9e373480fc07/source.tar.gz?narHash=sha256-prZ0M8vE/ghRGGZcflvxCu40ObKaB%2Bikn74/xQoNrGQ%3D' (2025-03-13)
  → 'https://api.flakehub.com/f/pinned/NixOS/nixpkgs/0.2411.715908%2Brev-7105ae3957700a9646cc4b766f5815b23ed0c682/0195b8ff-82a6-7d19-b362-1f70dcb1c7f7/source.tar.gz?narHash=sha256-8XfURTDxOm6%2B33swQJu/hx6xw1Tznl8vJJN5HwVqckg%3D' (2025-03-20)
• Updated input 'poetry2nix':
    'github:nix-community/poetry2nix/f842aae3a72ef764e38eaf3e75aa435fb9861bba?narHash=sha256-nzgO/ZCSBzWjbMkYDxG%2Byl9Z2eGbCgQu06Oku3ir5D4%3D' (2025-03-12)
  → 'github:nix-community/poetry2nix/b9a98080beff0903a5e5fe431f42cde1e3e50d6b?narHash=sha256-nzgO/ZCSBzWjbMkYDxG%2Byl9Z2eGbCgQu06Oku3ir5D4%3D' (2025-03-19)

* style: autoformat with pre-commit

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-03-23 07:19:06 +01:00
Tsvika Shapira
82dd2cbf78
build(typing): use annotations for typing (#2047) 2025-03-21 17:31:40 +00:00
Mend Renovate
f503b33589 build(deps): update dependency poetry-dynamic-versioning to v1.8.0 2025-03-21 08:39:06 +01:00
Mend Renovate
bc93c91796 build(deps): update dependency dunamai to v1.23.1 2025-03-21 08:38:23 +01:00
Mend Renovate
1544fbe1dc build(deps): update dependency platformdirs to v4.3.7 2025-03-20 06:36:35 +01:00
Mend Renovate
782d7e4a61 build(deps): update dependency pre-commit to v4.2.0 2025-03-19 06:30:23 +01:00
Mend Renovate
0f97072def build(deps): update dependency markdown-exec to v1.10.2 2025-03-19 06:29:17 +01:00
Mend Renovate
4a0045cb2b build(deps): update dependency mkdocs-material to v9.6.9 2025-03-17 13:39:46 +01:00
github-actions[bot]
0c1dad61e5
build(flake): update lock (#2040)
* build(flake): update lock

Flake lock file updates:

• Updated input 'nixpkgs':
    'https://api.flakehub.com/f/pinned/NixOS/nixpkgs/0.2411.715401%2Brev-20755fa05115c84be00b04690630cb38f0a203ad/0195727e-13d5-7381-935b-fec5e4805a71/source.tar.gz?narHash=sha256-ri1e8ZliWS3Jnp9yqpKApHaOo7KBN33W8ECAKA4teAQ%3D' (2025-03-07)
  → 'https://api.flakehub.com/f/pinned/NixOS/nixpkgs/0.2411.715614%2Brev-cdd2ef009676ac92b715ff26630164bb88fec4e0/019590d8-bf83-7849-9c87-9e373480fc07/source.tar.gz?narHash=sha256-prZ0M8vE/ghRGGZcflvxCu40ObKaB%2Bikn74/xQoNrGQ%3D' (2025-03-13)
• Updated input 'poetry2nix':
    'github:nix-community/poetry2nix/98293f0b368f24c48e05aaa2359dcc0de15e976f?narHash=sha256-QehWX1ik9vqkylkbvdpO5XZKaqf2fsE92iMEyRBW2qI%3D' (2025-03-05)
  → 'github:nix-community/poetry2nix/f842aae3a72ef764e38eaf3e75aa435fb9861bba?narHash=sha256-nzgO/ZCSBzWjbMkYDxG%2Byl9Z2eGbCgQu06Oku3ir5D4%3D' (2025-03-12)

* style: autoformat with pre-commit

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-03-16 07:22:46 +01:00
Sigurd Spieckermann
abd5d574e3 feat: raise InteractiveSessionError when prompting in non-interactive environment 2025-03-14 11:13:48 +01:00
Ruslan
1b4bbb7148
docs: Improve documentation for tasks (#2036)
Mention that they run in subprocesses.

Fixes #2035.
2025-03-13 16:52:51 +01:00
Mend Renovate
dc7e5e065f build(deps): update dependency mkdocs-material to v9.6.8 2025-03-13 16:23:55 +01:00
Chris Brown
6a6db81b95
docs: fix typo in external data example 2025-03-12 06:40:19 +01:00
Mend Renovate
9fff69ca0a
build(deps): update dependency python to 3.13 (#2026)
* build(deps): update dependency python to 3.13

* ci: remove Python version from `actions/setup-python@v5` step name

---------

Co-authored-by: Sigurd Spieckermann <2206639+sisp@users.noreply.github.com>
2025-03-11 20:18:46 +00:00
Mend Renovate
5e0869e57f build(deps): update dependency markdown-exec to v1.10.1 2025-03-11 14:48:30 +01:00
Sigurd Spieckermann
8815034a93 fix: restore access to full rendering context in prompt phase 2025-03-11 14:17:30 +01:00
Mend Renovate
8422c036ef build(deps): update cachix/cachix-action action to v16 2025-03-11 06:32:21 +01:00
Mend Renovate
4fb26fe25b build(deps): update cachix/install-nix-action action to v31 2025-03-10 17:05:17 +01:00
Mend Renovate
f48053a706 build(deps): update dependency mkdocstrings to v0.29.0 2025-03-10 15:54:17 +01:00
Jairo Llopis
227379e795
bump: version 9.5.0 → 9.6.0 v9.6.0 2025-03-09 22:00:08 +00:00
David Linke
ca764db9c6
fix: explicitly specify file encoding for windows (#2007)
* Test for #2006; conflict in unicode content on windows

* Read files in binary mode to avoid encoding problems
2025-03-09 21:12:41 +00:00
jeanluc
55d31e01c2
feat: Add _copier_operation variable (#1733)
* Makes `exclude` configuration templatable.
* Adds a `_copier_operation` variable to the rendering contexts for `exclude` and `tasks`, representing the current operation - either `copy`~~, `recopy`~~ or `update`.

This was proposed here: https://github.com/copier-org/copier/issues/1718#issuecomment-2282643624
2025-03-09 20:37:12 +00:00
Nathan Simpson
9b0f2b6956
docs: Document behavior of generating destination path when copying (#1498)
* Document behavior of generating destination path when copying

* Update README.md

Co-authored-by: Timothée Mazzucotelli <dev@pawamoy.fr>

* Update docs/generating.md

Co-authored-by: Timothée Mazzucotelli <dev@pawamoy.fr>

* fix: run linting

* Apply suggestions from code review

* Apply suggestions from code review

---------

Co-authored-by: Nathan Simpson <nsimpson@455-g7hgqf4ykt.cust.communityfibre.co.uk>
Co-authored-by: Timothée Mazzucotelli <dev@pawamoy.fr>
2025-03-09 20:02:05 +00:00
github-actions[bot]
cc9aacb007
build(flake): update lock (#2017)
* build(flake): update lock

Flake lock file updates:

• Updated input 'nixpkgs':
    'https://api.flakehub.com/f/pinned/NixOS/nixpkgs/0.2411.715026%2Brev-b27ba4eb322d9d2bf2dc9ada9fd59442f50c8d7c/019550a2-12de-77e5-ae95-fe5d0e636b30/source.tar.gz?narHash=sha256-brsCRzLqimpyhORma84c3W2xPbIidZlIc3JGIuQVSNI%3D' (2025-02-28)
  → 'https://api.flakehub.com/f/pinned/NixOS/nixpkgs/0.2411.715401%2Brev-20755fa05115c84be00b04690630cb38f0a203ad/0195727e-13d5-7381-935b-fec5e4805a71/source.tar.gz?narHash=sha256-ri1e8ZliWS3Jnp9yqpKApHaOo7KBN33W8ECAKA4teAQ%3D' (2025-03-07)
• Updated input 'poetry2nix':
    'github:nix-community/poetry2nix/d90f9db68a4bda31c346be16dfd8d3263be4547e?narHash=sha256-3ydikhrNaWy8j0cqHju/94PcD4GZ9T4Ju4rHh34oz3k%3D' (2025-02-18)
  → 'github:nix-community/poetry2nix/98293f0b368f24c48e05aaa2359dcc0de15e976f?narHash=sha256-QehWX1ik9vqkylkbvdpO5XZKaqf2fsE92iMEyRBW2qI%3D' (2025-03-05)

* style: autoformat with pre-commit

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-03-09 08:11:58 +01:00
Mend Renovate
640bc73fe5 build(deps): update dependency mkdocstrings to v0.28.3 2025-03-09 07:32:17 +01:00
Sigurd Spieckermann
ede686561d test: use helper function to load answers file data 2025-03-07 12:21:36 +01:00
Mend Renovate
ecbe5fad31 build(deps): update dependency jinja2 to v3.1.6 [security] 2025-03-06 06:46:02 +01:00
Sigurd Spieckermann
10b1bde40a refactor: use common answers file loader 2025-03-05 19:12:48 +01:00
Sigurd Spieckermann
d01c2e4b09 fix: auto-detect encoding when reading external data file 2025-03-05 19:02:01 +01:00
Sigurd Spieckermann
5c1a35749d fix(settings): auto-detect encoding when reading settings file 2025-03-05 19:01:43 +01:00
Sigurd Spieckermann
3159a20c17 chore: disable Dependabot 2025-03-05 19:01:22 +01:00
Mend Renovate
19cdf15151 build(deps): update dependency types-pygments to v2.19.0.20250305 2025-03-05 19:00:57 +01:00
Sigurd Spieckermann
04fe8b9d8d build(deps): update JRMurr/direnv-nix-action action to v4.2.0 2025-03-05 18:16:06 +01:00
Axel H.
33485117f5 test(migrations): use the new migration format in the test to avoid warnings 2025-03-03 14:37:27 +01:00
Axel H.
4398010c60 test(migrations): add missing deprecation warnings assertions 2025-03-03 14:37:27 +01:00
Axel H.
c46c599c00 test(warnings): assert FutureWarnings are raised 2025-03-03 14:37:27 +01:00
Axel H.
05323404c2 test(warnings): assert OldTemplateWarnings are raised 2025-03-03 14:37:27 +01:00
Mend Renovate
0229b779de build(deps): update dependency mkdocs-material to v9.6.7 2025-03-03 06:52:02 +01:00
Axel H.
1dabe8eb1e
feat(context): expose a _copier_phase context variable 2025-03-02 16:40:57 +01:00
github-actions[bot]
9736631c07
build(flake): update lock (#1997)
* build(flake): update lock

Flake lock file updates:

• Updated input 'nixpkgs':
    'https://api.flakehub.com/f/pinned/NixOS/nixpkgs/0.2411.714772%2Brev-11415c7ae8539d6292f2928317ee7a8410b28bb9/01952f93-a3d8-7ee1-9027-553a976347f7/source.tar.gz?narHash=sha256-SSYxFhqCOb3aiPb6MmN68yEzBIltfom8IgRz7phHscM%3D' (2025-02-21)
  → 'https://api.flakehub.com/f/pinned/NixOS/nixpkgs/0.2411.715026%2Brev-b27ba4eb322d9d2bf2dc9ada9fd59442f50c8d7c/019550a2-12de-77e5-ae95-fe5d0e636b30/source.tar.gz?narHash=sha256-brsCRzLqimpyhORma84c3W2xPbIidZlIc3JGIuQVSNI%3D' (2025-02-28)

* style: autoformat with pre-commit

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-03-02 13:57:56 +00:00
Mend Renovate
0941ee0b4f build(deps): update dependency pytest to v8.3.5 2025-03-02 14:39:22 +01:00
Iwasa Kazmi
8b0ff719c7
fix(cli): auto-detect encoding when reading unicode-encoded file specified with --data-file 2025-03-02 13:16:52 +00:00
Mend Renovate
6eaa0d7e09 build(deps): update dependency mkdocs-material to v9.6.6 2025-03-01 12:10:23 +01:00
Sigurd Spieckermann
3daa5bc89c fix: expose only answers in question rendering context 2025-02-28 16:41:40 +01:00
Sigurd Spieckermann
a731d2b679 build(deps): drop unused types-psutil dependency 2025-02-26 18:39:43 +01:00
danieleades
1c2f8d8b08
style: use pathlib 2025-02-26 17:42:21 +01:00
Chris Brown
44e67289c8
fix: ignore $file if $file.tmpl exists when subdirectory is used 2025-02-26 17:20:02 +01:00