diff options
author | Jörg Thalheim <Mic92@users.noreply.github.com> | 2018-04-04 19:17:25 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-04-04 19:17:25 +0100 |
commit | 814288c571f4940289e1e29a62c979407433e9f1 (patch) | |
tree | 8c83755064bf19606cac553c8b22d5af2f7ef72c | |
parent | 6423bdf98039460a30c2b371d0c28c5eae04794d (diff) | |
parent | 6d78bde7adcc15a805a8681b195a52c8991fbba6 (diff) | |
download | nixlib-814288c571f4940289e1e29a62c979407433e9f1.tar nixlib-814288c571f4940289e1e29a62c979407433e9f1.tar.gz nixlib-814288c571f4940289e1e29a62c979407433e9f1.tar.bz2 nixlib-814288c571f4940289e1e29a62c979407433e9f1.tar.lz nixlib-814288c571f4940289e1e29a62c979407433e9f1.tar.xz nixlib-814288c571f4940289e1e29a62c979407433e9f1.tar.zst nixlib-814288c571f4940289e1e29a62c979407433e9f1.zip |
Merge pull request #36359 from alunduil/bump-behave-version
behave: 1.2.5 -> 1.2.6
4 files changed, 15 insertions, 35 deletions
diff --git a/pkgs/development/python-modules/behave/default.nix b/pkgs/development/python-modules/behave/default.nix index 60160b128a46..722117ba6e83 100644 --- a/pkgs/development/python-modules/behave/default.nix +++ b/pkgs/development/python-modules/behave/default.nix @@ -1,23 +1,22 @@ { stdenv, fetchPypi -, buildPythonApplication, python, pythonAtLeast -, mock, nose, pyhamcrest +, buildPythonApplication, isPy27, python, pythonOlder +, mock, nose, pathpy, pyhamcrest, pytest , glibcLocales, parse, parse-type, six +, traceback2 }: buildPythonApplication rec { pname = "behave"; version = "1.2.6"; name = "${pname}-${version}"; - disabled = pythonAtLeast "3.6"; - src = fetchPypi { inherit pname version; - sha256 = "b9662327aa53294c1351b0a9c369093ccec1d21026f050c3bd9b3e5cccf81a86"; + sha256 = "11hsz365qglvpp1m1w16239c3kiw15lw7adha49lqaakm8kj6rmr"; }; - checkInputs = [ mock nose pyhamcrest ]; + checkInputs = [ mock nose pathpy pyhamcrest pytest ]; buildInputs = [ glibcLocales ]; - propagatedBuildInputs = [ parse parse-type six ]; + propagatedBuildInputs = [ parse parse-type six ] ++ stdenv.lib.optional (pythonOlder "3.0") traceback2; postPatch = '' patchShebangs bin @@ -29,7 +28,7 @@ buildPythonApplication rec { export LANG="en_US.UTF-8" export LC_ALL="en_US.UTF-8" - nosetests -x + pytest test tests ${python.interpreter} bin/behave -f progress3 --stop --tags='~@xfail' features/ ${python.interpreter} bin/behave -f progress3 --stop --tags='~@xfail' tools/test-features/ diff --git a/pkgs/development/python-modules/bibtexparser/default.nix b/pkgs/development/python-modules/bibtexparser/default.nix index 06d7c689e659..05ee0ea9553b 100644 --- a/pkgs/development/python-modules/bibtexparser/default.nix +++ b/pkgs/development/python-modules/bibtexparser/default.nix @@ -1,10 +1,7 @@ { lib -, buildPythonPackage -, fetchFromGitHub -, pyparsing -, future -, nose -, glibcLocales +, buildPythonPackage, fetchFromGitHub +, future, pyparsing +, glibcLocales, nose }: buildPythonPackage rec { @@ -19,7 +16,7 @@ buildPythonPackage rec { sha256 = "0lmlarkfbq2hp1wa04a62245jr2mqizqsdlgilj5aq6vy92gr6ai"; }; - propagatedBuildInputs = [ pyparsing future ]; + propagatedBuildInputs = [ future pyparsing ]; checkInputs = [ nose glibcLocales ]; diff --git a/pkgs/development/python-modules/parse-type/default.nix b/pkgs/development/python-modules/parse-type/default.nix index 8c927e4aed03..ac150af4b782 100644 --- a/pkgs/development/python-modules/parse-type/default.nix +++ b/pkgs/development/python-modules/parse-type/default.nix @@ -6,21 +6,13 @@ buildPythonPackage rec { pname = "parse_type"; - version = "0.3.4"; + version = "0.4.2"; src = fetchPypi { inherit pname version; - sha256 = "3dd0b323bafcb8c25e000ce5589042a1c99cba9c3bec77b9f591e46bc9606147"; + sha256 = "0g3b6gsdwnm8dpkh2vn34q6dzxm9gl908ggyzcv31n9xbp3vv5pm"; }; - patches = [ - (fetchpatch { - name = "python-3.5-tests-compat.patch"; - url = "https://github.com/jenisys/parse_type/pull/4.patch"; - sha256 = "1mmn2fxss6q3qhaydd4s4v8vjgvgkg41v1vcivrzdsvgsc3npg7m"; - }) - ]; - checkInputs = [ pytest pytestrunner ]; propagatedBuildInputs = [ parse six ] ++ stdenv.lib.optional (pythonOlder "3.4") enum34; diff --git a/pkgs/development/python-modules/parse/default.nix b/pkgs/development/python-modules/parse/default.nix index eaca200e2bff..36153c102290 100644 --- a/pkgs/development/python-modules/parse/default.nix +++ b/pkgs/development/python-modules/parse/default.nix @@ -3,22 +3,14 @@ }: buildPythonPackage rec { pname = "parse"; - version = "1.6.6"; + version = "1.8.2"; name = "${pname}-${version}"; src = fetchPypi { inherit pname version; - sha256 = "71435aaac494e08cec76de646de2aab8392c114e56fe3f81c565ecc7eb886178"; + sha256 = "1lj9v1q4imszyhvipb6drsm3xdl35nan011mqxxas1yaypixsj40"; }; - patches = [ - (fetchpatch { - name = "python-3.5-tests-compat.patch"; - url = "https://github.com/r1chardj0n3s/parse/pull/34.patch"; - sha256 = "16iicgkf3lwivmdnp3xkq4n87wjmr3nb77z8mwz67b7by9nnp3jg"; - }) - ]; - checkPhase = '' ${python.interpreter} test_parse.py ''; |