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

Python: several fixes #28884

Merged
merged 64 commits into from
Sep 5, 2017
Merged

Python: several fixes #28884

merged 64 commits into from
Sep 5, 2017

Conversation

FRidh
Copy link
Member

@FRidh FRidh commented Sep 2, 2017

Motivation for this change
Things done
  • Tested using sandboxing
    (nix.useSandbox on NixOS,
    or option build-use-sandbox in nix.conf
    on non-NixOS)
  • Built on platform(s)
    • NixOS
    • macOS
    • Linux
  • 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 nox --run "nox-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Fits CONTRIBUTING.md.

@FRidh
Copy link
Member Author

FRidh commented Sep 4, 2017

Rebased and added. Thanks @jluttine

@FRidh FRidh added the 1.severity: mass-rebuild This PR causes a large number of packages to rebuild label Sep 5, 2017
@FRidh FRidh merged commit c7be7c5 into NixOS:staging Sep 5, 2017
@FRidh FRidh mentioned this pull request Sep 5, 2017
8 tasks
FRidh added a commit that referenced this pull request Sep 6, 2017
FRidh added a commit to FRidh/nixpkgs that referenced this pull request Sep 6, 2017
Python: several fixes
(cherry picked from commit 67651d8)
@peti
Copy link
Member

peti commented Sep 6, 2017

This PR introduces evaluation errors into Nixpkgs:

$ nix-env -qaP --xml --meta 2>&1 >/dev/null
derivation ‘python2.7-pytest-warnings-0.3.0’ has invalid meta attribute ‘homepage’
derivation ‘python3.6-pytest-warnings-0.3.0’ has invalid meta attribute ‘homepage’

@FRidh
Copy link
Member Author

FRidh commented Sep 6, 2017

Oh, thanks. The fix dcbf59d
is in master, staging, and release-17.09 now.

@@ -19,4 +19,7 @@ buildPythonPackage rec {
postPatch = ''
substituteInPlace requirements.txt --replace "argparse" ""
'';

# Requires a bunch of new packages
meta.broken = true;
Copy link
Member

Choose a reason for hiding this comment

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

How did this one become broken when it worked before?

@FRidh
Copy link
Member Author

FRidh commented Sep 8, 2017 via email

@FRidh FRidh deleted the python-fixes branch October 20, 2017 07:41
sha256 = "15yxz8d70iy1b1x6gd7spvblq0mjxjardl4vnaqasxafzc069zca";
};

propagatedBuildInputs = [ pbr python_mimeparse extras lxml unittest2 ];
Copy link
Member

Choose a reason for hiding this comment

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

Copy link
Member Author

Choose a reason for hiding this comment

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

No idea, it was there already. Let's throw it out.

Copy link
Member

Choose a reason for hiding this comment

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

I'll try enabling the tests as well

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1.severity: mass-rebuild This PR causes a large number of packages to rebuild 2.status: work-in-progress This PR isn't done 6.topic: python
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants