Sourcing python-remove-tests-dir-hook Sourcing python-catch-conflicts-hook.sh Sourcing python-remove-bin-bytecode-hook.sh Sourcing setuptools-build-hook Using setuptoolsBuildPhase Sourcing pypa-install-hook Using pypaInstallPhase Sourcing python-imports-check-hook.sh Using pythonImportsCheckPhase Sourcing python-namespaces-hook Sourcing python-catch-conflicts-hook.sh Sourcing unittest-check-hook Using unittestCheckPhase Running phase: unpackPhase unpacking source archive /nix/store/a93f8rgw83qj6g0bjjsdf2ravsk2f0pr-pyserial-3.5.tar.gz source root is pyserial-3.5 setting SOURCE_DATE_EPOCH to timestamp 1606103642 of file "pyserial-3.5/setup.cfg" Running phase: patchPhase applying patch /nix/store/g0nnb6w2rh1qmglfjmm11dvxrbj4dvrr-001-rfc2217-only-negotiate-on-value-change.patch patching file serial/rfc2217.py applying patch /nix/store/cyjbilvy2m8xsar7zjg8afcxcn0nd1iz-002-rfc2217-timeout-setter-for-rfc2217.patch patching file serial/rfc2217.py Hunk #1 succeeded at 726 with fuzz 1 (offset 4 lines). Running phase: updateAutotoolsGnuConfigScriptsPhase Running phase: configurePhase no configure script, doing nothing Running phase: buildPhase Executing setuptoolsBuildPhase setup.py build flags: '' /nix/store/svaa370jrh8my66wa1mbkbb8ilsxic8x-python3.11-setuptools-83.0.0/lib/python3.11/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 :: BSD License See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details. ******************************************************************************** !! self._finalize_license_expression() running bdist_wheel /nix/store/svaa370jrh8my66wa1mbkbb8ilsxic8x-python3.11-setuptools-83.0.0/lib/python3.11/site-packages/setuptools/_distutils/cmd.py:119: SetuptoolsDeprecationWarning: bdist_wheel.universal is deprecated !! ******************************************************************************** With Python 2.7 end-of-life, support for building universal wheels (i.e., wheels that support both Python 2 and Python 3) is being obviated. Please discontinue using this option, or if you still need it, file an issue with pypa/setuptools describing your use case. This deprecation is overdue, please update your project and remove deprecated calls to avoid build errors in the future. ******************************************************************************** !! self.finalize_options() running build running build_py creating build/lib/serial copying serial/serialutil.py -> build/lib/serial copying serial/serialcli.py -> build/lib/serial copying serial/win32.py -> build/lib/serial copying serial/serialjava.py -> build/lib/serial copying serial/__init__.py -> build/lib/serial copying serial/serialposix.py -> build/lib/serial copying serial/serialwin32.py -> build/lib/serial copying serial/rs485.py -> build/lib/serial copying serial/__main__.py -> build/lib/serial copying serial/rfc2217.py -> build/lib/serial creating build/lib/serial/tools copying serial/tools/list_ports_windows.py -> build/lib/serial/tools copying serial/tools/hexlify_codec.py -> build/lib/serial/tools copying serial/tools/list_ports.py -> build/lib/serial/tools copying serial/tools/list_ports_linux.py -> build/lib/serial/tools copying serial/tools/list_ports_common.py -> build/lib/serial/tools copying serial/tools/__init__.py -> build/lib/serial/tools copying serial/tools/list_ports_posix.py -> build/lib/serial/tools copying serial/tools/list_ports_osx.py -> build/lib/serial/tools copying serial/tools/miniterm.py -> build/lib/serial/tools creating build/lib/serial/urlhandler copying serial/urlhandler/protocol_cp2110.py -> build/lib/serial/urlhandler copying serial/urlhandler/protocol_loop.py -> build/lib/serial/urlhandler copying serial/urlhandler/protocol_alt.py -> build/lib/serial/urlhandler copying serial/urlhandler/__init__.py -> build/lib/serial/urlhandler copying serial/urlhandler/protocol_spy.py -> build/lib/serial/urlhandler copying serial/urlhandler/protocol_socket.py -> build/lib/serial/urlhandler copying serial/urlhandler/protocol_hwgrep.py -> build/lib/serial/urlhandler copying serial/urlhandler/protocol_rfc2217.py -> build/lib/serial/urlhandler creating build/lib/serial/threaded copying serial/threaded/__init__.py -> build/lib/serial/threaded /nix/store/svaa370jrh8my66wa1mbkbb8ilsxic8x-python3.11-setuptools-83.0.0/lib/python3.11/site-packages/setuptools/_distutils/cmd.py:90: SetuptoolsDeprecationWarning: setup.py install is deprecated. !! ******************************************************************************** Please avoid running ``setup.py`` directly. Instead, use pypa/build, pypa/installer or other standards-based tools. This deprecation is overdue, please update your project and remove deprecated calls to avoid build errors in the future. See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html for details. ******************************************************************************** !! self.initialize_options() installing to build/bdist.linux-x86_64/wheel running install running install_lib creating build/bdist.linux-x86_64/wheel creating build/bdist.linux-x86_64/wheel/serial copying build/lib/serial/serialutil.py -> build/bdist.linux-x86_64/wheel/./serial copying build/lib/serial/serialcli.py -> build/bdist.linux-x86_64/wheel/./serial copying build/lib/serial/win32.py -> build/bdist.linux-x86_64/wheel/./serial copying build/lib/serial/serialjava.py -> build/bdist.linux-x86_64/wheel/./serial copying build/lib/serial/__init__.py -> build/bdist.linux-x86_64/wheel/./serial copying build/lib/serial/serialposix.py -> build/bdist.linux-x86_64/wheel/./serial copying build/lib/serial/serialwin32.py -> build/bdist.linux-x86_64/wheel/./serial copying build/lib/serial/rs485.py -> build/bdist.linux-x86_64/wheel/./serial copying build/lib/serial/__main__.py -> build/bdist.linux-x86_64/wheel/./serial copying build/lib/serial/rfc2217.py -> build/bdist.linux-x86_64/wheel/./serial creating build/bdist.linux-x86_64/wheel/serial/tools copying build/lib/serial/tools/list_ports_windows.py -> build/bdist.linux-x86_64/wheel/./serial/tools copying build/lib/serial/tools/hexlify_codec.py -> build/bdist.linux-x86_64/wheel/./serial/tools copying build/lib/serial/tools/list_ports.py -> build/bdist.linux-x86_64/wheel/./serial/tools copying build/lib/serial/tools/list_ports_linux.py -> build/bdist.linux-x86_64/wheel/./serial/tools copying build/lib/serial/tools/list_ports_common.py -> build/bdist.linux-x86_64/wheel/./serial/tools copying build/lib/serial/tools/__init__.py -> build/bdist.linux-x86_64/wheel/./serial/tools copying build/lib/serial/tools/list_ports_posix.py -> build/bdist.linux-x86_64/wheel/./serial/tools copying build/lib/serial/tools/list_ports_osx.py -> build/bdist.linux-x86_64/wheel/./serial/tools copying build/lib/serial/tools/miniterm.py -> build/bdist.linux-x86_64/wheel/./serial/tools creating build/bdist.linux-x86_64/wheel/serial/urlhandler copying build/lib/serial/urlhandler/protocol_cp2110.py -> build/bdist.linux-x86_64/wheel/./serial/urlhandler copying build/lib/serial/urlhandler/protocol_loop.py -> build/bdist.linux-x86_64/wheel/./serial/urlhandler copying build/lib/serial/urlhandler/protocol_alt.py -> build/bdist.linux-x86_64/wheel/./serial/urlhandler copying build/lib/serial/urlhandler/__init__.py -> build/bdist.linux-x86_64/wheel/./serial/urlhandler copying build/lib/serial/urlhandler/protocol_spy.py -> build/bdist.linux-x86_64/wheel/./serial/urlhandler copying build/lib/serial/urlhandler/protocol_socket.py -> build/bdist.linux-x86_64/wheel/./serial/urlhandler copying build/lib/serial/urlhandler/protocol_hwgrep.py -> build/bdist.linux-x86_64/wheel/./serial/urlhandler copying build/lib/serial/urlhandler/protocol_rfc2217.py -> build/bdist.linux-x86_64/wheel/./serial/urlhandler creating build/bdist.linux-x86_64/wheel/serial/threaded copying build/lib/serial/threaded/__init__.py -> build/bdist.linux-x86_64/wheel/./serial/threaded running install_egg_info running egg_info writing pyserial.egg-info/PKG-INFO writing dependency_links to pyserial.egg-info/dependency_links.txt writing entry points to pyserial.egg-info/entry_points.txt writing requirements to pyserial.egg-info/requires.txt writing top-level names to pyserial.egg-info/top_level.txt reading manifest file 'pyserial.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' adding license file 'LICENSE.txt' writing manifest file 'pyserial.egg-info/SOURCES.txt' Copying pyserial.egg-info to build/bdist.linux-x86_64/wheel/./pyserial-3.5-py3.11.egg-info running install_scripts creating build/bdist.linux-x86_64/wheel/pyserial-3.5.dist-info/WHEEL creating 'dist/pyserial-3.5-py2.py3-none-any.whl' and adding 'build/bdist.linux-x86_64/wheel' to it adding 'pyserial-3.5.dist-info/licenses/LICENSE.txt' adding 'serial/__init__.py' adding 'serial/__main__.py' adding 'serial/rfc2217.py' adding 'serial/rs485.py' adding 'serial/serialcli.py' adding 'serial/serialjava.py' adding 'serial/serialposix.py' adding 'serial/serialutil.py' adding 'serial/serialwin32.py' adding 'serial/win32.py' adding 'serial/threaded/__init__.py' adding 'serial/tools/__init__.py' adding 'serial/tools/hexlify_codec.py' adding 'serial/tools/list_ports.py' adding 'serial/tools/list_ports_common.py' adding 'serial/tools/list_ports_linux.py' adding 'serial/tools/list_ports_osx.py' adding 'serial/tools/list_ports_posix.py' adding 'serial/tools/list_ports_windows.py' adding 'serial/tools/miniterm.py' adding 'serial/urlhandler/__init__.py' adding 'serial/urlhandler/protocol_alt.py' adding 'serial/urlhandler/protocol_cp2110.py' adding 'serial/urlhandler/protocol_hwgrep.py' adding 'serial/urlhandler/protocol_loop.py' adding 'serial/urlhandler/protocol_rfc2217.py' adding 'serial/urlhandler/protocol_socket.py' adding 'serial/urlhandler/protocol_spy.py' adding 'pyserial-3.5.dist-info/METADATA' adding 'pyserial-3.5.dist-info/WHEEL' adding 'pyserial-3.5.dist-info/entry_points.txt' adding 'pyserial-3.5.dist-info/top_level.txt' adding 'pyserial-3.5.dist-info/RECORD' removing build/bdist.linux-x86_64/wheel Finished executing setuptoolsBuildPhase Running phase: installPhase Executing pypaInstallPhase Successfully installed pyserial-3.5-py2.py3-none-any.whl Finished executing pypaInstallPhase Running phase: pythonOutputDistPhase Executing pythonOutputDistPhase Finished executing pythonOutputDistPhase Running phase: fixupPhase shrinking RPATHs of ELF executables and libraries in /nix/store/w6rng0rcn5d8xixvysisg7firhfyx16s-python3.11-pyserial-3.5-dist checking for references to /build/ in /nix/store/w6rng0rcn5d8xixvysisg7firhfyx16s-python3.11-pyserial-3.5-dist... patching script interpreter paths in /nix/store/w6rng0rcn5d8xixvysisg7firhfyx16s-python3.11-pyserial-3.5-dist shrinking RPATHs of ELF executables and libraries in /nix/store/zdnkkkaxcrxihmlv4m62di20ybnkymfq-python3.11-pyserial-3.5 checking for references to /build/ in /nix/store/zdnkkkaxcrxihmlv4m62di20ybnkymfq-python3.11-pyserial-3.5... patching script interpreter paths in /nix/store/zdnkkkaxcrxihmlv4m62di20ybnkymfq-python3.11-pyserial-3.5 stripping (with command strip and flags -S -p) in /nix/store/zdnkkkaxcrxihmlv4m62di20ybnkymfq-python3.11-pyserial-3.5/lib /nix/store/zdnkkkaxcrxihmlv4m62di20ybnkymfq-python3.11-pyserial-3.5/bin Rewriting #!/nix/store/p7r9fcn9aac2ipqjx5mcy16k4pr75697-python3-3.11.18/bin/python3.11 to #!/nix/store/p7r9fcn9aac2ipqjx5mcy16k4pr75697-python3-3.11.18 wrapping `/nix/store/zdnkkkaxcrxihmlv4m62di20ybnkymfq-python3.11-pyserial-3.5/bin/pyserial-miniterm'... Rewriting #!/nix/store/p7r9fcn9aac2ipqjx5mcy16k4pr75697-python3-3.11.18/bin/python3.11 to #!/nix/store/p7r9fcn9aac2ipqjx5mcy16k4pr75697-python3-3.11.18 wrapping `/nix/store/zdnkkkaxcrxihmlv4m62di20ybnkymfq-python3.11-pyserial-3.5/bin/pyserial-ports'... Executing pythonRemoveTestsDir Finished executing pythonRemoveTestsDir Running phase: installCheckPhase no Makefile or custom installCheckPhase, doing nothing Running phase: pythonCatchConflictsPhase Running phase: pythonRemoveBinBytecodePhase Running phase: pythonImportsCheckPhase Executing pythonImportsCheckPhase Check whether the following modules can be imported: serial Running phase: unittestCheckPhase Executing unittestCheckPhase unittest flags: discover --start-directory=test .../build/pyserial-3.5/test/test.py:110: DeprecationWarning: isSet() is deprecated, use is_set() instead return self.x.isSet() .........................ssss............s................ ---------------------------------------------------------------------- Ran 61 tests in 26.791s OK (skipped=5) Finished executing unittestCheckPhase