Skip to content
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
2 changes: 1 addition & 1 deletion .github/workflows/codspeed.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install flake8 pytest pytest-cov pytest-codspeed
pip install pytest pytest-cov pytest-codspeed
# Install "cmake", "cython" for networkit. Must happen first:
pip install --upgrade cmake cython
pip install -e ".[sql]"
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.8, 3.9, '3.10', '3.11']
python-version: [3.9, '3.10', '3.11', '3.12', '3.13']

steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
Expand Down
63 changes: 63 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"

[project]
name = "grand-graph"
dynamic = ["version"]
description = "Graph database wrapper for non-graph datastores"
readme = "README.md"
license = {file = "LICENSE"}
authors = [
{ name = "Jordan Matelsky", email = "opensource@matelsky.com" },
]
classifiers = [
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
]
dependencies = [
"cachetools",
"networkx>=2.4",
"numpy",
"pandas",
"pytest-codspeed>=3.2.0",
"pytest-cov>=6.1.1",
]

[project.optional-dependencies]
dynamodb = [
"boto3",
]
igraph = [
"igraph",
]
networkit = [
"cmake",
"cython",
"networkit",
"numpy<2.0.0",
]
sql = [
"SQLAlchemy>=1.3",
]

[project.urls]
Homepage = "https://github.com/aplbrain/grand"

[tool.hatch.version]
path = "grand/__init__.py"

[tool.hatch.build.targets.sdist]
include = [
"/grand",
]

[tool.hatch.build.targets.wheel]
packages = ["grand"]

[tool.uv]
dev-dependencies = [
"pytest>=8.3.5",
"ruff>=0.11.5",
]
29 changes: 0 additions & 29 deletions setup.py

This file was deleted.

Loading