267252 Commits

Author SHA1 Message Date
Andreas Rammhold
16d7d40b8a
pythonPackages.psutil: disable tests due to test failures
Tests are very flaky and depend on the exact execution environment. It
is weird that it has gone well so far but started causing issues across
many of my builders.

Also started rewording some of the comments in the expression so
hopefully the next person looking at this has an easier time to
understand it.

On systems where swap is available and fully used tests fail like this:

>    def test_swap_memory(self):
>         mem = psutil.swap_memory()
>         self.assertEqual(
>             mem._fields, ('total', 'used', 'free', 'percent', 'sin', 'sout'))
>
>         assert mem.total >= 0, mem
>         assert mem.used >= 0, mem
>         if mem.total > 0:
>             # likely a system with no swap partition
> >           assert mem.free > 0, mem
> E           AssertionError: sswap(total=1048567808, used=1048567808, free=0, percent=100.0, sin=50741248, sout=1316823040)
> E           assert 0 > 0
> E            +  where 0 = sswap(total=1048567808, used=1048567808, free=0, percent=100.0, sin=50741248, sout=1316823040).free

Upstream bug report: https://github.com/giampaolo/psutil/issues/1911

Systems where /proc/mounts doesn't expose any mount points to build the
tests fail like this:

>     def test_disk_partitions(self):
>             self.assertIsInstance(nt.device, str)
>         def check_ntuple(nt):
>             self.assertIsInstance(nt.mountpoint, str)
>             self.assertIsInstance(nt.fstype, str)
>             self.assertIsInstance(nt.opts, str)
>             self.assertIsInstance(nt.maxfile, (int, type(None)))
>             self.assertIsInstance(nt.maxpath, (int, type(None)))
>                 self.assertGreater(nt.maxfile, 0)
>             if nt.maxfile is not None and not GITHUB_ACTIONS:
>             if nt.maxpath is not None:
>                 self.assertGreater(nt.maxpath, 0)
>
>         # all = False
>         ls = psutil.disk_partitions(all=False)
> >       self.assertTrue(ls, msg=ls)
> E       AssertionError: [] is not true : []

Upstream bug report: https://github.com/giampaolo/psutil/issues/1912
2021-01-31 20:30:58 +01:00
Andreas Rammhold
b9cc20e0fd
autoconf: use autoconf 2.71 by default 2021-01-31 12:10:18 +01:00
Andreas Rammhold
10efa49863
autoconf271: init at 2.71
This is a newer version of autoconf that fixes a bunch of issues that occured
since the last autoconf release and they also fixed one issue with clang that I
ran into while trying out Nix on aarch64-darwin [1].

[1] http://git.savannah.gnu.org/gitweb/?p=autoconf.git;a=commit;h=de36ccf6637974f4faba3747813d38ee46e77d69
2021-01-31 12:10:17 +01:00
Robert Schütz
d98e25624f
Merge pull request #110474 from dotlambda/virtualenv-20.3.1
[staging] pythonPackages.virtualenv: 20.2.1 -> 20.3.1
2021-01-31 09:30:21 +01:00
Robert Schütz
6ab446cf9e python3Packages.freezegun: 1.0.0 -> 1.1.0 2021-01-31 09:27:05 +01:00
Fabian Affolter
e975b75082 python3Packages.virtualenv: enable tests 2021-01-31 09:27:01 +01:00
github-actions[bot]
f92395cf3c
Merge staging-next into staging 2021-01-31 06:19:43 +00:00
github-actions[bot]
3eaa544be6
Merge master into staging-next 2021-01-31 06:19:40 +00:00
Mario Rodas
b76d44b961
Merge pull request #111378 from r-ryantm/auto-update/python3.7-apache-libcloud
python37Packages.libcloud: 3.3.0 -> 3.3.1
2021-01-30 22:57:17 -05:00
Mario Rodas
34d4d45ca5
Merge pull request #111371 from austinbutler/libjpeg-sha-fix
libjpeg: update sha256
2021-01-30 22:36:15 -05:00
Mario Rodas
a34e53796c
Merge pull request #111379 from r-ryantm/auto-update/pgrouting
postgresql11Packages.pgrouting: 3.1.2 -> 3.1.3
2021-01-30 22:29:36 -05:00
John Ericson
6717246373
Merge pull request #111284 from siraben/remove-new-stdenv-lib
stdenv: warn about use of inherited lib
2021-01-30 22:28:05 -05:00
Dmitry Kalinkin
8468a9878c
Merge pull request #87856 from eadwu/kernel/same-kernel
nixos/kernel.nix: ensure same kernel is used
2021-01-30 22:13:02 -05:00
Sandro
b81d40351b
Merge pull request #111286 from greizgh/update-ttrss
tt-rss: 2019-01-29 -> 2021-01-29
2021-01-31 04:12:36 +01:00
Sandro
3cc0857e68
Merge pull request #111307 from dotlambda/mbedtls-2.16.9
mbedtls: 2.16.3 -> 2.16.9
2021-01-31 04:10:34 +01:00
Dmitry Kalinkin
efda1be800
Merge pull request #99314 from eadwu/clight/fix-config-file
nixos/clight: fix config file generation
2021-01-30 22:10:13 -05:00
Sandro
1fd35ff65b
Merge pull request #111311 from lorenzleutgeb/gradle-6.8.1 2021-01-31 04:10:01 +01:00
Dmitry Kalinkin
161b9b2436
Merge pull request #99323 from eadwu/nvidia/hardware.nvidia.package
nixos: hardware.nvidia.package option for selecting nvidia package
2021-01-30 22:08:37 -05:00
Mario Rodas
638e784bda
Merge pull request #111360 from r-ryantm/auto-update/osinfo-db
osinfo-db: 20201119 -> 20201218
2021-01-30 22:08:02 -05:00
Mario Rodas
2ed9e1e4ad
Merge pull request #111377 from r-ryantm/auto-update/plpgsql_check
postgresql11Packages.plpgsql_check: 1.15.1 -> 1.15.2
2021-01-30 22:06:05 -05:00
Ben Siraphob
227693ed69
Update pkgs/stdenv/generic/default.nix
Co-authored-by: John Ericson <git@JohnEricson.me>
2021-01-31 03:03:11 +00:00
R. RyanTM
afb84146cf kdiff3: 1.8.4 -> 1.8.5 2021-01-31 11:02:02 +08:00
Elias Probst
27da11972d nixos/restic: correct location of cache directory
By default, restic determines the location of the cache based on the XDG
base dir specification, which is `~/.cache/restic` when the environment
variable `$XDG_CACHE_HOME` isn't set.
As restic is executed as root by default, this resulted in the cache being
written to `/root/.cache/restic`, which is not quite right for a system
service and also meant, multiple backup services would use the same cache
directory - potentially causing issues with locking, data corruption,
etc.

The goal was to ensure, restic uses the correct cache location for a
system service - one cache per backup specification, using `/var/cache`
as the base directory for it.

systemd sets the environment variable `$CACHE_DIRECTORY` once
`CacheDirectory=` is defined, but restic doesn't change its behavior
based on the presence of this environment variable.
Instead, the specifier [1] `%C` can be used to point restic explicitly
towards the correct cache location using the `--cache-dir` argument.

Furthermore, the `CacheDirectoryMode=` was set to `0700`, as the default
of `0755` is far too open in this case, as the cache might contain
sensitive data.

