Merge pull request #245763 from NixOS/revert-245440-pin-tomlkit

Revert "pkgs.formats.toml: fix TOML semantics by upgrading tomlkit"

authored by 0x4A6F and committed by GitHub 1fb56074 869d0f85

+4 -35
+2
pkgs/development/python-modules/poetry-core/default.nix
··· 11 11 , pytest-mock 12 12 , pytestCheckHook 13 13 , setuptools 14 + , tomlkit 14 15 , virtualenv 15 16 }: 16 17 ··· 53 54 pytest-mock 54 55 pytestCheckHook 55 56 setuptools 57 + tomlkit 56 58 virtualenv 57 59 ]; 58 60
+2 -6
pkgs/development/python-modules/tomlkit/default.nix
··· 6 6 , functools32, typing ? null 7 7 , pytestCheckHook 8 8 , pyaml 9 - , poetry-core 10 9 }: 11 10 12 11 buildPythonPackage rec { 13 12 pname = "tomlkit"; 14 - version = "0.11.8"; 15 - format = "pyproject"; 13 + version = "0.11.6"; 16 14 17 15 src = fetchPypi { 18 16 inherit pname version; 19 - hash = "sha256-kzD8f6odtntUGyjmIBjBfSC+czF30pChOyTGLRYU4MM="; 17 + hash = "sha256-cblS5XIWiJN/sCz501TbzweFBmFJ0oVeRFMevdK2XXM="; 20 18 }; 21 - 22 - nativeBuildInputs = [ poetry-core ]; 23 19 24 20 propagatedBuildInputs = 25 21 lib.optionals isPy27 [ enum34 functools32 ]
-29
pkgs/pkgs-lib/tests/formats.nix
··· 219 219 ''; 220 220 }; 221 221 222 - # see https://github.com/NixOS/nixpkgs/issues/237521 for this particular test 223 - testTomlSemantics = { 224 - drv = evalFormat formats.toml {} { 225 - processors = { 226 - override = [ 227 - { tags = { cluster = "staging"; }; } 228 - ]; 229 - rename = [ 230 - { 231 - replace = [ 232 - { dest = "ceph_telegraf_check"; measurement = "exec"; } 233 - ]; 234 - } 235 - ]; 236 - }; 237 - }; 238 - expected = '' 239 - [processors] 240 - [[processors.override]] 241 - [processors.override.tags] 242 - cluster = "staging" 243 - 244 - [[processors.rename]] 245 - [[processors.rename.replace]] 246 - dest = "ceph_telegraf_check" 247 - measurement = "exec" 248 - ''; 249 - }; 250 - 251 222 # This test is responsible for 252 223 # 1. testing type coercions 253 224 # 2. providing a more readable example test