Skip to content

[BUG] missing dependencies for proxy plugin #25

Closed

Description

@Noki

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

In the current build the dependencies for socks5 are missing and therefore the proxy plugin (https://flexget.com/en/Plugins/proxy) does not work with socks5.

Image

Expected Behavior

The required dependencies should be added so socks5 support is available for the proxy plugin.

pip install pysocks requests[socks] urllib3[socks] should do the job.

Steps To Reproduce

Setup a flexget task using a socks5 proxy

proxy: 'socks5h://proxy:9150'

Environment

- OS: Synology DSM

CPU architecture

x86-64

Docker creation

As part of a docker-compose file


  flexget:
    image: lscr.io/linuxserver/flexget:latest
    container_name: flexget
    environment:
      - PUID=1031
      - PGID=100
      - TZ=Europe/Berlin
      - FG_LOG_LEVEL=info
      - FG_LOG_FILE=/config/flexget.log
      - FG_CONFIG_FILE=/config/.flexget/config.yml
      - FG_WEBUI_PASSWORD=XXX
    entrypoint: /config/entrypoint.sh
    volumes:
      - /volume1/docker/bittorrent/flexget/config:/config
      - /volume1/docker/bittorrent/flexget/data:/data
      - /volume1/video:/data/video
      - /volume1/docker/bittorrent/flexget/downloads:/downloads
    ports:
      - "5050:5050"
    restart: unless-stopped
    networks:
      - torrent

Container logs

-

Activity

  1. github-actions commented on Feb 6, 2025

    @github-actions

    Thanks for opening your first issue here! Be sure to follow the relevant issue templates, or risk having this issue marked as invalid.

  2. Noki commented on Feb 6, 2025

    @Noki
    Author

    Note: I used a custom entrypoint to add the missing dependencies previously, but it would be really good to just have them by default.

  3. LinuxServer-CI commented on Mar 8, 2025

    @LinuxServer-CI
    Contributor

    This issue has been automatically marked as stale because it has not had recent activity. This might be due to missing feedback from OP. It will be closed if no further activity occurs. Thank you for your contributions.

  4. Noki commented on Mar 9, 2025

    @Noki
    Author

    This issue still persists...

  5. Stiefmeister commented on Mar 14, 2025

    @Stiefmeister

    Can confirm that this issue is still present, even when using ENV variables:

    • DOCKER_MODS=linuxserver/mods:universal-package-install
    • INSTALL_PIP_PACKAGES=py3-rarfile|py3-pysocks|ftputil

    So all plugins requiring additional python packages are affected and do not work anymore:
    https://flexget.com/en/Plugins/proxy
    https://flexget.com/Plugins/ftp_list
    https://flexget.com/Plugins/decompress

    Flexget will complain that packages/dependencies are missing.

  6. vivodi commented on Mar 17, 2025

    @vivodi

    You might consider using the official Docker image maintained by the FlexGet team. If you encounter any issues, you can report them directly to the FlexGet repository: FlexGet Issues.

    Using the official image ensures you receive bug fixes more quickly.

  7. Stiefmeister commented on Mar 25, 2025

    @Stiefmeister

    You might consider using the official Docker image maintained by the FlexGet team. If you encounter any issues, you can report them directly to the FlexGet repository: FlexGet Issues.

    Using the official image ensures you receive bug fixes more quickly.

    Sadly same issue with official image -> ftp_list is not working - stating missing dependency 'ftputil' - even though ftputil is installed

  8. vivodi commented on Mar 25, 2025

    @vivodi

    You might consider using the official Docker image maintained by the FlexGet team. If you encounter any issues, you can report them directly to the FlexGet repository: FlexGet Issues.
    Using the official image ensures you receive bug fixes more quickly.

    Sadly same issue with official image -> ftp_list is not working - stating missing dependency 'ftputil' - even though ftputil is installed

    I’ve submitted a PR that might resolve your issue if it gets merged.

  9. Stiefmeister commented on Mar 26, 2025

    @Stiefmeister

    When switching back to versions 3.11 / 3.12 dependencies are not an issue, so it is relatedonly to newer Python / Flexget versions

  10. LinuxServer-CI commented on Apr 25, 2025

    @LinuxServer-CI
    Contributor

    This issue has been automatically marked as stale because it has not had recent activity. This might be due to missing feedback from OP. It will be closed if no further activity occurs. Thank you for your contributions.

  11. 9 remaining items

  12. LinuxServer-CI commented on Sep 16, 2025

    @LinuxServer-CI
    Contributor

    This issue has been automatically marked as stale because it has not had recent activity. This might be due to missing feedback from OP. It will be closed if no further activity occurs. Thank you for your contributions.

  13. vivodi commented on Sep 16, 2025

    @vivodi

    This issue persists.

  14. LinuxServer-CI commented on Oct 17, 2025

    @LinuxServer-CI
    Contributor

    This issue has been automatically marked as stale because it has not had recent activity. This might be due to missing feedback from OP. It will be closed if no further activity occurs. Thank you for your contributions.

  15. vivodi commented on Oct 17, 2025

    @vivodi
  16. aptalca commented on Oct 17, 2025

    @aptalca
    Member

    I just saw this issue.

    At first glance, it seems to be incompatibilites between pip and uv.

    Unfortunately many upstream projects are switching to uv because it installs packages a lot faster. However, it is not really a drop in replacement for pip as it lacks many features that pip has. Our universal package installer mod uses pip to install packages runtime.

    I personally had to deal with uv first in our Home Assistant image and had to resort to some ugly hacks to make runtime install of packages work (HACS plugins).

    When I get a chance, I'll look at this image to figure out a solution. Perhaps the universal package installer needs some compatibility baked in for uv.

  17. aptalca commented on Oct 17, 2025

    @aptalca
    Member

    Well, I wish someone posted a container log. We could have identified and fixed this very quickly.

    The container is just missing pip as uv venv /lsiopy creates the venv without pip. It's an easy fix.

  18. aptalca commented on Oct 17, 2025

    @aptalca
    Member

    PR #28 will fix the universal-package-install mod compatibility so it can install pip packages.

    Any plugin deps you need can be installed via that mod.

    @Stiefmeister in your post I noticed that you were using incorrect package names. The INSTALL_PIP_PACKAGES var needs to contain python package names (you can check on pypi). There is a separate var for os repo package names. For instance, py3-pysocks is not a python package name, it should be pysocks.

  19. moved this from Issues to Done in Issue & PR Trackeron Oct 17, 2025
  20. LinuxServer-CI commented on Nov 17, 2025

    @LinuxServer-CI
    Contributor

    This issue is locked due to inactivity

  21. locked as resolved and limited conversation to collaborators on Nov 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions