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

python3Packages.flask-appbuilder: 2.3.0 -> 3.1.1 #109986

Merged
merged 1 commit into from Jan 28, 2021

Conversation

dotlambda
Copy link
Member

@dotlambda dotlambda commented Jan 19, 2021

Motivation for this change
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.

cc @costrouc @drewrisinger @SCOTT-HAMILTON I did not test this.
cc @bhipple @costrouc @ingenieroariel Apache-airflow depends on this and should also be updated.

@SuperSandro2000
Copy link
Member

This is a semi-automatic executed nixpkgs-review which is checked by a human on a best effort basis and does not build all packages (e.g. lumo, tensorflow or pytorch).
If you have any questions or problems please reach out to SuperSandro2000 on IRC.

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

3 packages failed to build and are new build failures:
  • apache-airflow: log was empty
  • (python37Packages.apache-airflow): log was empty
  • python37Packages.flask-appbuilder: log was empty
2 packages built:
  • python38Packages.flask-appbuilder
  • python39Packages.flask-appbuilder
builder for '/nix/store/3han1yi5k9xlnpggxmikdfksn6bjncdw-python3.7-virtualenv-20.3.1.drv' failed with exit code 1; last 10 log lines:                                                         SKIPPED [1] tests/unit/activation/conftest.py:249: PowerShell(                                                                                                                              version=FileNotFoundError(2, "No such file or directory: 'pwsh'"),                                                                                                                          creator=CPython3Posix(dest=/build/pytest-of-nixbld/pytest-0/activation-tester-env3/e-$ èрт🚒♞中片-j, clear=False, no_vcs_ignore=False, global=False),                                       interpreter=PythonInfo(spec=CPython3.7.9.final.0-64, exe=/nix/store/q5hdqw6bcp3mfzg8l9m2qhra3y892xwm-python3-3.7.9/bin/python3.7, platform=linux, version='3.7.9 (default, Aug 15 2020, 06:36:35) \n[GCC 10.2.0]', encoding_fs_io=utf-8-UTF-8)) is not available due [Errno 2] No such file or directory: 'pwsh': 'pwsh'                                                                SKIPPED [1] tests/integration/test_run_int.py: need --int option to run                                                                                                                     SKIPPED [1] tests/integration/test_zipapp.py: need --int option to run                                                                                                                      SKIPPED [2] tests/integration/test_zipapp.py:95: need --int option to run                                                                                                                   FAILED tests/unit/activation/test_xonsh.py::test_xonsh[with_prompt] - IndexEr...                                                                                                            FAILED tests/unit/activation/test_xonsh.py::test_xonsh[no_prompt] - IndexErro...                                                                                                            ===== 2 failed, 209 passed, 15 skipped, 2 deselected, 1 warning in 21.14s ======                                                                                                          cannot build derivation '/nix/store/8ajgpdxplbdaj3qblshriiblg7nz23y5-python3.7-poetry-core-1.0.0.drv': 1 dependencies couldn't be built                                                     cannot build derivation '/nix/store/ldcc0ic2fkv2i5j8bp4klda5cxnannwy-python3.7-tox-3.20.1.drv': 1 dependencies couldn't be built                                                            cannot build derivation '/nix/store/pwx1idq9nkwdbh22iidi36xwdz27crj0-python3.7-isort-5.6.4.drv': 1 dependencies couldn't be built                                                           cannot build derivation '/nix/store/za52wfn3b108hjv00rpaqyzrgyczydbj-python3.7-openapi-spec-validator-0.2.9.drv': 1 dependencies couldn't be built                                          cannot build derivation '/nix/store/72g8xqs9r8jfsdbm1sg19l3pbgqs58q3-python3.7-pendulum-2.1.2.drv': 1 dependencies couldn't be built                                                        cannot build derivation '/nix/store/hd018pxqyw9ys979hlad5c31p0kfyp7l-python3.7-apispec-4.0.0.drv': 1 dependencies couldn't be built                                                         cannot build derivation '/nix/store/l8jczr2wvd2awhr71vax36zfbcf8mlzx-python3.7-pylint-2.6.0.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/k1f0rfj9aixlcnhq0zd1dw16aljmp68q-python3.7-flask-appbuilder-3.1.1.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/k1mmksx0byi3cr9idaa4gv5fi7zs13bm-python3.7-trio-0.17.0.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/ff54i91d8gciimfchcxwqghymmmfhzf7-python3.7-jeepney-0.6.0.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/0v7najg46c3iaf09zb17rk80gb01aj3q-python3.7-secretstorage-3.3.0.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/zf6qybx233svx8nhs9szyc2r653p9n52-python3.7-keyring-21.5.0.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/cpw6sk1wz4npfmb464gv3m4qwwy8mwl1-python3.7-twine-3.2.0.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/ljd7ry1njjiv7hm9hrj11368sxiyljkk-python3.7-python-daemon-2.2.4.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/qicvls2wp3hb98rvwqhsp3a9hriw0wk4-python3.7-apache-airflow-1.10.5.drv': 3 dependencies couldn't be built
cannot build derivation '/nix/store/46jcky42k196f4a1biac48i5nhqf12x6-env.drv': 2 dependencies couldn't be built

