File tree Expand file tree Collapse file tree 6 files changed +96
-305
lines changed
Expand file tree Collapse file tree 6 files changed +96
-305
lines changed Original file line number Diff line number Diff line change @@ -270,21 +270,6 @@ jobs:
270270 root : .
271271 paths :
272272 - dist/
273- release-aws :
274- executor : default_image
275- steps :
276- - checkout
277- - attach_workspace :
278- at : .
279- - aws-cli/setup :
280- role_arn : $AWS_OIDC_ARN
281- - run :
282- name : Release
283- command : |
284- uv tool install keyring --with keyrings.codeartifact
285- export UV_PUBLISH_PASSWORD="$(aws codeartifact get-authorization-token --domain codegen --domain-owner 922078275900 --region us-east-1 --query authorizationToken --output text)"
286- export UV_PUBLISH_USERNAME=aws
287- uv publish
288273 release-pypi :
289274 executor : default_image
290275 steps :
@@ -321,15 +306,6 @@ workflows:
321306 filters :
322307 tags :
323308 only : /^v.*/
324- - release-aws :
325- filters :
326- tags :
327- only : /^v.*/
328- context :
329- - AWS
330- requires :
331- - linux-wheels
332- - osx-wheels
333309 - release-pypi :
334310 filters :
335311 tags :
Original file line number Diff line number Diff line change 7171 path : dist
7272 merge-multiple : true
7373 pattern : wheels-*
74- - name : Release to AWS codeartifact
75- run : |
76- export UV_PUBLISH_PASSWORD="$(aws codeartifact get-authorization-token --domain codegen --domain-owner 922078275900 --region us-east-1 --query authorizationToken --output text)"
77- export UV_PUBLISH_USERNAME=aws
78- uv publish
79- # - name: Release to pypi
80- # if: startsWith(github.ref, 'refs/tags/')
81- # run: |
82- # uv publish --trusted-publishing always --publish-url https://upload.pypi.org/legacy/ --keyring-provider disabled
8374 - name : Make github release
8475 uses : softprops/action-gh-release@v2
8576 if : startsWith(github.ref, 'refs/tags/')
Original file line number Diff line number Diff line change @@ -4,7 +4,6 @@ FROM ghcr.io/astral-sh/uv:python${PYTHON_VERSION}-bookworm-slim AS base_uv
44ENV UV_COMPILE_BYTECODE=1 UV_LINK_MODE=copy
55ENV GITHUB_WORKSPACE=/workspace
66LABEL com.circleci.preserve-entrypoint=true
7- # RUN uv tool install keyring --with keyrings.codeartifact
87# # Change the working directory to the `codegen-sdk` directory
98FROM base_uv AS install-tools
109RUN apt-get update && apt-get install -y build-essential curl git
Original file line number Diff line number Diff line change @@ -20,9 +20,6 @@ matrix.tool.scripts = [
2020[version ]
2121source = " vcs"
2222
23- [envs .hatch-build .env-vars ]
24- UV_EXTRA_INDEX_URL =
" https://[email protected] /pypi/codegen/simple/" 25-
2623[build .targets .wheel .hooks .cython ]
2724dependencies = [
2825 " hatch-cython @ git+https://github.com/codegen-sh/hatch-cython.git" ,
Original file line number Diff line number Diff line change @@ -96,10 +96,6 @@ keywords = [
9696 " codebase transformation" ,
9797 " refactoring" ,
9898 " code generation" ,
99- " code generation" ,
100- " codebase analysis" ,
101- " codebase transformation" ,
102- " refactoring" ,
10399]
104100[project .scripts ]
105101codegen = " codegen.cli.cli:main"
@@ -125,7 +121,6 @@ dev-dependencies = [
125121 " austin-python>=1.7.1" ,
126122 " autoflake>=2.3.1" ,
127123 # "nuitka>=2.4.8",
128- " keyrings-codeartifact>=1.3.3" ,
129124 " typer>=0.12.5" ,
130125 " pre-commit-uv>=4.1.4" ,
131126 " austin-dist>=3.7.0" ,
@@ -143,9 +138,8 @@ dev-dependencies = [
143138 " pytest-benchmark[histogram]>=5.1.0" ,
144139 " loguru>=0.7.3" ,
145140]
146- keyring-provider = " subprocess"
147- # extra-index-url = ["https://[email protected] /pypi/codegen/simple/"]148- publish-url = " https://codegen-922078275900.d.codeartifact.us-east-1.amazonaws.com/pypi/codegen/"
141+ # skeyring-provider = "subprocess"
142+
149143[tool .uv .workspace ]
150144members = []
151145
You can’t perform that action at this time.
0 commit comments