Refactor docs and pypi publish github actions#1178
Merged
Conversation
There was a problem hiding this comment.
Pull Request Overview
This PR modernizes the release workflow by removing the VERSION file-based versioning in favor of dynamically setting versions from GitHub release tags, updates the publish workflow to use UV package manager instead of pip/twine, and fixes the documentation requirements path. However, there are critical configuration issues that will prevent successful builds.
- Removes the VERSION file and transitions to tag-based versioning
- Updates the GitHub Actions publish workflow to use UV and trigger on releases instead of main branch pushes
- Changes docs requirements.txt path from
./autoragto.
Reviewed Changes
Copilot reviewed 3 out of 4 changed files in this pull request and generated 3 comments.
| File | Description |
|---|---|
| docs/requirements.txt | Updates editable install path (but incorrectly points to current directory instead of parent) |
| autorag/VERSION | Removes version file (but pyproject.toml still references it causing build failure) |
| .gitignore | Adds .vscode/ directory to ignored files |
| .github/workflows/publish.yml | Replaces push-triggered workflow with release-triggered workflow using UV (but has version injection issues) |
Comments suppressed due to low confidence (1)
autorag/VERSION:1
- The VERSION file is being deleted, but
pyproject.tomlstill references it at line 105 in[tool.setuptools.dynamic]section:version = { file = ["autorag/VERSION"] }. This will cause build failures since setuptools won't be able to find the VERSION file to dynamically determine the package version. Either keep this file or updatepyproject.tomlto remove the dynamic version configuration.
Contributor
|
@vkehfdl1 Why did that test fail again? bug..? |
vkehfdl1
added a commit
that referenced
this pull request
Nov 14, 2025
* Refactor docs and pypi publish github actions (#1178) * ignore .vscode folder in .gitignore * Fix install of AutoRAG from the local path in docs/requirements.txt * Fix pypi package dir path * refactor publish to the pypi * delete version information in __init__.py and optimize imports * Fix publish.yml * fix conf.py and test.yml * remove dynamic version and replace build backend to hatchling. add ty… (#1186) * remove dynamic version and replace build backend to hatchling. add ty and deptry * recognize tests folder * change pytest ini options * disable delete tests * fix version dependency in cli.py and updates the resources chroma in tests
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
close #1177