@drewrisinger
Copy link
Contributor

@dotlambda I can't get a clean build b/c of failures with python37Packages.virtualenv

builder for '/nix/store/3han1yi5k9xlnpggxmikdfksn6bjncdw-python3.7-virtualenv-20.3.1.drv' failed with exit code 1; last 10 log lines:
  FAILED tests/unit/activation/test_xonsh.py::test_xonsh[with_prompt] - IndexEr...
  FAILED tests/unit/activation/test_xonsh.py::test_xonsh[no_prompt] - IndexErro...
  ===== 2 failed, 209 passed, 15 skipped, 2 deselected, 1 warning in 38.45s ======


Link to currently reviewing PR:
https://github.com/NixOS/nixpkgs/pull/109986

2 packages failed to build:
apache-airflow python37Packages.flask-appbuilder

2 packages built:
python38Packages.flask-appbuilder python39Packages.flask-appbuilder

@dotlambda
Copy link
Member Author

@drewrisinger Just do git fetch upstream pull/109986/head && git checkout FETCH_HEAD.

@SuperSandro2000
Copy link
Member

SuperSandro2000 commented Jan 19, 2021

@drewrisinger Just do git fetch upstream pull/109986/head && git checkout FETCH_HEAD.

We always test with nixpkgs-review against the current master to not miss any regressions since you created the PR. If virtualenv is broken on master than this needs a fix before we can build and fully review your PR.

@dotlambda
Copy link
Member Author

We always test with nixpkgs-review against the current master to not miss any regressions since you created the PR. If virtualenv is broken on master than this needs a fix before we can build and fully review your PR.

I know. But it's good enough to check whether flask-appbuilder is actually working after the update.
Btw, virtualenv was fixed by reverting #109930.

@SuperSandro2000
Copy link
Member

But it's good enough to check whether flask-appbuilder is actually working after the update.

No, this is not enough for a good review. If it instantly breaks on master we did not test it properly.

@dotlambda
Copy link
Member Author

No, this is not enough for a good review. If it instantly breaks on master we did not test it properly.

That's not what I'm saying. You can check whether the package works after upgrading, but then you also have to check whether everything still builds after merging.

@dotlambda
Copy link
Member Author

@drewrisinger Can you try again?

@dotlambda dotlambda merged commit da043c6 into NixOS:master Jan 28, 2021
@dotlambda dotlambda deleted the flask-appbuilder-3.1.1 branch January 28, 2021 23:43
aforemny pushed a commit to aforemny/nixpkgs that referenced this pull request Mar 4, 2021
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

3 participants