Skip to content

Commit

Permalink
Bump package versions to latest July (#9)
Browse files Browse the repository at this point in the history
* Bump package versions to latest.
* Remove need for pkg_resources
* Bump to v1.2.3
  • Loading branch information
dylanhogg authored Jun 30, 2024
1 parent 4b706a9 commit d43981f
Show file tree
Hide file tree
Showing 5 changed files with 1,019 additions and 957 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/python-poetry-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,14 @@ jobs:
id: setup-python
uses: actions/setup-python@v4
with:
python-version: "3.9"
python-version: "3.10"

- name: Load cached Poetry installation, if exists
id: cached-poetry
uses: actions/cache@v3
with:
path: ~/.local # the path depends on the OS
key: poetry-${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-3 # increment to reset cache, e.g. if you see .venv/bin/activate: No such file or directory
key: poetry-${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-4 # increment to reset cache, e.g. if you see .venv/bin/activate: No such file or directory

- name: Install and configure Poetry, if cache miss
if: steps.cached-poetry.outputs.cache-hit != 'true'
Expand Down
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ repos:
- id: check-added-large-files

- repo: https://github.com/psf/black-pre-commit-mirror
rev: 23.9.1
rev: 24.4.2
hooks:
- id: black

- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.0.292
rev: v0.3.4
hooks:
- id: ruff
4 changes: 1 addition & 3 deletions llmgraph/library/consts.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
import pkg_resources

package_name = "llmgraph"
version = pkg_resources.get_distribution(package_name).version
version = "1.2.3"
prompts_yaml_location = "prompts.yaml"

default_llm_model = "gpt-3.5-turbo"
Expand Down
Loading

0 comments on commit d43981f

Please sign in to comment.