Poesie: setze env POETRY_REPOSITORIES_*_URL mit Teil-URL von GitlabPython

Python-Programme
Anonymous
 Poesie: setze env POETRY_REPOSITORIES_*_URL mit Teil-URL von Gitlab

Post by Anonymous »

Beispiel:

Code: Select all

# pyproject.toml

my-package = { git = "https://gitlab.com/group/my-package.git" }

Code: Select all

# envs
export POETRY_HTTP_BASIC_GITLAB_PASSWORD="xxx"
export POETRY_HTTP_BASIC_GITLAB_USERNAME="xxx"
export POETRY_REPOSITORIES_GITLAB_URL="https://gitlab.com/group/my-package.git"

poetry install # => this works
aber wenn die Umgebung POETRY_REPOSITORIES_GITLAB_URL eine Teil-URL https://gitlab.com hat, enthält die Installation die Anmeldeinformationen nicht.

Code: Select all

# envs
export POETRY_HTTP_BASIC_GITLAB_PASSWORD="xxx"
export POETRY_HTTP_BASIC_GITLAB_USERNAME="xxx"
export POETRY_REPOSITORIES_GITLAB_URL="https://gitlab.com"

poetry install # => not works
Ist die Verwendung mit einer Teil-URL möglich?

Quick Reply

Change Text Case: 
   
  • Similar Topics
    Replies
    Views
    Last post