Skip to content

Commit 5392e2c

Browse files
committed
Switched to dependency groups
1 parent e1dda97 commit 5392e2c

File tree

4 files changed

+17
-14
lines changed

4 files changed

+17
-14
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
- uses: actions/setup-python@v5
1313
with:
1414
python-version: ${{ matrix.python }}
15-
- run: pip install -r requirements.txt
15+
- run: pip install --group dev
1616
- uses: ankane/setup-postgres@v1
1717
with:
1818
database: pgvector_python_test

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -807,7 +807,7 @@ To get started with development:
807807
```sh
808808
git clone https://github.com/pgvector/pgvector-python.git
809809
cd pgvector-python
810-
pip install -r requirements.txt
810+
pip install --group dev
811811
createdb pgvector_python_test
812812
pytest
813813
```

pyproject.toml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,21 @@ dependencies = [
1919
[project.urls]
2020
Homepage = "https://github.com/pgvector/pgvector-python"
2121

22+
[dependency-groups]
23+
dev = [
24+
"asyncpg",
25+
"Django",
26+
"peewee",
27+
"pg8000",
28+
"psycopg[binary,pool]",
29+
"psycopg2-binary",
30+
"pytest",
31+
"pytest-asyncio",
32+
"scipy",
33+
"SQLAlchemy[asyncio]>=2",
34+
"sqlmodel>=0.0.12"
35+
]
36+
2237
[tool.pytest.ini_options]
2338
asyncio_mode = "auto"
2439
asyncio_default_fixture_loop_scope = "function"

requirements.txt

Lines changed: 0 additions & 12 deletions
This file was deleted.

0 commit comments

Comments
 (0)