diff --git a/pkgs/development/python-modules/scrapy-fake-useragent/default.nix b/pkgs/development/python-modules/scrapy-fake-useragent/default.nix deleted file mode 100644 index cd34f8771591..000000000000 --- a/pkgs/development/python-modules/scrapy-fake-useragent/default.nix +++ /dev/null @@ -1,60 +0,0 @@ -{ - lib, - buildPythonPackage, - setuptools, - fake-useragent, - faker, - fetchFromGitHub, - pytest-cov-stub, - pytest-mock, - pytestCheckHook, - scrapy, -}: - -buildPythonPackage { - pname = "scrapy-fake-useragent"; - version = "1.4.4"; - pyproject = true; - - # PyPi tarball is corrupted - src = fetchFromGitHub { - owner = "alecxe"; - repo = "scrapy-fake-useragent"; - rev = "59c20d38c58c76618164760d546aa5b989a79b8b"; # no tags - hash = "sha256-khQMOQrrdHokvNqfaMWqXV7AzwGxTuxaLsZoLkNpZ3k="; - }; - - postPatch = '' - substituteInPlace pytest.ini \ - --replace-fail " --fulltrace" "" - ''; - - build-system = [ setuptools ]; - - dependencies = [ - fake-useragent - faker - ]; - - nativeCheckInputs = [ - pytest-cov-stub - pytest-mock - pytestCheckHook - scrapy - ]; - - pythonImportsCheck = [ "scrapy_fake_useragent" ]; - - disabledTests = [ - # AttributeError: 'RetryUserAgentMiddleware' object has no attribute 'EXCEPTIONS_TO_RETRY' - "test_random_ua_set_on_exception" - ]; - - meta = { - description = "Random User-Agent middleware based on fake-useragent"; - homepage = "https://github.com/alecxe/scrapy-fake-useragent"; - changelog = "https://github.com/alecxe/scrapy-fake-useragent/blob/master/CHANGELOG.rst"; - license = lib.licenses.mit; - maintainers = [ ]; - }; -} diff --git a/pkgs/top-level/python-aliases.nix b/pkgs/top-level/python-aliases.nix index 55eb3d572c60..68eccfcaf9fb 100644 --- a/pkgs/top-level/python-aliases.nix +++ b/pkgs/top-level/python-aliases.nix @@ -446,6 +446,7 @@ mapAliases { schemainspect = throw "schemainspect has been removed because it has transitively been marked broken since May 2024, and is unmaintained upstream."; # Added 2025-10-11 scikitimage = throw "'scikitimage' has been renamed to/replaced by 'scikit-image'"; # Converted to throw 2025-10-29 scikitlearn = throw "'scikitlearn' has been renamed to/replaced by 'scikit-learn'"; # Converted to throw 2025-10-29 + scrapy-fake-useragent = throw "scrapy-fake-useragent has been removed because it is incompatible with scrapy >= 2.14"; # Added 2026-01-14 seaserv = throw "seaserv has been removed as it is unmaintained"; # Added 2025-08-21 sentry-sdk_2 = throw "'sentry-sdk_2' has been renamed to/replaced by 'sentry-sdk'"; # Converted to throw 2025-10-29 setuptools_dso = throw "'setuptools_dso' has been renamed to/replaced by 'setuptools-dso'"; # Converted to throw 2025-10-29 diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index a4895fcee920..20072a4660b0 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -16985,8 +16985,6 @@ self: super: with self; { scrapy-deltafetch = callPackage ../development/python-modules/scrapy-deltafetch { }; - scrapy-fake-useragent = callPackage ../development/python-modules/scrapy-fake-useragent { }; - scrapy-splash = callPackage ../development/python-modules/scrapy-splash { }; screed = callPackage ../development/python-modules/screed { };