Skip to content

Instantly share code, notes, and snippets.

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 e-minguez/b8ad1a50d67fc07ce6cf52d250fd1bc3 to your computer and use it in GitHub Desktop.
Save e-minguez/b8ad1a50d67fc07ce6cf52d250fd1bc3 to your computer and use it in GitHub Desktop.
Error building ansible via fleek
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 python-catch-conflicts-hook.sh
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/mi91drsiga8wj8rw32mh4d10sp25zf4y-maxminddb-2.4.0.tar.gz
source root is maxminddb-2.4.0
setting SOURCE_DATE_EPOCH to timestamp 1687967909 of file maxminddb-2.4.0/setup.cfg
@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.macosx-11.0-arm64-cpython-310
creating build/lib.macosx-11.0-arm64-cpython-310/maxminddb
copying maxminddb/decoder.py -> build/lib.macosx-11.0-arm64-cpython-310/maxminddb
copying maxminddb/__init__.py -> build/lib.macosx-11.0-arm64-cpython-310/maxminddb
copying maxminddb/types.py -> build/lib.macosx-11.0-arm64-cpython-310/maxminddb
copying maxminddb/reader.py -> build/lib.macosx-11.0-arm64-cpython-310/maxminddb
copying maxminddb/file.py -> build/lib.macosx-11.0-arm64-cpython-310/maxminddb
copying maxminddb/errors.py -> build/lib.macosx-11.0-arm64-cpython-310/maxminddb
copying maxminddb/const.py -> build/lib.macosx-11.0-arm64-cpython-310/maxminddb
running egg_info
writing maxminddb.egg-info/PKG-INFO
writing dependency_links to maxminddb.egg-info/dependency_links.txt
writing top-level names to maxminddb.egg-info/top_level.txt
reading manifest file 'maxminddb.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
adding license file 'LICENSE'
writing manifest file 'maxminddb.egg-info/SOURCES.txt'
copying maxminddb/extension.pyi -> build/lib.macosx-11.0-arm64-cpython-310/maxminddb
copying maxminddb/py.typed -> build/lib.macosx-11.0-arm64-cpython-310/maxminddb
running build_ext
building 'maxminddb.extension' extension
creating build/temp.macosx-11.0-arm64-cpython-310
creating build/temp.macosx-11.0-arm64-cpython-310/extension
clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -I/nix/store/kvkv6qa8c5zhpz7kwznrdm5niy0c6kqk-libxcrypt-4.4.35/include -I/nix/store/z7yziam4nyg7xy5gp9r6wadzf5krqm8i-python3-3.10.12/include/python3.10 -c extension/maxminddb.c -o build/temp.macosx-11.0-arm64-cpython-310/extension/maxminddb.o -Wall -Wextra
clang-11: warning: argument unused during compilation: '-fno-strict-overflow' [-Wunused-command-line-argument]
clang -bundle -undefined dynamic_lookup -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-zlib-1.2.13/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-bzip2-1.0.8/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-expat-2.5.0/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-xz-5.4.3/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-libffi-3.4.4/lib -L/nix/store/kvkv6qa8c5zhpz7kwznrdm5niy0c6kqk-libxcrypt-4.4.35/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-gdbm-1.23/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-sqlite-3.42.0/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-readline-8.2p1/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-ncurses-6.4/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-openssl-3.0.9/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-apple-framework-SystemConfiguration-11.0.0/lib -L/nix/store/am17b3ycwijbpmp22bh227bzbq2acnfn-tzdata-2023c/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-zlib-1.2.13/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-bzip2-1.0.8/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-expat-2.5.0/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-xz-5.4.3/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-libffi-3.4.4/lib -L/nix/store/kvkv6qa8c5zhpz7kwznrdm5niy0c6kqk-libxcrypt-4.4.35/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-gdbm-1.23/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-sqlite-3.42.0/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-readline-8.2p1/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-ncurses-6.4/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-openssl-3.0.9/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-apple-framework-SystemConfiguration-11.0.0/lib -L/nix/store/am17b3ycwijbpmp22bh227bzbq2acnfn-tzdata-2023c/lib build/temp.macosx-11.0-arm64-cpython-310/extension/maxminddb.o -L/nix/store/z7yziam4nyg7xy5gp9r6wadzf5krqm8i-python3-3.10.12/lib -lmaxminddb -o build/lib.macosx-11.0-arm64-cpython-310/maxminddb/extension.cpython-310-darwin.so
ld: warning: directory not found for option '-L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-zlib-1.2.13/lib'
ld: warning: directory not found for option '-L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-bzip2-1.0.8/lib'
ld: warning: directory not found for option '-L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-expat-2.5.0/lib'
ld: warning: directory not found for option '-L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-xz-5.4.3/lib'
ld: warning: directory not found for option '-L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-libffi-3.4.4/lib'
ld: warning: directory not found for option '-L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-gdbm-1.23/lib'
ld: warning: directory not found for option '-L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-sqlite-3.42.0/lib'
ld: warning: directory not found for option '-L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-readline-8.2p1/lib'
ld: warning: directory not found for option '-L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-ncurses-6.4/lib'
ld: warning: directory not found for option '-L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-openssl-3.0.9/lib'
ld: warning: directory not found for option '-L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-apple-framework-SystemConfiguration-11.0.0/lib'
ld: warning: directory not found for option '-L/nix/store/am17b3ycwijbpmp22bh227bzbq2acnfn-tzdata-2023c/lib'
ld: warning: directory not found for option '-L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-zlib-1.2.13/lib'
ld: warning: directory not found for option '-L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-bzip2-1.0.8/lib'
ld: warning: directory not found for option '-L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-expat-2.5.0/lib'
ld: warning: directory not found for option '-L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-xz-5.4.3/lib'
ld: warning: directory not found for option '-L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-libffi-3.4.4/lib'
ld: warning: directory not found for option '-L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-gdbm-1.23/lib'
ld: warning: directory not found for option '-L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-sqlite-3.42.0/lib'
ld: warning: directory not found for option '-L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-readline-8.2p1/lib'
ld: warning: directory not found for option '-L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-ncurses-6.4/lib'
ld: warning: directory not found for option '-L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-openssl-3.0.9/lib'
ld: warning: directory not found for option '-L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-apple-framework-SystemConfiguration-11.0.0/lib'
ld: warning: directory not found for option '-L/nix/store/am17b3ycwijbpmp22bh227bzbq2acnfn-tzdata-2023c/lib'
/nix/store/mwnvxvss5h001llh2bawjafxz5r2vv8h-python3.10-setuptools-67.4.0/lib/python3.10/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
warnings.warn(
installing to build/bdist.macosx-11.0-arm64/wheel
running install
running install_lib
creating build/bdist.macosx-11.0-arm64
creating build/bdist.macosx-11.0-arm64/wheel
creating build/bdist.macosx-11.0-arm64/wheel/maxminddb
copying build/lib.macosx-11.0-arm64-cpython-310/maxminddb/decoder.py -> build/bdist.macosx-11.0-arm64/wheel/maxminddb
copying build/lib.macosx-11.0-arm64-cpython-310/maxminddb/__init__.py -> build/bdist.macosx-11.0-arm64/wheel/maxminddb
copying build/lib.macosx-11.0-arm64-cpython-310/maxminddb/extension.pyi -> build/bdist.macosx-11.0-arm64/wheel/maxminddb
copying build/lib.macosx-11.0-arm64-cpython-310/maxminddb/types.py -> build/bdist.macosx-11.0-arm64/wheel/maxminddb
copying build/lib.macosx-11.0-arm64-cpython-310/maxminddb/reader.py -> build/bdist.macosx-11.0-arm64/wheel/maxminddb
copying build/lib.macosx-11.0-arm64-cpython-310/maxminddb/file.py -> build/bdist.macosx-11.0-arm64/wheel/maxminddb
copying build/lib.macosx-11.0-arm64-cpython-310/maxminddb/py.typed -> build/bdist.macosx-11.0-arm64/wheel/maxminddb
copying build/lib.macosx-11.0-arm64-cpython-310/maxminddb/errors.py -> build/bdist.macosx-11.0-arm64/wheel/maxminddb
copying build/lib.macosx-11.0-arm64-cpython-310/maxminddb/const.py -> build/bdist.macosx-11.0-arm64/wheel/maxminddb
copying build/lib.macosx-11.0-arm64-cpython-310/maxminddb/extension.cpython-310-darwin.so -> build/bdist.macosx-11.0-arm64/wheel/maxminddb
running install_egg_info
Copying maxminddb.egg-info to build/bdist.macosx-11.0-arm64/wheel/maxminddb-2.4.0-py3.10.egg-info
running install_scripts
creating build/bdist.macosx-11.0-arm64/wheel/maxminddb-2.4.0.dist-info/WHEEL
creating 'dist/maxminddb-2.4.0-cp310-cp310-macosx_11_0_arm64.whl' and adding 'build/bdist.macosx-11.0-arm64/wheel' to it
adding 'maxminddb/__init__.py'
adding 'maxminddb/const.py'
adding 'maxminddb/decoder.py'
adding 'maxminddb/errors.py'
adding 'maxminddb/extension.cpython-310-darwin.so'
adding 'maxminddb/extension.pyi'
adding 'maxminddb/file.py'
adding 'maxminddb/py.typed'
adding 'maxminddb/reader.py'
adding 'maxminddb/types.py'
adding 'maxminddb-2.4.0.dist-info/LICENSE'
adding 'maxminddb-2.4.0.dist-info/METADATA'
adding 'maxminddb-2.4.0.dist-info/WHEEL'
adding 'maxminddb-2.4.0.dist-info/top_level.txt'
adding 'maxminddb-2.4.0.dist-info/RECORD'
removing build/bdist.macosx-11.0-arm64/wheel
Finished executing setuptoolsBuildPhase
@nix { "action": "setPhase", "phase": "installPhase" }
installing
Executing pipInstallPhase
/private/tmp/nix-build-python3.10-maxminddb-2.4.0.drv-0/maxminddb-2.4.0/dist /private/tmp/nix-build-python3.10-maxminddb-2.4.0.drv-0/maxminddb-2.4.0
Processing ./maxminddb-2.4.0-cp310-cp310-macosx_11_0_arm64.whl
Installing collected packages: maxminddb
Successfully installed maxminddb-2.4.0
/private/tmp/nix-build-python3.10-maxminddb-2.4.0.drv-0/maxminddb-2.4.0
Finished executing pipInstallPhase
@nix { "action": "setPhase", "phase": "pythonOutputDistPhase" }
pythonOutputDistPhase
Executing pythonOutputDistPhase
Finished executing pythonOutputDistPhase
@nix { "action": "setPhase", "phase": "fixupPhase" }
post-installation fixup
checking for references to /private/tmp/nix-build-python3.10-maxminddb-2.4.0.drv-0/ in /nix/store/jq7ryp6ny94d3kax9fq85dyd3qjqp7k3-python3.10-maxminddb-2.4.0...
patching script interpreter paths in /nix/store/jq7ryp6ny94d3kax9fq85dyd3qjqp7k3-python3.10-maxminddb-2.4.0
stripping (with command strip and flags -S) in /nix/store/jq7ryp6ny94d3kax9fq85dyd3qjqp7k3-python3.10-maxminddb-2.4.0/lib
checking for references to /private/tmp/nix-build-python3.10-maxminddb-2.4.0.drv-0/ in /nix/store/zmkhfdim0sp0knp7k3pdiv45nink9jxm-python3.10-maxminddb-2.4.0-dist...
patching script interpreter paths in /nix/store/zmkhfdim0sp0knp7k3pdiv45nink9jxm-python3.10-maxminddb-2.4.0-dist
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
Check whether the following modules can be imported: maxminddb
@nix { "action": "setPhase", "phase": "pytestCheckPhase" }
pytestCheckPhase
Executing pytestCheckPhase
============================= test session starts ==============================
platform darwin -- Python 3.10.12, pytest-7.2.1, pluggy-1.0.0
rootdir: /private/tmp/nix-build-python3.10-maxminddb-2.4.0.drv-0/maxminddb-2.4.0
collecting ... 
collected 255 items 
tests/decoder_test.py .............. [ 5%]
tests/reader_test.py sssssssssssssssssssssssssssssssssssssssssssssssssss [ 25%]
sssssssss.................F.............................F............... [ 53%]
..............F.............................F........................... [ 81%]
..F.............................F............. [100%]
=================================== FAILURES ===================================
_____________________ TestAutoReader.test_multiprocessing ______________________
self = <reader_test.TestAutoReader testMethod=test_multiprocessing>
def test_multiprocessing(self):
> self._check_concurrency(Process)
tests/reader_test.py:444:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tests/reader_test.py:469: in _check_concurrency
proc.start()
/nix/store/z7yziam4nyg7xy5gp9r6wadzf5krqm8i-python3-3.10.12/lib/python3.10/multiprocessing/process.py:121: in start
self._popen = self._Popen(self)
/nix/store/z7yziam4nyg7xy5gp9r6wadzf5krqm8i-python3-3.10.12/lib/python3.10/multiprocessing/context.py:224: in _Popen
return _default_context.get_context().Process._Popen(process_obj)
/nix/store/z7yziam4nyg7xy5gp9r6wadzf5krqm8i-python3-3.10.12/lib/python3.10/multiprocessing/context.py:288: in _Popen
return Popen(process_obj)
/nix/store/z7yziam4nyg7xy5gp9r6wadzf5krqm8i-python3-3.10.12/lib/python3.10/multiprocessing/popen_spawn_posix.py:32: in __init__
super().__init__(process_obj)
/nix/store/z7yziam4nyg7xy5gp9r6wadzf5krqm8i-python3-3.10.12/lib/python3.10/multiprocessing/popen_fork.py:19: in __init__
self._launch(process_obj)
/nix/store/z7yziam4nyg7xy5gp9r6wadzf5krqm8i-python3-3.10.12/lib/python3.10/multiprocessing/popen_spawn_posix.py:47: in _launch
reduction.dump(process_obj, fp)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
obj = <Process name='Process-1' parent=27250 initial>
file = <_io.BytesIO object at 0x104084f90>, protocol = None
def dump(obj, file, protocol=None):
'''Replacement for pickle.dump() using ForkingPickler.'''
> ForkingPickler(file, protocol).dump(obj)
E AttributeError: Can't pickle local object 'BaseTestReader._check_concurrency.<locals>.lookup'
/nix/store/z7yziam4nyg7xy5gp9r6wadzf5krqm8i-python3-3.10.12/lib/python3.10/multiprocessing/reduction.py:60: AttributeError
_____________________ TestMMAPReader.test_multiprocessing ______________________
self = <reader_test.TestMMAPReader testMethod=test_multiprocessing>
def test_multiprocessing(self):
> self._check_concurrency(Process)
tests/reader_test.py:444:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tests/reader_test.py:469: in _check_concurrency
proc.start()
/nix/store/z7yziam4nyg7xy5gp9r6wadzf5krqm8i-python3-3.10.12/lib/python3.10/multiprocessing/process.py:121: in start
self._popen = self._Popen(self)
/nix/store/z7yziam4nyg7xy5gp9r6wadzf5krqm8i-python3-3.10.12/lib/python3.10/multiprocessing/context.py:224: in _Popen
return _default_context.get_context().Process._Popen(process_obj)
/nix/store/z7yziam4nyg7xy5gp9r6wadzf5krqm8i-python3-3.10.12/lib/python3.10/multiprocessing/context.py:288: in _Popen
return Popen(process_obj)
/nix/store/z7yziam4nyg7xy5gp9r6wadzf5krqm8i-python3-3.10.12/lib/python3.10/multiprocessing/popen_spawn_posix.py:32: in __init__
super().__init__(process_obj)
/nix/store/z7yziam4nyg7xy5gp9r6wadzf5krqm8i-python3-3.10.12/lib/python3.10/multiprocessing/popen_fork.py:19: in __init__
self._launch(process_obj)
/nix/store/z7yziam4nyg7xy5gp9r6wadzf5krqm8i-python3-3.10.12/lib/python3.10/multiprocessing/popen_spawn_posix.py:47: in _launch
reduction.dump(process_obj, fp)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
obj = <Process name='Process-33' parent=27250 initial>
file = <_io.BytesIO object at 0x104669990>, protocol = None
def dump(obj, file, protocol=None):
'''Replacement for pickle.dump() using ForkingPickler.'''
> ForkingPickler(file, protocol).dump(obj)
E AttributeError: Can't pickle local object 'BaseTestReader._check_concurrency.<locals>.lookup'
/nix/store/z7yziam4nyg7xy5gp9r6wadzf5krqm8i-python3-3.10.12/lib/python3.10/multiprocessing/reduction.py:60: AttributeError
_______________ TestMMAPReaderWithIPObjects.test_multiprocessing _______________
self = <reader_test.TestMMAPReaderWithIPObjects testMethod=test_multiprocessing>
def test_multiprocessing(self):
> self._check_concurrency(Process)
tests/reader_test.py:444:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tests/reader_test.py:469: in _check_concurrency
proc.start()
/nix/store/z7yziam4nyg7xy5gp9r6wadzf5krqm8i-python3-3.10.12/lib/python3.10/multiprocessing/process.py:121: in start
self._popen = self._Popen(self)
/nix/store/z7yziam4nyg7xy5gp9r6wadzf5krqm8i-python3-3.10.12/lib/python3.10/multiprocessing/context.py:224: in _Popen
return _default_context.get_context().Process._Popen(process_obj)
/nix/store/z7yziam4nyg7xy5gp9r6wadzf5krqm8i-python3-3.10.12/lib/python3.10/multiprocessing/context.py:288: in _Popen
return Popen(process_obj)
/nix/store/z7yziam4nyg7xy5gp9r6wadzf5krqm8i-python3-3.10.12/lib/python3.10/multiprocessing/popen_spawn_posix.py:32: in __init__
super().__init__(process_obj)
/nix/store/z7yziam4nyg7xy5gp9r6wadzf5krqm8i-python3-3.10.12/lib/python3.10/multiprocessing/popen_fork.py:19: in __init__
self._launch(process_obj)
/nix/store/z7yziam4nyg7xy5gp9r6wadzf5krqm8i-python3-3.10.12/lib/python3.10/multiprocessing/popen_spawn_posix.py:47: in _launch
reduction.dump(process_obj, fp)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
obj = <Process name='Process-65' parent=27250 initial>
file = <_io.BytesIO object at 0x10469ab60>, protocol = None
def dump(obj, file, protocol=None):
'''Replacement for pickle.dump() using ForkingPickler.'''
> ForkingPickler(file, protocol).dump(obj)
E AttributeError: Can't pickle local object 'BaseTestReader._check_concurrency.<locals>.lookup'
/nix/store/z7yziam4nyg7xy5gp9r6wadzf5krqm8i-python3-3.10.12/lib/python3.10/multiprocessing/reduction.py:60: AttributeError
_____________________ TestFileReader.test_multiprocessing ______________________
self = <reader_test.TestFileReader testMethod=test_multiprocessing>
def test_multiprocessing(self):
> self._check_concurrency(Process)
tests/reader_test.py:444:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tests/reader_test.py:469: in _check_concurrency
proc.start()
/nix/store/z7yziam4nyg7xy5gp9r6wadzf5krqm8i-python3-3.10.12/lib/python3.10/multiprocessing/process.py:121: in start
self._popen = self._Popen(self)
/nix/store/z7yziam4nyg7xy5gp9r6wadzf5krqm8i-python3-3.10.12/lib/python3.10/multiprocessing/context.py:224: in _Popen
return _default_context.get_context().Process._Popen(process_obj)
/nix/store/z7yziam4nyg7xy5gp9r6wadzf5krqm8i-python3-3.10.12/lib/python3.10/multiprocessing/context.py:288: in _Popen
return Popen(process_obj)
/nix/store/z7yziam4nyg7xy5gp9r6wadzf5krqm8i-python3-3.10.12/lib/python3.10/multiprocessing/popen_spawn_posix.py:32: in __init__
super().__init__(process_obj)
/nix/store/z7yziam4nyg7xy5gp9r6wadzf5krqm8i-python3-3.10.12/lib/python3.10/multiprocessing/popen_fork.py:19: in __init__
self._launch(process_obj)
/nix/store/z7yziam4nyg7xy5gp9r6wadzf5krqm8i-python3-3.10.12/lib/python3.10/multiprocessing/popen_spawn_posix.py:47: in _launch
reduction.dump(process_obj, fp)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
obj = <Process name='Process-97' parent=27250 initial>
file = <_io.BytesIO object at 0x10464e890>, protocol = None
def dump(obj, file, protocol=None):
'''Replacement for pickle.dump() using ForkingPickler.'''
> ForkingPickler(file, protocol).dump(obj)
E AttributeError: Can't pickle local object 'BaseTestReader._check_concurrency.<locals>.lookup'
/nix/store/z7yziam4nyg7xy5gp9r6wadzf5krqm8i-python3-3.10.12/lib/python3.10/multiprocessing/reduction.py:60: AttributeError
____________________ TestMemoryReader.test_multiprocessing _____________________
self = <reader_test.TestMemoryReader testMethod=test_multiprocessing>
def test_multiprocessing(self):
> self._check_concurrency(Process)
tests/reader_test.py:444:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tests/reader_test.py:469: in _check_concurrency
proc.start()
/nix/store/z7yziam4nyg7xy5gp9r6wadzf5krqm8i-python3-3.10.12/lib/python3.10/multiprocessing/process.py:121: in start
self._popen = self._Popen(self)
/nix/store/z7yziam4nyg7xy5gp9r6wadzf5krqm8i-python3-3.10.12/lib/python3.10/multiprocessing/context.py:224: in _Popen
return _default_context.get_context().Process._Popen(process_obj)
/nix/store/z7yziam4nyg7xy5gp9r6wadzf5krqm8i-python3-3.10.12/lib/python3.10/multiprocessing/context.py:288: in _Popen
return Popen(process_obj)
/nix/store/z7yziam4nyg7xy5gp9r6wadzf5krqm8i-python3-3.10.12/lib/python3.10/multiprocessing/popen_spawn_posix.py:32: in __init__
super().__init__(process_obj)
/nix/store/z7yziam4nyg7xy5gp9r6wadzf5krqm8i-python3-3.10.12/lib/python3.10/multiprocessing/popen_fork.py:19: in __init__
self._launch(process_obj)
/nix/store/z7yziam4nyg7xy5gp9r6wadzf5krqm8i-python3-3.10.12/lib/python3.10/multiprocessing/popen_spawn_posix.py:47: in _launch
reduction.dump(process_obj, fp)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
obj = <Process name='Process-129' parent=27250 initial>
file = <_io.BytesIO object at 0x10469a020>, protocol = None
def dump(obj, file, protocol=None):
'''Replacement for pickle.dump() using ForkingPickler.'''
> ForkingPickler(file, protocol).dump(obj)
E AttributeError: Can't pickle local object 'BaseTestReader._check_concurrency.<locals>.lookup'
/nix/store/z7yziam4nyg7xy5gp9r6wadzf5krqm8i-python3-3.10.12/lib/python3.10/multiprocessing/reduction.py:60: AttributeError
______________________ TestFDReader.test_multiprocessing _______________________
self = <reader_test.TestFDReader testMethod=test_multiprocessing>
def test_multiprocessing(self):
> self._check_concurrency(Process)
tests/reader_test.py:444:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tests/reader_test.py:469: in _check_concurrency
proc.start()
/nix/store/z7yziam4nyg7xy5gp9r6wadzf5krqm8i-python3-3.10.12/lib/python3.10/multiprocessing/process.py:121: in start
self._popen = self._Popen(self)
/nix/store/z7yziam4nyg7xy5gp9r6wadzf5krqm8i-python3-3.10.12/lib/python3.10/multiprocessing/context.py:224: in _Popen
return _default_context.get_context().Process._Popen(process_obj)
/nix/store/z7yziam4nyg7xy5gp9r6wadzf5krqm8i-python3-3.10.12/lib/python3.10/multiprocessing/context.py:288: in _Popen
return Popen(process_obj)
/nix/store/z7yziam4nyg7xy5gp9r6wadzf5krqm8i-python3-3.10.12/lib/python3.10/multiprocessing/popen_spawn_posix.py:32: in __init__
super().__init__(process_obj)
/nix/store/z7yziam4nyg7xy5gp9r6wadzf5krqm8i-python3-3.10.12/lib/python3.10/multiprocessing/popen_fork.py:19: in __init__
self._launch(process_obj)
/nix/store/z7yziam4nyg7xy5gp9r6wadzf5krqm8i-python3-3.10.12/lib/python3.10/multiprocessing/popen_spawn_posix.py:47: in _launch
reduction.dump(process_obj, fp)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
obj = <Process name='Process-161' parent=27250 initial>
file = <_io.BytesIO object at 0x104583d80>, protocol = None
def dump(obj, file, protocol=None):
'''Replacement for pickle.dump() using ForkingPickler.'''
> ForkingPickler(file, protocol).dump(obj)
E AttributeError: Can't pickle local object 'BaseTestReader._check_concurrency.<locals>.lookup'
/nix/store/z7yziam4nyg7xy5gp9r6wadzf5krqm8i-python3-3.10.12/lib/python3.10/multiprocessing/reduction.py:60: AttributeError
=========================== short test summary info ============================
FAILED tests/reader_test.py::TestAutoReader::test_multiprocessing - AttributeError: Can't pickle local object 'BaseTestReader._check_concurrenc...
FAILED tests/reader_test.py::TestMMAPReader::test_multiprocessing - AttributeError: Can't pickle local object 'BaseTestReader._check_concurrenc...
FAILED tests/reader_test.py::TestMMAPReaderWithIPObjects::test_multiprocessing - AttributeError: Can't pickle local object 'BaseTestReader._check_concurrenc...
FAILED tests/reader_test.py::TestFileReader::test_multiprocessing - AttributeError: Can't pickle local object 'BaseTestReader._check_concurrenc...
FAILED tests/reader_test.py::TestMemoryReader::test_multiprocessing - AttributeError: Can't pickle local object 'BaseTestReader._check_concurrenc...
FAILED tests/reader_test.py::TestFDReader::test_multiprocessing - AttributeError: Can't pickle local object 'BaseTestReader._check_concurrenc...
================== 6 failed, 189 passed, 60 skipped in 0.79s ===================
/nix/store/rjbx6izmqnczdb457glllns8asdal4kn-stdenv-darwin/setup: line 1607: pop_var_context: head of shell_variables not a function context
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment