5 Commits
v0.8.1 ... main

Author SHA1 Message Date
9c39b848f0 add macos notes
All checks were successful
Test Suite / lint (push) Successful in 31s
Test Suite / test (3.11) (push) Successful in 1m31s
Test Suite / build (push) Successful in 39s
Security Scan / dependency-check (push) Successful in 44s
Security Scan / security (push) Successful in 46s
2025-10-02 09:17:23 -07:00
gitea-actions[bot]
6b6735e07f bump version to v0.8.3 2025-10-02 15:46:09 +00:00
4b99f2e816 remove asset dir from Dockerfile
All checks were successful
Security Scan / dependency-check (push) Successful in 38s
Security Scan / security (push) Successful in 41s
Test Suite / lint (push) Successful in 29s
Test Suite / test (3.11) (push) Successful in 1m29s
Test Suite / build (push) Successful in 43s
2025-10-02 08:44:46 -07:00
gitea-actions[bot]
c38f8f2ef8 bump version to v0.8.2 2025-10-02 15:16:38 +00:00
478dc3a8a1 fix path to sample-txt.md
Some checks failed
Security Scan / security (push) Failing after 10s
Security Scan / dependency-check (push) Successful in 28s
Test Suite / lint (push) Successful in 24s
Test Suite / test (3.11) (push) Successful in 1m28s
Test Suite / build (push) Successful in 39s
2025-10-02 08:15:33 -07:00
5 changed files with 18 additions and 10 deletions

View File

@@ -23,7 +23,6 @@ COPY pyproject.toml uv.lock ./
# Copy source code (needed for editable install) # Copy source code (needed for editable install)
COPY src/ src/ COPY src/ src/
COPY assets/ assets/
# Change ownership of source files before building (lighter I/O) # Change ownership of source files before building (lighter I/O)
RUN chown -R appuser:appuser /app RUN chown -R appuser:appuser /app
@@ -56,7 +55,6 @@ RUN chown appuser:appuser /app
# Copy files from builder with correct ownership # Copy files from builder with correct ownership
COPY --from=builder --chown=appuser:appuser /app/.venv /app/.venv COPY --from=builder --chown=appuser:appuser /app/.venv /app/.venv
COPY --from=builder --chown=appuser:appuser /app/src /app/src COPY --from=builder --chown=appuser:appuser /app/src /app/src
COPY --from=builder --chown=appuser:appuser /app/assets /app/assets
# Switch to non-root user # Switch to non-root user
USER appuser USER appuser

View File

@@ -68,6 +68,18 @@ docker run -p 8050:8050 ghcr.io/godber/embedding-buddy:latest
The application will be available at <http://127.0.0.1:8050> The application will be available at <http://127.0.0.1:8050>
### macOS Installation Notes
If installation fails with C++ compiler or library errors (common with `opentsne`), install Xcode Command Line Tools:
```bash
# Install or update Command Line Tools
xcode-select --install
# Or reset existing installation
sudo xcode-select --reset
```
### Using the Application ### Using the Application
1. **Open your browser** to <http://127.0.0.1:8050> 1. **Open your browser** to <http://127.0.0.1:8050>

View File

@@ -1,6 +1,6 @@
[project] [project]
name = "embeddingbuddy" name = "embeddingbuddy"
version = "0.8.1" version = "0.8.3"
description = "A Python Dash application for interactive exploration and visualization of embedding vectors through dimensionality reduction techniques." description = "A Python Dash application for interactive exploration and visualization of embedding vectors through dimensionality reduction techniques."
readme = "README.md" readme = "README.md"
requires-python = ">=3.11" requires-python = ">=3.11"

View File

@@ -660,14 +660,12 @@ class DataProcessingCallbacks:
import os import os
try: try:
# Get the project root directory (four levels up from this file) # Get the embeddingbuddy package directory (three levels up from this file)
current_file = os.path.abspath(__file__) current_file = os.path.abspath(__file__)
project_root = os.path.dirname( package_dir = os.path.dirname(
os.path.dirname( os.path.dirname(os.path.dirname(current_file))
os.path.dirname(os.path.dirname(os.path.dirname(current_file)))
)
) )
sample_file_path = os.path.join(project_root, "assets", "sample-txt.md") sample_file_path = os.path.join(package_dir, "assets", "sample-txt.md")
if os.path.exists(sample_file_path): if os.path.exists(sample_file_path):
with open(sample_file_path, "r", encoding="utf-8") as file: with open(sample_file_path, "r", encoding="utf-8") as file:

2
uv.lock generated
View File

@@ -412,7 +412,7 @@ wheels = [
[[package]] [[package]]
name = "embeddingbuddy" name = "embeddingbuddy"
version = "0.8.0" version = "0.8.1"
source = { editable = "." } source = { editable = "." }
dependencies = [ dependencies = [
{ name = "dash" }, { name = "dash" },