Skip to content

Commit

Permalink
Refactor run_on_mac_or_linux function and update Docker image tags (#…
Browse files Browse the repository at this point in the history
…1644)

* Refactor run_on_mac_or_linux function in __main__.py to remove open_browser parameter

* Update Docker image tags in GitHub workflows to use logspace/langflow instead of langflow/langflow

* Update package versions in pyproject.toml and poetry.lock
  • Loading branch information
ogabrielluiz authored Apr 9, 2024
1 parent 99454a3 commit 212cf94
Show file tree
Hide file tree
Showing 8 changed files with 25 additions and 25 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pre-release-base.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ jobs:
push: true
file: ./build_and_push_base.Dockerfile
tags: |
langflow/langflow:base-${{ steps.check-version.outputs.version }}
logspace/langflow:base-${{ steps.check-version.outputs.version }}
- name: Create Release
uses: ncipollo/release-action@v1
with:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/pre-release-langflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,8 @@ jobs:
push: true
file: ./build_and_push.Dockerfile
tags: |
langflow/langflow:${{ steps.check-version.outputs.version }}
langflow/langflow:1.0-alpha
logspace/langflow:${{ steps.check-version.outputs.version }}
logspace/langflow:1.0-alpha
- name: Create Release
uses: ncipollo/release-action@v1
with:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@ jobs:
push: true
file: ./build_and_push.Dockerfile
tags: |
langflow/langflow:${{ steps.check-version.outputs.version }}
langflow/langflow:latest
logspace/langflow:${{ steps.check-version.outputs.version }}
logspace/langflow:latest
- name: Create Release
uses: ncipollo/release-action@v1
with:
Expand Down
2 changes: 1 addition & 1 deletion docker_example/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ version: "3.8"

services:
langflow:
image: langflow/langflow:latest
image: logspace/langflow:latest
ports:
- "7860:7860"
depends_on:
Expand Down
32 changes: 16 additions & 16 deletions poetry.lock

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

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "langflow"
version = "1.0.0a10"
version = "1.0.0a11"
description = "A Python package with a built-in web application"
authors = ["Logspace <[email protected]>"]
maintainers = [
Expand Down
2 changes: 1 addition & 1 deletion src/backend/base/langflow/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ def run(
run_on_windows(host, port, log_level, options, app)
else:
# Run using gunicorn on Linux
run_on_mac_or_linux(host, port, log_level, options, app, open_browser)
run_on_mac_or_linux(host, port, log_level, options, app)
if open_browser:
click.launch(f"http://{host}:{port}")

Expand Down
2 changes: 1 addition & 1 deletion src/backend/base/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "langflow-base"
version = "0.0.22"
version = "0.0.23"
description = "A Python package with a built-in web application"
authors = ["Logspace <[email protected]>"]
maintainers = [
Expand Down

0 comments on commit 212cf94

Please sign in to comment.