python311Packages.urllib3 2.0.7 -> 2.1.0 https://repology.org/project/python:urllib3/versions attrpath: python311Packages.urllib3 Checking auto update branch... [version] [version] skipping because derivation has updateScript [rustCrateVersion] [rustCrateVersion] No cargoSha256 or cargoHash found [golangModuleVersion] [golangModuleVersion] Not a buildGoModule package with vendorSha256 or vendorHash [npmDepsVersion] [npmDepsVersion] No npmDepsHash [updateScript] [updateScript] Success [updateScript] this derivation will be built: /nix/store/b529lp9ki060sdrkg88caz9mmyl8n7gm-packages.json.drv building '/nix/store/b529lp9ki060sdrkg88caz9mmyl8n7gm-packages.json.drv'... Going to be running update for following packages: - python3.11-urllib3-2.0.7 Press Enter key to continue... Running update for: - python3.11-urllib3-2.0.7: UPDATING ... - python3.11-urllib3-2.0.7: DONE. Packages updated! Diff after rewrites: diff --git a/pkgs/development/python-modules/urllib3/default.nix b/pkgs/development/python-modules/urllib3/default.nix index 7a374f7c0c2c..0365095ede1a 100644 --- a/pkgs/development/python-modules/urllib3/default.nix +++ b/pkgs/development/python-modules/urllib3/default.nix @@ -20,12 +20,12 @@ let self = buildPythonPackage rec { pname = "urllib3"; - version = "2.0.7"; + version = "2.1.0"; pyproject = true; src = fetchPypi { inherit pname version; - hash = "sha256-yX394fe9Q6ccjSpY42npsr9pLRM06p+crlWt19DdD4Q="; + hash = "sha256-33qor7AUj6eEiOeJmyxZtfT/z6gubFTMud03wde1LVQ="; }; nativeBuildInputs = [ No auto update branch exists Old version 2.0.7" not present in staging derivation file with contents: { lib , buildPythonPackage , fetchPypi , isPyPy # build-system , hatchling # optional-dependencies , brotli , brotlicffi , pysocks # tests , backports-zoneinfo , pytestCheckHook , pytest-timeout , pythonOlder , tornado , trustme }: let self = buildPythonPackage rec { pname = "urllib3"; version = "2.1.0"; pyproject = true; src = fetchPypi { inherit pname version; hash = "sha256-33qor7AUj6eEiOeJmyxZtfT/z6gubFTMud03wde1LVQ="; }; nativeBuildInputs = [ hatchling ]; passthru.optional-dependencies = { brotli = if isPyPy then [ brotlicffi ] else [ brotli ]; socks = [ pysocks ]; }; nativeCheckInputs = [ pytest-timeout pytestCheckHook tornado trustme ] ++ lib.optionals (pythonOlder "3.9") [ backports-zoneinfo ] ++ lib.flatten (builtins.attrValues passthru.optional-dependencies); # Tests in urllib3 are mostly timeout-based instead of event-based and # are therefore inherently flaky. On your own machine, the tests will # typically build fine, but on a loaded cluster such as Hydra random # timeouts will occur. # # The urllib3 test suite has two different timeouts in their test suite # (see `test/__init__.py`): # - SHORT_TIMEOUT # - LONG_TIMEOUT # When CI is in the env, LONG_TIMEOUT will be significantly increased. # Still, failures can occur and for that reason tests are disabled. doCheck = false; passthru.tests.pytest = self.overridePythonAttrs (_: { doCheck = true; }); preCheck = '' export CI # Increases LONG_TIMEOUT ''; pythonImportsCheck = [ "urllib3" ]; meta = with lib; { description = "Powerful, user-friendly HTTP client for Python"; homepage = "https://github.com/urllib3/urllib3"; changelog = "https://github.com/urllib3/urllib3/blob/${version}/CHANGES.rst"; license = licenses.mit; maintainers = with maintainers; [ fab ]; }; }; in self