Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 0 additions & 24 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -270,21 +270,6 @@ jobs:
root: .
paths:
- dist/
release-aws:
executor: default_image
steps:
- checkout
- attach_workspace:
at: .
- aws-cli/setup:
role_arn: $AWS_OIDC_ARN
- run:
name: Release
command: |
uv tool install keyring --with keyrings.codeartifact
export UV_PUBLISH_PASSWORD="$(aws codeartifact get-authorization-token --domain codegen --domain-owner 922078275900 --region us-east-1 --query authorizationToken --output text)"
export UV_PUBLISH_USERNAME=aws
uv publish
release-pypi:
executor: default_image
steps:
Expand Down Expand Up @@ -321,15 +306,6 @@ workflows:
filters:
tags:
only: /^v.*/
- release-aws:
filters:
tags:
only: /^v.*/
context:
- AWS
requires:
- linux-wheels
- osx-wheels
- release-pypi:
filters:
tags:
Expand Down
9 changes: 0 additions & 9 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,15 +71,6 @@ jobs:
path: dist
merge-multiple: true
pattern: wheels-*
- name: Release to AWS codeartifact
run: |
export UV_PUBLISH_PASSWORD="$(aws codeartifact get-authorization-token --domain codegen --domain-owner 922078275900 --region us-east-1 --query authorizationToken --output text)"
export UV_PUBLISH_USERNAME=aws
uv publish
# - name: Release to pypi
# if: startsWith(github.ref, 'refs/tags/')
# run: |
# uv publish --trusted-publishing always --publish-url https://upload.pypi.org/legacy/ --keyring-provider disabled
- name: Make github release
uses: softprops/action-gh-release@v2
if: startsWith(github.ref, 'refs/tags/')
Expand Down
1 change: 0 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ FROM ghcr.io/astral-sh/uv:python${PYTHON_VERSION}-bookworm-slim AS base_uv
ENV UV_COMPILE_BYTECODE=1 UV_LINK_MODE=copy
ENV GITHUB_WORKSPACE=/workspace
LABEL com.circleci.preserve-entrypoint=true
# RUN uv tool install keyring --with keyrings.codeartifact
## Change the working directory to the `codegen-sdk` directory
FROM base_uv AS install-tools
RUN apt-get update && apt-get install -y build-essential curl git
Expand Down
3 changes: 0 additions & 3 deletions hatch.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,6 @@ matrix.tool.scripts = [
[version]
source = "vcs"

[envs.hatch-build.env-vars]
UV_EXTRA_INDEX_URL = "https://[email protected]/pypi/codegen/simple/"

[build.targets.wheel.hooks.cython]
dependencies = [
"hatch-cython @ git+https://github.com/codegen-sh/hatch-cython.git",
Expand Down
10 changes: 2 additions & 8 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -96,10 +96,6 @@ keywords = [
"codebase transformation",
"refactoring",
"code generation",
"code generation",
"codebase analysis",
"codebase transformation",
"refactoring",
]
[project.scripts]
codegen = "codegen.cli.cli:main"
Expand All @@ -125,7 +121,6 @@ dev-dependencies = [
"austin-python>=1.7.1",
"autoflake>=2.3.1",
# "nuitka>=2.4.8",
"keyrings-codeartifact>=1.3.3",
"typer>=0.12.5",
"pre-commit-uv>=4.1.4",
"austin-dist>=3.7.0",
Expand All @@ -143,9 +138,8 @@ dev-dependencies = [
"pytest-benchmark[histogram]>=5.1.0",
"loguru>=0.7.3",
]
keyring-provider = "subprocess"
#extra-index-url = ["https://[email protected]/pypi/codegen/simple/"]
publish-url = "https://codegen-922078275900.d.codeartifact.us-east-1.amazonaws.com/pypi/codegen/"
#skeyring-provider = "subprocess"

[tool.uv.workspace]
members = []

Expand Down
Loading
Loading