guardrails-ai / guardrails

Adding guardrails to large language models.
https://www.guardrailsai.com/docs
Apache License 2.0
4.19k stars 318 forks source link

[bug] pip version not updated #566

Closed ShreyaR closed 2 months ago

ShreyaR commented 10 months ago

Describe the bug pip show guardrails-ai on the latest main (commit hash 5d653b9) results in the following output

Name: guardrails-ai
Version: 0.2.3a1
Summary: Adding guardrails to large language models.
Home-page: https://github.com/shreyar/guardrails
Author: Shreya Rajpal
Author-email: shreya.rajpal@gmail.com
License: Apache 2.0
Location: /Users/shreyarajpal/guardrails
Editable project location: /Users/shreyarajpal/guardrails
Requires: eliot, eliot-tree, griffe, lxml, openai, pydantic, pytest, regex, rich, tenacity, typer
Required-by: 

According the tagged releases, we should be on version 3.2. There's also a missing __version__ file.

CalebCourier commented 10 months ago

I'm not able to reproduce this.

Here are the steps I tried:

# 1. new venv
python3 -m venv ./.venv

# 2. activate
source ./.venv/bin/activate

# 3. install from main
pip install git+https://github.com/guardrails-ai/guardrails.git

# 4. pip show
pip show guardrails-ai

pip show output

Name: guardrails-ai
Version: 0.3.2
Summary: Adding guardrails to large language models.
Home-page: 
Author: Guardrails AI
Author-email: contact@guardrailsai.com
License: Apache-2.0
Location: /Users/calebcourier/Projects/shreyar/test-dir/test-env/.venv/lib/python3.11/site-packages
Requires: eliot, eliot-tree, griffe, lxml, openai, pydantic, pydash, python-dateutil, regex, rich, rstr, tenacity, tiktoken, typer, typing-extensions
Required-by: 

Is there anything above that looks different that you think could cause the issue?

CalebCourier commented 10 months ago

WRT the missing __version__ file, when the project was converted to using poetry that file was replaced by the version in the pyproject.toml.

github-actions[bot] commented 3 months ago

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 14 days.

github-actions[bot] commented 2 months ago

This issue was closed because it has been stalled for 14 days with no activity.