Poetry plugin to handle Azure Artifacts authentication
Project description
Poetry Azure Artifacts Plugin
This is a Poetry plugin that transparently takes care of authentication with Azure Artifacts feeds. This is heavily based on semgrep/poetry-codeartifact-plugin.
Usage
This plugin requires Python 3.9+ which is a bit less lenient than Poetry itself.
Install this plugin with
poetry self add poetry-azure-artifacts-plugin
or
pipx inject poetry poetry-azure-artifacts-plugin
In your pyproject.toml file, add your Azure Artifacts feed URL as a source.
[[tool.poetry.source]]
name = "ado"
url = "https://pkgs.dev.azure.com/{organization}/_packaging/{feed}/pypi/simple/"
priority = "primary"
Now, when running poetry install, or poetry lock, Poetry will automatically
fetch credentials for your Azure Artifacts feed, utilizing
artifacts-keyring.
Note: artifacts-keyring requires dotnet to be installed and available
in your PATH.
This works by recognizing authentication failures to URLs containing
pkgs.dev.azure.com or pkgs.visualstudio.com. If you have an on-premises
Azure DevOps server that works with artifacts-keyring, instead make the
source name include the text azure-artifacts:
[[tool.poetry.source]]
name = "azure-artifacts-feed"
url = "https://devops.mydomain.com/{organization}/_packaging/{feed}/pypi/simple/"
priority = "primary"
Development
Use the provided devcontainer or run the following for local development:
# Install uv
# https://docs.astral.sh/uv/getting-started/installation/
uv tool install vscode-task-runner
vtr install
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file poetry_azure_artifacts_plugin-0.1.3.tar.gz.
File metadata
- Download URL: poetry_azure_artifacts_plugin-0.1.3.tar.gz
- Upload date:
- Size: 3.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6a379e1e8dad9e927e951da1e3bb17936a20cfcedd7dacf8410ec687601e12ce
|
|
| MD5 |
b065078377570c85885ddc24944e3f00
|
|
| BLAKE2b-256 |
375670cdef7bf724400a27fe8760fd622b6507f2d23aaf1792226655c222fc63
|
Provenance
The following attestation bundles were made for poetry_azure_artifacts_plugin-0.1.3.tar.gz:
Publisher:
publish.yml on NathanVaughn/poetry-azure-artifacts-plugin
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
poetry_azure_artifacts_plugin-0.1.3.tar.gz -
Subject digest:
6a379e1e8dad9e927e951da1e3bb17936a20cfcedd7dacf8410ec687601e12ce - Sigstore transparency entry: 888858604
- Sigstore integration time:
-
Permalink:
NathanVaughn/poetry-azure-artifacts-plugin@1992a86b9b12fa4f851d17272f0cd84ba62093bb -
Branch / Tag:
refs/heads/release - Owner: https://github.com/NathanVaughn
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@1992a86b9b12fa4f851d17272f0cd84ba62093bb -
Trigger Event:
push
-
Statement type:
File details
Details for the file poetry_azure_artifacts_plugin-0.1.3-py3-none-any.whl.
File metadata
- Download URL: poetry_azure_artifacts_plugin-0.1.3-py3-none-any.whl
- Upload date:
- Size: 3.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0ce4dd761d1410aee1533cac77fbc556668001d7b51844705b2361236a0decc1
|
|
| MD5 |
a887835d7397db73b5ef34e28c83c6f1
|
|
| BLAKE2b-256 |
69b0470a66ee1ac120cc974ec90235c793e508c47d0e0320f66a1806a8f0721f
|
Provenance
The following attestation bundles were made for poetry_azure_artifacts_plugin-0.1.3-py3-none-any.whl:
Publisher:
publish.yml on NathanVaughn/poetry-azure-artifacts-plugin
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
poetry_azure_artifacts_plugin-0.1.3-py3-none-any.whl -
Subject digest:
0ce4dd761d1410aee1533cac77fbc556668001d7b51844705b2361236a0decc1 - Sigstore transparency entry: 888858681
- Sigstore integration time:
-
Permalink:
NathanVaughn/poetry-azure-artifacts-plugin@1992a86b9b12fa4f851d17272f0cd84ba62093bb -
Branch / Tag:
refs/heads/release - Owner: https://github.com/NathanVaughn
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@1992a86b9b12fa4f851d17272f0cd84ba62093bb -
Trigger Event:
push
-
Statement type: