Sandro Jäckel
b345e08f5d
python310Packages.bottle: disable timing sensitive test
...
____________________________ TestSendFile.test_ims _____________________________
self = <test.test_sendfile.TestSendFile testMethod=test_ims>
def test_ims(self):
""" SendFile: If-Modified-Since"""
request.environ['HTTP_IF_MODIFIED_SINCE'] = time.strftime("%a, %d %b %Y %H:%M:%S GMT", time.gmtime())
res = static_file(basename, root=root)
self.assertEqual(304, res.status_code)
self.assertEqual(int(os.stat(__file__).st_mtime), parse_date(res.headers['Last-Modified']))
> self.assertAlmostEqual(int(time.time()), parse_date(res.headers['Date']))
E AssertionError: 1680561734 != 1680561733.0 within 7 places (1.0 difference)
test_sendfile.py:78: AssertionError
2023-04-08 17:38:38 +02:00
Martin Weinelt
535fe95820
python310Packages.bottle: Fix tests on darwin
2023-03-04 16:39:47 +01:00
Martin Weinelt
0215034f25
python3.pkgs: Migrate fetchers to use hash
...
when they already rely on SRI hashes.
2023-03-03 23:59:29 +01:00
Martin Weinelt
dedda0d952
python3Packages.bottle: 0.12.23 -> 0.12.24
2023-03-03 23:56:35 +01:00
Guillaume Girol
33afbf39f6
treewide: switch to nativeCheckInputs
...
checkInputs used to be added to nativeBuildInputs. Now we have
nativeCheckInputs to do that instead. Doing this treewide change allows
to keep hashes identical to before the introduction of
nativeCheckInputs.
2023-01-21 12:00:00 +00:00
Martin Weinelt
c43cb4306a
python3Packages.bottle: 0.12.21 -> 0.12.23
2022-09-18 23:57:37 +02:00
Robert Schütz
a4afd6aa1e
python310Packages.bottle: 0.12.19 -> 0.12.21
...
fixes CVE-2022-31799
2022-06-22 19:20:34 +00:00
Pavol Rusnak
a6ce00c50c
treewide: remove stdenv where not needed
2021-01-25 18:31:47 +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
4fec458281
python3Packages.bottle: 0.12.18 -> 0.12.19
2020-12-01 14:44:09 +01:00
Michael Reilly
84cf00f980
treewide: Per RFC45, remove all unquoted URLs
2020-04-10 17:54:53 +01:00
Frederik Rietdijk
6fe277d1c6
python: bottle: 0.12.17 -> 0.12.18
2019-12-15 16:23:14 +01:00
Frederik Rietdijk
805596ab05
python: bottle: 0.12.16 -> 0.12.17
2019-10-18 09:53:56 +02:00
Frederik Rietdijk
ce8490c57f
python: bottle: 0.12.13 -> 0.12.16
2019-01-18 09:37:06 +01:00
Frederik Rietdijk
4e1df2e955
python: bottle: 0.12.11 -> 0.12.13
2018-04-08 11:34:53 +02:00
Elis Hirwing
8f59a8fea6
pythonPackages.bottle: Move to own file
2018-04-04 19:45:58 +02:00