-
-
Notifications
You must be signed in to change notification settings - Fork 15.5k
Bump Zope packages to support Python 3.6 #27351
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
Conversation
Please move the expressions into separate files as explained in the head of |
Hi, Could each update also be done in a separate commit (one for |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The comments I made on the first package also apply to the other two.
name = "zconfig-${version}"; | ||
version = "3.2.0"; | ||
|
||
src = pkgs.fetchurl { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fetchPyPI
}: | ||
|
||
buildPythonPackage rec { | ||
name = "zconfig-${version}"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
pname = "ZConfig";
version = "3.2.0";
name = "${pname}-${version}";
We use the name as used on PyPI, so including uppercase.
@@ -0,0 +1,27 @@ | |||
{ stdenv | |||
, pythonPackages |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
pass in individual items, not the whole package set
{ stdenv | ||
, pythonPackages | ||
, buildPythonPackage | ||
, pkgs |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
pass in individual items, not the whole package set
|
||
propagatedBuildInputs = [ zope_testrunner ]; | ||
|
||
doCheck = false; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please include a comment explaining why you disable tests.
sha256 = "8ffcb4989829544a83d27e42b2eeb28f8fc134bd847d71ce8dca54f710526ef0"; | ||
}; | ||
|
||
propagatedBuildInputs = [ zope_interface zope_exceptions zope_testing six ] ++ stdenv.lib.optional (!python.is_py3k or false) subunit; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
isPy3k
instead of python.is_py3k
8fb34cd
to
b258f2a
Compare
@FRidh Ok, all packages updated. |
name = "zope.testrunner-${version}"; | ||
version = "4.7.0"; | ||
|
||
src = fetchurl { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fetchPypi
cc maintainer @cillianderoiste |
Turns out that this caused quite a rebuild on Hydra, probably due to |
pythonpackages.zope_testrunner: 4.4.10 -> 4.7.0
pythonpackages.zope_interface: 4.1.3 -> 4.4.2
pythonPackages.zconfig: 3.0.3 -> 3.2.0
Motivation for this change
This fixes build failures on Python 3.6
Things done
(nix.useSandbox on NixOS,
or option
build-use-sandbox
innix.conf
on non-NixOS)
nix-shell -p nox --run "nox-review wip"
./result/bin/
)