Package Details: certomancer 0.12.0-2

Git Clone URL: https://aur.archlinux.org/certomancer.git (read-only, click to copy)
Package Base: certomancer
Description: Quickly construct, mock & deploy PKI test configurations
Upstream URL: https://github.com/MatthiasValvekens/certomancer
Licenses: MIT
Submitter: carsme
Maintainer: carsme
Last Packager: carsme
Votes: 1
Popularity: 0.000026
First Submitted: 2023-02-11 17:19 (UTC)
Last Updated: 2024-04-27 20:44 (UTC)

Latest Comments

carsme commented on 2023-03-12 12:42 (UTC)

@micwoj92 Thanks, published a new pkgrel.

micwoj92 commented on 2023-03-12 12:18 (UTC)

Seems to also need python-pytest-asyncio in checkdepends.

==> Starting check()...
Traceback (most recent call last):
  File "/usr/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/usr/lib/python3.10/site-packages/pytest/__main__.py", line 5, in <module>
    raise SystemExit(pytest.console_main())
  File "/usr/lib/python3.10/site-packages/_pytest/config/__init__.py", line 190, in console_main
    code = main()
  File "/usr/lib/python3.10/site-packages/_pytest/config/__init__.py", line 148, in main
    config = _prepareconfig(args, plugins)
  File "/usr/lib/python3.10/site-packages/_pytest/config/__init__.py", line 329, in _prepareconfig
    config = pluginmanager.hook.pytest_cmdline_parse(
  File "/usr/lib/python3.10/site-packages/pluggy/_hooks.py", line 265, in __call__
    return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  File "/usr/lib/python3.10/site-packages/pluggy/_manager.py", line 80, in _hookexec
    return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  File "/usr/lib/python3.10/site-packages/pluggy/_callers.py", line 55, in _multicall
    gen.send(outcome)
  File "/usr/lib/python3.10/site-packages/_pytest/helpconfig.py", line 103, in pytest_cmdline_parse
    config: Config = outcome.get_result()
  File "/usr/lib/python3.10/site-packages/pluggy/_result.py", line 60, in get_result
    raise ex[1].with_traceback(ex[2])
  File "/usr/lib/python3.10/site-packages/pluggy/_callers.py", line 39, in _multicall
    res = hook_impl.function(*args)
  File "/usr/lib/python3.10/site-packages/_pytest/config/__init__.py", line 1060, in pytest_cmdline_parse
    self.parse(args)
  File "/usr/lib/python3.10/site-packages/_pytest/config/__init__.py", line 1348, in parse
    self._preparse(args, addopts=addopts)
  File "/usr/lib/python3.10/site-packages/_pytest/config/__init__.py", line 1231, in _preparse
    self.pluginmanager.load_setuptools_entrypoints("pytest11")
  File "/usr/lib/python3.10/site-packages/pluggy/_manager.py", line 287, in load_setuptools_entrypoints
    plugin = ep.load()
  File "/usr/lib/python3.10/importlib/metadata/__init__.py", line 171, in load
    module = import_module(match.group('module'))
  File "/usr/lib/python3.10/importlib/__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 688, in _load_unlocked
  File "/usr/lib/python3.10/site-packages/_pytest/assertion/rewrite.py", line 168, in exec_module
    exec(co, module.__dict__)
  File "/usr/lib/python3.10/site-packages/pytest_aiohttp/plugin.py", line 6, in <module>
    import pytest_asyncio
ModuleNotFoundError: No module named 'pytest_asyncio'

micwoj92 commented on 2023-02-12 13:20 (UTC) (edited on 2023-02-12 13:20 (UTC) by micwoj92)

btw, it should be added as makedep, because when running makepkg --nocheck it won't pull it and it complains giving error.

subprocess.CalledProcessError: Command '['/usr/bin/python', '-m', 'pip', '--disable-pip-version-check', 'wheel', '--no-deps', '-w', '/tmp/tmpvaijsiw2', '--quiet', 'pytest-runner']' returned non-zero exit status 1.

micwoj92 commented on 2023-02-12 13:17 (UTC)

Thanks, and thanks for taking over pyhanko.

carsme commented on 2023-02-12 13:16 (UTC)

@micwoj92, that seem to work, fixed. Thanks!

micwoj92 commented on 2023-02-12 13:05 (UTC)

pip is not needed as makedep, instead you should add python-pytest-runner https://github.com/MatthiasValvekens/certomancer/blob/master/setup.py#L69