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: 245f7fb1fccc
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: e039310f9673
Choose a head ref
  • 1 commit
  • 1 file changed
  • 1 contributor

Commits on Dec 27, 2018

  1. python.pkgs.importlib-resources: invoke tests differently

    Follow what upstream does. That solves the issue previously encountered.
    FRidh committed Dec 27, 2018
    Copy the full SHA
    e039310 View commit details
Showing with 4 additions and 2 deletions.
  1. +4 −2 pkgs/development/python-modules/importlib-resources/default.nix
Original file line number Diff line number Diff line change
@@ -5,6 +5,7 @@
, typing
, isPy3k
, pythonOlder
, python
}:

buildPythonPackage rec {
@@ -21,8 +22,9 @@ buildPythonPackage rec {
++ lib.optional (pythonOlder "3.5") typing
;

# https://gitlab.com/python-devs/importlib_resources/issues/69
doCheck = !isPy3k;
checkPhase = ''
${python.interpreter} -m unittest discover
'';

meta = with lib; {
description = "Read resources from Python packages";