Skip to content
This repository was archived by the owner on Oct 3, 2025. It is now read-only.
This repository was archived by the owner on Oct 3, 2025. It is now read-only.

VCS support in requirements.txt #2

@fopina

Description

@fopina

Confirmation

  • My issue isn't already found on the issue tracker.
  • I have replicated my issue using the latest version of the provider and it is still present.

Related software versions.

ghcr.io/surface-security/compile-requirements:4

Affected resource(s)

  • compile-requirements

Link to debug output

.

Panic output

No response

Expected output

(the resulting requirements.txt to contain)

django-notification-sender[slack] @ git+https://github.com/surface-security/django-notification-sender.git@a396f406ac93e6e21e3e7238c47a705c4be9eff3#egg=django-notification-sender"

Actual output

WARNING:__main__:django-notification-sender[slack]@ git+https://github.com/surface-security/django-notification-sender.git@a396f406ac93e6e21e3e7238c47a705c4be9eff3#egg=django-notification-sender" from git+https://github.com/surface-security/django-notification-sender.git@a396f406ac93e6e21e3e7238c47a705c4be9eff3#egg=django-notification-sender" (from -r /app/requirements.txt (line 22)) is not pinned to (a) specific version(s)
WARNING:__main__:django-notification-sender[slack]@ git+https://github.com/surface-security/django-notification-sender.git@a396f406ac93e6e21e3e7238c47a705c4be9eff3#egg=django-notification-sender" from git+https://github.com/surface-security/django-notification-sender.git@a396f406ac93e6e21e3e7238c47a705c4be9eff3#egg=django-notification-sender" (from -r /app/requirements.txt (line 22)) is not pinned to (a) specific version(s)
WARNING:__main__:django-notification-sender[slack]@ git+https://github.com/surface-security/django-notification-sender.git@a396f406ac93e6e21e3e7238c47a705c4be9eff3#egg=django-notification-sender" from git+https://github.com/surface-security/django-notification-sender.git@a396f406ac93e6e21e3e7238c47a705c4be9eff3#egg=django-notification-sender" (from -r /app/requirements.txt (line 22)) is not pinned to (a) specific version(s)
...
git+https://github.com/surface-security/django-notification-sender.git@a396f406ac93e6e21e3e7238c47a705c4be9eff3#egg=django-notification-sender"

Steps to reproduce

  1. Add django-notification-sender[slack] @ git+https://github.com/surface-security/django-notification-sender.git@a396f406ac93e6e21e3e7238c47a705c4be9eff3#egg=django-notification-sender" to requirements.txt
  2. Run docker run --rm -v $(pwd):/app ghcr.io/surface-security/compile-requirements:4 /app/requirements.txt /app/requirements_prod.txt

Additional factoids

Using the old format is a possible workaround

git+https://github.com/surface-security/django-notification-sender.git@a396f406ac93e6e21e3e7238c47a705c4be9eff3#egg=django-notification-sender[slack]

References

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions