Skip to content

Commit

Permalink
Reverts README change to restore poetry build. (#820)
Browse files Browse the repository at this point in the history
A previous change attempted to avoid our README files getting out of
sync by referencing the README at the root of the repo using a
relative path in the library pyproject.toml. This unfortunately breaks
poetry build. This commit switches back to using the README in the lib
directory, and adds a github action step to copy the README during the
release process to hopefully avoid drift that way.
  • Loading branch information
bsowell authored Sep 18, 2024
1 parent 4032385 commit 1fb6da3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .github/workflows/draft_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@ jobs:
- name: Install
run: poetry install
working-directory: lib/sycamore
- name: Copy README
working-directory: lib/scyamore
run: cp ../../README.md README.md
- name: build
run: poetry build
working-directory: lib/sycamore
Expand Down
2 changes: 1 addition & 1 deletion lib/sycamore/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name = "sycamore-ai"
version = "0.1.21"
description = "Sycamore is an LLM-powered semantic data preparation system for building search applications."
authors = ["aryn.ai <[email protected]>"]
readme = "../../README.md"
readme = "README.md"
repository = "https://github.com/aryn-ai/sycamore.git"
packages = [{ include = "sycamore" }]

Expand Down

0 comments on commit 1fb6da3

Please sign in to comment.