Skip to content

Instantly share code, notes, and snippets.

@jackyliu16
Created March 31, 2024 12:51
Show Gist options
  • Save jackyliu16/0945d99c485c21bf0d25b91e733d4c07 to your computer and use it in GitHub Desktop.
Save jackyliu16/0945d99c485c21bf0d25b91e733d4c07 to your computer and use it in GitHub Desktop.
➜ dotfiles git:(master) ✗ nix-shell -p virtscreen| curl -F "c=@-" "https://fars.ee/" 2>&1
these 2 derivations will be built:
/nix/store/mnyd2vjpbd2d5mw3414rfa0ak0a0zcfv-python3.11-quamash-0.6.1.drv
/nix/store/78rm9w0iip5b1807jhinazypgmj85csn-virtscreen-0.3.1.drv
building '/nix/store/mnyd2vjpbd2d5mw3414rfa0ak0a0zcfv-python3.11-quamash-0.6.1.drv'...
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
Using setuptoolsShellHook
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 setuptools-check-hook
Running phase: unpackPhase
unpacking source archive /nix/store/a99dgnnb24xr353h2j3864h1vrqwclix-source
source root is source
setting SOURCE_DATE_EPOCH to timestamp 315619200 of file source/wheelhouse/PySide-1.2.4-cp34-cp34m-linux_x86_64.whl
Running phase: patchPhase
applying patch /nix/store/nhc8nqig1vhvzb1dbc2y7k621hmhvh5r-1e9047bec739dbc9d6ab337fc1a111a8b1090244.patch
patching file quamash/_unix.py
Running phase: updateAutotoolsGnuConfigScriptsPhase
Running phase: configurePhase
no configure script, doing nothing
Running phase: buildPhase
Executing setuptoolsBuildPhase
/nix/store/fvd6iz7hbcnns1jpfg8kkrm7m25vl3ii-python3.11-setuptools-69.0.3/lib/python3.11/site-packages/setuptools/dist.py:472: SetuptoolsDeprecationWarning: Invalid dash-separated options
!!
********************************************************************************
Usage of dash-separated 'license-file' will not be supported in future
versions. Please use the underscore name 'license_file' instead.
By 2024-Sep-26, you need to update your project and remove deprecated calls
or your builds will no longer be supported.
See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details.
********************************************************************************
!!
opt = self.warn_dash_deprecation(opt, section)
/nix/store/fvd6iz7hbcnns1jpfg8kkrm7m25vl3ii-python3.11-setuptools-69.0.3/lib/python3.11/site-packages/setuptools/dist.py:472: SetuptoolsDeprecationWarning: Invalid dash-separated options
!!
********************************************************************************
Usage of dash-separated 'description-file' will not be supported in future
versions. Please use the underscore name 'description_file' instead.
By 2024-Sep-26, you need to update your project and remove deprecated calls
or your builds will no longer be supported.
See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details.
********************************************************************************
!!
opt = self.warn_dash_deprecation(opt, section)
running bdist_wheel
running build
running build_py
creating build
creating build/lib
creating build/lib/quamash
copying quamash/_common.py -> build/lib/quamash
copying quamash/__init__.py -> build/lib/quamash
copying quamash/_windows.py -> build/lib/quamash
copying quamash/_unix.py -> build/lib/quamash
/nix/store/fvd6iz7hbcnns1jpfg8kkrm7m25vl3ii-python3.11-setuptools-69.0.3/lib/python3.11/site-packages/setuptools/_distutils/cmd.py:66: SetuptoolsDeprecationWarning: setup.py install is deprecated.
!!
********************************************************************************
Please avoid running ``setup.py`` directly.
Instead, use pypa/build, pypa/installer or other
standards-based tools.
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
creating build/bdist.linux-x86_64/wheel
creating build/bdist.linux-x86_64/wheel/quamash
copying build/lib/quamash/_common.py -> build/bdist.linux-x86_64/wheel/quamash
copying build/lib/quamash/__init__.py -> build/bdist.linux-x86_64/wheel/quamash
copying build/lib/quamash/_windows.py -> build/bdist.linux-x86_64/wheel/quamash
copying build/lib/quamash/_unix.py -> build/bdist.linux-x86_64/wheel/quamash
running install_egg_info
running egg_info
creating Quamash.egg-info
writing Quamash.egg-info/PKG-INFO
writing dependency_links to Quamash.egg-info/dependency_links.txt
writing requirements to Quamash.egg-info/requires.txt
writing top-level names to Quamash.egg-info/top_level.txt
writing manifest file 'Quamash.egg-info/SOURCES.txt'
reading manifest file 'Quamash.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
adding license file 'LICENSE'
writing manifest file 'Quamash.egg-info/SOURCES.txt'
Copying Quamash.egg-info to build/bdist.linux-x86_64/wheel/Quamash-0.6.1-py3.11.egg-info
running install_scripts
creating build/bdist.linux-x86_64/wheel/Quamash-0.6.1.dist-info/WHEEL
creating 'dist/Quamash-0.6.1-py3-none-any.whl' and adding 'build/bdist.linux-x86_64/wheel' to it
adding 'quamash/__init__.py'
adding 'quamash/_common.py'
adding 'quamash/_unix.py'
adding 'quamash/_windows.py'
adding 'Quamash-0.6.1.dist-info/LICENSE'
adding 'Quamash-0.6.1.dist-info/METADATA'
adding 'Quamash-0.6.1.dist-info/WHEEL'
adding 'Quamash-0.6.1.dist-info/top_level.txt'
adding 'Quamash-0.6.1.dist-info/RECORD'
removing build/bdist.linux-x86_64/wheel
Finished executing setuptoolsBuildPhase
Running phase: installPhase
Executing pypaInstallPhase
Successfully installed Quamash-0.6.1-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/h7gl7d91nihz143by2pbmpy7cgawj4sx-python3.11-quamash-0.6.1
checking for references to /build/ in /nix/store/h7gl7d91nihz143by2pbmpy7cgawj4sx-python3.11-quamash-0.6.1...
patching script interpreter paths in /nix/store/h7gl7d91nihz143by2pbmpy7cgawj4sx-python3.11-quamash-0.6.1
stripping (with command strip and flags -S -p) in /nix/store/h7gl7d91nihz143by2pbmpy7cgawj4sx-python3.11-quamash-0.6.1/lib
shrinking RPATHs of ELF executables and libraries in /nix/store/4p19is3fc8921p74xy9pcxzxsjrqp9r0-python3.11-quamash-0.6.1-dist
checking for references to /build/ in /nix/store/4p19is3fc8921p74xy9pcxzxsjrqp9r0-python3.11-quamash-0.6.1-dist...
patching script interpreter paths in /nix/store/4p19is3fc8921p74xy9pcxzxsjrqp9r0-python3.11-quamash-0.6.1-dist
Executing pythonRemoveTestsDir
Finished executing pythonRemoveTestsDir
Running phase: installCheckPhase
============================= test session starts ==============================
platform linux -- Python 3.11.8, pytest-7.4.4, pluggy-1.4.0
rootdir: /build/source
configfile: tox.ini
collected 5 items / 2 errors / 2 deselected / 3 selected
==================================== ERRORS ====================================
__________________ ERROR collecting tests/test_qeventloop.py ___________________
tests/test_qeventloop.py:75: in <module>
class TestCanRunTasksInExecutor:
tests/test_qeventloop.py:119: in TestCanRunTasksInExecutor
@asyncio.coroutine
E AttributeError: module 'asyncio' has no attribute 'coroutine'
__________________ ERROR collecting tests/test_qeventloop.py ___________________
tests/test_qeventloop.py:75: in <module>
class TestCanRunTasksInExecutor:
tests/test_qeventloop.py:119: in TestCanRunTasksInExecutor
@asyncio.coroutine
E AttributeError: module 'asyncio' has no attribute 'coroutine'
=============================== warnings summary ===============================
../../nix/store/ag11jfk4zd2igxx0ql733bbxssy2hmx4-python3.11-pytest-7.4.4/lib/python3.11/site-packages/_pytest/config/__init__.py:1373
/nix/store/ag11jfk4zd2igxx0ql733bbxssy2hmx4-python3.11-pytest-7.4.4/lib/python3.11/site-packages/_pytest/config/__init__.py:1373: PytestConfigWarning: Unknown config option: timeout
self._warn_or_fail_if_strict(f"Unknown config option: {key}\n")
quamash/__init__.py:57
/build/source/quamash/__init__.py:57: DeprecationWarning: sipPyTypeDict() is deprecated, the extension module should use sipPyTypeDictRef() instead
class _QThreadWorker(QtCore.QThread):
quamash/__init__.py:176
/build/source/quamash/__init__.py:176: DeprecationWarning: sipPyTypeDict() is deprecated, the extension module should use sipPyTypeDictRef() instead
class _SimpleTimer(QtCore.QObject):
-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
!!!!!!!!!!!!!!!!!!! Interrupted: 2 errors during collection !!!!!!!!!!!!!!!!!!!!
================= 2 deselected, 3 warnings, 2 errors in 0.47s ==================
error: builder for '/nix/store/mnyd2vjpbd2d5mw3414rfa0ak0a0zcfv-python3.11-quamash-0.6.1.drv' failed with exit code 2;
last 10 log lines:
> /build/source/quamash/__init__.py:57: DeprecationWarning: sipPyTypeDict() is deprecated, the extension module should use sipPyTypeDictRef() instead
> class _QThreadWorker(QtCore.QThread):
>
> quamash/__init__.py:176
> /build/source/quamash/__init__.py:176: DeprecationWarning: sipPyTypeDict() is deprecated, the extension module should use sipPyTypeDictRef() instead
> class _SimpleTimer(QtCore.QObject):
>
> -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
> !!!!!!!!!!!!!!!!!!! Interrupted: 2 errors during collection !!!!!!!!!!!!!!!!!!!!
> ================= 2 deselected, 3 warnings, 2 errors in 0.47s ==================
For full logs, run 'nix log /nix/store/mnyd2vjpbd2d5mw3414rfa0ak0a0zcfv-python3.11-quamash-0.6.1.drv'.
error: 1 dependencies of derivation '/nix/store/78rm9w0iip5b1807jhinazypgmj85csn-virtscreen-0.3.1.drv' failed to build
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment