build: upgrade to 1.7.0 (#10418)

* Update version to 1.6.7

* bump lfx too

* choosed current versino in openapi.json of 1.6.5 vs 1.6.7

* choosed current versino in openapi.json of 1.6.5 vs 1.6.7

* more version bumps

* missed this one

* change pypi_nightly_tag.py version to read it from pyproject.toml directly

* get_latest_version was missing arg build_type

* naming error

* using lfx logic to explore for MAIN_PAGE

* using lfx logic to explore for MAIN_PAGE

* allow --prerelease

* change script in nightly_build

* [autofix.ci] apply automated fixes

* [autofix.ci] apply automated fixes (attempt 2/3)

* [autofix.ci] apply automated fixes (attempt 3/3)

---------

Co-authored-by: Olfa Maslah <olfamaslah@Olfas-MacBook-Pro.local>
Co-authored-by: Olfa Maslah <olfamaslah@macbookpro.war.can.ibm.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
This commit is contained in:
Jordan Frazier
2025-11-04 13:46:11 -05:00
committed by GitHub
parent 732ec1e273
commit f4ba646f21
43 changed files with 621 additions and 614 deletions

View File

@ -119,7 +119,7 @@ jobs:
echo "Updating LFX project version to $LFX_TAG"
uv run ./scripts/ci/update_lfx_version.py $LFX_TAG
echo "Updating base project version to $BASE_TAG and updating main project version to $MAIN_TAG"
uv run ./scripts/ci/update_pyproject_combined.py main $MAIN_TAG $BASE_TAG $LFX_TAG
uv run --no-sync ./scripts/ci/update_pyproject_combined.py main $MAIN_TAG $BASE_TAG $LFX_TAG
uv lock
cd src/backend/base && uv lock && cd ../../..

View File

@ -153,7 +153,7 @@
"filename": ".github/workflows/nightly_build.yml",
"hashed_secret": "3e26d6750975d678acb8fa35a0f69237881576b0",
"is_verified": false,
"line_number": 225,
"line_number": 227,
"is_secret": false
}
],
@ -1403,4 +1403,5 @@
]
},
"generated_at": "2025-11-03T17:12:39Z"
}

View File

@ -1,7 +1,7 @@
openapi: 3.1.0
info:
title: Langflow
version: 1.6.4
version: 1.7.0
paths:
/api/v1/build/{flow_id}/vertices:
post:

View File

@ -1,6 +1,6 @@
[project]
name = "langflow"
version = "1.6.4"
version = "1.7.0"
description = "A Python package with a built-in web application"
requires-python = ">=3.10,<3.14"
license = "MIT"
@ -17,7 +17,7 @@ maintainers = [
]
# Define your main dependencies here
dependencies = [
"langflow-base~=0.6.4",
"langflow-base~=0.7.0",
"beautifulsoup4==4.12.3",
"google-search-results>=2.4.1,<3.0.0",
"google-api-python-client==2.154.0",

View File

@ -4,6 +4,7 @@
import sys
import packaging.version
import requests
from packaging.version import Version
PYPI_LANGFLOW_URL = "https://pypi.org/pypi/langflow/json"
@ -16,8 +17,6 @@ ARGUMENT_NUMBER = 2
def get_latest_published_version(build_type: str, *, is_nightly: bool) -> Version:
import requests
url = ""
if build_type == "base":
url = PYPI_LANGFLOW_BASE_NIGHTLY_URL if is_nightly else PYPI_LANGFLOW_BASE_URL
@ -37,8 +36,24 @@ def get_latest_published_version(build_type: str, *, is_nightly: bool) -> Versio
def create_tag(build_type: str):
current_version = get_latest_published_version(build_type, is_nightly=False)
current_nightly_version = get_latest_published_version(build_type, is_nightly=True)
from pathlib import Path
import tomllib
# Read version from pyproject.toml
main_tag_pyproject_path = Path(__file__).parent.parent.parent / "pyproject.toml"
pyproject_data = tomllib.loads(main_tag_pyproject_path.read_text())
current_version_str = pyproject_data["project"]["version"]
current_version = Version(current_version_str)
try:
current_nightly_version = get_latest_published_version(build_type, is_nightly=True)
nightly_base_version = current_nightly_version.base_version
except (requests.RequestException, KeyError, ValueError):
# If MAIN_TAG nightly doesn't exist on PyPI yet, this is the first nightly
current_nightly_version = None
nightly_base_version = None
build_number = "0"
latest_base_version = current_version.base_version
@ -59,7 +74,7 @@ def create_tag(build_type: str):
# This takes the base version of the current version and appends the
# current date. If the last release was on the same day, we exit, as
# pypi does not allow for overwriting the same version.
#
# We could use a different versioning scheme, such as just incrementing
# an integer.
# version_with_date = (

View File

@ -641,7 +641,7 @@
},
{
"name": "fastapi",
"version": "0.119.1"
"version": "0.120.0"
},
{
"name": "lfx",

View File

@ -593,7 +593,7 @@
},
{
"name": "fastapi",
"version": "0.119.1"
"version": "0.120.0"
},
{
"name": "lfx",

View File

@ -486,7 +486,7 @@
},
{
"name": "fastapi",
"version": "0.119.1"
"version": "0.120.0"
},
{
"name": "lfx",

View File

@ -2246,7 +2246,7 @@
},
{
"name": "fastapi",
"version": "0.119.1"
"version": "0.120.0"
},
{
"name": "lfx",

View File

@ -420,7 +420,7 @@
},
{
"name": "fastapi",
"version": "0.119.1"
"version": "0.120.0"
},
{
"name": "lfx",

View File

@ -159,7 +159,7 @@
},
{
"name": "fastapi",
"version": "0.119.1"
"version": "0.120.0"
},
{
"name": "lfx",

View File

@ -734,7 +734,7 @@
},
{
"name": "fastapi",
"version": "0.119.1"
"version": "0.120.0"
},
{
"name": "lfx",

View File

@ -517,7 +517,7 @@
},
{
"name": "fastapi",
"version": "0.119.1"
"version": "0.120.0"
},
{
"name": "lfx",

View File

@ -1051,7 +1051,7 @@
},
{
"name": "fastapi",
"version": "0.119.1"
"version": "0.120.0"
},
{
"name": "lfx",

View File

@ -314,7 +314,7 @@
},
{
"name": "fastapi",
"version": "0.119.1"
"version": "0.120.0"
},
{
"name": "lfx",

View File

@ -241,7 +241,7 @@
},
{
"name": "fastapi",
"version": "0.119.1"
"version": "0.120.0"
},
{
"name": "lfx",

View File

@ -485,7 +485,7 @@
},
{
"name": "fastapi",
"version": "0.119.1"
"version": "0.120.0"
},
{
"name": "lfx",

View File

@ -648,7 +648,7 @@
},
{
"name": "fastapi",
"version": "0.119.1"
"version": "0.120.0"
},
{
"name": "lfx",
@ -927,7 +927,7 @@
},
{
"name": "fastapi",
"version": "0.119.1"
"version": "0.120.0"
},
{
"name": "lfx",
@ -1206,7 +1206,7 @@
},
{
"name": "fastapi",
"version": "0.119.1"
"version": "0.120.0"
},
{
"name": "lfx",

View File

@ -432,7 +432,7 @@
},
{
"name": "fastapi",
"version": "0.119.1"
"version": "0.120.0"
},
{
"name": "lfx",

View File

@ -889,7 +889,7 @@
},
{
"name": "fastapi",
"version": "0.119.1"
"version": "0.120.0"
},
{
"name": "lfx",
@ -1905,7 +1905,7 @@
},
{
"name": "fastapi",
"version": "0.119.1"
"version": "0.120.0"
},
{
"name": "lfx",
@ -1917,7 +1917,7 @@
},
{
"name": "boto3",
"version": "1.40.56"
"version": "1.40.59"
},
{
"name": "google",

View File

@ -520,7 +520,7 @@
},
{
"name": "fastapi",
"version": "0.119.1"
"version": "0.120.0"
},
{
"name": "lfx",

View File

@ -401,7 +401,7 @@
},
{
"name": "fastapi",
"version": "0.119.1"
"version": "0.120.0"
},
{
"name": "lfx",

View File

@ -335,7 +335,7 @@
},
{
"name": "fastapi",
"version": "0.119.1"
"version": "0.120.0"
},
{
"name": "lfx",

View File

@ -425,7 +425,7 @@
},
{
"name": "fastapi",
"version": "0.119.1"
"version": "0.120.0"
},
{
"name": "lfx",

View File

@ -1650,7 +1650,7 @@
},
{
"name": "fastapi",
"version": "0.119.1"
"version": "0.120.0"
},
{
"name": "lfx",

View File

@ -411,7 +411,7 @@
},
{
"name": "fastapi",
"version": "0.119.1"
"version": "0.120.0"
},
{
"name": "lfx",

View File

@ -571,7 +571,7 @@
},
{
"name": "fastapi",
"version": "0.119.1"
"version": "0.120.0"
},
{
"name": "lfx",

View File

@ -379,7 +379,7 @@
},
{
"name": "fastapi",
"version": "0.119.1"
"version": "0.120.0"
},
{
"name": "lfx",

View File

@ -112,7 +112,7 @@
},
{
"name": "scrapegraph_py",
"version": "1.36.0"
"version": "1.38.0"
}
],
"total_dependencies": 2
@ -576,7 +576,7 @@
},
{
"name": "fastapi",
"version": "0.119.1"
"version": "0.120.0"
},
{
"name": "lfx",

View File

@ -4123,7 +4123,7 @@
},
{
"name": "fastapi",
"version": "0.119.1"
"version": "0.120.0"
},
{
"name": "lfx",

View File

@ -648,7 +648,7 @@
},
{
"name": "fastapi",
"version": "0.119.1"
"version": "0.120.0"
},
{
"name": "lfx",

View File

@ -980,7 +980,7 @@
},
{
"name": "fastapi",
"version": "0.119.1"
"version": "0.120.0"
},
{
"name": "lfx",

View File

@ -722,7 +722,7 @@
},
{
"name": "fastapi",
"version": "0.119.1"
"version": "0.120.0"
},
{
"name": "lfx",
@ -1004,7 +1004,7 @@
},
{
"name": "fastapi",
"version": "0.119.1"
"version": "0.120.0"
},
{
"name": "lfx",

View File

@ -507,7 +507,7 @@
},
{
"name": "fastapi",
"version": "0.119.1"
"version": "0.120.0"
},
{
"name": "lfx",

View File

@ -694,7 +694,7 @@
},
{
"name": "fastapi",
"version": "0.119.1"
"version": "0.120.0"
},
{
"name": "lfx",

View File

@ -1072,7 +1072,7 @@
},
{
"name": "fastapi",
"version": "0.119.1"
"version": "0.120.0"
},
{
"name": "lfx",

View File

@ -1660,7 +1660,7 @@
},
{
"name": "fastapi",
"version": "0.119.1"
"version": "0.120.0"
},
{
"name": "lfx",

View File

@ -1,6 +1,6 @@
[project]
name = "langflow-base"
version = "0.6.4"
version = "0.7.0"
description = "A Python package with a built-in web application"
requires-python = ">=3.10,<3.14"
license = "MIT"
@ -17,7 +17,7 @@ maintainers = [
]
dependencies = [
"lfx~=0.1.0",
"lfx~=0.2.0",
"fastapi>=0.115.2,<1.0.0",
"httpx[http2]>=0.27,<1.0.0",
"aiofile>=3.9.0,<4.0.0",

View File

@ -1,12 +1,12 @@
{
"name": "langflow",
"version": "1.6.4",
"version": "1.6.7",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "langflow",
"version": "1.6.4",
"version": "1.6.7",
"dependencies": {
"@chakra-ui/number-input": "^2.1.2",
"@headlessui/react": "^2.0.4",

View File

@ -1,6 +1,6 @@
{
"name": "langflow",
"version": "1.6.4",
"version": "1.7.0",
"private": true,
"dependencies": {
"@chakra-ui/number-input": "^2.1.2",

View File

@ -1,6 +1,6 @@
[project]
name = "lfx"
version = "0.1.13"
version = "0.2.0"
description = "Langflow Executor - A lightweight CLI tool for executing and serving Langflow AI flows"
readme = "README.md"
authors = [

File diff suppressed because one or more lines are too long

1109
uv.lock generated

File diff suppressed because it is too large Load Diff