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

pythonPackages.flask-babel: 0.12.2 -> 1.0.0 #83314

Merged
merged 1 commit into from Mar 25, 2020

Conversation

drewrisinger
Copy link
Contributor

Motivation for this change

While testing upgrading a separate package, saw there's a new version of flask-babel.

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.

@drewrisinger
Copy link
Contributor Author

@GrahamcOfBorg build python27Packages.flask-babel python37Packages.flask-babel python38Packages.flask-babel

@timokau
Copy link
Member

timokau commented Mar 24, 2020

Did you actually run nix-review? I tried to verify, but the build of python38.pkgs.flask_sqlalchemy failed because of this update.

@drewrisinger
Copy link
Contributor Author

drewrisinger commented Mar 24, 2020

Did you actually run nix-review? I tried to verify, but the build of python38.pkgs.flask_sqlalchemy failed because of this update.

I was a little premature in checking that. I'm running it right now locally in a VM and it's going terribly slow. Will post fixes/output as appropriate.

@drewrisinger
Copy link
Contributor Author

Result of running nixpkgs-review pr 83314:

https://github.com/NixOS/nixpkgs/pull/83314
6 package failed to build:
apache-airflow python37Packages.flask-appbuilder python38Packages.apache-airflow python38Packages.flask-appbuilder sage sageWithDoc

6 package built:
python27Packages.flask-babel python27Packages.ihatemoney python37Packages.flask-babel python37Packages.ihatemoney python38Packages.flask-babel python38Packages.ihatemoney

@drewrisinger
Copy link
Contributor Author

Did you actually run nix-review? I tried to verify, but the build of python38.pkgs.flask_sqlalchemy failed because of this update.

@timokau I didn't see flask_sqlalchemy in the dependencies when running nixpkgs-review pr 83314 (see above).

@timokau
Copy link
Member

timokau commented Mar 25, 2020

Yes, I don't see it anymore either. Maybe it was fixed by some other change in master, or maybe I somehow got it confused with flask-appbuilder.

I'm the maintainer of sage, if you upload the log as a github gist or something I might be able to help.

Edit: If you want to look into it yourself, note that you can run individual tests with

nix-build -E 'with (import ./. {}); sage.tests.override { files = ["src/sage/path/to/some/test"]; }'

Which speeds up debugging a lot.

@drewrisinger
Copy link
Contributor Author

drewrisinger commented Mar 25, 2020 via email

@timokau
Copy link
Member

timokau commented Mar 25, 2020

Hm. Might be some spurious timeout because nix-review was building so many things at once. That shouldn't happen, but maybe it did. Would love to see the log of the original failure. If its still there, you might be able to dig it up with

find /nix/var/log/nix/drvs/ -name '*-sage-tests*' -mtime 2

which will find all logs of the sage testsuite from builds that occurred in the last two days. You can then inspect the actual logs with nix log while stripping one slash, i.e. translate

/nix/var/log/nix/drvs/82/sxc5m1a5rn82i8rd5pmr0f2bbqssyh-sage-tests-9.0.drv.bz2

to

nix log 82sxc5m1a5rn82i8rd5pmr0f2bbqssyh-sage-tests-9.0.drv

@GrahamcOfBorg build sage

@drewrisinger
Copy link
Contributor Author

I looked for the sage-test deriv using your commands, and couldn't find anything. This was the closest I could find. Looks like tests passed. Not sure why build failed. Looks like the ofborg build passes too.
https://pastebin.com/1zkub9Ee

@timokau
Copy link
Member

timokau commented Mar 25, 2020

Hm, very weird. Either way its likely not this PR's fault.

Regarding flask-appbuilder, isn't there a way to order the commits to avoid the intermediate failure?

Copy link
Contributor

@jonringer jonringer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please fix the flask-appbuilder package regression

[22 built (2 failed), 535 copied (2413.1 MiB), 572.1 MiB DL]
error: build of '/nix/store/1izz1yi651i211ri97h9pjyaw8sip4is-env.drv' failed
https://github.com/NixOS/nixpkgs/pull/83314
4 package failed to build:
apache-airflow python37Packages.flask-appbuilder python38Packages.apache-airflow python38Packages.flask-appbuilder

8 package built:
python27Packages.flask-babel python27Packages.ihatemoney python37Packages.flask-babel python37Packages.ihatemoney python38Packages.flask-babel python38Packages.ihatemoney sage sageWithDoc

@jonringer
Copy link
Contributor

should just be an update, as the newest version of appbuilder uses flask-bable 1.0.0 https://github.com/dpgaspar/Flask-AppBuilder/blob/7b796071bae32c5bac30f1d2f2b29b42814b7709/setup.py#L52

@drewrisinger
Copy link
Contributor Author

@jonringer I fixed it in #83315. I think these commits basically need to be made in lockstep (i.e. same PR?) for them to not fail build. I can merge the two PRs if that'd work?

@jonringer
Copy link
Contributor

I see, I probably would have done it as part of this PR, but thats fine

@jonringer jonringer merged commit eef3ce0 into NixOS:master Mar 25, 2020
@drewrisinger
Copy link
Contributor Author

Thanks for the tip. I'll keep that in mind in future.

@drewrisinger drewrisinger deleted the dr-pr-python-flask-babel-bump branch March 25, 2020 20:33
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