Skip to content

Commit 25eeb12

Browse files
committed
Rm version check
1 parent 385cf4b commit 25eeb12

File tree

3 files changed

+0
-21
lines changed

3 files changed

+0
-21
lines changed

.github/workflows/python_test.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,6 @@ jobs:
4040
uv pip install langchain langchain-core langchain_anthropic langchain_openai
4141
- name: Build ${{ matrix.python-version }}
4242
run: uv build
43-
- name: Check version alignment
44-
run: make check-version
4543
- name: Lint ${{ matrix.python-version }}
4644
run: make lint
4745
- name: Run Unit tests ${{ matrix.python-version }}

.github/workflows/release.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,6 @@ jobs:
3232
enable-cache: true
3333
- name: Build project for distribution
3434
run: cd python && uv build
35-
- name: Check Version
36-
id: check-version
37-
run: |
38-
cd python && echo version=$(grep '^version =' pyproject.toml | sed 's/version = "\(.*\)"/\1/') >> $GITHUB_OUTPUT
3935
- name: Create Release
4036
uses: ncipollo/release-action@v1
4137
with:

python/Makefile

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -81,18 +81,3 @@ sync-version:
8181
$(eval VERSION := $(shell grep '^version =' pyproject.toml | sed 's/version = "\(.*\)"/\1/'))
8282
sed -i '' 's/__version__ = "[^"]*"/__version__ = "$(VERSION)"/' langsmith/__init__.py
8383
echo "Synced version: $(VERSION)"
84-
85-
check-version:
86-
# Get version from pyproject.toml
87-
$(eval VERSION := $(shell grep '^version =' pyproject.toml | sed 's/version = "\(.*\)"/\1/'))
88-
# Get version from __init__.py
89-
$(eval INIT_VERSION := $(shell grep '__version__ =' langsmith/__init__.py | sed 's/__version__ = "\(.*\)"/\1/'))
90-
@echo "Checking version alignment..."
91-
@echo "pyproject.toml version: $(VERSION)"
92-
@echo "__init__.py version: $(INIT_VERSION)"
93-
@if [ "$(VERSION)" = "$(INIT_VERSION)" ]; then \
94-
echo "✅ Versions are aligned"; \
95-
else \
96-
echo "❌ Version mismatch! Please run 'make sync-version' to sync versions"; \
97-
exit 1; \
98-
fi

0 commit comments

Comments
 (0)