Skip to content

Commit edd8d84

Browse files
pyproject: Remove private repo, move to workflow command
- Remove the tool.uv.index, as it was causing examples not to work in CI, because AWS CodeArtifact wasn't available. - Instead, pass the publish url and username to the `uv publish` command.
1 parent e669e74 commit edd8d84

2 files changed

Lines changed: 1 addition & 7 deletions

File tree

.github/workflows/test-and-publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,4 +106,4 @@ jobs:
106106
- name: Build distribution artifacts
107107
run: uv build --python 3.11
108108
- name: Publish package to CodeArtifact
109-
run: uv publish --index cit-pypi
109+
run: uv publish --publish-url=https://datalogics-304774597385.d.codeartifact.us-east-2.amazonaws.com/pypi/cit-pypi/ --username __token__

pyproject.toml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -107,9 +107,3 @@ trailing_comma_inline_array = true
107107
keyring-provider = "subprocess"
108108
no-build = true
109109
no-binary-package = ["pdfrest"]
110-
111-
[[tool.uv.index]]
112-
name = "cit-pypi"
113-
url = "https://aws@datalogics-304774597385.d.codeartifact.us-east-2.amazonaws.com/pypi/cit-pypi/simple/"
114-
publish-url = "https://aws@datalogics-304774597385.d.codeartifact.us-east-2.amazonaws.com/pypi/cit-pypi/"
115-
username = "__token__"

0 commit comments

Comments
 (0)