Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
8ca5490
feat: update version to 0.1.4 and add pex dependency
vcfgv Nov 26, 2025
6edc81d
feat: add build-pex job to create executable binaries for macOS, Linu…
vcfgv Nov 26, 2025
d80d230
fix: adjust build-pex job configuration for consistent working directory
vcfgv Nov 26, 2025
8ff75df
fix: update project installation command to use frozen dependencies
vcfgv Nov 26, 2025
782f173
fix: update Windows build step to use the correct wheel file path
vcfgv Nov 26, 2025
c6bb51b
feat: specify Python version 3.12 for PEX builds on macOS and Windows
vcfgv Nov 26, 2025
4d592df
fix: update Python version file path for PEX builds
vcfgv Nov 26, 2025
2ee1861
feat: specify Python version 3.12 for setup in build-pex job
vcfgv Nov 26, 2025
7b56750
fix: update Windows build step to reference the correct wheel file in…
vcfgv Nov 26, 2025
4a6a9c2
fix: remove unnecessary flags from PEX build command for Windows exec…
vcfgv Nov 26, 2025
c484258
fix: add verbose flag to PEX build command for Windows executable
vcfgv Nov 26, 2025
a51dad8
fix: add verbose flag to PEX build command for Windows executable
vcfgv Nov 26, 2025
9acb93e
fix: simplify PEX build command for Windows executable
vcfgv Nov 26, 2025
ce7952c
fix: restrict build matrix to only Windows for PEX build job
vcfgv Nov 26, 2025
4a278e5
fix: update PEX build command to compile requirements and output exec…
vcfgv Nov 26, 2025
4d02cbd
fix: add parallelism flag to PEX build command for Windows executable
vcfgv Nov 26, 2025
a743824
fix: update PEX build command and dependencies for improved executabl…
vcfgv Nov 26, 2025
154515f
fix: update Python version to 3.12.11 in workflow configuration
vcfgv Nov 26, 2025
d2651bf
fix: update Python version to 3.12 in build workflow
vcfgv Nov 26, 2025
8319fba
fix: update PEX build command to compile requirements into requiremen…
vcfgv Nov 26, 2025
ff52921
fix: correct PEX build command syntax for Windows executable generation
vcfgv Nov 26, 2025
3740998
fix: add shebang to PEX build command for Windows executable
vcfgv Nov 26, 2025
e56001a
fix: remove unnecessary project installation and wheel build steps in…
vcfgv Nov 26, 2025
55acbc0
fix: remove yfinance dependency from project
vcfgv Nov 27, 2025
46e5079
feat: add build script for macOS and Windows executable generation
vcfgv Nov 27, 2025
6c0a70a
Revert "feat: add build script for macOS and Windows executable gener…
vcfgv Nov 27, 2025
ef2807f
fix: update PEX build command to use pip wheel for dependency install…
vcfgv Nov 27, 2025
69f2ba5
fix: update PEX build command to use uvx for dependency installation
vcfgv Nov 27, 2025
562e6b6
fix: update artifact path to upload wheel files instead of PEX binaries
vcfgv Nov 27, 2025
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
53 changes: 50 additions & 3 deletions .github/workflows/python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,13 +44,13 @@ jobs:

- name: Install uv
uses: astral-sh/setup-uv@v6

- name: Install style dependencies
run: uv sync --locked --only-group style

- name: Run format style check
run: uv run --directory . ruff format --check --config ./pyproject.toml .

- name: Run isort style check
run: uv run --directory . isort --check .

Expand Down Expand Up @@ -82,3 +82,50 @@ jobs:
- name: Check coverage
run: |
uv run diff-cover coverage.xml --fail-under=90

build-pex:
name: Build on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
defaults:
run:
working-directory: ./python
strategy:
fail-fast: false
matrix:
os: [windows-latest]

steps:
- uses: actions/checkout@v5
with:
fetch-depth: 0

- name: Install uv
uses: astral-sh/setup-uv@v6
with:
python-version: '3.12'

- name: Build PEX for macOS / Linux
if: ${{ matrix.os != 'windows-latest' }}
run: |
uvx pex dist/*.whl \
-e valuecell.server.main:main \
-o dist/valuecell-${{ runner.os }}-${{ runner.arch }} \
--scie eager \
--scie-pbs-stripped

- name: Build EXE for Windows
if: ${{ matrix.os == 'windows-latest' }}
shell: pwsh
run: |
Get-Command python
Get-Command uv
Get-Command uvx
uvx pip wheel https://files.pythonhosted.org/packages/04/89/76f6f1b744c8608e0d416b588b9d63c2a500ff800065ae610f7c80f532d6/peewee-3.18.2.tar.gz -w .\dist
ls .\dist


- name: Upload Artifact
uses: actions/upload-artifact@v4
with:
name: binary-${{ matrix.os }}
path: ./python/dist/*.whl
9 changes: 6 additions & 3 deletions python/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "hatchling.build"

[project]
name = "valuecell"
version = "0.1.0"
version = "0.1.4"
description = "ValueCell is a community-driven, multi-agent platform for financial applications."
readme = "README.md"
requires-python = ">=3.12"
Expand All @@ -16,7 +16,6 @@ dependencies = [
"pydantic>=2.0.0",
"uvicorn>=0.24.0",
"a2a-sdk[http-server]>=0.3.4",
"yfinance>=0.2.65",
"requests>=2.32.5",
"akshare>=1.17.44",
"agno[openai, google, lancedb]>=2.0,<3.0",
Expand Down Expand Up @@ -44,7 +43,11 @@ dev = [
dev = [
{include-group = "lint"},
{include-group = "style"},
{include-group = "test"}
{include-group = "test"},
{include-group = "dist"},
]
dist = [
"pex>=2.71.1",
]
lint = [
"ruff"
Expand Down
89 changes: 13 additions & 76 deletions python/uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading