Last active
March 27, 2024 00:45
-
-
Save PerchunPak/74aaed48223155f22e43dcef493d7c7b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | |
@nix { "action": "setPhase", "phase": "unpackPhase" } | |
Running phase: unpackPhase | |
unpacking source archive /nix/store/pva2d5yadkfv0vxaikz26rlkiwhh23sp-source | |
source root is source | |
setting SOURCE_DATE_EPOCH to timestamp 315619200 of file source/update_v1.sh | |
@nix { "action": "setPhase", "phase": "patchPhase" } | |
Running phase: patchPhase | |
applying patch /nix/store/xbppw5kamyc27pbckg6wz9wbcayz0fcp-fix-pytest8-compatibility.patch | |
patching file pydantic/deprecated/class_validators.py | |
patching file tests/test_validators.py | |
@nix { "action": "setPhase", "phase": "updateAutotoolsGnuConfigScriptsPhase" } | |
Running phase: updateAutotoolsGnuConfigScriptsPhase | |
@nix { "action": "setPhase", "phase": "configurePhase" } | |
Running phase: configurePhase | |
no configure script, doing nothing | |
@nix { "action": "setPhase", "phase": "buildPhase" } | |
Running phase: buildPhase | |
Executing pypaBuildPhase | |
Creating a wheel... | |
* Getting build dependencies for wheel... | |
* Building wheel... | |
Successfully built pydantic-2.6.3-py3-none-any.whl | |
Finished creating a wheel... | |
Finished executing pypaBuildPhase | |
@nix { "action": "setPhase", "phase": "pythonRuntimeDepsCheckHook" } | |
Running phase: pythonRuntimeDepsCheckHook | |
Executing pythonRuntimeDepsCheck | |
Checking runtime dependencies for pydantic-2.6.3-py3-none-any.whl | |
Finished executing pythonRuntimeDepsCheck | |
@nix { "action": "setPhase", "phase": "installPhase" } | |
Running phase: installPhase | |
Executing pypaInstallPhase | |
Successfully installed pydantic-2.6.3-py3-none-any.whl | |
Finished executing pypaInstallPhase | |
@nix { "action": "setPhase", "phase": "pythonOutputDistPhase" } | |
Running phase: pythonOutputDistPhase | |
Executing pythonOutputDistPhase | |
Finished executing pythonOutputDistPhase | |
@nix { "action": "setPhase", "phase": "fixupPhase" } | |
Running phase: fixupPhase | |
shrinking RPATHs of ELF executables and libraries in /nix/store/gavgdqx7day3fqcjncy13w2ncj35x4xl-python3.9-pydantic-2.6.3 | |
checking for references to /build/ in /nix/store/gavgdqx7day3fqcjncy13w2ncj35x4xl-python3.9-pydantic-2.6.3... | |
patching script interpreter paths in /nix/store/gavgdqx7day3fqcjncy13w2ncj35x4xl-python3.9-pydantic-2.6.3 | |
stripping (with command strip and flags -S -p) in /nix/store/gavgdqx7day3fqcjncy13w2ncj35x4xl-python3.9-pydantic-2.6.3/lib | |
shrinking RPATHs of ELF executables and libraries in /nix/store/kdvl5bpq7g76mnijz1vlfmk9wkj4fiww-python3.9-pydantic-2.6.3-dist | |
checking for references to /build/ in /nix/store/kdvl5bpq7g76mnijz1vlfmk9wkj4fiww-python3.9-pydantic-2.6.3-dist... | |
patching script interpreter paths in /nix/store/kdvl5bpq7g76mnijz1vlfmk9wkj4fiww-python3.9-pydantic-2.6.3-dist | |
Executing pythonRemoveTestsDir | |
Finished executing pythonRemoveTestsDir | |
@nix { "action": "setPhase", "phase": "installCheckPhase" } | |
Running phase: installCheckPhase | |
no Makefile or custom installCheckPhase, doing nothing | |
@nix { "action": "setPhase", "phase": "pythonCatchConflictsPhase" } | |
Running phase: pythonCatchConflictsPhase | |
@nix { "action": "setPhase", "phase": "pythonRemoveBinBytecodePhase" } | |
Running phase: pythonRemoveBinBytecodePhase | |
@nix { "action": "setPhase", "phase": "pythonImportsCheckPhase" } | |
Running phase: pythonImportsCheckPhase | |
Executing pythonImportsCheckPhase | |
Check whether the following modules can be imported: pydantic | |
@nix { "action": "setPhase", "phase": "pytestCheckPhase" } | |
Running phase: pytestCheckPhase | |
Executing pytestCheckPhase | |
substituteStream(): WARNING: '--replace' is deprecated, use --replace-{fail,warn,quiet}. (file 'pyproject.toml') | |
============================= test session starts ============================== | |
platform linux -- Python 3.9.19, pytest-8.0.2, pluggy-1.4.0 | |
rootdir: /build/source | |
configfile: pyproject.toml | |
testpaths: tests | |
plugins: Faker-24.0.0, mock-3.12.0 | |
collected 4343 items / 1 error / 2 deselected / 4341 selected | |
==================================== ERRORS ==================================== | |
____________________ ERROR collecting tests/test_typing.py _____________________ | |
pydantic/_internal/_typing_extra.py:240: in eval_type_backport | |
return typing._eval_type( # type: ignore | |
/nix/store/v4k4ny8p25lb5vy9hnagq5ljw23vrnp8-python3-3.9.19/lib/python3.9/typing.py:292: in _eval_type | |
return t._evaluate(globalns, localns, recursive_guard) | |
/nix/store/v4k4ny8p25lb5vy9hnagq5ljw23vrnp8-python3-3.9.19/lib/python3.9/typing.py:554: in _evaluate | |
eval(self.__forward_code__, globalns, localns), | |
<string>:1: in <module> | |
??? | |
E TypeError: unsupported operand type(s) for |: 'type' and 'type' | |
The above exception was the direct cause of the following exception: | |
tests/test_typing.py:67: in <module> | |
eval_type_lenient('int | str'), | |
pydantic/_internal/_typing_extra.py:224: in eval_type_lenient | |
return eval_type_backport(value, globalns, localns) | |
pydantic/_internal/_typing_extra.py:249: in eval_type_backport | |
raise TypeError( | |
E TypeError: You have a type annotation 'int | str' which makes use of newer typing features than are supported in your version of Python. To handle this error, you should either remove the use of new syntax or install the `eval_type_backport` package. | |
=========================== short test summary info ============================ | |
ERROR tests/test_typing.py - TypeError: You have a type annotation 'int | str' which makes use of newer ... | |
!!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!! | |
======================== 2 deselected, 1 error in 3.21s ======================== | |
/nix/store/c8dj731bkcdzhgrpawhc8qvdgls4xfjv-stdenv-linux/setup: line 1578: 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