@Nashenas I've reverted the enabling of pytest for now. Will need to check which dependencies I need for this to work properly at a later point.
Search Criteria
Package Details: fw-fanctrl-git 1.0.0.r4.b37bd3b-7
Package Actions
Git Clone URL: | https://aur.archlinux.org/fw-fanctrl-git.git (read-only, click to copy) |
---|---|
Package Base: | fw-fanctrl-git |
Description: | A simple systemd service to better control Framework Laptop's fan(s) |
Upstream URL: | https://github.com/TamtamHero/fw-fanctrl |
Licenses: | BSD-3 |
Conflicts: | fw-fanctrl |
Provides: | fw-fanctrl |
Submitter: | icedream |
Maintainer: | icedream |
Last Packager: | icedream |
Votes: | 5 |
Popularity: | 1.65 |
First Submitted: | 2023-07-04 00:25 (UTC) |
Last Updated: | 2025-02-11 08:01 (UTC) |
Dependencies (8)
- fw-ectool-gitAUR
- python (python37AUR, python311AUR, python310AUR)
- python-watchdog (python-watchdog-gitAUR)
- git (git-gitAUR, git-glAUR) (make)
- python-build (make)
- python-installer (make)
- python-setuptools (make)
- python-wheel (make)
Required by (1)
Sources (1)
icedream commented on 2025-02-11 08:02 (UTC)
Nashenas commented on 2025-02-11 05:05 (UTC)
The latest version is failing for me. It has an unspecified build dependency on the python-pytest package. I installed it manually but it still fails with:
Successfully built fw_fanctrl-1.0.0-py3-none-any.whl
==> Starting check()...
============================================================ test session starts ============================================================
platform linux -- Python 3.13.1, pytest-8.3.4, pluggy-1.5.0 -- /usr/bin/python
cachedir: .pytest_cache
rootdir: /home/user/.cache/paru/clone/fw-fanctrl-git/src/fw-fanctrl
configfile: pyproject.toml
collected 0 items
=========================================================== no tests ran in 0.03s ===========================================================
==> ERROR: A failure occurred in check().
Aborting...
error: failed to build 'fw-fanctrl-git-1.0.0.r4.b37bd3b-6':
icedream commented on 2025-02-10 17:30 (UTC)
The issue with the missing bin script has been solved.
In detail: Problem was the order of install steps - the remaining part of the install script being used deleted the file due to legacy procedures.
I plan in the coming days to coordinate to which degree I should continue to rely on the script but for now this package is back working.
icedream commented on 2025-02-10 11:46 (UTC) (edited on 2025-02-10 17:34 (UTC) by icedream)
I am a bit tied down by a headache and limited free time. I'll check into it this evening German time to see what's the problem.
Interestingly, for me the bin script is still part of the package when I build it. (EDIT: That was my mistake for not building the package from a clean state.)
nezu commented on 2025-02-10 11:45 (UTC) (edited on 2025-02-10 11:52 (UTC) by nezu)
latest package update results in an empty /usr/bin directory. This means the fw-fanctrl command is no longer found and the service fails to start
temporary workaround: python3 -m fw_fanctrl
Tealk commented on 2025-02-07 23:09 (UTC)
@icedream not really, I still have the same problem as @jihem
icedream commented on 2025-02-06 11:39 (UTC)
@jihem Thanks! Should be fixed now!
jihem commented on 2025-02-03 18:16 (UTC) (edited on 2025-02-03 18:39 (UTC) by jihem)
python-build
and python-installer
should be added as makedepends, to avoid the errors:
/usr/bin/python: No module named build
/usr/bin/python: No module named installer
Edit: after building and installing the package, the file /usr/bin/fw-fanctrl
is missing.
icedream commented on 2025-02-01 18:26 (UTC) (edited on 2025-02-01 18:27 (UTC) by icedream)
This package is currently broken and in progress of getting fixed.
Breakage is a result of the project's move to a standard Python build system. It's mostly not a fault upstream from what I can tell, it's a fault in the packaging.
I am facing some dependency issues at the moment as well that need resolving.
If you build & install this package right now it will only install if you migrate from pre-1.0.0 to the latest commit once. All subsequent build attempts then will fail to build.
Thanks to @AntiApple4life for reporting.
AntiApple4life commented on 2025-02-01 17:28 (UTC)
The build fails with this message
Processing ./dist/fw_fanctrl-1.0.0.tar.gz
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Building wheels for collected packages: fw-fanctrl
Building wheel for fw-fanctrl (pyproject.toml) ... done
Created wheel for fw-fanctrl: filename=fw_fanctrl-1.0.0-py3-none-any.whl size=23955 sha256=48237fd12dcc206fc41a77dbc8350c7f5e750c2207f7cfb9b977896cb6ed2bfa
Stored in directory: /home/johne/.cache/pip/wheels/a0/9c/90/d45f77d72a889afc1eba2a4a9a6408662ce16200c2fd2e39ce
Successfully built fw-fanctrl
Installing collected packages: fw-fanctrl
ERROR: Could not install packages due to an OSError: [Errno 13] Permission denied: '/usr/lib/python3.13/site-packages/fw_fanctrl'
Consider using the `--user` option or check the permissions.
Pinned Comments
icedream commented on 2025-02-10 17:30 (UTC)
The issue with the missing bin script has been solved.
In detail: Problem was the order of install steps - the remaining part of the install script being used deleted the file due to legacy procedures.
I plan in the coming days to coordinate to which degree I should continue to rely on the script but for now this package is back working.