Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

python37Packages.aiomysql: unbreak build #107656

Merged
merged 1 commit into from Dec 26, 2020

Conversation

rmcgibbo
Copy link
Contributor

Motivation for this change

Fix broken build on hydra.

Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
  • Built on platform(s)
    • NixOS
    • macOS
    • other Linux distributions
  • Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Determined the impact on package closure size (by running nix path-info -S before and after)
  • Ensured that relevant documentation is up to date
  • Fits CONTRIBUTING.md.

@rmcgibbo
Copy link
Contributor Author

Result of nixpkgs-review pr 107656 1

4 packages marked as broken and skipped:
  • python39Packages.databases
  • python39Packages.fastapi
  • python39Packages.orm
  • python39Packages.starlette
3 packages failed to build:
  • python37Packages.fastapi
  • python38Packages.fastapi
  • python38Packages.orm
8 packages built:
  • python37Packages.aiomysql
  • python37Packages.databases
  • python37Packages.orm
  • python37Packages.starlette
  • python38Packages.aiomysql
  • python38Packages.databases
  • python38Packages.starlette
  • python39Packages.aiomysql

@SuperSandro2000
Copy link
Member

Result of nixpkgs-review pr 107656 run on x86_64-darwin 1

4 packages marked as broken and skipped:
  • python39Packages.databases
  • python39Packages.fastapi
  • python39Packages.orm
  • python39Packages.starlette
3 packages failed to build:
  • python37Packages.fastapi
  • python38Packages.fastapi
  • python38Packages.orm
8 packages built:
  • python37Packages.aiomysql
  • python37Packages.databases
  • python37Packages.orm
  • python37Packages.starlette
  • python38Packages.aiomysql
  • python38Packages.databases
  • python38Packages.starlette
  • python39Packages.aiomysql
builder for '/nix/store/9mpvy9qv4yzmlmjvshp7ig2smyykgxjv-python3.7-pydantic-1.5.1.drv' failed with exit code 3; last 10 log lines:                                                            INTERNALERROR>     self._validate_config_options()                                                                                                                                          INTERNALERROR>   File "/nix/store/1pmbm2hpjvll1kmaz8c5njkh753sqfkj-python3.7-pytest-6.1.2/lib/python3.7/site-packages/_pytest/config/__init__.py", line 1230, in _validate_config_options   INTERNALERROR>     self._warn_or_fail_if_strict("Unknown config option: {}\n".format(key))                                                                                                  INTERNALERROR>   File "/nix/store/1pmbm2hpjvll1kmaz8c5njkh753sqfkj-python3.7-pytest-6.1.2/lib/python3.7/site-packages/_pytest/config/__init__.py", line 1266, in _warn_or_fail_if_strict    INTERNALERROR>     self.issue_config_time_warning(PytestConfigWarning(message), stacklevel=3)                                                                                               INTERNALERROR>   File "/nix/store/1pmbm2hpjvll1kmaz8c5njkh753sqfkj-python3.7-pytest-6.1.2/lib/python3.7/site-packages/_pytest/config/__init__.py", line 1318, in issue_config_time_warning  INTERNALERROR>     warnings.warn(warning, stacklevel=stacklevel)                                                                                                                            INTERNALERROR> pytest.PytestConfigWarning: Unknown config option: timeout
error: --- Error ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- nix1 dependencies of derivation '/nix/store/plqp8s9jj7mbvygf6min7bildaafjjyy-python3.8-fastapi-0.55.1.drv' failed to build                                                                     error: --- Error ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- nixbuilder for '/nix/store/ni09mrmbaayx15n4mpi10fk12314pk9q-python3.8-typesystem-0.2.4.drv' failed with exit code 1; last 10 log lines:                                                          E       AssertionError: assert False                                                                                                                                                        E        +  where False = <built-in method startswith of str object at 0x110898170>('Cannot convert regular expression with non-standard flags to JSON schema: RegexFlag.')                 E        +    where <built-in method startswith of str object at 0x110898170> = 'Cannot convert regular expression with non-standard flags to JSON schema: re.IGNORECASE|re.UNICODE|re.VERBOSE'.startswith                                                                                                                                                                              E        +      where 'Cannot convert regular expression with non-standard flags to JSON schema: re.IGNORECASE|re.UNICODE|re.VERBOSE' = str(ValueError('Cannot convert regular expression with non-standard flags to JSON schema: re.IGNORECASE|re.UNICODE|re.VERBOSE'))                                                                                                                E        +        where ValueError('Cannot convert regular expression with non-standard flags to JSON schema: re.IGNORECASE|re.UNICODE|re.VERBOSE') = <ExceptionInfo ValueError('Cannot convert regular expression with non-standard flags to JSON schema: re.IGNORECASE|re.UNICODE|re.VERBOSE') tblen=2>.value                                                                                                                                                                                                                                                                     tests/test_json_schema.py:172: AssertionError                                                                                                                                               =========================== short test summary info ============================                                                                                                            FAILED tests/test_json_schema.py::test_to_json_schema_complex_regular_expression                                                                                                            ======================== 1 failed, 1116 passed in 2.48s ========================

@rmcgibbo
Copy link
Contributor Author

(All the downstream failures in nixpkgs-review are currently broken on master as well.)

@SuperSandro2000
Copy link
Member

Result of nixpkgs-review pr 107656 run on x86_64-linux 1

4 packages marked as broken and skipped:
  • python39Packages.databases
  • python39Packages.fastapi
  • python39Packages.orm
  • python39Packages.starlette
3 packages failed to build:
  • python37Packages.fastapi
  • python38Packages.fastapi
  • python38Packages.orm
8 packages built:
  • python37Packages.aiomysql
  • python37Packages.databases
  • python37Packages.orm
  • python37Packages.starlette
  • python38Packages.aiomysql
  • python38Packages.databases
  • python38Packages.starlette
  • python39Packages.aiomysql

@SuperSandro2000 SuperSandro2000 merged commit 8e334e6 into NixOS:master Dec 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants