-
Notifications
You must be signed in to change notification settings - Fork 123
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Build fails to build the voila project: TypeError: expected string or bytes-like object #558
Comments
I assume that the version returned by |
The version returned for one of the packages (hackling) in None. |
Figure out why that is :) How did you build hatchling? Do you post-process the metadata at all? |
cc @ofek |
I installed py39-hatchling from the FreeBSD package. |
I think you are gonna face the same issue with all of viola's build dependencies - hatchling just so happens to be the first one to be checked. Looking at the contents of the FreeBSD |
But the new style package using build/install has the same problem. |
Are you sure that it's only hatchling that's affected? Have you tried commenting out hatchling in viola's pyproject.toml? |
FYI, while this is probably something you should still hunt down and fix, but for packaging for distros, you'll very likely eventually need to add (see my comment at #557 (comment)) |
voila
The command is:
cd /usr/ports/devel/py-voila/work-py39/voila-0.4.0 && /usr/bin/env XDG_DATA_HOME=/usr/ports/devel/py-voila/work-py39 XDG_CONFIG_HOME=/usr/ports/devel/py-voila/work-py39 XDG_CACHE_HOME=/usr/ports/devel/py-voila/work-py39/.cache HOME=/usr/ports/devel/py-voila/work-py39 PATH=/usr/local/libexec/ccache:/usr/ports/devel/py-voila/work-py39/.bin:/home/yuri/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin PKG_CONFIG_LIBDIR=/usr/ports/devel/py-voila/work-py39/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local LOCALBASE=/usr/local CC="cc" CFLAGS="-O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing " CPP="cpp" CPPFLAGS="-isystem /usr/local/include" LDFLAGS=" -fstack-protector-strong " LIBS="-L/usr/local/lib" CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include " MANPREFIX="/usr/local" CCACHE_DIR="/tmp/.ccache" BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m 0644" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" /usr/local/bin/python3.9 -m build --wheel --no-isolation --outdir /usr/ports/devel/py-voila/work-py39
Version: 0.9.0, 0.8.0
Python-3.9
FreeBSD 13.1
The text was updated successfully, but these errors were encountered: