Skip to content

python3Packages.fusepy: use fuse3 - #525776

Merged
mweinelt merged 1 commit into
NixOS:masterfrom
mweinelt:fuse-python
May 29, 2026
Merged

mweinelt merged 1 commit into
NixOS:masterfrom
mweinelt:fuse-python

Conversation

@mweinelt

Copy link
Copy Markdown
Member

Part of #521536

Things done

@nixpkgs-ci nixpkgs-ci Bot added 10.rebuild-linux: 11-100 This PR causes between 11 and 100 packages to rebuild on Linux. 10.rebuild-darwin: 11-100 This PR causes between 11 and 100 packages to rebuild on Darwin. 9.needs: reviewer This PR currently has no reviewers requested and needs attention. 6.topic: python Python is a high-level, general-purpose programming language. labels May 29, 2026
@mweinelt

Copy link
Copy Markdown
Member Author

nixpkgs-review result

Generated using nixpkgs-review.

Command: nixpkgs-review pr 525776
Commit: 29d024e394cb85fabbc2d5e2db88c79a54ec0c1e


x86_64-linux

✅ 34 packages built:
  • acquire (python313Packages.acquire)
  • acquire.dist (python313Packages.acquire.dist)
  • copyparty
  • copyparty-full-buggy
  • copyparty-full-buggy.dist
  • copyparty-min
  • copyparty-min.dist
  • copyparty-most
  • copyparty-most.dist
  • copyparty.dist
  • dpt-rp1-py
  • dpt-rp1-py.dist
  • mpy-utils
  • mpy-utils.dist
  • mtkclient
  • mtkclient.dist
  • python313Packages.acme-tiny
  • python313Packages.acme-tiny.dist
  • python313Packages.dissect
  • python313Packages.dissect-target
  • python313Packages.dissect-target.dist
  • python313Packages.dissect.dist
  • python313Packages.fusepy
  • python313Packages.fusepy.dist
  • python313Packages.htmllistparse
  • python313Packages.htmllistparse.dist
  • python314Packages.acme-tiny
  • python314Packages.acme-tiny.dist
  • python314Packages.fusepy
  • python314Packages.fusepy.dist
  • python314Packages.htmllistparse
  • python314Packages.htmllistparse.dist
  • qemu-python-utils
  • qemu-python-utils.dist

@mweinelt
mweinelt added this pull request to the merge queue May 29, 2026
Merged via the queue into NixOS:master with commit cb9cdac May 29, 2026
28 checks passed
@mweinelt
mweinelt deleted the fuse-python branch May 29, 2026 23:54
@Le0Developer

Copy link
Copy Markdown

This indirectly broke the copyparty package on darwin. It depends on fusepy for the partyfuse binary, but the main binary does not.
However, thanks to the added pythonImportsCheck directive, libfuse is now required at install time (instead of being a runtime error).

cc @shelvacu

Log
this derivation will be built:
  /nix/store/raivdvk4pyh4x406sh265a7ciyy67h0y-python3.13-fusepy-3.0.1.drv
building '/nix/store/raivdvk4pyh4x406sh265a7ciyy67h0y-python3.13-fusepy-3.0.1.drv'...
Sourcing python-remove-tests-dir-hook
Sourcing python-catch-conflicts-hook.sh
Sourcing python-remove-bin-bytecode-hook.sh
Sourcing pypa-build-hook
Using pypaBuildPhase
Sourcing python-runtime-deps-check-hook
Using pythonRuntimeDepsCheckHook
Sourcing pypa-install-hook
Using pypaInstallPhase
Sourcing python-imports-check-hook.sh
Using pythonImportsCheckPhase
Sourcing python-namespaces-hook
Sourcing python-catch-conflicts-hook.sh
Running phase: unpackPhase
unpacking source archive /nix/store/2lm55sj083n3gijwy287vxqhi18gdby4-fusepy-3.0.1.tar.gz
source root is fusepy-3.0.1
setting SOURCE_DATE_EPOCH to timestamp 1537143232 of file "fusepy-3.0.1/setup.cfg"
Running phase: patchPhase
Running phase: updateAutotoolsGnuConfigScriptsPhase
Running phase: configurePhase
no configure script, doing nothing
Running phase: buildPhase
Executing pypaBuildPhase
Creating a wheel...
pypa build flags: --no-isolation --outdir dist/ --wheel
* Getting build dependencies for wheel...
/nix/store/x9c9xlcr5ni505471kmamgq7zypg0x6q-python3.13-setuptools-80.10.1/lib/python3.13/site-packages/setuptools/dist.py:765: SetuptoolsDeprecationWarning: License classifiers are deprecated.
!!

        ********************************************************************************
        Please consider removing the following classifiers in favor of a SPDX license expression:

        License :: OSI Approved :: ISC License (ISCL)

        See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details.
        ********************************************************************************

!!
  self._finalize_license_expression()
running egg_info
writing fusepy.egg-info/PKG-INFO
writing dependency_links to fusepy.egg-info/dependency_links.txt
writing top-level names to fusepy.egg-info/top_level.txt
reading manifest file 'fusepy.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file 'fusepy.egg-info/SOURCES.txt'
* Building wheel...
/nix/store/x9c9xlcr5ni505471kmamgq7zypg0x6q-python3.13-setuptools-80.10.1/lib/python3.13/site-packages/setuptools/dist.py:765: SetuptoolsDeprecationWarning: License classifiers are deprecated.
!!

        ********************************************************************************
        Please consider removing the following classifiers in favor of a SPDX license expression:

        License :: OSI Approved :: ISC License (ISCL)

        See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details.
        ********************************************************************************

!!
  self._finalize_license_expression()
running bdist_wheel
running build
running build_py
creating build/lib
copying fuse.py -> build/lib
installing to build/bdist.macosx-14.0-arm64/wheel
running install
running install_lib
creating build/bdist.macosx-14.0-arm64/wheel
copying build/lib/fuse.py -> build/bdist.macosx-14.0-arm64/wheel/.
running install_egg_info
running egg_info
writing fusepy.egg-info/PKG-INFO
writing dependency_links to fusepy.egg-info/dependency_links.txt
writing top-level names to fusepy.egg-info/top_level.txt
reading manifest file 'fusepy.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file 'fusepy.egg-info/SOURCES.txt'
Copying fusepy.egg-info to build/bdist.macosx-14.0-arm64/wheel/./fusepy-3.0.1-py3.13.egg-info
running install_scripts
creating build/bdist.macosx-14.0-arm64/wheel/fusepy-3.0.1.dist-info/WHEEL
creating '/nix/var/nix/builds/nix-16927-52062524/fusepy-3.0.1/dist/.tmp-pyp2l4wv/fusepy-3.0.1-py3-none-any.whl' and adding 'build/bdist.macosx-14.0-arm64/wheel' to it
adding 'fuse.py'
adding 'fusepy-3.0.1.dist-info/METADATA'
adding 'fusepy-3.0.1.dist-info/WHEEL'
adding 'fusepy-3.0.1.dist-info/top_level.txt'
adding 'fusepy-3.0.1.dist-info/RECORD'
removing build/bdist.macosx-14.0-arm64/wheel
Successfully built fusepy-3.0.1-py3-none-any.whl
Finished creating a wheel...
Finished executing pypaBuildPhase
Running phase: pythonRuntimeDepsCheckHook
Executing pythonRuntimeDepsCheck
Checking runtime dependencies for fusepy-3.0.1-py3-none-any.whl
Finished executing pythonRuntimeDepsCheck
Running phase: installPhase
Executing pypaInstallPhase
Successfully installed fusepy-3.0.1-py3-none-any.whl
Finished executing pypaInstallPhase
Running phase: pythonOutputDistPhase
Executing pythonOutputDistPhase
Finished executing pythonOutputDistPhase
Running phase: fixupPhase
checking for references to /nix/var/nix/builds/nix-16927-52062524/ in /nix/store/3lqrinyqqmmx8crcjq984lbkyjbm4r9j-python3.13-fusepy-3.0.1...
patching script interpreter paths in /nix/store/3lqrinyqqmmx8crcjq984lbkyjbm4r9j-python3.13-fusepy-3.0.1
stripping (with command strip and flags -S) in  /nix/store/3lqrinyqqmmx8crcjq984lbkyjbm4r9j-python3.13-fusepy-3.0.1/lib
checking for references to /nix/var/nix/builds/nix-16927-52062524/ in /nix/store/gnqqy1vafk7llm0zjs2hpcyp692k9q7f-python3.13-fusepy-3.0.1-dist...
patching script interpreter paths in /nix/store/gnqqy1vafk7llm0zjs2hpcyp692k9q7f-python3.13-fusepy-3.0.1-dist
Executing pythonRemoveTestsDir
Finished executing pythonRemoveTestsDir
Running phase: pythonCatchConflictsPhase
Running phase: pythonRemoveBinBytecodePhase
Running phase: pythonImportsCheckPhase
Executing pythonImportsCheckPhase
Check whether the following modules can be imported: fuse
Traceback (most recent call last):
  File "<string>", line 1, in <module>
    import sys; import importlib; list(map(lambda mod: importlib.import_module(mod), sys.argv[1:]))
                                  ~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "<string>", line 1, in <lambda>
    import sys; import importlib; list(map(lambda mod: importlib.import_module(mod), sys.argv[1:]))
                                                       ~~~~~~~~~~~~~~~~~~~~~~~^^^^^
  File "/nix/store/ygxqin6ydzjfawywqpp5pal8wv6sf5bh-python3-3.13.13/lib/python3.13/importlib/__init__.py", line 88, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "<frozen importlib._bootstrap>", line 1395, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 935, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 1023, in exec_module
  File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
  File "/nix/store/3lqrinyqqmmx8crcjq984lbkyjbm4r9j-python3.13-fusepy-3.0.1/lib/python3.13/site-packages/fuse.py", line 115, in <module>
    raise EnvironmentError('Unable to find libfuse')
OSError: Unable to find libfuse
error: Cannot build '/nix/store/raivdvk4pyh4x406sh265a7ciyy67h0y-python3.13-fusepy-3.0.1.drv'.
       Reason: builder failed with exit code 1.
       Output paths:
         /nix/store/3lqrinyqqmmx8crcjq984lbkyjbm4r9j-python3.13-fusepy-3.0.1
         /nix/store/gnqqy1vafk7llm0zjs2hpcyp692k9q7f-python3.13-fusepy-3.0.1-dist
       Last 25 log lines:
       > Finished executing pythonRemoveTestsDir
       > Running phase: pythonCatchConflictsPhase
       > Running phase: pythonRemoveBinBytecodePhase
       > Running phase: pythonImportsCheckPhase
       > Executing pythonImportsCheckPhase
       > Check whether the following modules can be imported: fuse
       > Traceback (most recent call last):
       >   File "<string>", line 1, in <module>
       >     import sys; import importlib; list(map(lambda mod: importlib.import_module(mod), sys.argv[1:]))
       >                                   ~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
       >   File "<string>", line 1, in <lambda>
       >     import sys; import importlib; list(map(lambda mod: importlib.import_module(mod), sys.argv[1:]))
       >                                                        ~~~~~~~~~~~~~~~~~~~~~~~^^^^^
       >   File "/nix/store/ygxqin6ydzjfawywqpp5pal8wv6sf5bh-python3-3.13.13/lib/python3.13/importlib/__init__.py", line 88, in import_module
       >     return _bootstrap._gcd_import(name[level:], package, level)
       >            ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
       >   File "<frozen importlib._bootstrap>", line 1395, in _gcd_import
       >   File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
       >   File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked
       >   File "<frozen importlib._bootstrap>", line 935, in _load_unlocked
       >   File "<frozen importlib._bootstrap_external>", line 1023, in exec_module
       >   File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
       >   File "/nix/store/3lqrinyqqmmx8crcjq984lbkyjbm4r9j-python3.13-fusepy-3.0.1/lib/python3.13/site-packages/fuse.py", line 115, in <module>
       >     raise EnvironmentError('Unable to find libfuse')
       > OSError: Unable to find libfuse
       For full logs, run:
         nix log /nix/store/raivdvk4pyh4x406sh265a7ciyy67h0y-python3.13-fusepy-3.0.1.drv

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

6.topic: python Python is a high-level, general-purpose programming language. 9.needs: reviewer This PR currently has no reviewers requested and needs attention. 10.rebuild-darwin: 11-100 This PR causes between 11 and 100 packages to rebuild on Darwin. 10.rebuild-linux: 11-100 This PR causes between 11 and 100 packages to rebuild on Linux.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants