Commit Graph

20 Commits

Author SHA1 Message Date
Pavol Rusnak
a4bbfba80d
pkgs/development/python-modules: stdenv.lib -> lib 2021-01-24 01:29:22 +01:00
Profpatsch
4a7f99d55d treewide: with stdenv.lib; in meta -> with lib;
Part of: https://github.com/NixOS/nixpkgs/issues/108938

meta = with stdenv.lib;

is a widely used pattern. We want to slowly remove
the `stdenv.lib` indirection and encourage people
to use `lib` directly. Thus let’s start with the meta
field.

This used a rewriting script to mostly automatically
replace all occurances of this pattern, and add the
`lib` argument to the package header if it doesn’t
exist yet.

The script in its current form is available at
https://cs.tvl.fyi/depot@2f807d7f141068d2d60676a89213eaa5353ca6e0/-/blob/users/Profpatsch/nixpkgs-rewriter/default.nix
2021-01-11 10:38:22 +01:00
Frederik Rietdijk
22d08acfa1 python3Packages.httpretty: 1.0.2 -> 1.0.3 2020-12-01 14:44:13 +01:00
Frederik Rietdijk
c1faf4efd8 python3.pkgs.httpretty: only run unit tests 2020-06-11 10:00:26 +02:00
Frederik Rietdijk
8263989d11 python2.pkgs.httpretty: keep 0.9.7 for python 2 2020-06-11 10:00:26 +02:00
Frederik Rietdijk
10ebfb83ab python: httpretty: 0.9.7 -> 1.0.2 2020-06-11 10:00:00 +02:00
Timo Kaufmann
3757e02434 python.pkgs.httpretty: disable flaky test suite
There are some tests that fail occasionally because the current date
(with second precision) occurs in the output. This is fixed upstream.
I've made this conditional since python updates are often done in an
automated fashion and tests should be re-enabled after the next update.
This avoids the need for human intervention (except for a clean up at
some point in the future).
2020-03-18 11:38:27 -07:00
Klaas van Schelven
c597007cce python.pkgs.httpretty: disable flaky test
As noted upstream: https://github.com/gabrielfalcao/HTTPretty/issues/376
2020-02-22 18:38:21 -08:00
Frederik Rietdijk
4d0c23db68 python: httpretty: 0.9.6 -> 0.9.7 2019-10-18 09:53:58 +02:00
Frederik Rietdijk
b9810814ec python.pkgs.httpretty: disable flaky test 2019-09-08 17:23:04 +02:00
volth
f3282c8d1e treewide: remove unused variables (#63177)
* treewide: remove unused variables

* making ofborg happy
2019-06-16 19:59:05 +00:00
Renaud
9ee1763cb6
pythonPackages.httpretty: disable 2 flaky tests
intermittently failing on all platforms
2019-05-16 14:41:48 +02:00
Renaud
c912002f2c
pythonPackages.httpretty: fix build on aarch64 (#61516)
tests.functional.test_httplib2.test_callback_response
keeps failing on Hydra
+ update meta.homepage
2019-05-15 13:17:05 +02:00
Daiderd Jordan
0622907523
pythonPackages.httpretty: fix darwin sandbox build
The tests use localhost networking and get stuck otherwise.
2019-02-14 20:42:44 +01:00
Frederik Rietdijk
5a3670b83c pythonPackages: fix native / check inputs 2019-01-15 10:16:12 +01:00
Chris Ostrouchov
3e69473974 pythonPackages.httpretty: 0.8.10 -> 0.9.6 2018-12-03 16:50:41 +01:00
Frederik Rietdijk
f7fc606b62 python: httpretty: 0.9.5 -> 0.9.6 2018-12-03 16:50:38 +01:00
Frederik Rietdijk
ab0dc4d10e python: httpretty: 0.8.10 -> 0.9.5 2018-12-03 16:50:31 +01:00
Chris Ostrouchov
dadd754656 pythonPackages.httpretty: refactor move to python-modules 2018-10-18 11:02:23 +02:00
Allen Nelson
db3ffaa8f0 httpretty: working build for python3 2016-04-25 12:01:05 -05:00