Installing Kallithea 0.7.0
kallithea at simple-test-bed.de
kallithea at simple-test-bed.de
Mon Feb 3 15:49:05 UTC 2025
How that can be?
When I go to the Kallithea webpage: https://kallithea-scm.org/, there is the statement, that 0.7.0
is the current stable release.
How that can be, that the current version, which also is available via pip, can't be installed?
As my current goal is, testing different web based git frontends for their usage, one of the most
important things is, that I can have a reliable version controlled and stable instance for
production.
Installing from branches is something you do, when you develop programs, but now, when you use
applications. OK, but I tried now also, installing from Source.
I downloaded https://files.pythonhosted.org/packages/source/K/Kallithea/Kallithea-0.7.0.tar.gz,
which is linked from https://kallithea-scm.org/#downloads
After that I followed the advice from https://kallithea.readthedocs.io/en/default/installation.html#installation-from-repository-source:
> tar -xzf Kallithea-0.7.0.tar.gz
> cd Kallithea-0.7.0
> python3 -m venv venv
> . venv/bin/activate
> pip install --upgrade pip setuptools
> pip install --upgrade -e .
and before I can enter the last line from the installation procedure, I get also an error message,
related to FormEncode
> Collecting FormEncode<1.4,>=1.3.1 (from Kallithea==0.7.0)
> Downloading FormEncode-1.3.1.tar.gz (197 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
> ╰─> [20 lines of output]
> Traceback (most recent call last):
> File "/usr/share/Kallithea-0.7.0/venv/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 389, in <module>
> main()
> File "/usr/share/Kallithea-0.7.0/venv/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 373, in main
> json_out["return_val"] = hook(**hook_input["kwargs"])
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> File "/usr/share/Kallithea-0.7.0/venv/lib/python3.11/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-zptskz3a/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 334, in get_requires_for_build_wheel
> return self._get_build_requires(config_settings, requirements=[])
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> File "/tmp/pip-build-env-zptskz3a/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 304, in _get_build_requires
> self.run_setup()
> File "/tmp/pip-build-env-zptskz3a/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 522, in run_setup
> super().run_setup(setup_script=setup_script)
> File "/tmp/pip-build-env-zptskz3a/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 320, in run_setup
> exec(code, locals())
> File "<string>", line 15, in <module>
> ImportError: Python version not supported
> [end of output]
>
> note: This error originates from a subprocess, and is likely not a problem with pip.
> error: subprocess-exited-with-error
>
So it looks like, that Kallithea is forcing the usage of an outdated version of FormEncode. The
above error is the same error, I get, when I try to do
> pip install FormEncode==1.3.1
OK, Digging a little bit deeper, I stopped evaluating Kallithea, as the last Release 0.7.0 is almost
4 years old. Looks like a dead project.
Thanks for your tip, but i learned, that Kallithea is not what I wan't to use and to propose.
_w
------
In Antwort auf die folgende Mail
From: Mads Kiilerich <mads at kiilerich.com>
To: kallithea at simple-test-bed.de, kallithea-general at sfconservancy.org
Cc:
Subject: Re: Installing Kallithea 0.7.0
Date: Mon, 3 Feb 2025 00:07:00 +0100
On 02/02/2025 23:07, kallithea at simple-test-bed.de wrote:
>> File "/tmp/pip-install-n99bph_c/formencode_037c45eb45cf47ee9630062343df91eb/setup.py", line 15, in <module>
>> raise ImportError('Python version not supported')
>> ImportError: Python version not supported
>> [end of output]
> How can I overcome this problem?
>
> Thanks for any useful hints.
I'm pretty sure it works on the stable branch. Just follow
https://kallithea.readthedocs.io/en/default/installation.html#installation-from-repository-source
. That works for me on Fedora with Python 3.13.1
/Mads
More information about the kallithea-general
mailing list