[1] https://www.freedesktop.org/software/systemd/man/systemd.unit.html#Specifiers
2021-01-30 18:24:51 -08:00
Stig
68d7178c1b
Merge pull request #110908 from archseer/master
Fix NixOS cross compilation: Revert "[nix-update-cpan] perlPackages.HTTPDaemon: 6.01 -> 6.12"
2021-01-31 03:16:34 +01:00
Aaron Andersen
1fb2d04c26
Merge pull request #111359 from aanderse/msodbcsql17
unixODBCDrivers.msodbcsql: 17-17.5.1.1-1 -> 17.7.1.1-1
2021-01-30 21:13:17 -05:00
Silvan Mosberger
ba6292fb5c
Merge pull request #110201 from hartwork/update-git-big-picture
git-big-picture: 1.0.0 -> 1.1.1
2021-01-31 03:03:38 +01:00
Mario Rodas
ada45d2a9b postgresql11Packages.pgrouting: update license 2021-01-31 01:55:32 +00:00
R. RyanTM
38df477aa7 postgresql11Packages.pgrouting: 3.1.2 -> 3.1.3 2021-01-31 01:55:31 +00:00
Mario Rodas
463842d447 python37Packages.libcloud: add pythonImportsCheck 2021-01-30 20:52:10 -05:00
Mario Rodas
c473d7f365 python37Packages.libcloud: update meta 2021-01-30 20:51:10 -05:00
R. RyanTM
5a825670b3 python37Packages.libcloud: 3.3.0 -> 3.3.1 2021-01-31 01:51:09 +00:00
Robert Scott
3682b2d9af
Merge pull request #111362 from risicle/ris-rich-9.10.0
pythonPackages.rich: 9.1.0 -> 9.10.0
2021-01-31 01:50:45 +00:00
R. RyanTM
999612636f postgresql11Packages.plpgsql_check: 1.15.1 -> 1.15.2 2021-01-31 01:34:04 +00:00
Stig
b83e3e2463
Merge pull request #111222 from edef1c/math-planepath-129
perlPackages.MathPlanePath: 127 -> 129
2021-01-31 02:27:45 +01:00
github-actions[bot]
81337921f5
Merge staging-next into staging 2021-01-31 00:46:33 +00:00
github-actions[bot]
45aaf5e0c8
Merge master into staging-next 2021-01-31 00:46:31 +00:00
Austin Butler
d4276b67cd libjpeg: update sha256 2021-01-30 16:37:21 -08:00
Matthew Bauer
048e0d3f87
Merge pull request #108518 from 4z3/env-vars
stdenv: mute errors when failing to write env-vars
2021-01-30 18:37:10 -06:00
Dmitry Kalinkin
84b3d08ba6
Merge pull request #111057 from veprbl/pr/darwin_CF_fix_sandboxing
darwin.CF: fix sandboxed build
2021-01-30 19:30:51 -05:00
Ryan Mulligan
5b0e5424d4
Merge pull request #111338 from r-ryantm/auto-update/metamath
metamath: 0.194 -> 0.196
2021-01-30 15:53:31 -08:00
Ryan Mulligan
3bd2a6c3ab
Merge pull request #111144 from r-ryantm/auto-update/avocode
avocode: 4.11.0 -> 4.11.1
2021-01-30 15:51:29 -08:00
Sandro
d0dc21f539
Merge pull request #110824 from SuperSandro2000/fix-collection5 2021-01-31 00:35:55 +01:00
Aaron Andersen
e6bfaee09f unixODBCDrivers.msodbcsql: 17-17.5.1.1-1 -> 17.7.1.1-1 2021-01-30 18:20:24 -05:00
R. RyanTM
c06068bc1e osinfo-db: 20201119 -> 20201218 2021-01-30 23:19:51 +00:00
Sebastian Pipping
201b24adc5 git-big-picture: 1.0.0 -> 1.1.1
- Migrate from fetchFromGitHub to fetchPypi to ease SHA256 handling
- Drop tests (while not included with PyPI releases)
- Install a man page (as shipped by upstream)
- Move buildInputs to runtime only

Co-Authored-By: Silvan Mosberger <contact@infinisil.com>
2021-01-31 00:14:30 +01:00
Robert Scott
3802fefa62 pythonPackages.rich: 9.1.0 -> 9.10.0 2021-01-30 23:12:45 +00:00
Daniel Schaefer
b85a0ba2c2
Merge pull request #111332 from guserav/horizon-eda
horizon-eda: 1.3.0 -> 1.4.0
2021-01-30 23:21:51 +01:00
Mario Rodas
9fe5260bcc
Merge pull request #111323 from r-ryantm/auto-update/rdkafka
rdkafka: 1.5.3 -> 1.6.0
2021-01-30 17:18:47 -05:00
Mario Rodas
997bfa8c84
Merge pull request #111198 from r-ryantm/auto-update/geos
geos: 3.8.1 -> 3.9.0
2021-01-30 17:18:00 -05:00
Mario Rodas
bed0b6a080
Merge pull request #111353 from r-ryantm/auto-update/nushell
nushell: 0.25.1 -> 0.26.0
2021-01-30 17:17:16 -05:00