Skip to content

Commit

Permalink
Merge pull request #347 from parea-ai/PAI-571-fix-openai-wrapper-logs
Browse files Browse the repository at this point in the history
bump versions
  • Loading branch information
jalexanderII committed Jan 27, 2024
2 parents 3e7ed17 + 6e77c2a commit 8518848
Show file tree
Hide file tree
Showing 7 changed files with 1,481 additions and 1,622 deletions.
4 changes: 3 additions & 1 deletion .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,14 @@
- [ ] 🚀 New feature (non-breaking change which adds functionality)
- [ ] 💥 Breaking change (fix or feature that would cause existing functionality to change)
- [ ] 🔐 Security fix
- [ ] 🆙 Version bump

## Checklist

<!-- Mark with an `x` all the checkboxes that apply (like `[x]`) -->

- [ ] I've read the [`CODE_OF_CONDUCT.md`](https://github.com/parea-ai/parea-sdk/blob/master/CODE_OF_CONDUCT.md) document.
- [ ] I've read the [`CODE_OF_CONDUCT.md`](https://github.com/parea-ai/parea-sdk/blob/master/CODE_OF_CONDUCT.md)
document.
- [ ] I've read the [`CONTRIBUTING.md`](https://github.com/parea-ai/parea-sdk/blob/master/CONTRIBUTING.md) guide.
- [ ] I've updated the code style using `make codestyle`.
- [ ] I've written tests for all new methods and classes that I created.
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,17 +10,17 @@ jobs:
python-version: [ "3.9" ]

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4.1.1
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2.2.2
uses: actions/setup-python@v5.0.0
with:
python-version: ${{ matrix.python-version }}

- name: Install poetry
run: make poetry-download

- name: Set up cache
uses: actions/cache@v2.1.6
uses: actions/cache@v4.0.0
with:
path: .venv
key: venv-${{ matrix.python-version }}-${{ hashFiles('pyproject.toml') }}-${{ hashFiles('poetry.lock') }}
Expand All @@ -33,9 +33,9 @@ jobs:
run: |
make check-codestyle
- name: Run tests
run: |
make test
# - name: Run tests
# run: |
# make test

# - name: Run safety checks
# run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-drafter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@ jobs:
runs-on: ubuntu-latest
steps:
# Drafts your next Release notes as Pull Requests are merged into "master"
- uses: release-drafter/release-drafter@v5.15.0
- uses: release-drafter/release-drafter@v5.25.0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -619,3 +619,4 @@ MigrationBackup/
/LocalREADME.md
LocalREADME.md
.env
/parea/cookbook/tmp/
3,044 changes: 1,461 additions & 1,583 deletions poetry.lock

Large diffs are not rendered by default.

17 changes: 9 additions & 8 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ build-backend = "poetry.core.masonry.api"
[tool.poetry]
name = "parea-ai"
packages = [{ include = "parea" }]
version = "0.2.37"
version = "0.2.38a0"
description = "Parea python sdk"
readme = "README.md"
authors = ["joel-parea-ai <[email protected]>"]
Expand Down Expand Up @@ -34,33 +34,33 @@ classifiers = [

[tool.poetry.dependencies]
python = "^3.9"
httpx = "^0.24.1"
python-dotenv = "^0.21.0"
poetry-plugin-dotenv = "^0.5.1"
httpx = "^0.26.0"
python-dotenv = "^1.0.1"
poetry-plugin-dotenv = "^0.6.3"
pyupgrade = "^3.9.0"
jupyter = "^1.0.0"
contextvars = "^2.4"
openai = "*"
redis = "^5.0.1"
pysbd = "^0.3.4"
cattrs = ">=22.1.0"
tiktoken = "^0.5.2"

[tool.poetry.dev-dependencies]
bandit = "^1.7.1"
black = { version = "^23.7.0", allow-prereleases = true }
black = { version = "^24.1.0", allow-prereleases = true }
darglint = "^1.8.1"
isort = { extras = ["colors"], version = "^5.10.1" }
mypy = "^1.4.1"
mypy-extensions = "^1.0.0"
pre-commit = "^3.3.3"
pydocstyle = "^6.1.1"
pylint = "^2.17.5"
pylint = "^3.0.3"
pytest = "^7.4.0"
pyupgrade = "^3.9.0"
safety = "^2.3.5"
coverage = "^7.2.7"
coverage-badge = "^1.1.0"
pytest-html = "^3.1.1"
pytest-html = "^4.1.1"
pytest-cov = "^4.1.0"

[tool.poetry.scripts]
Expand All @@ -77,6 +77,7 @@ anthropic = "^0.8.0"
ragas = "^0.0.22"
html2text = "^2020.1.16"
boto3 = "^1.34.6"
langchain-openai = "^0.0.5"

[tool.black]
# https://github.com/psf/black
Expand Down
23 changes: 0 additions & 23 deletions tests/test_example/test_example.py

This file was deleted.

0 comments on commit 8518848

Please sign in to comment.