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

python27Packages.application: 2.7.0 -> 2.8.0 and fix build; python27Packages.python-otr: mark as broken #83720

Merged
merged 2 commits into from Mar 31, 2020

Conversation

bhipple
Copy link
Contributor

@bhipple bhipple commented Mar 29, 2020

The build is currently broken due to failure to build darcs to fetch the src
package. The homepage is already their GitHub repo, and it appears to be the
active src of development anyways. See #83718

I came across this while debugging this failure:
https://hydra.nixos.org/build/115510612

Note that the application dependency does succeed on Hydra, because it's
already on local disk in Hydra's store, but I cannot rebuild locally because it
has prefer local builds.
https://hydra.nixos.org/build/115512559

This package is not reproducible on 20.03 or buildable outside of Hydra, so I
intend to backport the fix.

CC @NixOS/nixos-release-managers

ZHF: #80379

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.

The build is currently broken due to failure to build `darcs` to fetch the src
package. The homepage is already their GitHub repo, and it appears to be the
active src of development anyways. See NixOS#83718

I came across this while debugging this failure:
https://hydra.nixos.org/build/115510612

Note that the `application` dependency *does* succeed on Hydra, because it's
already on local disk in Hydra's store, but I cannot rebuild locally because it
has prefer local builds.
https://hydra.nixos.org/build/115512559

This package is not reproducible on 20.03 or buildable outside of Hydra, so I
intend to backport the fix.

CC @NixOS/nixos-release-managers

ZHF: NixOS#80379
@bhipple
Copy link
Contributor Author

bhipple commented Mar 29, 2020

2 package updated:
python2.7-python-application (2.7.0 → 2.8.0) python2.7-python-otr

1 package failed to build:
python27Packages.python-otr

1 package built:
python27Packages.application

Note that python-otr is the package I'm trying to fix for ZHF, but without this PR I can't fetch and build its dependencies.

@bhipple
Copy link
Contributor Author

bhipple commented Mar 29, 2020

Looks like the python-otr package is a known issue with python2 packaging:
#74619

@bhipple bhipple changed the title python27Packages.application: 2.7.0 -> 2.8.0 and fix build python27Packages.application: 2.7.0 -> 2.8.0 and fix build; python27Packages.python-otr: mark as broken Mar 29, 2020
@bhipple
Copy link
Contributor Author

bhipple commented Mar 29, 2020

1 package updated:
python2.7-python-application (2.7.0 → 2.8.0)

[1 built, 0.0 MiB DL]
1 package built:
python27Packages.application

Looks "better" now.

See inline comment for details.

https://hydra.nixos.org/build/115510612

CC @NixOS/nixos-release-managers

ZHF: NixOS#80379

buildPythonPackage rec {
pname = "python-application";
version = "2.7.0";
version = "2.8.0";
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This is used by exactly 1 other package in all of NixPkgs, and that package actually asserts that we need 2.8.0:
https://github.com/AGProjects/python-otr/blob/master/setup.py#L22

@Mic92 Mic92 merged commit 61cee88 into NixOS:master Mar 31, 2020
@Mic92
Copy link
Member

Mic92 commented Mar 31, 2020

backport:
[detached HEAD e15c928] python27Packages.application: 2.7.0 -> 2.8.0 and fix build
Author: Benjamin Hipple bhipple@protonmail.com
Date: Sun Mar 29 18:18:04 2020 -0400
1 file changed, 11 insertions(+), 6 deletions(-)
Press Enter to continue
[detached HEAD 81c29c1] python27Packages.python-otr: mark as broken
Author: Benjamin Hipple bhipple@protonmail.com
Date: Sun Mar 29 18:42:39 2020 -0400
1 file changed, 5 insertions(+), 2 deletions(-)

@bhipple bhipple deleted the f/py-application branch May 10, 2020 00:11
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