Package Details: python-copier 9.3.1-1

Git Clone URL: https://aur.archlinux.org/python-copier.git (read-only, click to copy)
Package Base: python-copier
Description: Library and command-line utility for rendering projects templates
Upstream URL: https://github.com/copier-org/copier
Keywords: cookiecutter project-template python scaffolding
Licenses: MIT
Submitter: ragouel
Maintainer: bcb
Last Packager: bcb
Votes: 0
Popularity: 0.000000
First Submitted: 2020-05-06 16:59 (UTC)
Last Updated: 2024-07-04 16:40 (UTC)

Latest Comments

SpotlightKid commented on 2024-11-06 14:42 (UTC)

The tests fail because of argument parser help output i18n. Building with LC_ALL=C makepkg makes the test pass.

The check function also fails when the package has already been built before and the src directory exists.

In summary, adding the following to check() fixes both issues:

check() {
  cd copier
  export LC_ALL=C
  rm -rf test-env
  ...
}

Adrian.Carver commented on 2024-01-24 01:07 (UTC) (edited on 2024-01-29 21:43 (UTC) by Adrian.Carver)

Crashes on tests and won't install.

The same goes for python-copier-templates-extensions.

SKIPPED [1] tests/test_prompt.py:544: TODO: fix this

XFAIL tests/test_updatediff.py::test_update_needs_more_context[True-1] - Not enough context lines to resolve the conflict.

XFAIL tests/test_updatediff.py::test_update_needs_more_context[True-2] - Not enough context lines to resolve the conflict.

XFAIL tests/test_updatediff.py::test_update_needs_more_context[False-1] - Not enough context lines to resolve the conflict.

XFAIL tests/test_updatediff.py::test_update_needs_more_context[False-2] - Not enough context lines to resolve the conflict.

FAILED tests/test_cli.py::test_help - AssertionError: assert 'copier copy [SWITCHES] template_src destination_path' in 'copier 9.1.1\n\nCreate a new project from a template.\n\nDocs in https://copier.readthedocs.io/\n\nWAR...

FAILED tests/test_cli.py::test_copy_help - AssertionError: assert 'copier copy [SWITCHES] template_src destination_path' in 'copier copy 9.1.1\n\nCopy from a template source to a destination.\n\nИспользование:\n copier copy ...

FAILED tests/test_cli.py::test_update_help - AssertionError: assert 'copier update [SWITCHES] [destination_path=.]' in 'copier update 9.1.1\n\nUpdate a subproject from its original template\n\nThe copy must have a valid answers f...

======================================================== 3 failed, 783 passed, 1 skipped, 4 xfailed, 6 warnings in 110.08s (0:01:50) ========================================================

fuero commented on 2022-08-26 23:59 (UTC)

Needs at least python-wheel in makedepends, likely python-build and python-installer too.