惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

IT之家
IT之家
Y
Y Combinator Blog
月光博客
月光博客
Blog — PlanetScale
Blog — PlanetScale
GbyAI
GbyAI
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
博客园 - 三生石上(FineUI控件)
S
SegmentFault 最新的问题
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
美团技术团队
雷峰网
雷峰网
酷 壳 – CoolShell
酷 壳 – CoolShell
Last Week in AI
Last Week in AI
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
有赞技术团队
有赞技术团队
博客园 - 司徒正美
V
Visual Studio Blog
小众软件
小众软件
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
T
Tailwind CSS Blog
Apple Machine Learning Research
Apple Machine Learning Research
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
A
About on SuperTechFans
The Cloudflare Blog

AUR Newest Packages

AUR (en) - linuxqq-clipsync-git AUR (en) - libtslitex-git AUR (en) - libtslitex-git AUR (en) - carton-appimage AUR (en) - veila-git AUR (en) - veila-bin AUR (en) - vigil-baseline AUR (en) - byedroid AUR (en) - neovim-base16-git AUR (en) - pirata AUR (en) - rpi-imager-git-non-root AUR (en) - python-fastapi-sso AUR (en) - tmux-ai-titles AUR (en) - zeed-bin AUR (en) - bclone-bin AUR (en) - dwl-git-azerty AUR (en) - auggie-bin AUR (en) - libspatialaudio-git AUR (en) - libspatialaudio AUR (en) - miniupnpd-iptables-legacy AUR (en) - miniupnpd-nft AUR (en) - jeeves-bin AUR (en) - opennow AUR (en) - rotki AUR (en) - kapi-bin AUR (en) - classfi-bin AUR (en) - classfi-git AUR (en) - classfi AUR (en) - giff-git AUR (en) - budget-tracker-bin
AUR (en) - python-copier
2026-06-24 · via AUR Newest Packages

Segaja commented on 2026-05-11 08:00 (UTC)

The testing issue was resolved in python-libvcs 0.41.0.

EagleNumberOne commented on 2026-05-06 21:21 (UTC)

For me this fixed it. Seems that libvcs from system-packages shadows gitconfig from pytest-gitconfig

--- a/PKGBUILD
+++ b/PKGBUILD
@@ -63,7 +63,7 @@ check() {
   rm -rf test-env
   python -m venv --system-site-packages test-env
   test-env/bin/python -m installer "dist/copier-$pkgver-"*.whl
-  LC_ALL=C test-env/bin/python -m pytest -k 'not test_types and not test_commit_hooks_respected'
+  LC_ALL=C test-env/bin/python -m pytest -p no:libvcs -k 'not test_types and not test_commit_hooks_respected'
 }

 package() {

Segaja commented on 2026-04-13 09:41 (UTC)

>       gitconfig.set({"user.signinkey": "123456", "commit.gpgsign": "true"})
        ^^^^^^^^^^^^^
E       AttributeError: 'PosixPath' object has no attribute 'set'

tests/test_dirty_local.py:110: AttributeError


>       gitconfig.set({"user.signinkey": "123456", "commit.gpgsign": "true"})
        ^^^^^^^^^^^^^
E       AttributeError: 'PosixPath' object has no attribute 'set'

tests/test_dirty_local.py:251: AttributeError

R41zW4z commented on 2026-03-20 08:48 (UTC)

The cause for my comment was a recurring message from apdatifier that an update for python-copier is available. But the update failed again and again. Now with a fresh update it works without any more messages regarding python-copier.

SpotlightKid commented on 2026-03-19 15:13 (UTC) (edited on 2026-03-19 15:14 (UTC) by SpotlightKid)

@R41zW4z: What commands are you running to build the package and run the check function? python-questionary is already in depends and normally that should be enough for the packages listed there to be also available when check is run.

R41zW4z commented on 2026-03-19 09:56 (UTC)

"Build fails during check() because of missing dependency: ModuleNotFoundError: No module named 'questionary'. Adding python-questionary to checkdepends should fix this."

wang1zhen commented on 2026-01-14 03:59 (UTC)

python-copier failed to build

==> Starting check()...
ImportError while loading conftest '/home/wang1zhen/.cache/paru/clone/python-copier/src/copier/tests/conftest.py'.
tests/conftest.py:16: in <module>
    from pytest_gitconfig.plugin import DELETE, GitConfig
E   ModuleNotFoundError: No module named 'pytest_gitconfig'
==> ERROR: A failure occurred in check().
    Aborting...
error: failed to build 'python-copier-9.11.1-1': 

czrpb commented on 2025-05-16 13:24 (UTC)

cachyos: paru -Syu

checkdeps arent being loaded? what am i doing wrong?

==> Starting check()...
ImportError while loading conftest '/home/XXX/.cache/paru/clone/python-copier/src/copier/tests/conftest.py'.
tests/conftest.py:14: in <module>
    from pytest_gitconfig.plugin import DELETE, GitConfig
E   ModuleNotFoundError: No module named 'pytest_gitconfig'
==> ERROR: A failure occurred in check().
    Aborting...
error: failed to build 'python-copier-9.7.1-1':
error: packages failed to build: python-copier-9.7.1-1
checkdepends=(
  'python-pexpect'
  'python-poethepoet'
  'python-pytest'
  'python-pytest-cov'
  'python-pytest-gitconfig'
  'python-pytest-xdist'
)

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) ========================================================