Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: af57534bd05f
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 0223d5cbd10f
Choose a head ref
  • 7 commits
  • 7 files changed
  • 1 contributor

Commits on Oct 17, 2019

  1. pythonPackages.notebook: disable for python2

    notebook>=6 no longer supports python2
    Jonathan Ringer committed Oct 17, 2019

    Verified

    This commit was signed with the committer’s verified signature.
    shuding Shu Ding
    Copy the full SHA
    96c06e0 View commit details
  2. pythonPackages.manuel: disable for python2

    zope_testing will no longer correctly collect the tests
    Jonathan Ringer committed Oct 17, 2019

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    66759df View commit details
  3. pythonPackages.azure-cli-telemetry: fix build

    Jonathan Ringer committed Oct 17, 2019

    Verified

    This commit was signed with the committer’s verified signature.
    shuding Shu Ding
    Copy the full SHA
    238402e View commit details
  4. pythonPackages.twisted: disable python2

    ruamel* dependencies no longer have correct namespacing for python2
    Jonathan Ringer committed Oct 17, 2019

    Verified

    This commit was signed with the committer’s verified signature.
    shuding Shu Ding
    Copy the full SHA
    25f074c View commit details
  5. pythonPackages.protobuf: disable tests for python2

    setupwheels>=41.4 no longer collects the tests correctly
    Jonathan Ringer committed Oct 17, 2019

    Verified

    This commit was signed with the committer’s verified signature.
    shuding Shu Ding
    Copy the full SHA
    2e0abf0 View commit details
  6. pythonPackages.google-api-core: disable for python2

    google.* namespace no longer works
    Jonathan Ringer committed Oct 17, 2019

    Verified

    This commit was signed with the committer’s verified signature.
    shuding Shu Ding
    Copy the full SHA
    1b1e779 View commit details
  7. pythonPackages.green: 2.13.1 -> 3.0.0

    Jonathan Ringer committed Oct 17, 2019

    Verified

    This commit was signed with the committer’s verified signature.
    shuding Shu Ding
    Copy the full SHA
    0223d5c View commit details
Original file line number Diff line number Diff line change
@@ -28,10 +28,10 @@ buildPythonPackage rec {
# Remove overly restrictive version contraints and obsolete namespace setup
prePatch = ''
substituteInPlace setup.py \
--replace "applicationinsights>=0.11.1,<0.11.8" "applicationinsights" \
--replace "portalocker==1.2.1" "portalocker"
--replace "applicationinsights>=0.11.1,<0.12" "applicationinsights"
substituteInPlace setup.cfg \
--replace "azure-namespace-package = azure-cli-nspkg" ""
rm azure_bdist_wheel.py # we'll fix PEP420 namespacing
'';

# Prevent these __init__'s from violating PEP420, only needed for python2
3 changes: 2 additions & 1 deletion pkgs/development/python-modules/google_api_core/default.nix
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
{ lib, buildPythonPackage, fetchPypi, pythonOlder
{ lib, buildPythonPackage, fetchPypi, pythonOlder, isPy27
, google_auth, protobuf, googleapis_common_protos, requests, grpcio, futures, mock, pytest }:

buildPythonPackage rec {
pname = "google-api-core";
version = "1.7.0";
disabled = isPy27; # google namespace no longer works on python2

src = fetchPypi {
inherit pname version;
21 changes: 17 additions & 4 deletions pkgs/development/python-modules/green/default.nix
Original file line number Diff line number Diff line change
@@ -1,18 +1,31 @@
{ lib, buildPythonPackage, fetchPypi, isPy3k, colorama, coverage, termstyle, unidecode, mock, backports_shutil_get_terminal_size }:
{ lib, buildPythonPackage, fetchPypi, isPy3k
, colorama
, coverage
, termstyle
, lxml
, unidecode
, mock
, backports_shutil_get_terminal_size
}:

buildPythonPackage rec {
pname = "green";
version = "2.13.1";
version = "3.0.0";

src = fetchPypi {
inherit pname version;
sha256 = "ea6e2699a2e58df834d2c845fb2b076c12d4835daecfcb658c6bd5583ebf4b7d";
sha256 = "17cfgq0s02p5cjrsvcicqxiq6kflahjsd9pm03f054x7lpvqi5cv";
};

propagatedBuildInputs = [
colorama coverage termstyle unidecode
colorama coverage termstyle unidecode lxml
] ++ lib.optionals (!isPy3k) [ mock backports_shutil_get_terminal_size ];

# let green run it's own test suite
checkPhase = ''
$out/bin/green green
'';

meta = with lib; {
description = "Python test runner";
homepage = https://github.com/CleanCut/green;
2 changes: 2 additions & 0 deletions pkgs/development/python-modules/manuel/default.nix
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
{ stdenv
, buildPythonPackage
, fetchPypi
, isPy27
, six
, zope_testing
}:

buildPythonPackage rec {
pname = "manuel";
version = "1.10.1";
disabled = isPy27;

src = fetchPypi {
inherit pname version;
1 change: 1 addition & 0 deletions pkgs/development/python-modules/notebook/default.nix
Original file line number Diff line number Diff line change
@@ -26,6 +26,7 @@
buildPythonPackage rec {
pname = "notebook";
version = "6.0.1";
disabled = !isPy3k;

src = fetchPypi {
inherit pname version;
5 changes: 3 additions & 2 deletions pkgs/development/python-modules/protobuf/default.nix
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
{ stdenv, fetchpatch, python, buildPythonPackage, isPy37
, protobuf, google_apputils, pyext, libcxx
, protobuf, google_apputils, pyext, libcxx, isPy27
, disabled, doCheck ? true }:

with stdenv.lib;

buildPythonPackage {
inherit (protobuf) name src version;
inherit disabled doCheck;
inherit disabled;
doCheck = doCheck && !isPy27; # setuptools>=41.4 no longer collects correctly on python2

NIX_CFLAGS_COMPILE =
# work around python distutils compiling C++ with $CC
2 changes: 2 additions & 0 deletions pkgs/development/python-modules/twisted/default.nix
Original file line number Diff line number Diff line change
@@ -2,6 +2,7 @@
, buildPythonPackage
, fetchPypi
, python
, isPy27
, zope_interface
, incremental
, automat
@@ -17,6 +18,7 @@
buildPythonPackage rec {
pname = "Twisted";
version = "19.7.0";
disabled = isPy27; # ruamel namespace now conflicts in python27

src = fetchPypi {
inherit pname version;