Skip to content

Commit

Permalink
Python: fix the wheel package
Browse files Browse the repository at this point in the history
  • Loading branch information
FRidh committed Jun 16, 2016
1 parent 1265acc commit 9f2699f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion pkgs/development/python-modules/generic/catch_conflicts.py
Expand Up @@ -9,7 +9,7 @@
for req in pkg_resources.find_distributions(f):
if req not in packages[req.project_name]:
# some exceptions inside buildPythonPackage
if req.project_name in ['setuptools', 'pip']:
if req.project_name in ['setuptools', 'pip', 'wheel']:
continue
packages[req.project_name].append(req)

Expand Down
3 changes: 3 additions & 0 deletions pkgs/top-level/python-packages.nix
Expand Up @@ -23607,6 +23607,9 @@ in modules // {

propagatedBuildInputs = with self; [ jsonschema ];

# We add this flag to ignore the copy installed by bootstrapped-pip
installFlags = [ "--ignore-installed" ];

meta = {
description = "A built-package format for Python";
license = with licenses; [ mit ];
Expand Down

4 comments on commit 9f2699f

@RonnyPfannschmidt
Copy link
Contributor

Choose a reason for hiding this comment

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

has this been backported to a release channel?

@FRidh
Copy link
Member Author

@FRidh FRidh commented on 9f2699f Jul 1, 2016

Choose a reason for hiding this comment

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

No, I didn't. If you need it, I can have a look at it.

@RonnyPfannschmidt
Copy link
Contributor

Choose a reason for hiding this comment

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

Its one oft the issues that prevented me from doing software releases on nix

@FRidh
Copy link
Member Author

@FRidh FRidh commented on 9f2699f Jul 1, 2016

Choose a reason for hiding this comment

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

ok, pushed it to 16.03. Haven't tested it though since I'm having limited bandwidth currently. Let me know if it doesn't work.

Please sign in to comment.