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 Sourcing pytest-check-hook Using pytestCheckPhase Running phase: unpackPhase unpacking source archive /nix/store/j22xs7blfrrp8x8krqqqah689ggc00q9-geoip2-5.1.0.tar.gz source root is geoip2-5.1.0 setting SOURCE_DATE_EPOCH to timestamp 1746473950 of file "geoip2-5.1.0/setup.cfg" Running phase: patchPhase Running phase: updateAutotoolsGnuConfigScriptsPhase Running phase: configurePhase no configure script, doing nothing Running phase: buildPhase Executing pypaBuildPhase Setting SETUPTOOLS_SCM_PRETEND_VERSION to 5.1.0 Including all tracked files automatically Creating a wheel... pypa build flags: --no-isolation --outdir dist/ --wheel * Getting build dependencies for wheel... toml section missing 'pyproject.toml does not contain a tool.setuptools_scm section' Traceback (most recent call last): File "/nix/store/rbadhz4xk1jmr226wnhvkicdabymw7s3-python3.13-setuptools-scm-9.0.1/lib/python3.13/site-packages/setuptools_scm/_integration/pyproject_reading.py", line 57, in read_pyproject section = defn.get("tool", {})[tool_name] ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^ KeyError: 'setuptools_scm' running egg_info writing geoip2.egg-info/PKG-INFO writing dependency_links to geoip2.egg-info/dependency_links.txt writing requirements to geoip2.egg-info/requires.txt writing top-level names to geoip2.egg-info/top_level.txt reading manifest file 'geoip2.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no previously-included files found matching '.*' warning: no previously-included files found matching '.github/**/*' warning: no previously-included files found matching 'dev-bin/*' warning: no directories found matching 'docs/html' adding license file 'LICENSE' writing manifest file 'geoip2.egg-info/SOURCES.txt' * Building wheel... toml section missing 'pyproject.toml does not contain a tool.setuptools_scm section' Traceback (most recent call last): File "/nix/store/rbadhz4xk1jmr226wnhvkicdabymw7s3-python3.13-setuptools-scm-9.0.1/lib/python3.13/site-packages/setuptools_scm/_integration/pyproject_reading.py", line 57, in read_pyproject section = defn.get("tool", {})[tool_name] ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^ KeyError: 'setuptools_scm' running bdist_wheel running build running build_py creating build/lib/geoip2 copying geoip2/_internal.py -> build/lib/geoip2 copying geoip2/__init__.py -> build/lib/geoip2 copying geoip2/webservice.py -> build/lib/geoip2 copying geoip2/database.py -> build/lib/geoip2 copying geoip2/records.py -> build/lib/geoip2 copying geoip2/types.py -> build/lib/geoip2 copying geoip2/models.py -> build/lib/geoip2 copying geoip2/errors.py -> build/lib/geoip2 running egg_info writing geoip2.egg-info/PKG-INFO writing dependency_links to geoip2.egg-info/dependency_links.txt writing requirements to geoip2.egg-info/requires.txt writing top-level names to geoip2.egg-info/top_level.txt reading manifest file 'geoip2.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no previously-included files found matching '.*' warning: no previously-included files found matching '.github/**/*' warning: no previously-included files found matching 'dev-bin/*' warning: no directories found matching 'docs/html' adding license file 'LICENSE' writing manifest file 'geoip2.egg-info/SOURCES.txt' copying geoip2/py.typed -> build/lib/geoip2 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/geoip2 copying build/lib/geoip2/_internal.py -> build/bdist.linux-x86_64/wheel/./geoip2 copying build/lib/geoip2/__init__.py -> build/bdist.linux-x86_64/wheel/./geoip2 copying build/lib/geoip2/webservice.py -> build/bdist.linux-x86_64/wheel/./geoip2 copying build/lib/geoip2/database.py -> build/bdist.linux-x86_64/wheel/./geoip2 copying build/lib/geoip2/records.py -> build/bdist.linux-x86_64/wheel/./geoip2 copying build/lib/geoip2/types.py -> build/bdist.linux-x86_64/wheel/./geoip2 copying build/lib/geoip2/py.typed -> build/bdist.linux-x86_64/wheel/./geoip2 copying build/lib/geoip2/models.py -> build/bdist.linux-x86_64/wheel/./geoip2 copying build/lib/geoip2/errors.py -> build/bdist.linux-x86_64/wheel/./geoip2 running install_egg_info Copying geoip2.egg-info to build/bdist.linux-x86_64/wheel/./geoip2-5.1.0-py3.13.egg-info running install_scripts creating build/bdist.linux-x86_64/wheel/geoip2-5.1.0.dist-info/WHEEL creating '/build/geoip2-5.1.0/dist/.tmp-uj7muwdi/geoip2-5.1.0-py3-none-any.whl' and adding 'build/bdist.linux-x86_64/wheel' to it adding 'geoip2/__init__.py' adding 'geoip2/_internal.py' adding 'geoip2/database.py' adding 'geoip2/errors.py' adding 'geoip2/models.py' adding 'geoip2/py.typed' adding 'geoip2/records.py' adding 'geoip2/types.py' adding 'geoip2/webservice.py' adding 'geoip2-5.1.0.dist-info/licenses/LICENSE' adding 'geoip2-5.1.0.dist-info/METADATA' adding 'geoip2-5.1.0.dist-info/WHEEL' adding 'geoip2-5.1.0.dist-info/top_level.txt' adding 'geoip2-5.1.0.dist-info/RECORD' removing build/bdist.linux-x86_64/wheel Successfully built geoip2-5.1.0-py3-none-any.whl Finished creating a wheel... Finished executing pypaBuildPhase Running phase: pythonRuntimeDepsCheckHook Executing pythonRuntimeDepsCheck Checking runtime dependencies for geoip2-5.1.0-py3-none-any.whl Finished executing pythonRuntimeDepsCheck Running phase: installPhase Executing pypaInstallPhase Successfully installed geoip2-5.1.0-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/g2lv2hbpdq8rsgmznn0knf8bqwlhw1m0-python3.13-geoip2-5.1.0 checking for references to /build/ in /nix/store/g2lv2hbpdq8rsgmznn0knf8bqwlhw1m0-python3.13-geoip2-5.1.0... patching script interpreter paths in /nix/store/g2lv2hbpdq8rsgmznn0knf8bqwlhw1m0-python3.13-geoip2-5.1.0 stripping (with command strip and flags -S -p) in /nix/store/g2lv2hbpdq8rsgmznn0knf8bqwlhw1m0-python3.13-geoip2-5.1.0/lib shrinking RPATHs of ELF executables and libraries in /nix/store/0wyz02ywwjh7ric1akf95r7fzaw825d0-python3.13-geoip2-5.1.0-dist checking for references to /build/ in /nix/store/0wyz02ywwjh7ric1akf95r7fzaw825d0-python3.13-geoip2-5.1.0-dist... patching script interpreter paths in /nix/store/0wyz02ywwjh7ric1akf95r7fzaw825d0-python3.13-geoip2-5.1.0-dist 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: geoip2 Running phase: pytestCheckPhase Executing pytestCheckPhase pytest flags: -m pytest -k not\ \(TestAsyncClient\)\ and\ not\ \(test_request\) ============================= test session starts ============================== platform linux -- Python 3.13.11, pytest-8.4.2, pluggy-1.6.0 rootdir: /build/geoip2-5.1.0 configfile: pyproject.toml plugins: requests-mock-1.12.1, pytest_httpserver-1.1.3 collected 78 items / 27 deselected / 51 selected tests/database_test.py ................. [ 33%] tests/models_test.py ......... [ 50%] tests/webservice_test.py ......................... [100%] ====================== 51 passed, 27 deselected in 0.25s ======================= Finished executing pytestCheckPhase Running phase: pytestcachePhase Running phase: pytestRemoveBytecodePhase