Tested ok, I managed to update and run version 1.4.0.
I'll push a new version of 1.4.0. But python311 will be a dependency.
Git Clone URL: | https://aur.archlinux.org/funkwhale-venv.git (read-only, click to copy) |
---|---|
Package Base: | funkwhale-venv |
Description: | A community-driven project that lets you listen and share music and audio within a decentralized, open network. |
Upstream URL: | https://funkwhale.audio/ |
Licenses: | GPL3 |
Conflicts: | funkwhale |
Provides: | funkwhale |
Submitter: | getzze |
Maintainer: | getzze |
Last Packager: | getzze |
Votes: | 3 |
Popularity: | 0.000000 |
First Submitted: | 2022-05-07 22:20 (UTC) |
Last Updated: | 2023-10-17 21:28 (UTC) |
Tested ok, I managed to update and run version 1.4.0.
I'll push a new version of 1.4.0. But python311 will be a dependency.
Python3.12 update break this package. Which is also outdated (1.3.3 vs 1.4.0 current stable version).
Unfortunately, 1.4.0 doesn't support python3.11 either. 1.5.0 should fix that but is not yet ready it seems. I am trying to install python311
to check if I can make it run.
I'll update the PKGBUILD if I find something working correctly. But maybe python311 would be a dependency until 1.5.0 is released.
heyo!
I deliberately don't run this server the whole time, so it came as a surprise to me when it came to life on its own after an upgrade. Please don't do sudo systemctl start funkwhale.target
or other systemctl start commands in the upgrade hooks (the official packages of other server software also don't do anything). I know your goal but then please use something like systemctl try-restart
or similar.
Thank you!
This stopped working for me after the python 3.11 rebuild. This issue: https://github.com/MagicStack/httptools/issues/79 .
I was able to get it working by following the workaround there (and I also updated to the latest funkwhale version):
+
+ pip install --upgrade cython
+ pip install git+https://github.com/MagicStack/httptools.git@v0.2.0
pip install -r api/requirements.txt
Brand new Arch Linux system was not able to install this package and I was not sure why - notice it complained that gcc was not installed. It worked after I installed gcc - can you please add that as a required package for this one? Thanks.
Thanks for reporting, just updated the package to 1.2.8. Let me know if it is still not working.
I think I found the issue. The symbol is deprecated and was restored in cryptography 37.0.1 [0]. But those things where removed again in cryptography 38.0.0 [1]. But since they were not listed, I can only guess, I just read about it here: https://github.com/jasonrbriggs/stomp.py/issues/378.
So the solution would be to either try to update the package to 1.28, including the patched requirements [2] or just patch the requirements here.
[0] https://cryptography.io/en/latest/changelog/#v37-0-1
[1] https://cryptography.io/en/latest/changelog/#v38-0-0
[2] https://dev.funkwhale.audio/funkwhale/funkwhale/-/commit/a0e734c3868dae2d76cb3424e2b06128f14113bf
Hi!
I build the package two times but I just can't use funkwhale_manage to do anything:
# funkwhale_manage
2022-11-05 12:24:26,692 funkwhale_api.config INFO Running with the following plugins enabled: funkwhale_api.contrib.scrobbler, funkwhale_api.contrib.listenbrainz, funkwhale_api.contrib.maloja
Traceback (most recent call last):
File "/usr/share/webapps/funkwhale/api/manage.py", line 16, in <module>
django.setup()
File "/usr/share/webapps/funkwhale/virtualenv/lib/python3.10/site-packages/django/__init__.py", line 24, in setup
apps.populate(settings.INSTALLED_APPS)
File "/usr/share/webapps/funkwhale/virtualenv/lib/python3.10/site-packages/django/apps/registry.py", line 91, in populate
app_config = AppConfig.create(entry)
File "/usr/share/webapps/funkwhale/virtualenv/lib/python3.10/site-packages/django/apps/config.py", line 124, in create
mod = import_module(mod_path)
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 "<frozen importlib._bootstrap_external>", line 883, in exec_module
File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
File "/usr/share/webapps/funkwhale/virtualenv/lib/python3.10/site-packages/channels/apps.py", line 4, in <module>
import daphne.server
File "/usr/share/webapps/funkwhale/virtualenv/lib/python3.10/site-packages/daphne/server.py", line 5, in <module>
from twisted.internet import asyncioreactor # isort:skip
File "/usr/share/webapps/funkwhale/virtualenv/lib/python3.10/site-packages/twisted/internet/asyncioreactor.py", line 19, in <module>
from twisted.internet.posixbase import (
File "/usr/share/webapps/funkwhale/virtualenv/lib/python3.10/site-packages/twisted/internet/posixbase.py", line 19, in <module>
from twisted.internet import error, tcp, udp
File "/usr/share/webapps/funkwhale/virtualenv/lib/python3.10/site-packages/twisted/internet/tcp.py", line 38, in <module>
from twisted.internet._newtls import (
File "/usr/share/webapps/funkwhale/virtualenv/lib/python3.10/site-packages/twisted/internet/_newtls.py", line 18, in <module>
from twisted.protocols.tls import TLSMemoryBIOFactory, TLSMemoryBIOProtocol
File "/usr/share/webapps/funkwhale/virtualenv/lib/python3.10/site-packages/twisted/protocols/tls.py", line 40, in <module>
from OpenSSL.SSL import (
File "/usr/share/webapps/funkwhale/virtualenv/lib/python3.10/site-packages/OpenSSL/__init__.py", line 8, in <module>
from OpenSSL import crypto, SSL
File "/usr/share/webapps/funkwhale/virtualenv/lib/python3.10/site-packages/OpenSSL/crypto.py", line 1556, in <module>
class X509StoreFlags(object):
File "/usr/share/webapps/funkwhale/virtualenv/lib/python3.10/site-packages/OpenSSL/crypto.py", line 1577, in X509StoreFlags
CB_ISSUER_CHECK = _lib.X509_V_FLAG_CB_ISSUER_CHECK
AttributeError: module 'lib' has no attribute 'X509_V_FLAG_CB_ISSUER_CHECK'
Any ideas? Can/Should I clean pip or something and how would I do that? I already tried pip cache purge
but without success. I did not find anything usable while googling.
The 'provides' and 'conflicts' should be removed. (That is are already defined in funkwhale and funkwhale-env respectively.)
Pinned Comments
getzze commented on 2022-05-07 22:32 (UTC)
Follow the instructions on the wiki [https://wiki.archlinux.org/index.php/Funkwhale] or on the official documentation to finish the installation and configure your instance.