Skip to content

Commit

Permalink
Feature/feature/v0.0.11 alpha 20241103 (#14)
Browse files Browse the repository at this point in the history
* Feature: Update Python version requirement to >=3.13 in pyproject.toml

* Feature: Add dev-dependencies for openai in pyproject.toml

* Fix: Update sync command in action.yml to exclude dev dependencies

* Fix: Simplify virtual environment setup in action.yml

* Feature: Add build system configuration to pyproject.toml
  • Loading branch information
tqer39 authored Nov 2, 2024
1 parent c87e7c2 commit 5ecbcd1
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 4 deletions.
6 changes: 3 additions & 3 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@ runs:

- name: Setup uv
run: |
uv venv ${{ github.action_path }}/.venv
source ${{ github.action_path }}/.venv/bin/activate
uv sync --directory ${{ github.action_path }}
uv venv
source .venv/bin/activate
uv sync --no-dev --directory ${{ github.action_path }}
shell: bash

- name: Generate PR Title and Description
Expand Down
1 change: 1 addition & 0 deletions cspell.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
"O'oyama",
"OPENAI",
"pydocstyle",
"setuptools",
"SSIA",
"Takeru",
"tqer",
Expand Down
11 changes: 10 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,20 @@ name = "generate-pr-description-action"
version = "0.0.5"
description = "Add your description here"
readme = "README.md"
requires-python = ">=3.12"
requires-python = ">=3.13"
dependencies = [
"openai==1.52.2",
]

[build-system]
requires = ["setuptools", "wheel"]
build-backend = "setuptools.build_meta"

[tool.uv]
dev-dependencies = [
"openai==1.52.2",
]

[tool.mypy]
strict = true
ignore_missing_imports = true
Expand Down

0 comments on commit 5ecbcd1

Please sign in to comment.