Skip to content

Commit

Permalink
release 0.3.0 (#108)
Browse files Browse the repository at this point in the history
* update requirements and bump version

* set python versions in github workflows
  • Loading branch information
cheungrowan authored Dec 20, 2023
1 parent 1fac525 commit ce9ad52
Show file tree
Hide file tree
Showing 7 changed files with 78 additions and 73 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
name: lint

on:
push:
pull_request:
branches: [ "develop", "main"]
on: [pull_request]


permissions:
contents: read
Expand Down
15 changes: 9 additions & 6 deletions .github/workflows/mypy.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
name: mypy

on:
push:
pull_request:
branches: [ "develop", "main"]
on: [pull_request]


permissions:
contents: read
Expand All @@ -13,12 +11,17 @@ jobs:

runs-on: ubuntu-latest

build:
strategy:
matrix:
python-version: ["3.9", "3.10", "3.11"]

steps:
- uses: actions/checkout@v3
- name: Set up Python 3.10
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: "3.10"
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
Expand Down
11 changes: 5 additions & 6 deletions .github/workflows/unit-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,8 @@

name: Unit Test

on:
push:
pull_request:
branches: [ "develop", "main"]
on: [pull_request]


permissions:
contents: read
Expand All @@ -16,14 +14,15 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
python-version: ["3.9", "3.10", "3.11"]

runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.10
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: "3.10"
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
Expand Down
2 changes: 1 addition & 1 deletion arthur_bench/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
# MAJOR version when you make incompatible API changes,
# MINOR version when you add functionality in a backwards compatible manner, and
# PATCH version when you make backwards compatible bug fixes.
__version__ = "0.2.3"
__version__ = "0.3.0"
4 changes: 0 additions & 4 deletions pip.conf

This file was deleted.

20 changes: 9 additions & 11 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ readme = "README.md"
license = {text = "MIT"}
classifiers = [
"Development Status :: 5 - Production/Stable",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11"
Expand All @@ -21,22 +20,21 @@ dynamic = ["version"]

dependencies = [
'evaluate~=0.4.0',
'openai==0.27.0',
'openai~=0.27',
'pandas~=2.0.1',
'langchain~=0.0.170',
'sentencepiece==0.1.99',
'bert_score~=0.3.13',
'nltk~=3.8.1',
'tqdm~=4.65.0',
'bert_score~=0.3',
'nltk~=3.8',
'tqdm~=4.65',
'pydantic>=1.10.0,<2.0',
'pyjwt<3,>=2.6',
'requests==2.28.2',
'requests_toolbelt~=1.0.0',
'textstat~=0.7.3',
'tiktoken~=0.4.0',
'requests~=2.0',
'requests_toolbelt~=1.0',
'textstat~=0.7',
'tiktoken~=0.4',
'transformers==4.29.2',
'wordfreq~=3.0.3'

'wordfreq~=3.0'
]

[project.optional-dependencies]
Expand Down
93 changes: 52 additions & 41 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,69 +1,80 @@
aiohttp==3.8.5
aiohttp==3.9.1
aiosignal==1.3.1
async-timeout==4.0.3
anyio==4.2.0
attrs==23.1.0
bert-score==0.3.13
certifi==2023.7.22
charset-normalizer==3.2.0
contourpy==1.1.0
cycler==0.11.0
dataclasses-json==0.5.14
duckdb==0.8.1
evaluate==0.4.0
exceptiongroup==1.1.2
fastapi==0.99.1
filelock==3.12.2
fonttools==4.42.0
frozenlist==1.4.0
fsspec==2023.6.0
greenlet==2.0.2
huggingface-hub==0.16.4
idna==3.4
importlib-resources==6.0.1
certifi==2023.11.17
charset-normalizer==3.3.2
click==8.1.7
contourpy==1.2.0
cycler==0.12.1
dataclasses-json==0.6.3
datasets==2.15.0
dill==0.3.7
evaluate==0.4.1
filelock==3.13.1
fonttools==4.47.0
frozenlist==1.4.1
fsspec==2023.10.0
ftfy==6.1.3
greenlet==3.0.2
huggingface-hub==0.20.1
idna==3.6
Jinja2==3.1.2
kiwisolver==1.4.4
langchain==0.0.264
langsmith==0.0.22
joblib==1.3.2
jsonpatch==1.33
jsonpointer==2.4
kiwisolver==1.4.5
langchain==0.0.352
langchain-community==0.0.5
langchain-core==0.1.2
langcodes==3.3.0
langsmith==0.0.72
MarkupSafe==2.1.3
marshmallow==3.20.1
matplotlib==3.7.2
matplotlib==3.8.2
mpmath==1.3.0
msgpack==1.0.7
multidict==6.0.4
multiprocess==0.70.15
mypy-extensions==1.0.0
networkx==3.1
networkx==3.2.1
nltk==3.8.1
numexpr==2.8.5
numpy==1.25.2
openai==0.27.0
openapi-schema-pydantic==1.2.4
packaging==23.1
numpy==1.26.2
openai==0.28.1
packaging==23.2
pandas==2.0.3
Pillow==10.0.0
pydantic==1.10.12
Pillow==10.1.0
pyarrow==14.0.2
pyarrow-hotfix==0.6
pydantic==1.10.13
PyJWT==2.8.0
pyparsing==3.0.9
pyparsing==3.1.1
pyphen==0.14.0
python-dateutil==2.8.2
pytz==2023.3
pytz==2023.3.post1
PyYAML==6.0.1
regex==2023.8.8
requests==2.28.2
regex==2023.10.3
requests==2.31.0
requests-toolbelt==1.0.0
responses==0.18.0
sentencepiece==0.1.99
six==1.16.0
SQLAlchemy==2.0.19
sniffio==1.3.0
SQLAlchemy==2.0.23
sympy==1.12
tenacity==8.2.3
textstat==0.7.3
tiktoken==0.4.0
tokenizers==0.13.3
torch==2.0.1
torch==2.1.2
tqdm==4.65.2
transformers==4.29.2
typing-inspect==0.9.0
typing_extensions==4.7.1
typing_extensions==4.9.0
tzdata==2023.3
urllib3==1.26.16
urllib3==2.1.0
wcwidth==0.2.12
wordfreq==3.0.3
yarl==1.9.2
zipp==3.16.2
xxhash==3.4.1
yarl==1.9.4

0 comments on commit ce9ad52

Please sign in to comment.