Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test speed ups #345

Closed
wants to merge 20 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 6 additions & 8 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,15 +40,13 @@ jobs:
python-version: [3.12] # Our min and max supported Python versions
steps:
- uses: actions/checkout@v4
- name: Set up uv
run: |-
curl -LsSf https://astral.sh/uv/install.sh | sh
uv python pin ${{ matrix.python-version }}
- run: uv sync --python-preference=only-managed
- uses: google-github-actions/auth@v2
- uses: actions/setup-python@v5
with:
credentials_json: ${{ secrets.GOOGLE_CREDENTIALS }}
- run: uv run pytest -n auto
python-version: ${{ matrix.python-version }}
- name: Set up uv and run test
run: |-
pip install -r requirements.txt
python -m pytest
env:
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }}
Expand Down
1 change: 0 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -388,7 +388,6 @@ dev-dependencies = [
"pytest-subtests",
"pytest-sugar",
"pytest-timer[colorama]",
"pytest-xdist",
"pytest>=8", # Pin to keep recent
"python-dotenv",
"pyzotero",
Expand Down
123 changes: 123 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,123 @@
# This file was autogenerated via `uv export`.
-e .
aiohappyeyeballs==2.4.0
aiohttp==3.10.5
aiosignal==1.3.1
annotated-types==0.7.0
anyio==4.4.0
asttokens==2.4.1
attrs==24.2.0
bibtexparser==1.4.1
build==1.2.2
certifi==2024.8.30
cfgv==3.4.0
charset-normalizer==3.3.2
click==8.1.7
colorama==0.4.6
dataclasses-json==0.6.7
decorator==5.1.1
distlib==0.3.8
distro==1.9.0
executing==2.1.0
feedparser==6.0.11
filelock==3.16.0
frozenlist==1.4.1
fsspec==2024.9.0
greenlet==3.1.0 ; (python_full_version < '3.13' and platform_machine == 'AMD64') or (python_full_version < '3.13' and platform_machine == 'WIN32') or (python_full_version < '3.13' and platform_machine == 'aarch64') or (python_full_version < '3.13' and platform_machine == 'amd64') or (python_full_version < '3.13' and platform_machine == 'ppc64le') or (python_full_version < '3.13' and platform_machine == 'win32') or (python_full_version < '3.13' and platform_machine == 'x86_64')
h11==0.14.0
html2text==2024.2.26
httpcore==1.0.5
httpx==0.27.2
huggingface-hub==0.24.6
identify==2.6.0
idna==3.8
importlib-metadata==8.4.0
iniconfig==2.0.0
ipython==8.27.0
jedi==0.19.1
jinja2==3.1.4
jiter==0.5.0
jsonpatch==1.33
jsonpointer==3.0.0
jsonschema==4.23.0
jsonschema-specifications==2023.12.1
langchain==0.2.16
langchain-community==0.2.16
langchain-core==0.2.38
langchain-openai==0.1.23
langchain-text-splitters==0.2.4
langsmith==0.1.117
latexcodec==3.0.0
litellm==1.44.23
markdown-it-py==3.0.0
markupsafe==2.1.5
marshmallow==3.22.0
matplotlib-inline==0.1.7
mdurl==0.1.2
multidict==6.1.0
mypy==1.11.2
mypy-extensions==1.0.0
nodeenv==1.9.1
numpy==1.26.4
openai==1.44.1
orjson==3.10.7
packaging==24.1
parso==0.8.4
pexpect==4.9.0 ; sys_platform != 'emscripten' and sys_platform != 'win32'
platformdirs==4.3.2
pluggy==1.5.0
pre-commit==3.8.0
prompt-toolkit==3.0.47
ptyprocess==0.7.0 ; sys_platform != 'emscripten' and sys_platform != 'win32'
pure-eval==0.2.3
pybtex==0.24.0
pycryptodome==3.20.0
pydantic==2.9.1
pydantic-core==2.23.3
pydantic-settings==2.5.0
pygments==2.18.0
pymupdf==1.24.10
pymupdfb==1.24.10
pyparsing==3.1.4
pyproject-hooks==1.1.0
pytest==8.3.3
pytest-asyncio==0.24.0
pytest-recording==0.13.2
pytest-rerunfailures==14.0
pytest-subtests==0.13.1
pytest-sugar==1.0.0
pytest-timer==1.0.0
python-dotenv==1.0.1
pytz==2024.1
pyyaml==6.0.2
pyzotero==1.5.20
referencing==0.35.1
refurb==2.0.0
regex==2024.7.24
requests==2.32.3
rich==13.8.1
rpds-py==0.20.0
setuptools==74.1.2
sgmllib3k==1.0.0
six==1.16.0
sniffio==1.3.1
sqlalchemy==2.0.34
stack-data==0.6.3
tantivy==0.22.0
tenacity==8.5.0
termcolor==2.4.0
tiktoken==0.7.0
tokenizers==0.20.0
tqdm==4.66.5
traitlets==5.14.3
types-pyyaml==6.0.12.20240808
types-setuptools==74.1.0.20240907
typing-extensions==4.12.2
typing-inspect==0.9.0
urllib3==2.2.2
vcrpy==6.0.1
virtualenv==20.26.4
wcwidth==0.2.13
wrapt==1.16.0
yarl==1.11.1
zipp==3.20.1
26 changes: 1 addition & 25 deletions uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.