Skip to content

Instantly share code, notes, and snippets.

@r-rmcgibbo
Created March 18, 2021 16:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save r-rmcgibbo/839ea774a2e58a8ffbd027efc6114851 to your computer and use it in GitHub Desktop.
Save r-rmcgibbo/839ea774a2e58a8ffbd027efc6114851 to your computer and use it in GitHub Desktop.
system: aarch64-linux | build_time: 3 seconds | https://github.com/NixOS/nixpkgs/pull/116752
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 pip-install-hook
Using pipInstallPhase
Sourcing python-imports-check-hook.sh
Using pythonImportsCheckPhase
Sourcing python-namespaces-hook
Sourcing setuptools-check-hook
Using setuptoolsCheckPhase
Sourcing pytest-check-hook
Using pytestCheckPhase
Removing setuptoolsCheckPhase
@nix { "action": "setPhase", "phase": "unpackPhase" }
unpacking sources
unpacking source archive /nix/store/pzh0clwx661whkcwkzdvcbmqal1zsxz2-source
source root is source
setting SOURCE_DATE_EPOCH to timestamp 315619200 of file source/tox.ini
@nix { "action": "setPhase", "phase": "patchPhase" }
patching sources
@nix { "action": "setPhase", "phase": "updateAutotoolsGnuConfigScriptsPhase" }
updateAutotoolsGnuConfigScriptsPhase
@nix { "action": "setPhase", "phase": "configurePhase" }
configuring
no configure script, doing nothing
@nix { "action": "setPhase", "phase": "buildPhase" }
building
Executing setuptoolsBuildPhase
running bdist_wheel
The [wheel] section is deprecated. Use [bdist_wheel] instead.
running build
running build_py
creating build
creating build/lib
creating build/lib/scrapy_fake_useragent
copying scrapy_fake_useragent/providers.py -> build/lib/scrapy_fake_useragent
copying scrapy_fake_useragent/__init__.py -> build/lib/scrapy_fake_useragent
copying scrapy_fake_useragent/middleware.py -> build/lib/scrapy_fake_useragent
installing to build/bdist.linux-aarch64/wheel
running install
running install_lib
creating build/bdist.linux-aarch64
creating build/bdist.linux-aarch64/wheel
creating build/bdist.linux-aarch64/wheel/scrapy_fake_useragent
copying build/lib/scrapy_fake_useragent/providers.py -> build/bdist.linux-aarch64/wheel/scrapy_fake_useragent
copying build/lib/scrapy_fake_useragent/__init__.py -> build/bdist.linux-aarch64/wheel/scrapy_fake_useragent
copying build/lib/scrapy_fake_useragent/middleware.py -> build/bdist.linux-aarch64/wheel/scrapy_fake_useragent
running install_egg_info
running egg_info
creating scrapy_fake_useragent.egg-info
writing scrapy_fake_useragent.egg-info/PKG-INFO
writing dependency_links to scrapy_fake_useragent.egg-info/dependency_links.txt
writing requirements to scrapy_fake_useragent.egg-info/requires.txt
writing top-level names to scrapy_fake_useragent.egg-info/top_level.txt
writing manifest file 'scrapy_fake_useragent.egg-info/SOURCES.txt'
reading manifest file 'scrapy_fake_useragent.egg-info/SOURCES.txt'
writing manifest file 'scrapy_fake_useragent.egg-info/SOURCES.txt'
Copying scrapy_fake_useragent.egg-info to build/bdist.linux-aarch64/wheel/scrapy_fake_useragent-1.4.4-py3.8.egg-info
running install_scripts
adding license file "LICENSE.txt" (matched pattern "LICEN[CS]E*")
creating build/bdist.linux-aarch64/wheel/scrapy_fake_useragent-1.4.4.dist-info/WHEEL
creating 'dist/scrapy_fake_useragent-1.4.4-py2.py3-none-any.whl' and adding 'build/bdist.linux-aarch64/wheel' to it
adding 'scrapy_fake_useragent/__init__.py'
adding 'scrapy_fake_useragent/middleware.py'
adding 'scrapy_fake_useragent/providers.py'
adding 'scrapy_fake_useragent-1.4.4.dist-info/LICENSE.txt'
adding 'scrapy_fake_useragent-1.4.4.dist-info/METADATA'
adding 'scrapy_fake_useragent-1.4.4.dist-info/WHEEL'
adding 'scrapy_fake_useragent-1.4.4.dist-info/top_level.txt'
adding 'scrapy_fake_useragent-1.4.4.dist-info/RECORD'
removing build/bdist.linux-aarch64/wheel
Finished executing setuptoolsBuildPhase
@nix { "action": "setPhase", "phase": "installPhase" }
installing
Executing pipInstallPhase
/build/source/dist /build/source
Processing ./scrapy_fake_useragent-1.4.4-py2.py3-none-any.whl
Requirement already satisfied: faker in /nix/store/vkagq7kd17lpsv6anhva30532jk5l0cb-python3.8-Faker-5.5.1/lib/python3.8/site-packages (from scrapy-fake-useragent==1.4.4) (5.5.1)
Requirement already satisfied: fake-useragent in /nix/store/r70w1939v6490dg88rs4n6misnacgc2z-python3.8-fake-useragent-0.1.11/lib/python3.8/site-packages (from scrapy-fake-useragent==1.4.4) (0.1.11)
Requirement already satisfied: python-dateutil>=2.4 in /nix/store/i2820g6iww87vyrc88pi8c465a8nwphy-python3.8-python-dateutil-2.8.1/lib/python3.8/site-packages (from faker->scrapy-fake-useragent==1.4.4) (2.8.1)
Requirement already satisfied: text-unidecode==1.3 in /nix/store/851n6nmbz971i0ggar06pisprpsrcrcq-python3.8-text-unidecode-1.3/lib/python3.8/site-packages (from faker->scrapy-fake-useragent==1.4.4) (1.3)
Requirement already satisfied: six>=1.5 in /nix/store/297qnsllxb0jxny1qk9bk2wvhpivzcx0-python3.8-six-1.15.0/lib/python3.8/site-packages (from python-dateutil>=2.4->faker->scrapy-fake-useragent==1.4.4) (1.15.0)
Installing collected packages: scrapy-fake-useragent
Successfully installed scrapy-fake-useragent-1.4.4
/build/source
Finished executing pipInstallPhase
@nix { "action": "setPhase", "phase": "fixupPhase" }
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/7psgm19zm2aixz97cyh2i9pfcgjhmi2a-python3.8-scrapy-fake-useragent-1.4.4
strip is /nix/store/f73f3xbwv4zafyms2gi3djfgb9h3791b-binutils-2.35.1/bin/strip
stripping (with command strip and flags -S) in /nix/store/7psgm19zm2aixz97cyh2i9pfcgjhmi2a-python3.8-scrapy-fake-useragent-1.4.4/lib
patching script interpreter paths in /nix/store/7psgm19zm2aixz97cyh2i9pfcgjhmi2a-python3.8-scrapy-fake-useragent-1.4.4
checking for references to /build/ in /nix/store/7psgm19zm2aixz97cyh2i9pfcgjhmi2a-python3.8-scrapy-fake-useragent-1.4.4...
Executing pythonRemoveTestsDir
Finished executing pythonRemoveTestsDir
@nix { "action": "setPhase", "phase": "installCheckPhase" }
running install tests
no Makefile or custom installCheckPhase, doing nothing
@nix { "action": "setPhase", "phase": "pythonCatchConflictsPhase" }
pythonCatchConflictsPhase
@nix { "action": "setPhase", "phase": "pythonRemoveBinBytecodePhase" }
pythonRemoveBinBytecodePhase
@nix { "action": "setPhase", "phase": "pythonImportsCheckPhase" }
pythonImportsCheckPhase
Executing pythonImportsCheckPhase
@nix { "action": "setPhase", "phase": "pytestCheckPhase" }
pytestCheckPhase
Executing pytestCheckPhase
============================= test session starts ==============================
platform linux -- Python 3.8.8, pytest-6.1.2, py-1.9.0, pluggy-0.13.1 -- /nix/store/jhac19hl1qq3qgrna4y06v1kyngszlvb-python3-3.8.8/bin/python3.8
cachedir: .pytest_cache
rootdir: /build/source, configfile: pytest.ini
plugins: cov-2.10.1, mock-3.5.1, Faker-5.5.1
collecting ...
collected 9 items
tests/test_retry_middleware.py::test_random_ua_set_on_response[retry_middleware_response0] PASSED
tests/test_retry_middleware.py::test_random_ua_set_on_exception[retry_middleware_exception0] PASSED
tests/test_random_ua_middleware/test_fallback_setting.py::test_random_ua_set[middleware_request0] PASSED
tests/test_random_ua_middleware/test_fallback_setting.py::test_random_ua_per_proxy_set[middleware_request0] PASSED
tests/test_random_ua_middleware/test_load_providers.py::test_cannot_load_providers PASSED
tests/test_random_ua_middleware/test_providers/test_fake_useragent_provider.py::test_fua_bad_type_ua_set[middleware_request0] PASSED
tests/test_random_ua_middleware/test_providers/test_faker_provider.py::test_faker_ua_set[middleware_request0] PASSED
tests/test_random_ua_middleware/test_providers/test_faker_provider.py::test_faker_bad_type_ua_set[middleware_request0] PASSED
tests/test_random_ua_middleware/test_providers/test_fixed_provider.py::test_fixed_ua_set[middleware_request0] PASSED
----------- coverage: platform linux, python 3.8.8-final-0 -----------
Name Stmts Miss Cover
---------------------------------------------------------
scrapy_fake_useragent/__init__.py 0 0 100%
scrapy_fake_useragent/middleware.py 62 2 97%
scrapy_fake_useragent/providers.py 39 0 100%
---------------------------------------------------------
TOTAL 101 2 98%
Coverage HTML written to dir htmlcov
============================== 9 passed in 0.47s ===============================
Finished executing pytestCheckPhase
@nix { "action": "setPhase", "phase": "pytestcachePhase" }
pytestcachePhase
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment