Skip to content

Add PyPI publishing support#48

Merged
fcostaoliveira merged 9 commits intoupdate.redisearchfrom
pypi-publishing
Feb 12, 2026
Merged

Add PyPI publishing support#48
fcostaoliveira merged 9 commits intoupdate.redisearchfrom
pypi-publishing

Conversation

@fcostaoliveira
Copy link
Copy Markdown

  • Configure pyproject.toml for PyPI package 'vector-benchmark'
  • Add console script entry point 'vector-db-benchmark'
  • Add GitHub Actions workflow for automated PyPI publishing
  • Update help text examples to use 'vector-db-benchmark' and 'redis-*'
  • Add init.py files to datasets and experiments for proper packaging
  • Improve download messages to show destination folder
  • Add Redis Performance Team to authors
  • Add package metadata: description, keywords, classifiers, homepage, etc.

- Configure pyproject.toml for PyPI package 'vector-benchmark'
- Add console script entry point 'vector-db-benchmark'
- Add GitHub Actions workflow for automated PyPI publishing
- Update help text examples to use 'vector-db-benchmark' and 'redis-*'
- Add __init__.py files to datasets and experiments for proper packaging
- Improve download messages to show destination folder
- Add Redis Performance Team to authors
- Add package metadata: description, keywords, classifiers, homepage, etc.
Resolved conflicts:
- benchmark/dataset.py: Kept improved bz2 extraction with .bz2 extension removal
- run.py: Kept updated help text with vector-db-benchmark and redis-* examples
- Move run.py from packages to include list
- run.py is a module file, not a package directory
- Fixes Poetry error: '/code/benchmark does not contain any element'
- Update pyproject.toml to properly separate packages from data files
- Move datasets and experiments from packages to include list
- Specify exact files to include to avoid large dataset files
- Update Dockerfile to copy source files before poetry install
- Fix .dockerignore to allow README.md and LICENSE (needed by Poetry)
- Fix empty continuation line warning in Dockerfile
- Verified Docker build succeeds and container runs correctly
- Change working directory from /app to /code for consistency with Poetry .pth file
- Update entrypoint script to use /code paths
- Change default CMD from 'run.py' to 'vector-db-benchmark' command
- Simplify entrypoint to just ensure results directory permissions
- Now uses the Poetry-installed console script instead of direct Python execution
- Update GitHub Actions workflow to use vector-db-benchmark instead of run.py
- Update docker-test.sh to use vector-db-benchmark command
- Add --entrypoint python for Python-specific tests
- Update volume mount paths from /app to /code
- Ensures tests work with Poetry-installed console script
Comment thread .dockerignore
README.md
LICENSE
# README.md and LICENSE are needed for Poetry package metadata
!README.md
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

readme here twice

@JoanFM
Copy link
Copy Markdown

JoanFM commented Feb 11, 2026

what is the actual point of PR?

- Remove original author from PyPI authors field
- Update description to mention this is a fork
- Keeps Redis Performance Team as the package maintainer
- Original attribution preserved in LICENSE and git history per Apache 2.0
@github-actions
Copy link
Copy Markdown

🐳 Docker Build Validation

Docker build successful!

Platforms tested:

  • ✅ linux/amd64 (built and tested)
  • ✅ linux/arm64 (build validated)

Git SHA: c788f078bea7675efccca27465557eaf464b73d1

Docker Hub Status: ✅ Docker Hub credentials configured

Image details:

  • Single platform: vector-db-benchmark-pr:pr-48
  • Multi-platform: vector-db-benchmark-pr:pr-48-multiplatform

Tests performed:

  • ✅ Docker Hub credentials check
  • ✅ Help command execution
  • ✅ Python environment validation
  • ✅ Redis connectivity test
  • ✅ Benchmark execution test (redis-m-16-ef-64)
  • ✅ Multi-platform build validation

The Docker image is ready for deployment! 🚀

@github-actions
Copy link
Copy Markdown

🐳 Docker Build Validation

Docker build successful!

Platforms tested:

  • ✅ linux/amd64 (built and tested)
  • ✅ linux/arm64 (build validated)

Git SHA: 027939664caf12d72878c792516f50c6fb9a9923

Docker Hub Status: ✅ Docker Hub credentials configured

Image details:

  • Single platform: vector-db-benchmark-pr:pr-48
  • Multi-platform: vector-db-benchmark-pr:pr-48-multiplatform

Tests performed:

  • ✅ Docker Hub credentials check
  • ✅ Help command execution
  • ✅ Python environment validation
  • ✅ Redis connectivity test
  • ✅ Benchmark execution test (redis-m-16-ef-64)
  • ✅ Multi-platform build validation

The Docker image is ready for deployment! 🚀

@fcostaoliveira fcostaoliveira merged commit 677c8d4 into update.redisearch Feb 12, 2026
18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants