(venv) ❯ cmdeploy test
[$ /home/mehrad/tmp/setup-chatmail-relay/relay/venv/bin/python3 -m pip install deltachat]
Collecting deltachat
Using cached deltachat-1.101.0.tar.gz (118 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... error
error: subprocess-exited-with-error
× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> [53 lines of output]
Traceback (most recent call last):
File "/home/mehrad/tmp/setup-chatmail-relay/relay/venv/lib/python3.14/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 389, in <module>
main()
~~~~^^
File "/home/mehrad/tmp/setup-chatmail-relay/relay/venv/lib/python3.14/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 373, in main
json_out["return_val"] = hook(**hook_input["kwargs"])
~~~~^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/mehrad/tmp/setup-chatmail-relay/relay/venv/lib/python3.14/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 143, in get_requires_for_build_wheel
return hook(config_settings)
File "/tmp/pip-build-env-vy_8xwmp/overlay/lib/python3.14/site-packages/setuptools/build_meta.py", line 333, in get_requires_for_build_wheel
return self._get_build_requires(config_settings, requirements=[])
~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/tmp/pip-build-env-vy_8xwmp/overlay/lib/python3.14/site-packages/setuptools/build_meta.py", line 301, in _get_build_requires
self.run_setup()
~~~~~~~~~~~~~~^^
File "/tmp/pip-build-env-vy_8xwmp/overlay/lib/python3.14/site-packages/setuptools/build_meta.py", line 317, in run_setup
exec(code, locals())
~~~~^^^^^^^^^^^^^^^^
File "<string>", line 4, in <module>
File "/tmp/pip-build-env-vy_8xwmp/overlay/lib/python3.14/site-packages/setuptools/__init__.py", line 117, in setup
return distutils.core.setup(**attrs) # type: ignore[return-value]
~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
File "/tmp/pip-build-env-vy_8xwmp/overlay/lib/python3.14/site-packages/setuptools/_distutils/core.py", line 148, in setup
_setup_distribution = dist = klass(attrs)
~~~~~^^^^^^^
File "/tmp/pip-build-env-vy_8xwmp/overlay/lib/python3.14/site-packages/setuptools/dist.py", line 321, in __init__
_Distribution.__init__(self, dist_attrs)
~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^
File "/tmp/pip-build-env-vy_8xwmp/overlay/lib/python3.14/site-packages/setuptools/_distutils/dist.py", line 309, in __init__
self.finalize_options()
~~~~~~~~~~~~~~~~~~~~~^^
File "/tmp/pip-build-env-vy_8xwmp/overlay/lib/python3.14/site-packages/setuptools/dist.py", line 790, in finalize_options
ep(self)
~~^^^^^^
File "/tmp/pip-build-env-vy_8xwmp/overlay/lib/python3.14/site-packages/setuptools/dist.py", line 810, in _finalize_setup_keywords
ep.load()(self, ep.name, value)
~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^
File "/tmp/pip-build-env-vy_8xwmp/overlay/lib/python3.14/site-packages/cffi/setuptools_ext.py", line 229, in cffi_modules
add_cffi_module(dist, cffi_module)
~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
File "/tmp/pip-build-env-vy_8xwmp/overlay/lib/python3.14/site-packages/cffi/setuptools_ext.py", line 58, in add_cffi_module
ffi = ffi() # maybe it's a function instead of directly an ffi
File "src/deltachat/_build.py", line 182, in ffibuilder
flags = system_build_flags()
File "src/deltachat/_build.py", line 49, in system_build_flags
return pkgconfig.parse("deltachat")
~~~~~~~~~~~~~~~^^^^^^^^^^^^^
File "/tmp/pip-build-env-vy_8xwmp/overlay/lib/python3.14/site-packages/pkgconfig/pkgconfig.py", line 248, in parse
_raise_if_not_exists(package)
~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
File "/tmp/pip-build-env-vy_8xwmp/overlay/lib/python3.14/site-packages/pkgconfig/pkgconfig.py", line 103, in _raise_if_not_exists
raise PackageNotFoundError(package)
pkgconfig.pkgconfig.PackageNotFoundError: deltachat not found
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed to build 'deltachat' when getting requirements to build wheel
Traceback (most recent call last):
File "/home/mehrad/tmp/setup-chatmail-relay/relay/venv/bin/cmdeploy", line 7, in <module>
sys.exit(main())
~~~~^^
File "/home/mehrad/tmp/setup-chatmail-relay/relay/cmdeploy/src/cmdeploy/cmdeploy.py", line 408, in main
res = args.func(args, out, **kwargs)
File "/home/mehrad/tmp/setup-chatmail-relay/relay/cmdeploy/src/cmdeploy/cmdeploy.py", line 213, in test_cmd
out.check_call(f"{sys.executable} -m pip install deltachat")
~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/mehrad/tmp/setup-chatmail-relay/relay/cmdeploy/src/cmdeploy/cmdeploy.py", line 304, in check_call
return subprocess.check_call(arg, shell=True, env=env)
~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.14/subprocess.py", line 419, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '/home/mehrad/tmp/setup-chatmail-relay/relay/venv/bin/python3 -m pip install deltachat' returned non-zero exit status 1.
git rev-parse HEADExpected behavior
I expected the
cmdeployto installdeltachatfrom pypi using venv'spip.What did you try to achieve?
Test the instance of chatmail
Actual behavior
This seems to be similar to #95 which hints some sort of potential regression.
I get
relay/venv/bin/python3 -m pip install deltachat' returned non-zero exit status 1after runningcmdeplot test, which is because ofpkgconfig.pkgconfig.PackageNotFoundError: deltachat not found.The following is the detailed output of the `cmdeploy`
What happened instead?
I ran both following inside the venv and got the same error:
python3 -m pip install deltachatpip install deltachatSteps to reproduce the problem:
cmdeploy initcmdeploy runcmdeploy dnscmdeploy testScreenshots
Logs