Skip to content

Commit

Permalink
Modularize requirements, remove torch (thanks to changes in common ut…
Browse files Browse the repository at this point in the history
…ils)
  • Loading branch information
liam-sbhoo committed Sep 21, 2024
1 parent c6aa666 commit 5d58e19
Show file tree
Hide file tree
Showing 6 changed files with 21 additions and 15 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,12 @@ jobs:
python-version: ${{ matrix.python-version }}
architecture: x64

- name: Install dependencies
- name: Install user's dependencies
run: pip install -r requirements.txt

- name: Install test dependencies
run: pip install -r requirements-test.txt

- name: Initialize submodules
run: git submodule update --init --recursive

Expand Down
3 changes: 2 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,14 @@ build-backend = "hatchling.build"

[project]
name = "tabpfn-client"
version = "0.0.21"
version = "0.0.23"
requires-python = ">=3.10"
dependencies = [
"httpx>=0.24.1",
"pandas>=1.3.0",
"omegaconf>=2.3.0",
"password_strength",
"scikit-learn>=1.5.2",
]

[tool.hatch.build.targets.wheel]
Expand Down
6 changes: 6 additions & 0 deletions requirements-dev.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
### additional requirements for development


# lint and format checking
pre-commit
ruff == 0.3.3
4 changes: 4 additions & 0 deletions requirements-test.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
### additional requirements to run tests on CI/CD

scikit-learn
respx
16 changes: 4 additions & 12 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,13 +1,5 @@
httpx
omegaconf
pandas
httpx>=0.27.2
omegaconf>=2.3.0
pandas>=1.3.0
password-strength
scikit-learn
torch

# for testing
respx

# development tool
pre-commit
ruff == 0.3.3
scikit-learn>=1.5.2
2 changes: 1 addition & 1 deletion tabpfn_client/tabpfn_common_utils

0 comments on commit 5d58e19

Please sign in to comment.