python310Packages.dateparser 0 -> 1 attrpath: python310Packages.dateparser 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 [updateScript] [updateScript] Success [updateScript] this derivation will be built: /nix/store/wf0x2dwm69rqyfb2zxj6xcrqm1j2y27r-packages.json.drv building '/nix/store/wf0x2dwm69rqyfb2zxj6xcrqm1j2y27r-packages.json.drv'... Going to be running update for following packages: - python3.10-dateparser-1.1.4 Press Enter key to continue... Running update for: - python3.10-dateparser-1.1.4: UPDATING ... - python3.10-dateparser-1.1.4: DONE. Packages updated! [quotedUrls] [quotedUrls] nothing found to replace Diff after rewrites: diff --git a/pkgs/development/python-modules/dateparser/default.nix b/pkgs/development/python-modules/dateparser/default.nix index 950afaabb8d..e43e8806d65 100644 --- a/pkgs/development/python-modules/dateparser/default.nix +++ b/pkgs/development/python-modules/dateparser/default.nix @@ -21,7 +21,7 @@ buildPythonPackage rec { pname = "dateparser"; - version = "1.1.4"; + version = "1.1.5"; disabled = pythonOlder "3.7"; @@ -30,8 +30,8 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "scrapinghub"; repo = "dateparser"; - rev = "v${version}"; - sha256 = "sha256-r13WNI+T2NtTwjnGOqX3ZOqPhvr8fBdXGULW7IXszlo="; + rev = "refs/tags/v${version}"; + sha256 = "sha256-uA49pRlmSWWIOjXa1QDjjuTGMKi25GfokQo4VQsBMlc="; }; propagatedBuildInputs = [ No auto update branch exists Old version 1.1.4" not present in staging derivation file with contents: { lib , buildPythonPackage , pythonOlder , fetchFromGitHub , fetchpatch , python-dateutil , pytz , regex , tzlocal , hijri-converter , convertdate , fasttext , langdetect , parameterized , pytestCheckHook , gitpython , parsel , requests , ruamel-yaml }: buildPythonPackage rec { pname = "dateparser"; version = "1.1.5"; disabled = pythonOlder "3.7"; format = "setuptools"; src = fetchFromGitHub { owner = "scrapinghub"; repo = "dateparser"; rev = "refs/tags/v${version}"; sha256 = "sha256-uA49pRlmSWWIOjXa1QDjjuTGMKi25GfokQo4VQsBMlc="; }; propagatedBuildInputs = [ python-dateutil pytz regex tzlocal ]; passthru.optional-dependencies = { calendars = [ hijri-converter convertdate ]; fasttext = [ fasttext ]; langdetect = [ langdetect ]; }; checkInputs = [ parameterized pytestCheckHook gitpython parsel requests ruamel-yaml ] ++ lib.flatten (lib.attrValues passthru.optional-dependencies); preCheck = '' export HOME="$TEMPDIR" ''; # Upstream only runs the tests in tests/ in CI, others use git clone pytestFlagsArray = [ "tests" ]; disabledTests = [ # access network "test_custom_language_detect_fast_text_0" "test_custom_language_detect_fast_text_1" ]; pythonImportsCheck = [ "dateparser" ]; meta = with lib; { changelog = "https://github.com/scrapinghub/dateparser/blob/${src.rev}/HISTORY.rst"; description = "Date parsing library designed to parse dates from HTML pages"; homepage = "https://github.com/scrapinghub/dateparser"; license = licenses.bsd3; maintainers = with maintainers; [ dotlambda ]; }; }